MeaslesCaseReport
type: Questionnaire
node role: treeRoot
id:
  v: MeaslesCaseReport
meta:
  profile:
    v: http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire
    l: Questionnaire
text:
  status:
    v: extensions
  div:
    v: Generated Narrative: Questionnaire MeaslesCaseReport Profile: http://hl7.org/fhir/4.0/StructureDefinition/Questionnaire Structure LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> Measles Case Report questionnaire for disease surveillance Questionnaire http://example.org/Questionnaire/MeaslesCaseReport#0.1.0 #xD; 151479012557 Reporting Site 0..1 group #xD; user_role User Role 0..1 string #xD; user_facility User Facility 0..1 string #xD; user_ward User Ward 0..1 string #xD; user_sub_county User Sub County 0..1 string #xD; user_county User County 0..1 string #xD; facility_level null 0..1 group Enable When: user_role = VACCINATOR #xD; 294367770999 County 1..1 reference #xD; 819946803642 Sub County 1..1 reference #xD; 819943434 Ward 1..1 reference #xD; 819946803677 Health Facility 1..1 reference #xD; 438862163919 Type of health facility 1..1 choice Options: 3 options #xD; sub_county_level null 0..1 group Enable When: user_role = SUBCOUNTY_DISEASE_SURVEILLANCE_OFFICER #xD; 294367770999_sub_county County 1..1 reference #xD; 819946803642_sub_county Sub County 1..1 reference #xD; 819943434_sub_county Ward 1..1 reference #xD; 819946803677_sub_county Health Facility 1..1 reference #xD; 438862163919_sub_county Type of health facility 1..1 choice Options: 3 options #xD; county_level null 0..1 group Enable When: user_role = COUNTY_DISEASE_SURVEILLANCE_OFFICER #xD; 294367770999_county County 1..1 reference #xD; 819946803642_county Sub County 1..1 reference #xD; 819943434_county Ward 1..1 reference #xD; 819946803677_county Health Facility 1..1 reference #xD; 438862163919_county Type of health facility 1..1 choice Options: 3 options #xD; national_level null 0..1 group Enable When: user_role = ADMINISTRATOR #xD; 294367770999_national County 1..1 reference #xD; 819946803642_national Sub County 1..1 reference #xD; 819943434_national Ward 1..1 reference #xD; 819946803677_national Health Facility 1..1 reference…
extension:
  extension:
    url:
      v: name
      l: name
    value: Coding
      system:
        v: http://hl7.org/fhir/uv/sdc/CodeSystem/launchContext
        l: launchContext
      code:
        v: patient
  extension:
    url:
      v: type
      l: type
    value: Code
      v: Patient
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-launchContext
    l: sdc-questionnaire-launchContext
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: countyName
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='294367770999').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: patientCountyName
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='a4-county').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: patientSubCountyName
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='a3-sub-county').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: selectedSubCountyName
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='819946803642').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: selectedWardName
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='819943434').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: selectedFacilityName
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='819943434').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: assignedCounty
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='user_county').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: assignedRole
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='user_role').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: assignedSubCounty
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='user_sub_county').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: assignedWard
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='user_ward').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: assignedFacility
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='user_facility').answer.value
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: selectedCountyNameCounty
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='294367770999_county').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: selectedSubCountyNameCounty
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='819946803642_county').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: selectedWardNameCounty
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='819943434_county').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression
    name:
      v: selectedCountyNameNational
    language:
      v: text/fhirpath
    expression:
      v: %resource.descendants().where(linkId='294367770999_national').answer.value.reference
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/variable
    l: variable
  value: Expression

Expression
name:
  v: selectedSubCountyNameNational
language:
  v: text/fhirpath
expression:
  v: %resource.descendants().where(linkId='819946803642_national').answer.value.reference

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: selectedWardNameNational
  language:
    v: text/fhirpath
  expression:
    v: %resource.descendants().where(linkId='819943434_national').answer.value.reference

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: selectedCountyNameSubCounty
  language:
    v: text/fhirpath
  expression:
    v: %resource.descendants().where(linkId='294367770999_sub_county').answer.value.reference

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: selectedSubCountyNameSubCounty
  language:
    v: text/fhirpath
  expression:
    v: %resource.descendants().where(linkId='819946803642_sub_county').answer.value.reference

