FHIR © HL7.org  |  FHIRsmith 4.0.1  |  Server Home  |  XIG Home  |  XIG Stats  | 

FHIR IG analytics

Packagefhir.surveillanceIG
Resource TypeQuestionnaire
IdQuestionnaire-AfpCaseReport.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/IntelliSOFT-Consulting/Surveillance-FHIR-IG/Questionnaire-AfpCaseReport.html
URLhttp://example.org/Questionnaire/AfpCaseReport
Version0.1.0
Statusdraft
Date2026-04-02T20:27:34+00:00
TitleAFP Surveillance
Realmus
Authorityhl7
DescriptionAFP Surveillance questionnaire for disease surveillance

Resources that use this resource

No resources found


Resources that this resource uses

No resources found


Narrative

Note: links and images are rebased to the (stated) source

Generated Narrative: Questionnaire AfpCaseReport

Profile: http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire

Structure
LinkIDTextCardinalityTypeFlagsDescription & Constraintsdoco
.. AFP Surveillance questionnaire for disease surveillanceQuestionnairehttp://example.org/Questionnaire/AfpCaseReport#0.1.0
... 151479012557Reporting Site0..1group
.... user_roleUser Role0..1stringiconicon
.... user_facilityUser Facility0..1stringiconicon
.... user_wardUser Ward0..1stringiconicon
.... user_sub_countyUser Sub County0..1stringiconicon
.... user_countyUser County0..1stringiconicon
.... facility_levelnull0..1groupEnable When: user_role = VACCINATOR
..... 294367770999County1..1reference
..... 819946803642Sub County1..1reference
..... 819943434Ward1..1reference
..... 819946803677Health Facility1..1reference
..... 438862163919Type of health facility1..1choiceOptions: 3 options
.... sub_county_levelnull0..1groupEnable When: user_role = SUBCOUNTY_DISEASE_SURVEILLANCE_OFFICER
..... 294367770999_sub_countyCounty1..1reference
..... 819946803642_sub_countySub County1..1reference
..... 819943434_sub_countyWard1..1reference
..... 819946803677_sub_countyHealth Facility1..1reference
..... 438862163919_sub_countyType of health facility1..1choiceOptions: 3 options
.... county_levelnull0..1groupEnable When: user_role = COUNTY_DISEASE_SURVEILLANCE_OFFICER
..... 294367770999_countyCounty1..1reference
..... 819946803642_countySub County1..1reference
..... 819943434_countyWard1..1reference
..... 819946803677_countyHealth Facility1..1reference
..... 438862163919_countyType of health facility1..1choiceOptions: 3 options
.... national_levelnull0..1groupEnable When: user_role = ADMINISTRATOR
..... 294367770999_nationalCounty1..1reference
..... 819946803642_nationalSub County1..1reference
..... 819943434_nationalWard1..1reference
..... 819946803677_nationalHealth Facility1..1reference
..... 438862163919_nationalType of health facility1..1choiceOptions: 3 options
.... 992818778559EPID No0..1stringiconicon
... 359809652429Case Demographics0..1group
.... 873240407472First name1..1string
.... 246751846436Middle name0..1string
.... 486402457213Surname/Family name1..1string
.... 929966324957Sex1..1choiceiconiconOptions: 2 options
..... 262588607153_helpText What is the sex of the patient?0..1display
.... 442636360588Date of Birth known or unknown?1..1choiceiconiconOptions: 2 options
..... 258271896621_helpTextDate of birth of the patient (DD/MM/YYYY)0..1display
.... 257830485990Date of Birth.1..1dateEnable When: 442636360588 = Known (known)
.... age-at-onsetAge at Onset0..1stringiconiconInitial Value: string = 0
.... 492731638700Age in Years1..1integerEnable When: 442636360588 = Unknown (unknown)
.... 185726989867Age in Months0..1integerEnable When: 442636360588 = Unknown (unknown)
.... 828303331247Age in Days0..1integerEnable When: 442636360588 = Unknown (unknown)
.... 856448027666Name of Parent/Guardian.1..1string
.... 576318206363Telephone no. of parent/guardian.1..1string
..... telephone-hint07xxxxxxxx0..1display
.... a4-countyCounty1..1reference
.... a3-sub-countySub County1..1reference
.... a2-wardWard1..1reference
.... residence-detailsResidence (Village/Estate/Hse No).1..1string
.... 946232932304Neighborhood major landmark.1..1string
.... 487686858194Name Nearest Health Facility.1..1string
.... 110761799063Town/City/Location.1..1string
..... 509826995484_helpText The specific town, city, or geographical location of residence.0..1display
... 451840456960Case Information0..1group
.... 502488184403Date of Investigation.1..1date
..... 502488184403_helpTextThe date when the affected individual first sought medical care.0..1display
.... 426321975477Date of Notification.1..1date
..... 426321975477_helpTextThe date when the health facility reported the case to the sub-county and national health authorities.0..1display
.... 171292274939Notified by? 1..1choiceOptions: 4 options
.... 336643888536Was the patient admitted?1..1choiceiconiconOptions: 2 options
..... 336643888536_helpTextWas the patient hospitalized?0..1display
.... 507199621281Date of admission.1..1dateEnable When: 336643888536 = Yes (yes)
..... 507199621281_helpTextThe date when the patient was admitted to a healthcare facility.0..1display
.... 525996604810IP/OP No.1..1string
..... 525996604810_helpTextInpatient (IP) or Outpatient (OP) number assigned by the health facility.0..1display
... 735342695013Clinical Information0..1group
.... 728034137219Date of onset of paralysis.1..1date
.... 932108244312Fever at onset of paralysis?1..1choiceiconiconOptions: 2 options
.... 396371836778Is paralysis of sudden onset?1..1choiceiconiconOptions: 2 options
.... 917680711879Progressive Paralysis < 3 days?1..1choiceiconiconOptions: 2 options
..... 917680711879_helpTextWas the progression of paralysis less than 3 days?0..1display
.... 776980947995Is paralysiss flaccid(floppy)?1..1choiceiconiconOptions: 2 options
.... 679475123276Is the paralysis asymmetric?1..1choiceiconiconOptions: 2 options
.... 828001350323Site of paralysis (check all that apply)1..*choiceOptions: 5 options
.... 815911574910Specify other site of Paralysis1..1stringEnable When: 828001350323 = Other (Specify) (othersite)
.... 249388449455Paralyzed limb sensitive to pain?1..1choiceiconiconOptions: 2 options
.... 638592165160Was there any injection just before onset of paralysis?1..1choiceiconiconOptions: 2 options
.... 701518392602Site of injection ( check all that applies).0..*choiceEnable When: 638592165160 = Yes (yes)
Options: 10 options
.... 564450145870After Investigation, was this a true AFP?0..1choiceiconiconOptions: 2 options
.... 212304573462Outcome0..1choiceiconiconOptions: 3 options
... 446305443608Vaccination History for disease under investigation0..1group
.... 970455623029Was the patient vaccinated against illness (including campaign)? 1..1choiceiconiconOptions: 3 options
..... 970455623029_helpTextWas the patient vaccinated against illness (including campaign)? 0..1display
.... 886125589225Number of doses administered(Excluding birth OPV Dose)1..1integerEnable When: 970455623029 = Yes (yes)
..... 886125589225_helpTextThe total number of polio vaccines administered (excluding birth OPV)0..1display
.... 413372430071Date of OPV dose at birth.1..1dateEnable When: 970455623029 = Yes (yes)
.... 671158128551Date of 1st dose.1..1dateEnable When: 970455623029 = Yes (yes)
.... 286826008175Date of 2nd dose.0..1dateEnable When: 886125589225 > 1
.... 705067672267Date of 3rd Dose.0..1dateEnable When: 886125589225 > 2
.... 974686716540Date of 4th Dose.0..1dateEnable When: 886125589225 > 3
.... 597572769623If more than 4 doses, date of last dose.0..1dateEnable When: 886125589225 > 4
..... 597572769623_helpTextIf more than 4 doses, date of last dose.0..1display
.... 610048088023Were there any vaccines given in last 30 days?0..1choiceiconiconEnable When: 970455623029 = Yes (yes)
Options: 3 options
..... 610048088023_helpTextWere there any vaccines given in the last 30 days?0..1display
.... 960020813971if yes, confirm number of days/interval1..1integerEnable When: 610048088023 = Yes (yes)
.... 910678978959Date of last OPV dose received through SIA.1..1dateEnable When: 970455623029 = Yes (yes)
..... 910678978959_helpTextDate of last OPV dose administered during Supplementary Immunization Activity (SIA) e.g. vaccination campaigns.0..1display
.... 774679982525Total OPV (bOPV/mOPV2) doses received through SIA.1..1integerEnable When: 970455623029 = Yes (yes)
..... 774679982525_helpTextTotal number of OPV doses administered during Supplementary Immunization Activity (SIA) e.g. vaccination campaigns.0..1display
.... 440401067645Total OPV (bOPV/mOPV2/) doses received through RI.1..1integerEnable When: 970455623029 = Yes (yes)
..... 440401067645_helpTextTotal number of OPV doses administered during Routine Immunization (RI).0..1display
.... 799376740588Total IPV doses received through SIA1..1integerEnable When: 970455623029 = Yes (yes)
..... 799376740588_helpTextTotal number of IPV doses administered during Supplementary Immunization Activity (SIA) e.g. vaccination campaigns.0..1display
.... 999346763880Total IPV doses received through RI.1..1integerEnable When: 970455623029 = Yes (yes)
..... 999346763880_helpTextTotal number of IPV doses administered during Routine Immunization (RI).0..1display
.... 766122504504Date of last IPV dose received through RI or SIA.1..1dateEnable When: 970455623029 = Yes (yes)
..... 766122504504_helpTextDate of last IPV dose administered during Routine Immunization (RI) OR Supplementary Immunization Activity (SIA) e.g. vaccination campaigns.0..1display
.... 650080600932Source of RI vaccination Information.1..1choiceiconiconEnable When: 970455623029 = Yes (yes)
Options: 3 options
..... 650080600932_helpTextWhat is the source of Routine Vaccination Information.0..1display
.... 511517897367Immunocompromised status suspected?0..1choiceiconiconOptions: 3 options
... 350784256533Stool Specimen Collection Information0..1group
.... 737703942433Date 1st specimen collected.1..1date
..... 737703942433_helpTextCollect the first date when the case is investigated.0..1display
.... 711388438654Date 2nd specimen collected.1..1date
.... 808177332790Date Specimen sent to the national level1..1date

