FHIR IG analytics| Package | fhir.surveillanceIG |
| Resource Type | Questionnaire |
| Id | Questionnaire-MeaslesCaseReport.json |
| FHIR Version | R4 |
| Source | https://build.fhir.org/ig/IntelliSOFT-Consulting/Surveillance-FHIR-IG/Questionnaire-MeaslesCaseReport.html |
| URL | http://example.org/Questionnaire/MeaslesCaseReport |
| Version | 0.1.0 |
| Status | draft |
| Date | 2026-04-02T20:27:34+00:00 |
| Title | Measles Case Report |
| Realm | us |
| Authority | hl7 |
| Description | Measles Case Report questionnaire for disease surveillance |
No resources found
No resources found
Note: links and images are rebased to the (stated) source
Generated Narrative: Questionnaire MeaslesCaseReport
Profile: http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire
| LinkID | Text | Cardinality | Type | Flags | Description & Constraints |
|---|---|---|---|---|---|
![]() | Measles Case Report questionnaire for disease surveillance | Questionnaire | http://example.org/Questionnaire/MeaslesCaseReport#0.1.0 | ||
![]() ![]() | Reporting Site | 0..1 | group | ||
![]() ![]() ![]() | User Role | 0..1 | string | ||
![]() ![]() ![]() | User Facility | 0..1 | string | ||
![]() ![]() ![]() | User Ward | 0..1 | string | ||
![]() ![]() ![]() | User Sub County | 0..1 | string | ||
![]() ![]() ![]() | User County | 0..1 | string | ||
![]() ![]() ![]() | null | 0..1 | group | Enable When: user_role = VACCINATOR | |
![]() ![]() ![]() ![]() | County | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Sub County | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Ward | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Health Facility | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Type of health facility | 1..1 | choice | Options: 3 options | |
![]() ![]() ![]() | null | 0..1 | group | Enable When: user_role = SUBCOUNTY_DISEASE_SURVEILLANCE_OFFICER | |
![]() ![]() ![]() ![]() | County | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Sub County | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Ward | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Health Facility | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Type of health facility | 1..1 | choice | Options: 3 options | |
![]() ![]() ![]() | null | 0..1 | group | Enable When: user_role = COUNTY_DISEASE_SURVEILLANCE_OFFICER | |
![]() ![]() ![]() ![]() | County | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Sub County | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Ward | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Health Facility | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Type of health facility | 1..1 | choice | Options: 3 options | |
![]() ![]() ![]() | null | 0..1 | group | Enable When: user_role = ADMINISTRATOR | |
![]() ![]() ![]() ![]() | County | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Sub County | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Ward | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Health Facility | 1..1 | reference | ||
![]() ![]() ![]() ![]() | Type of health facility | 1..1 | choice | Options: 3 options | |
![]() ![]() ![]() | EPID No | 0..1 | string | ||
![]() ![]() | Case Demographics | 0..1 | group | ||
![]() ![]() ![]() | First name | 1..1 | string | ||
![]() ![]() ![]() | Middle name | 0..1 | string | ||
![]() ![]() ![]() | Surname/Family name | 1..1 | string | ||
![]() ![]() ![]() | Sex | 1..1 | choice | Options: 2 options | |
![]() ![]() ![]() | Date of birth known or unknown | 1..1 | choice | Options: 2 options | |
![]() ![]() ![]() | Date of Birth | 1..1 | date | Enable When: 442636360588 = Known (known) | |
![]() ![]() ![]() | Age at Onset | 0..1 | string | Initial Value: string = 0 | |
![]() ![]() ![]() | Age in Years | 1..1 | integer | Enable When: 442636360588 = Unknown (unknown) | |
![]() ![]() ![]() | Months | 0..1 | integer | Enable When: 442636360588 = Unknown (unknown) | |
![]() ![]() ![]() | Days | 0..1 | integer | Enable When: 442636360588 = Unknown (unknown) | |
![]() ![]() ![]() | Residence | 1..1 | choice | Options: 2 options | |
![]() ![]() ![]() | Tracer Information | 0..1 | display | ||
![]() ![]() ![]() | Parent / Guardian Name | 1..1 | string | ||
![]() ![]() ![]() | County | 1..1 | reference | ||
![]() ![]() ![]() | Sub County | 1..1 | reference | ||
![]() ![]() ![]() | Ward | 1..1 | reference | ||
![]() ![]() ![]() | Residence or Village | 0..1 | string | ||
![]() ![]() ![]() | Neighborhood major landmark | 1..1 | string | ||
![]() ![]() ![]() | Street/Plot/Estate/S. location | 1..1 | string | ||
![]() ![]() ![]() | Telephone No of parent/guardian | 0..1 | string | ||
![]() ![]() ![]() ![]() | 07xxxxxxxx | 0..1 | display | ||
![]() ![]() | Case Information | 0..1 | group | ||
![]() ![]() ![]() | Date 1st seen at health facility | 1..1 | date | ||
![]() ![]() ![]() | Hospitalized? | 1..1 | choice | Options: 2 options | |
![]() ![]() ![]() | Date of Admission | 1..1 | date | Enable When: 483042281962 = Yes (yes) | |
![]() ![]() ![]() | IP/ OP No | 1..1 | string | ||
![]() ![]() ![]() | Outcome | 1..1 | choice | Options: 3 options | |
![]() ![]() | Clinical History | 0..1 | group | ||
![]() ![]() ![]() | Date of onset of illness | 1..1 | date | ||
![]() ![]() ![]() | Clinical symptoms | 1..* | choice | Options: 5 options | |
![]() ![]() ![]() | Date of Onset of rash | 1..1 | date | Enable When: 745196148424 = Rash (Rash) | |
![]() ![]() ![]() | Type of Rash | 1..1 | choice | Enable When: 745196148424 = Rash (Rash) Options: 2 options | |
![]() ![]() ![]() | If Other, specify | 1..1 | string | Enable When: 704922081985 = Other (Other) | |
![]() ![]() ![]() | Measles Surveilance | 0..1 | display | ||
![]() ![]() ![]() | Was home of patient visited for contact investigation | 1..1 | choice | Options: 2 options | |
![]() ![]() ![]() | If yes, date of visit | 1..1 | date | Enable When: 207408507040 = Yes (yes) | |
![]() ![]() ![]() | Is this a Case or a Line List? | 1..1 | choice | Options: 2 options | |
![]() ![]() | Vaccination History | 0..1 | group | ||
![]() ![]() ![]() | Was patient vaccinated against illness? | 1..1 | choice | Options: 3 options | |
![]() ![]() ![]() | If yes, number of doses | 1..1 | integer | Enable When: 517772812375 = Yes (yes) | |
![]() ![]() ![]() | MR vaccination given in last 30 days prior to onset of illness | 1..1 | choice | Options: 3 options | |
![]() ![]() ![]() | Date of last vaccination | 1..1 | date | Enable When: 308128177300 = Yes (yes) | |
![]() ![]() | Sample/Specimen Collection | 0..1 | group | Enable When: 865158268604 = Case (Case) | |
![]() ![]() ![]() | Please select specimen collected | 1..* | choice | Options: 3 options | |
![]() ![]() ![]() | Date of specimen collection | 1..1 | date | Enable When: 412689284625 exists true | |
![]() ![]() ![]() | Were other specimen types collected? | 1..1 | choice | Options: 2 options | |
![]() ![]() ![]() | If yes, specify other specimen type | 1..1 | string | Enable When: 258912872921 = Yes (yes) | |
![]() ![]() ![]() | Date of other specimen type collection | 1..1 | date | Enable When: 258912872921 = Yes (yes) | |
![]() ![]() ![]() | Date specimen sent to lab | 1..1 | date | ||
Options Sets
Answer options for 438862163919
Answer options for 438862163919_sub_county
Answer options for 438862163919_county
Answer options for 438862163919_national
Answer options for 929966324957
Answer options for 442636360588
Answer options for residence
Answer options for 483042281962
Answer options for 508745697175
Answer options for 745196148424
Answer options for 704922081985
Answer options for 207408507040
Answer options for 865158268604
Answer options for 517772812375
Answer options for 308128177300
Answer options for 412689284625
Answer options for 258912872921
{
"resourceType": "Questionnaire",
"id": "MeaslesCaseReport",
"meta": {
"profile": [
"http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire"
]
},
"text": {
"status": "extensions",
"div": "<!-- snip (see above) -->"
},
"extension": [
{
"extension": [
{
"url": "name",
"valueCoding": {
"system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
"code": "patient"
}
},
{
"url": "type",
"valueCode": "Patient"
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "countyName",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='294367770999').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "patientCountyName",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='a4-county').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "patientSubCountyName",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='a3-sub-county').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedSubCountyName",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819946803642').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedWardName",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819943434').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedFacilityName",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819943434').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "assignedCounty",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='user_county').answer.value"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "assignedRole",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='user_role').answer.value"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "assignedSubCounty",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='user_sub_county').answer.value"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "assignedWard",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='user_ward').answer.value"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "assignedFacility",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='user_facility').answer.value"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedCountyNameCounty",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='294367770999_county').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedSubCountyNameCounty",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819946803642_county').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedWardNameCounty",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819943434_county').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedCountyNameNational",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='294367770999_national').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedSubCountyNameNational",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819946803642_national').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedWardNameNational",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819943434_national').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedCountyNameSubCounty",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='294367770999_sub_county').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedSubCountyNameSubCounty",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819946803642_sub_county').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/variable",
"valueExpression": {
"name": "selectedWardNameSubCounty",
"language": "text/fhirpath",
"expression": "%resource.descendants().where(linkId='819943434_sub_county').answer.value.reference"
}
},
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode",
"valueCode": "prior-edit"
}
],
"url": "http://example.org/Questionnaire/MeaslesCaseReport",
"version": "0.1.0",
"title": "Measles Case Report",
"status": "draft",
"date": "2026-04-02T20:27:34+00:00",
"publisher": "intellisoftConsulting",
"contact": [
{
"name": "intellisoftConsulting",
"telecom": [
{
"system": "url",
"value": "http://example.org/example-publisher"
}
]
},
{
"name": "IntelliSOFT Consulting Ltd.",
"telecom": [
{
"system": "email",
"value": "info@intellisoftkenya.com",
"use": "work"
}
]
}
],
"description": "Measles Case Report questionnaire for disease surveillance",
"jurisdiction": [
{
"coding": [
{
"system": "urn:iso:std:iso:3166",
"code": "KE",
"display": "Kenya"
}
]
}
],
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "page",
"display": "Page"
}
]
}
}
],
"linkId": "151479012557",
"text": "Reporting Site",
"type": "group",
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
"valueBoolean": true
}
],
"linkId": "user_role",
"text": "User Role",
"type": "string"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
"valueBoolean": true
}
],
"linkId": "user_facility",
"text": "User Facility",
"type": "string"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
"valueBoolean": true
}
],
"linkId": "user_ward",
"text": "User Ward",
"type": "string"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
"valueBoolean": true
}
],
"linkId": "user_sub_county",
"text": "User Sub County",
"type": "string"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
"valueBoolean": true
}
],
"linkId": "user_county",
"text": "User County",
"type": "string"
},
{
"linkId": "facility_level",
"type": "group",
"enableWhen": [
{
"question": "user_role",
"operator": "=",
"answerString": "VACCINATOR"
}
],
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?_id={{%assignedCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "294367770999",
"text": "County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?_id={{%assignedSubCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819946803642",
"text": "Sub County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?_id={{%assignedWard}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819943434",
"text": "Ward",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?_id={{%assignedFacility}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819946803677",
"text": "Health Facility",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "drop-down",
"display": "Drop down"
}
]
}
}
],
"linkId": "438862163919",
"text": "Type of health facility",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "Private",
"display": "Private"
}
},
{
"valueCoding": {
"code": "Public",
"display": "Public"
}
},
{
"valueCoding": {
"code": "Faith Based",
"display": "Faith Based"
}
}
]
}
]
},
{
"linkId": "sub_county_level",
"type": "group",
"enableWhen": [
{
"question": "user_role",
"operator": "=",
"answerString": "SUBCOUNTY_DISEASE_SURVEILLANCE_OFFICER"
}
],
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?_id={{%assignedCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "294367770999_sub_county",
"text": "County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?_id={{%assignedSubCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819946803642_sub_county",
"text": "Sub County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%selectedSubCountyNameSubCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819943434_sub_county",
"text": "Ward",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%selectedWardNameSubCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819946803677_sub_county",
"text": "Health Facility",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "drop-down",
"display": "Drop down"
}
]
}
}
],
"linkId": "438862163919_sub_county",
"text": "Type of health facility",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "Private",
"display": "Private"
}
},
{
"valueCoding": {
"code": "Public",
"display": "Public"
}
},
{
"valueCoding": {
"code": "Faith Based",
"display": "Faith Based"
}
}
]
}
]
},
{
"linkId": "county_level",
"type": "group",
"enableWhen": [
{
"question": "user_role",
"operator": "=",
"answerString": "COUNTY_DISEASE_SURVEILLANCE_OFFICER"
}
],
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?_id={{%assignedCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "294367770999_county",
"text": "County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%selectedCountyNameCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819946803642_county",
"text": "Sub County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%selectedSubCountyNameCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819943434_county",
"text": "Ward",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%selectedWardNameCounty}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819946803677_county",
"text": "Health Facility",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "drop-down",
"display": "Drop down"
}
]
}
}
],
"linkId": "438862163919_county",
"text": "Type of health facility",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "Private",
"display": "Private"
}
},
{
"valueCoding": {
"code": "Public",
"display": "Public"
}
},
{
"valueCoding": {
"code": "Faith Based",
"display": "Faith Based"
}
}
]
}
]
},
{
"linkId": "national_level",
"type": "group",
"enableWhen": [
{
"question": "user_role",
"operator": "=",
"answerString": "ADMINISTRATOR"
}
],
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof=Location/0&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "294367770999_national",
"text": "County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%selectedCountyNameNational}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819946803642_national",
"text": "Sub County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%selectedSubCountyNameNational}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819943434_national",
"text": "Ward",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%selectedWardNameNational}}&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "819946803677_national",
"text": "Health Facility",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "drop-down",
"display": "Drop down"
}
]
}
}
],
"linkId": "438862163919_national",
"text": "Type of health facility",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "Private",
"display": "Private"
}
},
{
"valueCoding": {
"code": "Public",
"display": "Public"
}
},
{
"valueCoding": {
"code": "Faith Based",
"display": "Faith Based"
}
}
]
}
]
},
{
"linkId": "992818778559",
"text": "EPID No",
"type": "string",
"readOnly": true
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "page",
"display": "Page"
}
]
}
}
],
"linkId": "670954892057",
"text": "Case Demographics",
"type": "group",
"item": [
{
"linkId": "873240407472",
"text": "First name",
"type": "string",
"required": true
},
{
"linkId": "246751846436",
"text": "Middle name",
"type": "string"
},
{
"linkId": "486402457213",
"text": "Surname/Family name",
"type": "string",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "929966324957",
"text": "Sex",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "male",
"display": "Male"
}
},
{
"valueCoding": {
"code": "female",
"display": "Female"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "442636360588",
"text": "Date of birth known or unknown",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "known",
"display": "Known"
}
},
{
"valueCoding": {
"code": "unknown",
"display": "Unknown"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
}
],
"linkId": "257830485990",
"text": "Date of Birth",
"type": "date",
"enableWhen": [
{
"question": "442636360588",
"operator": "=",
"answerCoding": {
"code": "known",
"display": "Known"
}
}
],
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
"valueBoolean": true
}
],
"linkId": "age-at-onset",
"text": "Age at Onset",
"type": "string",
"initial": [
{
"valueString": "0"
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"valueInteger": 120
}
],
"linkId": "492731638700",
"text": "Age in Years",
"type": "integer",
"enableWhen": [
{
"question": "442636360588",
"operator": "=",
"answerCoding": {
"code": "unknown",
"display": "Unknown"
}
}
],
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"valueInteger": 11
}
],
"linkId": "185726989867",
"text": "Months",
"type": "integer",
"enableWhen": [
{
"question": "442636360588",
"operator": "=",
"answerCoding": {
"code": "unknown",
"display": "Unknown"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"valueInteger": 31
}
],
"linkId": "828303331247",
"text": "Days",
"type": "integer",
"enableWhen": [
{
"question": "442636360588",
"operator": "=",
"answerCoding": {
"code": "unknown",
"display": "Unknown"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "residence",
"text": "Residence",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "Urban",
"display": "Urban"
}
},
{
"valueCoding": {
"code": "Rural",
"display": "Rural"
}
}
]
},
{
"linkId": "422935041274",
"text": "Tracer Information",
"type": "display"
},
{
"linkId": "parent",
"text": "Parent / Guardian Name",
"type": "string",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof=Location/0&_sort=name"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "a4-county",
"text": "County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%patientCountyName}}"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "a3-sub-county",
"text": "Sub County",
"type": "reference",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
"valueExpression": {
"language": "application/x-fhir-query",
"expression": "Location?partof={{%patientSubCountyName}}"
}
},
{
"extension": [
{
"url": "path",
"valueString": "name"
},
{
"url": "forDisplay",
"valueBoolean": true
}
],
"url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
}
],
"linkId": "a2-ward",
"text": "Ward",
"type": "reference",
"required": true
},
{
"linkId": "242811643559",
"text": "Residence or Village",
"type": "string"
},
{
"linkId": "946232932304",
"text": "Neighborhood major landmark",
"type": "string",
"required": true
},
{
"linkId": "424111786438",
"text": "Street/Plot/Estate/S. location",
"type": "string",
"required": true
},
{
"extension": [
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Enter a valid mobile number. Strings and special characters aren't allowed"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/regex",
"valueString": "^\\d{10,10}[%content%]quot;
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "phone-number",
"display": "Phone Number"
}
]
}
}
],
"linkId": "754217593839",
"text": "Telephone No of parent/guardian",
"type": "string",
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "flyover",
"display": "Fly-over"
}
]
}
}
],
"linkId": "2.1",
"text": "07xxxxxxxx",
"type": "display"
}
]
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "page",
"display": "Page"
}
]
}
}
],
"linkId": "216343227137",
"text": "Case Information",
"type": "group",
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "Date 1st seen at the facility should be after date of birth"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value >= %resource.descendants().where(linkId='257830485990').answer.value"
},
{
"url": "human",
"valueString": "Date 1st seen at the facility should be after date of birth"
},
{
"url": "location",
"valueString": "257830485990"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "554231819382",
"text": "Date 1st seen at health facility",
"type": "date",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "483042281962",
"text": "Hospitalized? ",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "yes",
"display": "Yes"
}
},
{
"valueCoding": {
"code": "no",
"display": "No"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "Date of Admission should be after the date 1st seen at the facility"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value >= %resource.descendants().where(linkId='554231819382').answer.value"
},
{
"url": "human",
"valueString": "Date of Admission should be after date 1st seen at the facility"
},
{
"url": "location",
"valueString": "554231819382"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "340908984116",
"text": "Date of Admission",
"type": "date",
"enableWhen": [
{
"question": "483042281962",
"operator": "=",
"answerCoding": {
"code": "yes",
"display": "Yes"
}
}
],
"required": true
},
{
"linkId": "755731625544",
"text": "IP/ OP No",
"type": "string",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "508745697175",
"text": "Outcome",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "Alive",
"display": "Alive"
}
},
{
"valueCoding": {
"code": "Dead",
"display": "Dead"
}
},
{
"valueCoding": {
"code": "Unknown",
"display": "Unknown"
}
}
]
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "page",
"display": "Page"
}
]
}
}
],
"linkId": "477144604557",
"text": "Clinical History",
"type": "group",
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "Date of Onset of illness should be before the date 1st seen at the facility"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value <= %resource.descendants().where(linkId='554231819382').answer.value"
},
{
"url": "human",
"valueString": "Date of Onset of illness should be before the date 1st seen at the facility"
},
{
"url": "location",
"valueString": "554231819382"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "728034137219",
"text": "Date of onset of illness",
"type": "date",
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "check-box",
"display": "Check-box"
}
]
}
}
],
"linkId": "745196148424",
"text": "Clinical symptoms",
"type": "choice",
"required": true,
"repeats": true,
"answerOption": [
{
"valueCoding": {
"code": "Fever",
"display": "Fever"
}
},
{
"valueCoding": {
"code": "Rash",
"display": "Rash"
}
},
{
"valueCoding": {
"code": "Cough",
"display": "Cough"
}
},
{
"valueCoding": {
"code": "Coryza",
"display": "Coryza"
}
},
{
"valueCoding": {
"code": "Conjunctivitis",
"display": "Conjunctivitis"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "Date of Onset of rash should be after the onset of illness"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value >= %resource.descendants().where(linkId='728034137219').answer.value"
},
{
"url": "human",
"valueString": "Date of Onset of rash should be after the onset of illness"
},
{
"url": "location",
"valueString": "728034137219"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "576528567552",
"text": "Date of Onset of rash",
"type": "date",
"enableWhen": [
{
"question": "745196148424",
"operator": "=",
"answerCoding": {
"code": "Rash",
"display": "Rash"
}
}
],
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "drop-down",
"display": "Drop down"
}
]
}
}
],
"linkId": "704922081985",
"text": "Type of Rash",
"type": "choice",
"enableWhen": [
{
"question": "745196148424",
"operator": "=",
"answerCoding": {
"code": "Rash",
"display": "Rash"
}
}
],
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "Maculopapular",
"display": "Maculopapular"
}
},
{
"valueCoding": {
"code": "Other",
"display": "Other"
}
}
]
},
{
"linkId": "679340979918",
"text": "If Other, specify",
"type": "string",
"enableWhen": [
{
"question": "704922081985",
"operator": "=",
"answerCoding": {
"code": "Other",
"display": "Other"
}
}
],
"required": true
},
{
"linkId": "817978705295",
"text": "Measles Surveilance",
"type": "display"
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "207408507040",
"text": "Was home of patient visited for contact investigation",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "yes",
"display": "Yes"
}
},
{
"valueCoding": {
"code": "no",
"display": "No"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "Date of Home visit should be after the date 1st seen at the facility"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value >= %resource.descendants().where(linkId='554231819382').answer.value"
},
{
"url": "human",
"valueString": "Date of Home visit should be after the date 1st seen at the facility"
},
{
"url": "location",
"valueString": "554231819382"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "566661890668",
"text": "If yes, date of visit",
"type": "date",
"enableWhen": [
{
"question": "207408507040",
"operator": "=",
"answerCoding": {
"code": "yes",
"display": "Yes"
}
}
],
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "865158268604",
"text": "Is this a Case or a Line List?",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "Case",
"display": "Case"
}
},
{
"valueCoding": {
"code": "Line List",
"display": "Line List"
}
}
]
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "page",
"display": "Page"
}
]
}
}
],
"linkId": "736291402384",
"text": "Vaccination History",
"type": "group",
"item": [
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "517772812375",
"text": "Was patient vaccinated against illness?",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "yes",
"display": "Yes"
}
},
{
"valueCoding": {
"code": "no",
"display": "No"
}
},
{
"valueCoding": {
"code": "unknown",
"display": "Unknown"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"valueInteger": 8
}
],
"linkId": "886125589225",
"text": "If yes, number of doses",
"type": "integer",
"enableWhen": [
{
"question": "517772812375",
"operator": "=",
"answerCoding": {
"code": "yes",
"display": "Yes"
}
}
],
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "308128177300",
"text": "MR vaccination given in last 30 days prior to onset of illness",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "yes",
"display": "Yes"
}
},
{
"valueCoding": {
"code": "no",
"display": "No"
}
},
{
"valueCoding": {
"code": "unknown",
"display": "Unknown"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "Date of last vaccination should be before Date of onset of illness"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value <= %resource.descendants().where(linkId='728034137219').answer.value"
},
{
"url": "human",
"valueString": "Date of last vaccination should be before Date of onset of illness"
},
{
"url": "location",
"valueString": "728034137219"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "544290619304",
"text": "Date of last vaccination",
"type": "date",
"enableWhen": [
{
"question": "308128177300",
"operator": "=",
"answerCoding": {
"code": "yes",
"display": "Yes"
}
}
],
"required": true
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "page",
"display": "Page"
}
]
}
}
],
"linkId": "271053545237",
"text": "Sample/Specimen Collection",
"type": "group",
"enableWhen": [
{
"question": "865158268604",
"operator": "=",
"answerCoding": {
"code": "Case",
"display": "Case"
}
}
],
"item": [
{
"linkId": "412689284625",
"text": "Please select specimen collected",
"type": "choice",
"required": true,
"repeats": true,
"answerOption": [
{
"valueCoding": {
"code": "Blood",
"display": "Blood"
}
},
{
"valueCoding": {
"code": "Urine",
"display": "Urine"
}
},
{
"valueCoding": {
"code": "Respiratory Sample",
"display": "Respiratory Sample"
}
}
]
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "Date of Specimen Collection should be after the date 1st seen at the facility"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value >= %resource.descendants().where(linkId='554231819382').answer.value"
},
{
"url": "human",
"valueString": "Date of Specimen Collection should be after the date 1st seen at the facility"
},
{
"url": "location",
"valueString": "554231819382"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "8962468583341",
"text": "Date of specimen collection",
"type": "date",
"enableWhen": [
{
"question": "412689284625",
"operator": "exists",
"answerBoolean": true
}
],
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
"valueCodeableConcept": {
"coding": [
{
"system": "http://hl7.org/fhir/questionnaire-item-control",
"code": "radio-button",
"display": "Radio Button"
}
]
}
},
{
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
"valueCode": "horizontal"
}
],
"linkId": "258912872921",
"text": "Were other specimen types collected?",
"type": "choice",
"required": true,
"answerOption": [
{
"valueCoding": {
"code": "yes",
"display": "Yes"
}
},
{
"valueCoding": {
"code": "no",
"display": "No"
}
}
]
},
{
"linkId": "340507649387",
"text": "If yes, specify other specimen type",
"type": "string",
"enableWhen": [
{
"question": "258912872921",
"operator": "=",
"answerCoding": {
"code": "yes",
"display": "Yes"
}
}
],
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "Date of Specimen Collection should be after the date 1st seen at the facility"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value >= %resource.descendants().where(linkId='554231819382').answer.value"
},
{
"url": "human",
"valueString": "Date of Specimen Collection should be after the date 1st seen at the facility"
},
{
"url": "location",
"valueString": "554231819382"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "699353598445",
"text": "Date of other specimen type collection",
"type": "date",
"enableWhen": [
{
"question": "258912872921",
"operator": "=",
"answerCoding": {
"code": "yes",
"display": "Yes"
}
}
],
"required": true
},
{
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
"valueString": "d/M/y"
},
{
"url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
"valueString": "Cannot be a date in the future"
},
{
"url": "http://hl7.org/fhir/StructureDefinition/maxValue",
"_valueDate": {
"extension": [
{
"url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
"valueExpression": {
"language": "text/fhirpath",
"expression": "today()"
}
}
]
}
},
{
"extension": [
{
"url": "key",
"valueId": "constraint-1"
},
{
"url": "requirements",
"valueString": "The date should be after the specimen collection date"
},
{
"url": "severity",
"valueCode": "error"
},
{
"url": "expression",
"valueString": "%context.answer.value >= %resource.descendants().where(linkId='8962468583341').answer.value"
},
{
"url": "human",
"valueString": "The date should be after the specimen collection date"
},
{
"url": "location",
"valueString": "8962468583341"
}
],
"url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
}
],
"linkId": "718251724172",
"text": "Date specimen sent to lab",
"type": "date",
"required": true
}
]
}
]
}