url:
  v: http://hl7.org/fhir/StructureDefinition/variable
  l: variable
value: Expression
  name:
    v: selectedWardNameSubCounty
  language:
    v: text/fhirpath
  expression:
    v: %resource.descendants().where(linkId='819943434_sub_county').answer.value.reference

url:
  v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-entryMode
  l: sdc-questionnaire-entryMode
value: Code
  v: prior-edit

v: 0.1.0

v: Measles Case Report

v: draft

v: 2026-04-04T09:09:24+00:00

v: Kenya National Public Health Institute

name:
  v: Kenya National Public Health Institute
telecom:
  system:
    v: url
  value:
    v: https://www.nphi.go.ke/

name:
  v: Kenya National Public Health Institute
telecom:
  system:
    v: url
  value:
    v: https://www.nphi.go.ke/
  use:
    v: work

v: Measles Case Report questionnaire for disease surveillance

coding:
  system:
    v: urn:iso:std:iso:3166
    l: 3166
  code:
    v: KE
  display:
    v: Kenya

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: page
      display:
        v: Page
link id:
  v: 151479012557
text:
  v: Reporting Site
type:
  v: group
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: user_role
  text:
    v: User Role
  type:
    v: string
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: user_facility
  text:
    v: User Facility
  type:
    v: string
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: user_ward
  text:
    v: User Ward
  type:
    v: string
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: user_sub_county
  text:
    v: User Sub County
  type:
    v: string
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: user_county
  text:
    v: User County
  type:
    v: string
item:
  link id:
    v: facility_level
  type:
    v: group
  enable when:
    question:
      v: user_role
    operator:
      v: =
    answer: String
      v: VACCINATOR
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
        l: sdc-questionnaire-answerExpression
      value: Expression
    extension:
      extension:
        value: String
      extension:
        value: Boolean
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
        l: sdc-questionnaire-choiceColumn
    link id:
      v: 294367770999
    text:
      v: County
    type:
      v: reference
    required:
      v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
        l: sdc-questionnaire-answerExpression
      value: Expression
    extension:
      extension:
        value: String
      extension:
        value: Boolean
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
        l: sdc-questionnaire-choiceColumn
    link id:
      v: 819946803642
    text:
      v: Sub County
    type:
      v: reference
    required:
      v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
        l: sdc-questionnaire-answerExpression
      value: Expression
    extension:
      extension:
        value: String
      extension:
        value: Boolean
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
        l: sdc-questionnaire-choiceColumn
    link id:
      v: 819943434
    text:
      v: Ward
    type:
      v: reference
    required:
      v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
        l: sdc-questionnaire-answerExpression
      value: Expression
    extension:
      extension:
        value: String
      extension:
        value: Boolean
      url:
        v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
        l: sdc-questionnaire-choiceColumn
    link id:
      v: 819946803677
    text:
      v: Health Facility
    type:
      v: reference
    required:
      v: true
  item:
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
        l: questionnaire-itemControl
      value: CodeableConcept
    link id:
      v: 438862163919
    text:
      v: Type of health facility
    type:
      v: choice
    required:
      v: true
    answer option:
      value: Coding
    answer option:
      value: Coding

v: application/x-fhir-query

v: Location?_id={{%assignedCounty}}&_sort=name

v: path
l: path

String
v: name

v: forDisplay
l: forDisplay

Boolean
v: true

v: application/x-fhir-query

v: Location?_id={{%assignedSubCounty}}&_sort=name

v: path
l: path

String
v: name

v: forDisplay
l: forDisplay

Boolean
v: true

v: application/x-fhir-query

v: Location?_id={{%assignedWard}}&_sort=name

v: path
l: path

String
v: name

v: forDisplay
l: forDisplay

Boolean
v: true

v: application/x-fhir-query

v: Location?_id={{%assignedFacility}}&_sort=name

v: path
l: path

String
v: name

v: forDisplay
l: forDisplay

Boolean
v: true

system:
  v: http://hl7.org/fhir/questionnaire-item-control
  l: questionnaire-item-control
code:
  v: drop-down
display:
  v: Drop down

v: Private

v: Private

v: Public

v: Public

value: Coding
  code:
    v: Faith Based
  display:
    v: Faith Based

link id:
  v: sub_county_level