doco Documentation for this format

Options Sets

Answer options for 438862163919

  • null#Private ("Private")
  • null#Public ("Public")
  • null#Faith Based ("Faith Based")

Answer options for 438862163919_sub_county

  • null#Private ("Private")
  • null#Public ("Public")
  • null#Faith Based ("Faith Based")

Answer options for 438862163919_county

  • null#Private ("Private")
  • null#Public ("Public")
  • null#Faith Based ("Faith Based")

Answer options for 438862163919_national

  • null#Private ("Private")
  • null#Public ("Public")
  • null#Faith Based ("Faith Based")

Answer options for 929966324957

  • null#male ("Male")
  • null#female ("Female")

Answer options for 442636360588

  • null#known ("Known")
  • null#unknown ("Unknown")

Answer options for 171292274939

  • null#null ("Health Worker/focal person in reporting site")
  • null#null ("Community Health Volunteer")
  • null#null ("Community Informant")
  • null#null ("Alternative Health Care Provider(traditionalhealer, herbalist, etc))")

Answer options for 336643888536

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 932108244312

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 396371836778

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 917680711879

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 776980947995

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 679475123276

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 828001350323

  • null#la ("LA")
  • null#ll ("LL")
  • null#ra ("RA")
  • null#rl ("RL")
  • null#othersite ("Other (Specify)")

