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

FHIR IG analytics

Packagefhir.surveillanceIG
Resource TypeQuestionnaire
IdQuestionnaire-VlCase.json
FHIR VersionR4
Sourcehttps://build.fhir.org/ig/IntelliSOFT-Consulting/Surveillance-FHIR-IG/Questionnaire-VlCase.html
URLhttp://example.org/Questionnaire/VlCase
Version0.1.0
Statusdraft
Date2026-05-04T06:19:40+00:00
TitleVL Surveillance
Realmus
Authorityhl7
DescriptionVisceral Leishmaniasis surveillance case questionnaire

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 VlCase

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

Structure
LinkIDTextCardinalityTypeFlagsDescription & Constraintsdoco
.. Visceral Leishmaniasis surveillance case questionnaireQuestionnairehttp://example.org/Questionnaire/VlCase#0.1.0
... 151479012557PRESENTATION PHASE0..1group
.... 546255966914Hospital/Facility Location0..1display
.... 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
.... 185890957847Date of Diagnosis1..1date
... 565301843046Case Information0..1group
.... 123103147447IP/OP Number1..1string
.... 817903655885Patient First Name1..1string
.... 164840483828Patient Middle Name0..1string
.... 606848143908Patient Family Name1..1string
.... 760016167922Patient Mobile Contact0..1string
..... 12345667807xxxxxxxx0..1display
.... 442636360588Date of Birth known or unknown?0..1choiceiconiconOptions: 2 options
.... 257830485990Date of Birth1..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)
.... 543806612685Gender1..1choiceiconiconOptions: 2 options
.... 743522593349Pregnancy Status1..1choiceEnable When: 543806612685 = Female (female)
Options: 3 options
.... 832804021140Weight (Kg)1..1decimal
.... 856786488810Height (cm)1..1decimal
.... 361227700960Temperature (°C)1..1decimal
.... 350480749254Patient Location0..1display
.... a4-countyCounty1..1reference
.... a3-sub-countySub County1..1reference
.... 754362784943Ward1..1reference
.... 116279465819Village1..1string
.... 845666899224Nearest Health Facility1..1string
.... 999881476256Occupation1..1choiceOptions: 6 options
.... 673073919688Other Occupation(Specify)1..1stringEnable When: 999881476256 = Other (Specify) (occ-006)
.... 899673957595Education Level1..1choiceOptions: 5 options
.... 261509225024Other Education ( Specify)1..1stringEnable When: 899673957595 = Other (Specify) (edu-005)
.... 657999955440Name of Contact Person1..1string
.... 354738003178Mobile Contact (of Contact Person)1..1string
..... 98458623507xxxxxxxx0..1display
... 682361027621History of the disease0..1group
.... 728034137219Date of Onset of Symptoms1..1date
.... 920645761660Days Since Onset of Symptoms0..1stringiconiconInitial Value: string = 0
.... 997694179371Name of Village Where Patient Probably Got Infected1..1string
.... 648643802331Is It an Imported Case (from outside the country)?1..1choiceiconiconOptions: 2 options
.... 405254523776If Yes, Indicate Name of Country1..1stringEnable When: 648643802331 = Yes (yes)
.... 241783748776Did Patient Travel to Endemic Area in Last 6 Months? (In country)1..1choiceiconiconOptions: 2 options
.... 240876879827If yes, indicate the place(s) visited:0..1displayEnable When: 241783748776 = Yes (yes)
.... 751649865991County1..1referenceEnable When: 241783748776 = Yes (yes)
.... 751649866545Sub-county1..1referenceEnable When: 241783748776 = Yes (yes)
.... 683913433621Ward0..1referenceEnable When: 241783748776 = Yes (yes)
.... 304570397907Village1..1stringEnable When: 241783748776 = Yes (yes)
.... 201707720724Location1..1stringEnable When: 241783748776 = Yes (yes)
.... 742577347417Did Patient Visit Traditional Healer before visiting Health Facility?1..1choiceiconiconOptions: 2 options
.... 291919290357Previous Admission Due to Visceral Leishmaniasis?1..1choiceiconiconOptions: 2 options
.... 653200828098If Yes, When Admitted?1..1choiceEnable When: 291919290357 = Yes (yes)
Options: 4 options
... 119408288668Physical Examination0..1group
.... 699010843343Has Patient Had Fever for Last 2 Weeks?1..1choiceiconiconOptions: 2 options
.... clinician-actionClinician should perform spleen and liver palpation0..1displayEnable When: 699010843343 = Yes (yes)
.... 458194698702Abdominal Distension Present?1..1choiceiconiconOptions: 2 options
.... 788908031336Organ Enlargement0..1display
.... 594158306957Liver Enlarged?1..1choiceiconiconOptions: 2 options
.... 754134389540Liver Measurement below Costal Margin (cm)1..1decimalEnable When: 594158306957 = Yes (yes)
.... 433410405758Spleen Enlarged?1..1choiceiconiconOptions: 2 options
.... 808046746150Spleen Measurement below Costal Margin (cm)1..1decimalEnable When: 433410405758 = Yes (yes)
.... 496596553090Presence of Concomitant Infections at presentation?1..1choiceiconiconOptions: 2 options
.... 968034282530Name(s) of Concomitant Infections1..1stringEnable When: 496596553090 = Yes (yes)
.... 332723314026Clinician's Name1..1string
.... 493012943787Clinician's Signature1..1string

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 442636360588

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