type:
  v: group
enable when:
  question:
    v: user_role
  operator:
    v: =
  answer: String
    v: SUBCOUNTY_DISEASE_SURVEILLANCE_OFFICER
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
      expression:
        v: Location?_id={{%assignedCounty}}&_sort=name
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 294367770999_sub_county
  text:
    v: County
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
      expression:
        v: Location?_id={{%assignedSubCounty}}&_sort=name
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819946803642_sub_county
  text:
    v: Sub County
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819943434_sub_county
  text:
    v: Ward
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819946803677_sub_county
  text:
    v: Health Facility
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: 438862163919_sub_county
  text:
    v: Type of health facility
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: Private
      display:
        v: Private
  answer option:
    value: Coding
      code:
        v: Public
      display:
        v: Public
  answer option:
    value: Coding
      code:
        v: Faith Based
      display:
        v: Faith Based

v: drop-down

v: Drop down

link id:
  v: county_level
type:
  v: group
enable when:
  question:
    v: user_role
  operator:
    v: =
  answer: String
    v: COUNTY_DISEASE_SURVEILLANCE_OFFICER
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
      expression:
        v: Location?_id={{%assignedCounty}}&_sort=name
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 294367770999_county
  text:
    v: County
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819946803642_county
  text:
    v: Sub County
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819943434_county
  text:
    v: Ward
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819946803677_county
  text:
    v: Health Facility
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: 438862163919_county
  text:
    v: Type of health facility
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: Private
      display:
        v: Private
  answer option:
    value: Coding
      code:
        v: Public
      display:
        v: Public
  answer option:
    value: Coding
      code:
        v: Faith Based
      display:
        v: Faith Based

v: drop-down

v: Drop down

link id:
  v: national_level
type:
  v: group
enable when:
  question:
    v: user_role
  operator:
    v: =
  answer: String
    v: ADMINISTRATOR
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
      expression:
        v: Location?partof=Location/0&_sort=name
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 294367770999_national
  text:
    v: County
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819946803642_national
  text:
    v: Sub County
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819943434_national
  text:
    v: Ward
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
      l: sdc-questionnaire-answerExpression
    value: Expression
      language:
        v: application/x-fhir-query
  extension:
    extension:
      url:
        v: path
        l: path
      value: String
        v: name
    extension:
      url:
        v: forDisplay
        l: forDisplay
      value: Boolean
        v: true
    url:
      v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
      l: sdc-questionnaire-choiceColumn
  link id:
    v: 819946803677_national
  text:
    v: Health Facility
  type:
    v: reference
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: 438862163919_national
  text:
    v: Type of health facility
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: Private
      display:
        v: Private
  answer option:
    value: Coding
      code:
        v: Public
      display:
        v: Public
  answer option:
    value: Coding
      code:
        v: Faith Based
      display:
        v: Faith Based

v: drop-down

v: Drop down

link id:
  v: 992818778559
text:
  v: EPID No
type:
  v: string
read only:
  v: true

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: page
      display:
        v: Page
link id:
  v: 670954892057
text:
  v: Case Demographics
type:
  v: group
item:
  link id:
    v: 873240407472
  text:
    v: First name
  type:
    v: string
  required:
    v: true
item:
  link id:
    v: 246751846436
  text:
    v: Middle name
  type:
    v: string
item:
  link id:
    v: 486402457213
  text:
    v: Surname/Family name
  type:
    v: string
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: 929966324957
  text:
    v: Sex
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: male
      display:
        v: Male
  answer option:
    value: Coding
      code:
        v: female
      display:
        v: Female
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: 442636360588
  text:
    v: Date of birth known or unknown
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: known
      display:
        v: Known
  answer option:
    value: Coding
      code:
        v: unknown
      display:
        v: Unknown
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: d/M/y
  extension:
    url:
      v: http://ehelse.no/fhir/StructureDefinition/validationtext
      l: validationtext
    value: String
      v: Cannot be a date in the future
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Date
      extension:
        value: Expression
  link id:
    v: 257830485990
  text:
    v: Date of Birth
  type:
    v: date
  enable when:
    question:
      v: 442636360588
    operator:
      v: =
    answer: Coding
      code:
        v: known
      display:
        v: Known
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
      l: questionnaire-hidden
    value: Boolean
      v: true
  link id:
    v: age-at-onset
  text:
    v: Age at Onset
  type:
    v: string
  initial:
    value: String
      v: 0
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Integer
      v: 120
  link id:
    v: 492731638700
  text:
    v: Age in Years
  type:
    v: integer
  enable when:
    question:
      v: 442636360588
    operator:
      v: =
    answer: Coding
      code:
        v: unknown
      display:
        v: Unknown
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Integer
      v: 11
  link id:
    v: 185726989867
  text:
    v: Months
  type:
    v: integer
  enable when:
    question:
      v: 442636360588
    answer: Coding