Answer options for 249388449455

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 638592165160

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 701518392602

  • null#arm ("Left Arm")
  • null#forearm ("Left Forearm")
  • null#thigh ("Left Buttock")
  • null#leg ("Left Thigh")
  • null#null ("Left Leg")
  • null#null ("Right Arm")
  • null#null ("Right Forearm")
  • null#null ("Right Buttock")
  • null#null ("Right Thigh")
  • null#null ("Right Leg")

Answer options for 564450145870

  • null#yes ("Yes")
  • null#no ("No")

Answer options for 212304573462

  • null#hospitilized ("Still Hospitized")
  • null#dead ("Dead")
  • null#alive ("Alive")

Answer options for 970455623029

  • null#yes ("Yes")
  • null#no ("No")
  • null#unknown ("Unknown")

Answer options for 610048088023

  • null#yes ("Yes")
  • null#no ("No")
  • null#unknown ("Unknown")

Answer options for 650080600932

  • null#immunization-card ("Immunization Card")
  • null#recall ("Recall")
  • null#unknown ("Unknown")

Answer options for 511517897367

  • null#yes ("Yes")
  • null#no ("No")
  • null#unknown ("Unknown")

Source1

{
  "resourceType": "Questionnaire",
  "id": "AfpCaseReport",
  "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": "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/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/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode",
      "valueCode": "prior-edit"
    }
  ],
  "url": "http://example.org/Questionnaire/AfpCaseReport",
  "version": "0.1.0",
  "title": "AFP Surveillance",
  "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": "AFP Surveillance 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": "359809652429",
      "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"
              }
            }
          ],
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "262588607153_helpText",
              "text": " What is the sex of the patient?",
              "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": "442636360588",
          "text": "Date of Birth known or unknown?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "known",
                "display": "Known"
              }
            },
            {
              "valueCoding": {
                "code": "unknown",
                "display": "Unknown"
              }
            }
          ],
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "258271896621_helpText",
              "text": "Date of birth of the patient (DD/MM/YYYY)",
              "type": "display"
            }
          ]
        },
        {
          "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": 15
            }
          ],
          "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": "Age in 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": "Age in Days",
          "type": "integer",
          "enableWhen": [
            {
              "question": "442636360588",
              "operator": "=",
              "answerCoding": {
                "code": "unknown",
                "display": "Unknown"
              }
            }
          ]
        },
        {
          "linkId": "856448027666",
          "text": "Name of Parent/Guardian.",
          "type": "string",
          "required": true
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "phone-number",
                    "display": "Phone Number"
                  }
                ]
              }
            },
            {
              "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;
            }
          ],
          "linkId": "576318206363",
          "text": "Telephone no. of parent/guardian.",
          "type": "string",
          "required": true,
          "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": "telephone-hint",
              "text": "07xxxxxxxx",
              "type": "display"
            }
          ]
        },
        {
          "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}}&_sort=name"
              }
            },
            {
              "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": "residence-details",
          "text": "Residence (Village/Estate/Hse No).",
          "type": "string",
          "required": true
        },
        {
          "linkId": "946232932304",
          "text": "Neighborhood major landmark.",
          "type": "string",
          "required": true
        },
        {
          "linkId": "487686858194",
          "text": "Name Nearest Health Facility.",
          "type": "string",
          "required": true
        },
        {
          "linkId": "110761799063",
          "text": "Town/City/Location.",
          "type": "string",
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "509826995484_helpText",
              "text": " The specific town, city, or geographical location of residence.",
              "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": "451840456960",
      "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()"
                    }
                  }
                ]
              }
            }
          ],
          "linkId": "502488184403",
          "text": "Date of Investigation.",
          "type": "date",
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "502488184403_helpText",
              "text": "The date when the affected individual first sought medical care.",
              "type": "display"
            }
          ]
        },
        {
          "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 before the date of Investigation"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value <= %resource.descendants().where(linkId='502488184403').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be before the date of Investigation"
                },
                {
                  "url": "location",
                  "valueString": "502488184403"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "426321975477",
          "text": "Date of Notification.",
          "type": "date",
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "426321975477_helpText",
              "text": "The date when the health facility reported the case to the sub-county and national health authorities.",
              "type": "display"
            }
          ]
        },
        {
          "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": "171292274939",
          "text": "Notified by? ",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "display": "Health Worker/focal person in reporting site"
              }
            },
            {
              "valueCoding": {
                "display": "Community Health Volunteer"
              }
            },
            {
              "valueCoding": {
                "display": "Community Informant"
              }
            },
            {
              "valueCoding": {
                "display": "Alternative Health Care Provider(traditionalhealer, herbalist, etc))"
              }
            }
          ]
        },
        {
          "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": "336643888536",
          "text": "Was the patient admitted?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ],
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "336643888536_helpText",
              "text": "Was the patient hospitalized?",
              "type": "display"
            }
          ]
        },
        {
          "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": "507199621281",
          "text": "Date of admission.",
          "type": "date",
          "enableWhen": [
            {
              "question": "336643888536",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "507199621281_helpText",
              "text": "The date when the patient was admitted to a healthcare facility.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "525996604810",
          "text": "IP/OP No.",
          "type": "string",
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "525996604810_helpText",
              "text": "Inpatient (IP) or Outpatient (OP) number assigned by the health facility.",
              "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": "735342695013",
      "text": "Clinical 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": "The date should be before the date of Investigation"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value <= %resource.descendants().where(linkId='502488184403').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be before the date of Investigation"
                },
                {
                  "url": "location",
                  "valueString": "502488184403"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "728034137219",
          "text": "Date of onset of paralysis.",
          "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": "932108244312",
          "text": "Fever at onset of paralysis?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "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": "396371836778",
          "text": "Is paralysis of sudden onset?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "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": "917680711879",
          "text": "Progressive Paralysis < 3 days?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ],
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "917680711879_helpText",
              "text": "Was the progression of paralysis less than 3 days?",
              "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": "776980947995",
          "text": "Is paralysiss flaccid(floppy)?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "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": "679475123276",
          "text": "Is the paralysis asymmetric?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "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": "828001350323",
          "text": "Site of paralysis (check all that apply)",
          "type": "choice",
          "required": true,
          "repeats": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "la",
                "display": "LA"
              }
            },
            {
              "valueCoding": {
                "code": "ll",
                "display": "LL"
              }
            },
            {
              "valueCoding": {
                "code": "ra",
                "display": "RA"
              }
            },
            {
              "valueCoding": {
                "code": "rl",
                "display": "RL"
              }
            },
            {
              "valueCoding": {
                "code": "othersite",
                "display": "Other (Specify)"
              }
            }
          ]
        },
        {
          "linkId": "815911574910",
          "text": "Specify other site of Paralysis",
          "type": "string",
          "enableWhen": [
            {
              "question": "828001350323",
              "operator": "=",
              "answerCoding": {
                "code": "othersite",
                "display": "Other (Specify)"
              }
            }
          ],
          "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": "249388449455",
          "text": "Paralyzed limb sensitive to pain?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "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": "638592165160",
          "text": "Was there any injection just before onset of paralysis?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "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": "701518392602",
          "text": "Site of injection ( check all that applies).",
          "type": "choice",
          "enableWhen": [
            {
              "question": "638592165160",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "repeats": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "arm",
                "display": "Left Arm"
              }
            },
            {
              "valueCoding": {
                "code": "forearm",
                "display": "Left Forearm"
              }
            },
            {
              "valueCoding": {
                "code": "thigh",
                "display": "Left Buttock"
              }
            },
            {
              "valueCoding": {
                "code": "leg",
                "display": "Left Thigh"
              }
            },
            {
              "valueCoding": {
                "display": "Left Leg"
              }
            },
            {
              "valueCoding": {
                "display": "Right Arm"
              }
            },
            {
              "valueCoding": {
                "display": "Right Forearm"
              }
            },
            {
              "valueCoding": {
                "display": "Right Buttock"
              }
            },
            {
              "valueCoding": {
                "display": "Right Thigh"
              }
            },
            {
              "valueCoding": {
                "display": "Right Leg"
              }
            }
          ]
        },
        {
          "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": "564450145870",
          "text": "After Investigation, was this a true AFP?",
          "type": "choice",
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "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": "212304573462",
          "text": "Outcome",
          "type": "choice",
          "answerOption": [
            {
              "valueCoding": {
                "code": "hospitilized",
                "display": "Still Hospitized"
              }
            },
            {
              "valueCoding": {
                "code": "dead",
                "display": "Dead"
              }
            },
            {
              "valueCoding": {
                "code": "alive",
                "display": "Alive"
              }
            }
          ]
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "page",
                "display": "Page"
              }
            ]
          }
        }
      ],
      "linkId": "446305443608",
      "text": "Vaccination History for disease under investigation",
      "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": "970455623029",
          "text": "Was the patient vaccinated against illness (including campaign)? ",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            },
            {
              "valueCoding": {
                "code": "unknown",
                "display": "Unknown"
              }
            }
          ],
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "970455623029_helpText",
              "text": "Was the patient vaccinated against illness (including campaign)? ",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "886125589225",
          "text": "Number of doses administered(Excluding birth OPV Dose)",
          "type": "integer",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "886125589225_helpText",
              "text": "The total number of polio vaccines administered (excluding birth OPV)",
              "type": "display"
            }
          ]
        },
        {
          "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": "413372430071",
          "text": "Date of OPV dose at birth.",
          "type": "date",
          "enableWhen": [
            {
              "question": "970455623029",
              "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()"
                    }
                  }
                ]
              }
            }
          ],
          "linkId": "671158128551",
          "text": "Date of 1st dose.",
          "type": "date",
          "enableWhen": [
            {
              "question": "970455623029",
              "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 date of the 1st dose"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value >= %resource.descendants().where(linkId='671158128551').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be after the date of the 1st dose"
                },
                {
                  "url": "location",
                  "valueString": "671158128551"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "286826008175",
          "text": "Date of 2nd dose.",
          "type": "date",
          "enableWhen": [
            {
              "question": "886125589225",
              "operator": ">",
              "answerInteger": 1
            }
          ],
          "enableBehavior": "all"
        },
        {
          "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 date of the 2nd dose"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value >= %resource.descendants().where(linkId='286826008175').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be after the date of the 2nd dose"
                },
                {
                  "url": "location",
                  "valueString": "286826008175"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "705067672267",
          "text": "Date of 3rd Dose.",
          "type": "date",
          "enableWhen": [
            {
              "question": "886125589225",
              "operator": ">",
              "answerInteger": 2
            }
          ],
          "enableBehavior": "all"
        },
        {
          "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 date of the 3rd dose"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value >= %resource.descendants().where(linkId='705067672267').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be after the date of the 3rd dose"
                },
                {
                  "url": "location",
                  "valueString": "705067672267"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "974686716540",
          "text": "Date of 4th Dose.",
          "type": "date",
          "enableWhen": [
            {
              "question": "886125589225",
              "operator": ">",
              "answerInteger": 3
            }
          ],
          "enableBehavior": "all"
        },
        {
          "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 date of the 4th dose"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value >= %resource.descendants().where(linkId='974686716540').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be after the date of the 4th dose"
                },
                {
                  "url": "location",
                  "valueString": "974686716540"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "597572769623",
          "text": "If more than 4 doses, date of last dose.",
          "type": "date",
          "enableWhen": [
            {
              "question": "886125589225",
              "operator": ">",
              "answerInteger": 4
            }
          ],
          "enableBehavior": "all",
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "597572769623_helpText",
              "text": "If more than 4 doses, date of last dose.",
              "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": "610048088023",
          "text": "Were there any vaccines given in last 30 days?",
          "type": "choice",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            },
            {
              "valueCoding": {
                "code": "unknown",
                "display": "Unknown"
              }
            }
          ],
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "610048088023_helpText",
              "text": "Were there any vaccines given in the last 30 days?",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "960020813971",
          "text": "if yes, confirm number of days/interval",
          "type": "integer",
          "enableWhen": [
            {
              "question": "610048088023",
              "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()"
                    }
                  }
                ]
              }
            }
          ],
          "linkId": "910678978959",
          "text": "Date of last OPV dose received through SIA.",
          "type": "date",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "910678978959_helpText",
              "text": "Date of last OPV dose administered during Supplementary Immunization Activity (SIA) e.g. vaccination campaigns.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "774679982525",
          "text": "Total OPV (bOPV/mOPV2) doses received through SIA.",
          "type": "integer",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "774679982525_helpText",
              "text": "Total number of OPV doses administered during Supplementary Immunization Activity (SIA) e.g. vaccination campaigns.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "440401067645",
          "text": "Total OPV (bOPV/mOPV2/) doses received through RI.",
          "type": "integer",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "440401067645_helpText",
              "text": "Total number of OPV doses administered during Routine Immunization (RI).",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "799376740588",
          "text": "Total IPV doses received through SIA",
          "type": "integer",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "799376740588_helpText",
              "text": "Total number of IPV doses administered during Supplementary Immunization Activity (SIA) e.g. vaccination campaigns.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "999346763880",
          "text": "Total IPV doses received through RI.",
          "type": "integer",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "999346763880_helpText",
              "text": "Total number of IPV doses administered during Routine Immunization (RI).",
              "type": "display"
            }
          ]
        },
        {
          "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": "766122504504",
          "text": "Date of last IPV dose received through RI or SIA.",
          "type": "date",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "766122504504_helpText",
              "text": "Date of last IPV dose administered during Routine Immunization (RI) OR Supplementary Immunization Activity (SIA) e.g. vaccination campaigns.",
              "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": "650080600932",
          "text": "Source of RI vaccination Information.",
          "type": "choice",
          "enableWhen": [
            {
              "question": "970455623029",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "immunization-card",
                "display": "Immunization Card"
              }
            },
            {
              "valueCoding": {
                "code": "recall",
                "display": "Recall"
              }
            },
            {
              "valueCoding": {
                "code": "unknown",
                "display": "Unknown"
              }
            }
          ],
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "650080600932_helpText",
              "text": "What is the source of Routine Vaccination Information.",
              "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": "511517897367",
          "text": "Immunocompromised status suspected?",
          "type": "choice",
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            },
            {
              "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": "350784256533",
      "text": "Stool Specimen Collection 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": "The date should be on or after the date of Investigation"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value >= %resource.descendants().where(linkId='502488184403').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be one or after the date of Investigation"
                },
                {
                  "url": "location",
                  "valueString": "502488184403"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "737703942433",
          "text": "Date 1st specimen collected.",
          "type": "date",
          "required": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "help",
                        "display": "Help-Button"
                      }
                    ]
                  }
                }
              ],
              "linkId": "737703942433_helpText",
              "text": "Collect the first date when the case is investigated.",
              "type": "display"
            }
          ]
        },
        {
          "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 on or after the date of 1st specimen collection"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value >= %resource.descendants().where(linkId='737703942433').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be on or after the date of 1st specimen collection"
                },
                {
                  "url": "location",
                  "valueString": "737703942433"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "711388438654",
          "text": "Date 2nd specimen collected.",
          "type": "date",
          "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 on or after the date of 2nd specimen collection"
                },
                {
                  "url": "severity",
                  "valueCode": "error"
                },
                {
                  "url": "expression",
                  "valueString": "%context.answer.value >= %resource.descendants().where(linkId='711388438654').answer.value"
                },
                {
                  "url": "human",
                  "valueString": "The date should be on or after the date of 2nd specimen collection"
                },
                {
                  "url": "location",
                  "valueString": "711388438654"
                }
              ],
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-constraint"
            }
          ],
          "linkId": "808177332790",
          "text": "Date Specimen sent to the national level",
          "type": "date",
          "required": true
        }
      ]
    }
  ]
}