From e5a6ff5d8522253ec60e3d595b361392f7113236 Mon Sep 17 00:00:00 2001 From: Abhishek Dasgupta Date: Thu, 26 Oct 2023 11:52:49 +0100 Subject: [PATCH] schemas(subject): add vaccination fields (#196) --- docs/guide.rst | 6 ++++++ schemas/dev/subject.schema.json | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/docs/guide.rst b/docs/guide.rst index 0acbfb82..2a07e8ed 100644 --- a/docs/guide.rst +++ b/docs/guide.rst @@ -526,6 +526,12 @@ outcome records death)/death reported at followup. **icu_admitted**: Bool. Has the subject been admitted to ICU at any time since study enrolment? +**vaccinated_covid19**: Bool. True when subject has received any dose of a +COVID-19 vaccine + +**vaccinated_covid19_dates**: List. Dates when subject received a COVID-19 +vaccine. + Visit ----- diff --git a/schemas/dev/subject.schema.json b/schemas/dev/subject.schema.json index 18b4f7df..10dad4ae 100644 --- a/schemas/dev/subject.schema.json +++ b/schemas/dev/subject.schema.json @@ -374,6 +374,21 @@ "type": "boolean", "description": "Admitted to ICU", "category": "outcome" + }, + "vaccinated_covid19": { + "type": "boolean", + "description": "Has received any dose of a COVID-19 vaccine", + "category": "vaccinations" + }, + "vaccinated_covid19_dates": { + "type": "array", + "items": { + "type": "string", + "format": "date" + }, + "uniqueItems": true, + "description": "Dates on which COVID-19 vaccinations were given", + "category": "vaccinations" } } }