v: radio-button

v: Radio Button

v: radio-button

v: Radio Button

Expression
language:
  v: text/fhirpath
expression:
  v: today()

v: =

Coding
code:
  v: unknown
display:
  v: Unknown

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/maxValue
    l: maxValue
  value: Integer
    v: 31
link id:
  v: 828303331247
text:
  v: Days
type:
  v: integer
enable when:
  question:
    v: 442636360588
  operator:
    v: =
  answer: Coding
    code:
      v: unknown
    display:
      v: Unknown

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
      display:
        v: Radio Button
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
link id:
  v: residence
text:
  v: Residence
type:
  v: choice
required:
  v: true
answer option:
  value: Coding
    code:
      v: Urban
    display:
      v: Urban
answer option:
  value: Coding
    code:
      v: Rural
    display:
      v: Rural

link id:
  v: 422935041274
text:
  v: Tracer Information
type:
  v: display

link id:
  v: parent
text:
  v: Parent / Guardian Name
type:
  v: string
required:
  v: true

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
    l: sdc-questionnaire-answerExpression
  value: Expression
    language:
      v: application/x-fhir-query
    expression:
      v: Location?partof=Location/0&_sort=name
extension:
  extension:
    url:
      v: path
      l: path
    value: String
      v: name
  extension:
    url:
      v: forDisplay
      l: forDisplay
    value: Boolean
      v: true
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
    l: sdc-questionnaire-choiceColumn
link id:
  v: a4-county
text:
  v: County
type:
  v: reference
required:
  v: true

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
    l: sdc-questionnaire-answerExpression
  value: Expression
    language:
      v: application/x-fhir-query
    expression:
      v: Location?partof={{%patientCountyName}}
extension:
  extension:
    url:
      v: path
      l: path
    value: String
      v: name
  extension:
    url:
      v: forDisplay
      l: forDisplay
    value: Boolean
      v: true
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
    l: sdc-questionnaire-choiceColumn
link id:
  v: a3-sub-county
text:
  v: Sub County
type:
  v: reference
required:
  v: true

extension:
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-answerExpression
    l: sdc-questionnaire-answerExpression
  value: Expression
    language:
      v: application/x-fhir-query
extension:
  extension:
    url:
      v: path
      l: path
    value: String
      v: name
  extension:
    url:
      v: forDisplay
      l: forDisplay
    value: Boolean
      v: true
  url:
    v: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-choiceColumn
    l: sdc-questionnaire-choiceColumn
link id:
  v: a2-ward
text:
  v: Ward
type:
  v: reference
required:
  v: true

link id:
  v: 242811643559
text:
  v: Residence or Village
type:
  v: string

link id:
  v: 946232932304
text:
  v: Neighborhood major landmark
type:
  v: string
required:
  v: true

link id:
  v: 424111786438
text:
  v: Street/Plot/Estate/S. location
type:
  v: string
required:
  v: true

extension:
  url:
    v: http://ehelse.no/fhir/StructureDefinition/validationtext
    l: validationtext
  value: String
    v: Enter a valid mobile number. Strings and special characters aren't allowed
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/regex
    l: regex
  value: String
    v: ^\d{10,10}$
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: phone-number
      display:
        v: Phone Number
link id:
  v: 754217593839
text:
  v: Telephone No of parent/guardian
type:
  v: string
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: 2.1
  text:
    v: 07xxxxxxxx
  type:
    v: display

v: flyover

v: Fly-over

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: page
      display:
        v: Page
link id:
  v: 216343227137
text:
  v: Case Information