Answer options for 543806612685

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

Answer options for 743522593349

  • null#notknown ("Not Known")
  • null#positive ("Positive")
  • null#negative ("Negative")

Answer options for 999881476256

  • null#occ-001 ("None")
  • null#occ-002 ("Student")
  • null#occ-003 ("Animal Herder")
  • null#occ-004 ("Self Employed")
  • null#occ-005 ("Homemaker")
  • null#occ-006 ("Other (Specify)")

Answer options for 899673957595

  • null#edu-001 ("None")
  • null#edu-002 ("Primary")
  • null#edu-003 ("Secondary")
  • null#edu-004 ("Post–Secondary")
  • null#edu-005 ("Other (Specify)")

Answer options for 648643802331

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

Answer options for 241783748776

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

Answer options for 742577347417

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

Answer options for 291919290357

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

Answer options for 653200828098

  • null#admin-001 ("3 months ago")
  • null#admin-002 ("6 months ago")
  • null#admin-003 ("1 year ago")
  • null#admin-004 ("More than 1 year ago")

Answer options for 699010843343

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

Answer options for 458194698702

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

Answer options for 594158306957

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

Answer options for 433410405758

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

Answer options for 496596553090

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

Source1

{
  "resourceType": "Questionnaire",
  "id": "VlCase",
  "meta": {
    "profile": [
      "http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire"
    ]
  },
  "text": {
    "status": "extensions",
    "div": "<!-- snip (see above) -->"
  },
  "extension": [
    {
      "extension": [
        {
          "url": "name",
          "valueCoding": {
            "system": "http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext",
            "code": "patient"
          }
        },
        {
          "url": "type",
          "valueCode": "Patient"
        }
      ],
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext"
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "countyName",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='294367770999').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "patientCountyName",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='a4-county').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "patientSubCountyName",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='a3-sub-county').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedSubCountyName",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819946803642').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedWardName",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819943434').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedFacilityName",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819943434').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "assignedCounty",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='user_county').answer.value"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "assignedRole",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='user_role').answer.value"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "assignedSubCounty",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='user_sub_county').answer.value"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "assignedWard",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='user_ward').answer.value"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "assignedFacility",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='user_facility').answer.value"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedCountyNameCounty",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='294367770999_county').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedSubCountyNameCounty",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819946803642_county').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedWardNameCounty",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819943434_county').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedCountyNameNational",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='294367770999_national').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedSubCountyNameNational",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819946803642_national').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedWardNameNational",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819943434_national').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedCountyNameSubCounty",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='294367770999_sub_county').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedSubCountyNameSubCounty",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819946803642_sub_county').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "selectedWardNameSubCounty",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='819943434_sub_county').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "historyCountyName",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='751649865991').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/StructureDefinition/variable",
      "valueExpression": {
        "name": "historySubCountyName",
        "language": "text/fhirpath",
        "expression": "%resource.descendants().where(linkId='751649866545').answer.value.reference"
      }
    },
    {
      "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode",
      "valueCode": "prior-edit"
    }
  ],
  "url": "http://example.org/Questionnaire/VlCase",
  "version": "0.1.0",
  "title": "VL Surveillance",
  "status": "draft",
  "date": "2026-05-04T06:19:40+00:00",
  "publisher": "Kenya National Public Health Institute",
  "contact": [
    {
      "name": "Kenya National Public Health Institute",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nphi.go.ke/"
        }
      ]
    },
    {
      "name": "Kenya National Public Health Institute",
      "telecom": [
        {
          "system": "url",
          "value": "https://www.nphi.go.ke/",
          "use": "work"
        }
      ]
    }
  ],
  "description": "Visceral Leishmaniasis surveillance case questionnaire",
  "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": "PRESENTATION PHASE",
      "type": "group",
      "item": [
        {
          "linkId": "546255966914",
          "text": "Hospital/Facility Location",
          "type": "display"
        },
        {
          "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"
                  }
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
              "valueString": "Cannot be a date in the future"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
              "valueString": "yyyy-mm-dd"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
              "_valueDate": {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue",
                    "valueExpression": {
                      "language": "text/fhirpath",
                      "expression": "today()"
                    }
                  }
                ]
              }
            }
          ],
          "linkId": "185890957847",
          "text": "Date of Diagnosis",
          "type": "date",
          "required": true
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "page",
                "display": "Page"
              }
            ]
          }
        }
      ],
      "linkId": "565301843046",
      "text": "Case Information",
      "type": "group",
      "item": [
        {
          "linkId": "123103147447",
          "text": "IP/OP Number",
          "type": "string",
          "required": true
        },
        {
          "linkId": "817903655885",
          "text": "Patient First Name",
          "type": "string",
          "required": true
        },
        {
          "linkId": "164840483828",
          "text": "Patient Middle Name",
          "type": "string"
        },
        {
          "linkId": "606848143908",
          "text": "Patient 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": "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": "760016167922",
          "text": "Patient Mobile Contact",
          "type": "string",
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "123456678",
              "text": "07xxxxxxxx",
              "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",
          "answerOption": [
            {
              "valueCoding": {
                "code": "known",
                "display": "Known"
              }
            },
            {
              "valueCoding": {
                "code": "unknown",
                "display": "Unknown"
              }
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://ehelse.no/fhir/StructureDefinition/validationtext",
              "valueString": "Cannot be a date in the future"
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/entryFormat",
              "valueString": "yyyy-mm-dd"
            },
            {
              "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": 999
            }
          ],
          "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"
              }
            }
          ]
        },
        {
          "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": "543806612685",
          "text": "Gender",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "male",
                "display": "Male"
              }
            },
            {
              "valueCoding": {
                "code": "female",
                "display": "Female"
              }
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "drop-down",
                    "display": "Drop down"
                  }
                ]
              }
            }
          ],
          "linkId": "743522593349",
          "text": "Pregnancy Status",
          "type": "choice",
          "enableWhen": [
            {
              "question": "543806612685",
              "operator": "=",
              "answerCoding": {
                "code": "female",
                "display": "Female"
              }
            }
          ],
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "notknown",
                "display": "Not Known"
              }
            },
            {
              "valueCoding": {
                "code": "positive",
                "display": "Positive"
              }
            },
            {
              "valueCoding": {
                "code": "negative",
                "display": "Negative"
              }
            }
          ]
        },
        {
          "linkId": "832804021140",
          "text": "Weight (Kg)",
          "type": "decimal",
          "required": true
        },
        {
          "linkId": "856786488810",
          "text": "Height (cm)",
          "type": "decimal",
          "required": true
        },
        {
          "linkId": "361227700960",
          "text": "Temperature (°C)",
          "type": "decimal",
          "required": true
        },
        {
          "linkId": "350480749254",
          "text": "Patient Location",
          "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}}&_sort=name"
              }
            },
            {
              "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": "754362784943",
          "text": "Ward",
          "type": "reference",
          "required": true
        },
        {
          "linkId": "116279465819",
          "text": "Village",
          "type": "string",
          "required": true
        },
        {
          "linkId": "845666899224",
          "text": "Nearest Health Facility",
          "type": "string",
          "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": "999881476256",
          "text": "Occupation",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "occ-001",
                "display": "None"
              }
            },
            {
              "valueCoding": {
                "code": "occ-002",
                "display": "Student"
              }
            },
            {
              "valueCoding": {
                "code": "occ-003",
                "display": "Animal Herder"
              }
            },
            {
              "valueCoding": {
                "code": "occ-004",
                "display": "Self Employed"
              }
            },
            {
              "valueCoding": {
                "code": "occ-005",
                "display": "Homemaker"
              }
            },
            {
              "valueCoding": {
                "code": "occ-006",
                "display": "Other (Specify)"
              }
            }
          ]
        },
        {
          "linkId": "673073919688",
          "text": "Other Occupation(Specify)",
          "type": "string",
          "enableWhen": [
            {
              "question": "999881476256",
              "operator": "=",
              "answerCoding": {
                "code": "occ-006",
                "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": "drop-down",
                    "display": "Drop down"
                  }
                ]
              }
            }
          ],
          "linkId": "899673957595",
          "text": "Education Level",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "edu-001",
                "display": "None"
              }
            },
            {
              "valueCoding": {
                "code": "edu-002",
                "display": "Primary"
              }
            },
            {
              "valueCoding": {
                "code": "edu-003",
                "display": "Secondary"
              }
            },
            {
              "valueCoding": {
                "code": "edu-004",
                "display": "Post–Secondary"
              }
            },
            {
              "valueCoding": {
                "code": "edu-005",
                "display": "Other (Specify)"
              }
            }
          ]
        },
        {
          "linkId": "261509225024",
          "text": "Other Education ( Specify)",
          "type": "string",
          "enableWhen": [
            {
              "question": "899673957595",
              "operator": "=",
              "answerCoding": {
                "code": "edu-005",
                "display": "Other (Specify)"
              }
            }
          ],
          "required": true
        },
        {
          "linkId": "657999955440",
          "text": "Name of Contact Person",
          "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": "354738003178",
          "text": "Mobile Contact (of Contact Person)",
          "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": "984586235",
              "text": "07xxxxxxxx",
              "type": "display"
            }
          ]
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "page",
                "display": "Page"
              }
            ]
          }
        }
      ],
      "linkId": "682361027621",
      "text": "History of the disease",
      "type": "group",
      "item": [
        {
          "extension": [
            {
              "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": "728034137219",
          "text": "Date of Onset of Symptoms",
          "type": "date",
          "required": true
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-hidden",
              "valueBoolean": true
            }
          ],
          "linkId": "920645761660",
          "text": "Days Since Onset of Symptoms",
          "type": "string",
          "initial": [
            {
              "valueString": "0"
            }
          ]
        },
        {
          "linkId": "997694179371",
          "text": "Name of Village Where Patient Probably Got Infected",
          "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": "648643802331",
          "text": "Is It an Imported Case (from outside the country)?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "linkId": "405254523776",
          "text": "If Yes, Indicate Name of Country",
          "type": "string",
          "enableWhen": [
            {
              "question": "648643802331",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "radio-button",
                    "display": "Radio Button"
                  }
                ]
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
              "valueCode": "horizontal"
            }
          ],
          "linkId": "241783748776",
          "text": "Did Patient Travel to Endemic Area in Last 6 Months? (In country)",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "linkId": "240876879827",
          "text": "If yes, indicate the place(s) visited:",
          "type": "display",
          "enableWhen": [
            {
              "question": "241783748776",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ]
        },
        {
          "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": "751649865991",
          "text": "County",
          "type": "reference",
          "enableWhen": [
            {
              "question": "241783748776",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
              "valueExpression": {
                "language": "application/x-fhir-query",
                "expression": "Location?partof={{%historyCountyName}}&_sort=name"
              }
            },
            {
              "extension": [
                {
                  "url": "path",
                  "valueString": "name"
                },
                {
                  "url": "forDisplay",
                  "valueBoolean": true
                }
              ],
              "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
            }
          ],
          "linkId": "751649866545",
          "text": "Sub-county",
          "type": "reference",
          "enableWhen": [
            {
              "question": "241783748776",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression",
              "valueExpression": {
                "language": "application/x-fhir-query",
                "expression": "Location?partof={{%historySubCountyName}}&_sort=name"
              }
            },
            {
              "extension": [
                {
                  "url": "path",
                  "valueString": "name"
                },
                {
                  "url": "forDisplay",
                  "valueBoolean": true
                }
              ],
              "url": "http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn"
            }
          ],
          "linkId": "683913433621",
          "text": "Ward",
          "type": "reference",
          "enableWhen": [
            {
              "question": "241783748776",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ]
        },
        {
          "linkId": "304570397907",
          "text": "Village",
          "type": "string",
          "enableWhen": [
            {
              "question": "241783748776",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true
        },
        {
          "linkId": "201707720724",
          "text": "Location",
          "type": "string",
          "enableWhen": [
            {
              "question": "241783748776",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "radio-button",
                    "display": "Radio Button"
                  }
                ]
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
              "valueCode": "horizontal"
            }
          ],
          "linkId": "742577347417",
          "text": "Did Patient Visit Traditional Healer before visiting Health Facility?",
          "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": "291919290357",
          "text": "Previous Admission Due to Visceral Leishmaniasis?",
          "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": "drop-down",
                    "display": "Drop down"
                  }
                ]
              }
            }
          ],
          "linkId": "653200828098",
          "text": "If Yes, When Admitted?",
          "type": "choice",
          "enableWhen": [
            {
              "question": "291919290357",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "admin-001",
                "display": "3 months ago"
              }
            },
            {
              "valueCoding": {
                "code": "admin-002",
                "display": "6 months ago"
              }
            },
            {
              "valueCoding": {
                "code": "admin-003",
                "display": "1 year ago"
              }
            },
            {
              "valueCoding": {
                "code": "admin-004",
                "display": "More than 1 year ago"
              }
            }
          ]
        }
      ]
    },
    {
      "extension": [
        {
          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
          "valueCodeableConcept": {
            "coding": [
              {
                "system": "http://hl7.org/fhir/questionnaire-item-control",
                "code": "page",
                "display": "Page"
              }
            ]
          }
        }
      ],
      "linkId": "119408288668",
      "text": "Physical Examination",
      "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": "699010843343",
          "text": "Has Patient Had Fever for Last 2 Weeks?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "linkId": "clinician-action",
          "text": "Clinician should perform spleen and liver palpation",
          "type": "display",
          "enableWhen": [
            {
              "question": "699010843343",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ]
        },
        {
          "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": "458194698702",
          "text": "Abdominal Distension Present?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "linkId": "788908031336",
          "text": "Organ Enlargement",
          "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": "594158306957",
          "text": "Liver Enlarged?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/minValue",
              "valueDecimal": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
              "valueDecimal": 20
            }
          ],
          "linkId": "754134389540",
          "text": "Liver Measurement below Costal Margin (cm)",
          "type": "decimal",
          "enableWhen": [
            {
              "question": "594158306957",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "radio-button",
                    "display": "Radio Button"
                  }
                ]
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
              "valueCode": "horizontal"
            }
          ],
          "linkId": "433410405758",
          "text": "Spleen Enlarged?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/minValue",
              "valueDecimal": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/maxValue",
              "valueDecimal": 20
            }
          ],
          "linkId": "808046746150",
          "text": "Spleen Measurement below Costal Margin (cm)",
          "type": "decimal",
          "enableWhen": [
            {
              "question": "433410405758",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "radio-button",
                    "display": "Radio Button"
                  }
                ]
              }
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation",
              "valueCode": "horizontal"
            }
          ],
          "linkId": "496596553090",
          "text": "Presence of Concomitant Infections at presentation?",
          "type": "choice",
          "required": true,
          "answerOption": [
            {
              "valueCoding": {
                "code": "yes",
                "display": "Yes"
              }
            },
            {
              "valueCoding": {
                "code": "no",
                "display": "No"
              }
            }
          ]
        },
        {
          "linkId": "968034282530",
          "text": "Name(s) of Concomitant Infections",
          "type": "string",
          "enableWhen": [
            {
              "question": "496596553090",
              "operator": "=",
              "answerCoding": {
                "code": "yes",
                "display": "Yes"
              }
            }
          ],
          "required": true
        },
        {
          "linkId": "332723314026",
          "text": "Clinician's Name",
          "type": "string",
          "required": true
        },
        {
          "linkId": "493012943787",
          "text": "Clinician's Signature",
          "type": "string",
          "required": true
        }
      ]
    }
  ]
}