type:
  v: group
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: d/M/y
  extension:
    url:
      v: http://ehelse.no/fhir/StructureDefinition/validationtext
      l: validationtext
    value: String
      v: Cannot be a date in the future
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Date
      extension:
        value: Expression
  extension:
    extension:
      url:
        v: key
        l: key
      value: Id
        v: constraint-1
    extension:
      url:
        v: requirements
        l: requirements
      value: String
        v: Date 1st seen at the facility should be after date of birth
    extension:
      url:
        v: severity
        l: severity
      value: Code
        v: error
    extension:
      url:
        v: expression
        l: expression
      value: String
        v: %context.answer.value >= %resource.descendants().where(linkId='257830485990').answer.value
    extension:
      url:
        v: human
        l: human
      value: String
        v: Date 1st seen at the facility should be after date of birth
    extension:
      url:
        v: location
        l: location
      value: String
        v: 257830485990
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
      l: questionnaire-constraint
  link id:
    v: 554231819382
  text:
    v: Date 1st seen at health facility
  type:
    v: date
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: 483042281962
  text:
    v: Hospitalized?
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: yes
      display:
        v: Yes
  answer option:
    value: Coding
      code:
        v: no
      display:
        v: No
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: d/M/y
  extension:
    url:
      v: http://ehelse.no/fhir/StructureDefinition/validationtext
      l: validationtext
    value: String
      v: Cannot be a date in the future
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Date
      extension:
        value: Expression
  extension:
    extension:
      url:
        v: key
        l: key
      value: Id
        v: constraint-1
    extension:
      url:
        v: requirements
        l: requirements
      value: String
        v: Date of Admission should be after the date 1st seen at the facility
    extension:
      url:
        v: severity
        l: severity
      value: Code
        v: error
    extension:
      url:
        v: expression
        l: expression
      value: String
        v: %context.answer.value >= %resource.descendants().where(linkId='554231819382').answer.value
    extension:
      url:
        v: human
        l: human
      value: String
        v: Date of Admission should be after date 1st seen at the facility
    extension:
      url:
        v: location
        l: location
      value: String
        v: 554231819382
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
      l: questionnaire-constraint
  link id:
    v: 340908984116
  text:
    v: Date of Admission
  type:
    v: date
  enable when:
    question:
      v: 483042281962
    operator:
      v: =
    answer: Coding
      code:
        v: yes
      display:
        v: Yes
  required:
    v: true
item:
  link id:
    v: 755731625544
  text:
    v: IP/ OP No

Expression
language:
  v: text/fhirpath
expression:
  v: today()

v: radio-button

v: Radio Button

Expression
language:
  v: text/fhirpath
expression:
  v: today()

v: string

v: true

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
      display:
        v: Radio Button
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
link id:
  v: 508745697175
text:
  v: Outcome
type:
  v: choice
required:
  v: true
answer option:
  value: Coding
    code:
      v: Alive
    display:
      v: Alive
answer option:
  value: Coding
    code:
      v: Dead
    display:
      v: Dead
answer option:
  value: Coding
    code:
      v: Unknown
    display:
      v: Unknown

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: page
      display:
        v: Page
link id:
  v: 477144604557
text:
  v: Clinical History
type:
  v: group
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: d/M/y
  extension:
    url:
      v: http://ehelse.no/fhir/StructureDefinition/validationtext
      l: validationtext
    value: String
      v: Cannot be a date in the future
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Date
      extension:
        value: Expression
  extension:
    extension:
      url:
        v: key
        l: key
      value: Id
        v: constraint-1
    extension:
      url:
        v: requirements
        l: requirements
      value: String
        v: Date of Onset of illness should be before the date 1st seen at the facility
    extension:
      url:
        v: severity
        l: severity
      value: Code
        v: error
    extension:
      url:
        v: expression
        l: expression
      value: String
        v: %context.answer.value <= %resource.descendants().where(linkId='554231819382').answer.value
    extension:
      url:
        v: human
        l: human
      value: String
        v: Date of Onset of illness should be before the date 1st seen at the facility
    extension:
      url:
        v: location
        l: location
      value: String
        v: 554231819382
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
      l: questionnaire-constraint
  link id:
    v: 728034137219
  text:
    v: Date of onset of illness
  type:
    v: date
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  link id:
    v: 745196148424
  text:
    v: Clinical symptoms
  type:
    v: choice
  required:
    v: true
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: Fever
      display:
        v: Fever
  answer option:
    value: Coding
      code:
        v: Rash
      display:
        v: Rash
  answer option:
    value: Coding
      code:
        v: Cough
      display:
        v: Cough
  answer option:
    value: Coding
      code:
        v: Coryza
      display:
        v: Coryza
  answer option:
    value: Coding
      code:
        v: Conjunctivitis
      display:
        v: Conjunctivitis
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: d/M/y
  extension:
    url:
      v: http://ehelse.no/fhir/StructureDefinition/validationtext
      l: validationtext
    value: String
      v: Cannot be a date in the future
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Date
      extension:
        value: Expression
  extension:
    extension:
      url:
        v: key
        l: key
      value: Id
        v: constraint-1
    extension:
      url:
        v: requirements
        l: requirements
      value: String
        v: Date of Onset of rash should be after the onset of illness
    extension:
      url:
        v: severity
        l: severity
      value: Code
        v: error
    extension:
      url:
        v: expression
        l: expression
      value: String
        v: %context.answer.value >= %resource.descendants().where(linkId='728034137219').answer.value
    extension:
      url:
        v: human
        l: human
      value: String
        v: Date of Onset of rash should be after the onset of illness
    extension:
      url:
        v: location
        l: location
      value: String
        v: 728034137219
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
      l: questionnaire-constraint
  link id:
    v: 576528567552
  text:
    v: Date of Onset of rash
  type:
    v: date
  enable when:
    question:
      v: 745196148424
    answer: Coding

Expression
language:
  v: text/fhirpath
expression:
  v: today()

v: check-box

v: Check-box

Expression
language:
  v: text/fhirpath
expression:
  v: today()

v: =

Coding
code:
  v: Rash
display:
  v: Rash

v: true

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: drop-down
      display:
        v: Drop down
link id:
  v: 704922081985
text:
  v: Type of Rash
type:
  v: choice
enable when:
  question:
    v: 745196148424
  operator:
    v: =
  answer: Coding
    code:
      v: Rash
    display:
      v: Rash
required:
  v: true
answer option:
  value: Coding
    code:
      v: Maculopapular
    display:
      v: Maculopapular
answer option:
  value: Coding
    code:
      v: Other
    display:
      v: Other

link id:
  v: 679340979918
text:
  v: If Other, specify
type:
  v: string
enable when:
  question:
    v: 704922081985
  operator:
    v: =
  answer: Coding
    code:
      v: Other
    display:
      v: Other
required:
  v: true

link id:
  v: 817978705295
text:
  v: Measles Surveilance
type:
  v: display

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
      display:
        v: Radio Button
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
link id:
  v: 207408507040
text:
  v: Was home of patient visited for contact investigation
type:
  v: choice
required:
  v: true
answer option:
  value: Coding
    code:
      v: yes
    display:
      v: Yes
answer option:
  value: Coding
    code:
      v: no
    display:
      v: No

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/entryFormat
    l: entryFormat
  value: String
    v: d/M/y
extension:
  url:
    v: http://ehelse.no/fhir/StructureDefinition/validationtext
    l: validationtext
  value: String
    v: Cannot be a date in the future
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/maxValue
    l: maxValue
  value: Date
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
        l: cqf-calculatedValue
      value: Expression
extension:
  extension:
    url:
      v: key
      l: key
    value: Id
      v: constraint-1
  extension:
    url:
      v: requirements
      l: requirements
    value: String
      v: Date of Home visit should be after the date 1st seen at the facility
  extension:
    url:
      v: severity
      l: severity
    value: Code
      v: error
  extension:
    url:
      v: expression
      l: expression
    value: String
      v: %context.answer.value >= %resource.descendants().where(linkId='554231819382').answer.value
  extension:
    url:
      v: human
      l: human
    value: String
      v: Date of Home visit should be after the date 1st seen at the facility
  extension:
    url:
      v: location
      l: location
    value: String
      v: 554231819382
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
    l: questionnaire-constraint
link id:
  v: 566661890668
text:
  v: If yes, date of visit
type:
  v: date
enable when:
  question:
    v: 207408507040
  operator:
    v: =
  answer: Coding
    code:
      v: yes
    display:
      v: Yes
required:
  v: true

v: text/fhirpath

v: today()

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: radio-button
      display:
        v: Radio Button
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
    l: questionnaire-choiceOrientation
  value: Code
    v: horizontal
link id:
  v: 865158268604
text:
  v: Is this a Case or a Line List?
type:
  v: choice
required:
  v: true
answer option:
  value: Coding
    code:
      v: Case
    display:
      v: Case
answer option:
  value: Coding
    code:
      v: Line List
    display:
      v: Line List

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: page
      display:
        v: Page
link id:
  v: 736291402384
text:
  v: Vaccination History
type:
  v: group
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: 517772812375
  text:
    v: Was patient vaccinated against illness?
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: yes
      display:
        v: Yes
  answer option:
    value: Coding
      code:
        v: no
      display:
        v: No
  answer option:
    value: Coding
      code:
        v: unknown
      display:
        v: Unknown
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Integer
      v: 8
  link id:
    v: 886125589225
  text:
    v: If yes, number of doses
  type:
    v: integer
  enable when:
    question:
      v: 517772812375
    operator:
      v: =
    answer: Coding
      code:
        v: yes
      display:
        v: Yes
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: 308128177300
  text:
    v: MR vaccination given in last 30 days prior to onset of illness
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: yes
      display:
        v: Yes
  answer option:
    value: Coding
      code:
        v: no
      display:
        v: No
  answer option:
    value: Coding
      code:
        v: unknown
      display:
        v: Unknown
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: d/M/y
  extension:
    url:
      v: http://ehelse.no/fhir/StructureDefinition/validationtext
      l: validationtext
    value: String
      v: Cannot be a date in the future
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Date
      extension:
        value: Expression
  extension:
    extension:
      url:
        v: key
        l: key
      value: Id
        v: constraint-1
    extension:
      url:
        v: requirements
        l: requirements
      value: String
        v: Date of last vaccination should be before Date of onset of illness
    extension:
      url:
        v: severity
        l: severity
      value: Code
        v: error
    extension:
      url:
        v: expression
        l: expression
      value: String
        v: %context.answer.value <= %resource.descendants().where(linkId='728034137219').answer.value
    extension:
      url:
        v: human
        l: human
      value: String
        v: Date of last vaccination should be before Date of onset of illness
    extension:
      url:
        v: location
        l: location
      value: String
        v: 728034137219
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
      l: questionnaire-constraint
  link id:
    v: 544290619304
  text:
    v: Date of last vaccination
  type:
    v: date
  enable when:
    question:
      v: 308128177300
    operator:
      v: =
    answer: Coding
      code:
        v: yes
      display:
        v: Yes
  required:
    v: true

v: radio-button

v: Radio Button

v: radio-button

v: Radio Button

Expression
language:
  v: text/fhirpath
expression:
  v: today()

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
    l: questionnaire-itemControl
  value: CodeableConcept
    coding:
      system:
        v: http://hl7.org/fhir/questionnaire-item-control
        l: questionnaire-item-control
      code:
        v: page
      display:
        v: Page
link id:
  v: 271053545237
text:
  v: Sample/Specimen Collection
type:
  v: group
enable when:
  question:
    v: 865158268604
  operator:
    v: =
  answer: Coding
    code:
      v: Case
    display:
      v: Case
item:
  link id:
    v: 412689284625
  text:
    v: Please select specimen collected
  type:
    v: choice
  required:
    v: true
  repeats:
    v: true
  answer option:
    value: Coding
      code:
        v: Blood
      display:
        v: Blood
  answer option:
    value: Coding
      code:
        v: Urine
      display:
        v: Urine
  answer option:
    value: Coding
      code:
        v: Respiratory Sample
      display:
        v: Respiratory Sample
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: d/M/y
  extension:
    url:
      v: http://ehelse.no/fhir/StructureDefinition/validationtext
      l: validationtext
    value: String
      v: Cannot be a date in the future
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Date
      extension:
        value: Expression
  extension:
    extension:
      url:
        v: key
        l: key
      value: Id
        v: constraint-1
    extension:
      url:
        v: requirements
        l: requirements
      value: String
        v: Date of Specimen Collection should be after the date 1st seen at the facility
    extension:
      url:
        v: severity
        l: severity
      value: Code
        v: error
    extension:
      url:
        v: expression
        l: expression
      value: String
        v: %context.answer.value >= %resource.descendants().where(linkId='554231819382').answer.value
    extension:
      url:
        v: human
        l: human
      value: String
        v: Date of Specimen Collection should be after the date 1st seen at the facility
    extension:
      url:
        v: location
        l: location
      value: String
        v: 554231819382
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
      l: questionnaire-constraint
  link id:
    v: 8962468583341
  text:
    v: Date of specimen collection
  type:
    v: date
  enable when:
    question:
      v: 412689284625
    operator:
      v: exists
    answer: Boolean
      v: true
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl
      l: questionnaire-itemControl
    value: CodeableConcept
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/questionnaire-choiceOrientation
      l: questionnaire-choiceOrientation
    value: Code
      v: horizontal
  link id:
    v: 258912872921
  text:
    v: Were other specimen types collected?
  type:
    v: choice
  required:
    v: true
  answer option:
    value: Coding
      code:
        v: yes
      display:
        v: Yes
  answer option:
    value: Coding
      code:
        v: no
      display:
        v: No
item:
  link id:
    v: 340507649387
  text:
    v: If yes, specify other specimen type
  type:
    v: string
  enable when:
    question:
      v: 258912872921
    operator:
      v: =
    answer: Coding
      code:
        v: yes
      display:
        v: Yes
  required:
    v: true
item:
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/entryFormat
      l: entryFormat
    value: String
      v: d/M/y
  extension:
    url:
      v: http://ehelse.no/fhir/StructureDefinition/validationtext
      l: validationtext
    value: String
      v: Cannot be a date in the future
  extension:
    url:
      v: http://hl7.org/fhir/StructureDefinition/maxValue
      l: maxValue
    value: Date
      extension:
        value: Expression

Expression
language:
  v: text/fhirpath
expression:
  v: today()

v: radio-button

v: Radio Button

Expression
language:
  v: text/fhirpath
expression:
  v: today()

extension:
  url:
    v: key
    l: key
  value: Id
    v: constraint-1
extension:
  url:
    v: requirements
    l: requirements
  value: String
    v: Date of Specimen Collection should be after the date 1st seen at the facility
extension:
  url:
    v: severity
    l: severity
  value: Code
    v: error
extension:
  url:
    v: expression
    l: expression
  value: String
    v: %context.answer.value >= %resource.descendants().where(linkId='554231819382').answer.value
extension:
  url:
    v: human
    l: human
  value: String
    v: Date of Specimen Collection should be after the date 1st seen at the facility
extension:
  url:
    v: location
    l: location
  value: String
    v: 554231819382
url:
  v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
  l: questionnaire-constraint

v: 699353598445

v: Date of other specimen type collection

v: date

question:
  v: 258912872921
operator:
  v: =
answer: Coding
  code:
    v: yes
  display:
    v: Yes

v: true

extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/entryFormat
    l: entryFormat
  value: String
    v: d/M/y
extension:
  url:
    v: http://ehelse.no/fhir/StructureDefinition/validationtext
    l: validationtext
  value: String
    v: Cannot be a date in the future
extension:
  url:
    v: http://hl7.org/fhir/StructureDefinition/maxValue
    l: maxValue
  value: Date
    extension:
      url:
        v: http://hl7.org/fhir/StructureDefinition/cqf-calculatedValue
        l: cqf-calculatedValue
      value: Expression
extension:
  extension:
    url:
      v: key
      l: key
    value: Id
      v: constraint-1
  extension:
    url:
      v: requirements
      l: requirements
    value: String
      v: The date should be after the specimen collection date
  extension:
    url:
      v: severity
      l: severity
    value: Code
      v: error
  extension:
    url:
      v: expression
      l: expression
    value: String
      v: %context.answer.value >= %resource.descendants().where(linkId='8962468583341').answer.value
  extension:
    url:
      v: human
      l: human
    value: String
      v: The date should be after the specimen collection date
  extension:
    url:
      v: location
      l: location
    value: String
      v: 8962468583341
  url:
    v: http://hl7.org/fhir/StructureDefinition/questionnaire-constraint
    l: questionnaire-constraint
link id:
  v: 718251724172
text:
  v: Date specimen sent to lab
type:
  v: date
required:
  v: true

v: text/fhirpath

v: today()