espen-mda-location-registration
type: Questionnaire
node role: treeRoot
resource.id:
  value: espen-mda-location-registration
resource.meta:
  meta.tag:
    index: 0
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-project-tag-cs
    coding.code:
      value: espen
    coding.display:
      value: ESPEN
domain resource.text:
  narrative.status:
    value: extensions
  narrative.div: Generated Narrative: Questionnaire espen-mda-location-registration Tag: ESPEN (Details: ICR Project Tag code espen = 'ESPEN') LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EspenMDALocationRegistration ESPEN MDA demo Form 1 (village/location registration and census): admin cascade, population by age band, GPS. Template-based extraction: one ICRLocation for the village and ICRTargetPopulation Groups for the total, eligible, and age-band denominators (espen-forms). Questionnaire https://icr.healthcampaigns.org/Questionnaire/espen-mda-location-registration#0.1.0 #xD; l_recorder_id Select the recorder ID 0..1 string #xD; l_state Select State / Region / Province 1..1 string #xD; l_district Select District / LGA / County 1..1 string #xD; l_health_facility Enter the Health facility / Sub district 1..1 string #xD; l_location Enter the village / location / site 1..1 string #xD; l_location_id Enter the ID of village / location / site 1..1 string #xD; l_total_pop Enter the total population of the village 1..1 integer #xD; I_total_popn_1_4 Total number of people aged 1-4 years of the village 1..1 integer #xD; I_total_popn_5_14 Total number of people aged 5-14 years of the Village 1..1 integer #xD; I_total_popn_15_More Total number of people aged 15 years and above in the village 1..1 integer #xD; l_eligible_pop Total eligible population of the village 0..1 integer #xD; l_gps GPS of the village 0..1 group #xD; l_gps_lat Latitude 0..1 decimal #xD; l_gps_lng Longitude 0..1 decimal #xD; l_submitting_report Enter name of person submitting report 1..1 string #xD; l_additional_note Any other information 0..1 text #xD; <img src="[binary]" alt="doco" style="background-color: inherit"/> Documentation for this format Contained Resources Location #loc-template Profile: ICR Location identifier: https://icr.healthcampaigns.org/identifier/espen-location-id/?ngen-9? status: Active name: Extract Template - Extract v…
domain resource.contained: Location
  index: 0
  resource.id:
    value: loc-template
  resource.meta:
    meta.profile:
      value: https://icr.healthcampaigns.org/StructureDefinition/ICRLocation
      index: 0
      link: https://icr.healthcampaigns.org/StructureDefinition/ICRLocation
  location.identifier:
    index: 0
    identifier.system:
      value: https://icr.healthcampaigns.org/identifier/espen-location-id
    identifier.value:
      element.extension:
        index: 0
  location.status:
    value: active
  location.name:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %resource.repeat(item).where(linkId='l_location').answer.value.first()
  location.physical type:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/location-physical-type
      coding.code:
        value: area
      coding.display:
        value: Area
  location.position:
    location.position.longitude:
      element.extension:
        index: 0
    location.position.latitude:
      element.extension:
        index: 0
domain resource.contained: Group
  index: 1
  resource.id:
    value: pop-total-template
  resource.meta:
    meta.profile:
      value: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
      index: 0
      link: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
  domain resource.extension:
    index: 0
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/denominator-source
    extension.value codeable concept:
      codeable concept.coding:
        index: 0
  domain resource.extension:
    index: 1
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/estimate-date
    extension.value date:
      value: 2026-01-01
      element.extension:
        index: 0
  group.type:
    value: person
  group.actual:
    value: false
  group.name:
    value: Total population (village census, ESPEN Form 1)
  group.quantity:
    value: 0
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %resource.repeat(item).where(linkId='l_total_pop').answer.value.first()
  group.characteristic:
    index: 0
    group.characteristic.code:
      codeable concept.coding:
        index: 0
    group.characteristic.exclude:
      value: false
domain resource.contained: Group
  index: 2
  resource.id:
    value: pop-eligible-template
  resource.meta:
    meta.profile:
      value: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
      index: 0
      link: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
  domain resource.extension:
    index: 0
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/denominator-source
    extension.value codeable concept:
      codeable concept.coding:
        index: 0
  domain resource.extension:
    index: 1
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/estimate-date
    extension.value date:
      value: 2026-01-01
      element.extension:
        index: 0
  group.type:
    value: person
  group.actual:
    value: false
  group.name:
    value: Eligible population (village census, ESPEN Form 1)
  group.quantity:
    value: 0
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %resource.repeat(item).where(linkId='l_eligible_pop').answer.value.first()
  group.characteristic:
    index: 0
    group.characteristic.code:
      codeable concept.coding:
        index: 0
    group.characteristic.exclude:
      value: false
domain resource.contained: Group
  index: 3
  resource.id:
    value: pop-1-4-template
  resource.meta:
    meta.profile:
      value: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
      index: 0
      link: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
  domain resource.extension:
    index: 0
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/denominator-source
    extension.value codeable concept:
      codeable concept.coding:
        index: 0
  domain resource.extension:
    index: 1
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/estimate-date
    extension.value date:
      value: 2026-01-01
      element.extension:
        index: 0
  group.type:
    value: person
  group.actual:
    value: false
  group.name:
    value: Population aged 1-4 (village census, ESPEN Form 1)
  group.quantity:
    value: 0
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %resource.repeat(item).where(linkId='I_total_popn_1_4').answer.value.first()
  group.characteristic:
    index: 0
    group.characteristic.code:
      codeable concept.coding:
        index: 0
    group.characteristic.exclude:
      value: false
  group.characteristic:
    index: 1
    group.characteristic.code:
      codeable concept.coding:
        index: 0
    group.characteristic.value codeable concept:
      codeable concept.text:
        value: 1-4 years
    group.characteristic.exclude:
      value: false

value: %resource.repeat(item).where(linkId='l_location_id').answer.value.first()

value: %resource.repeat(item).where(linkId='l_gps_lng').answer.value.first()

value: %resource.repeat(item).where(linkId='l_gps_lat').answer.value.first()

value: microcensus

value: Microcensus / enumeration

value: %resource.authored.toString().substring(0,10)

value: geography

value: Geographic scope

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: %newLocationId

value: microcensus

value: Microcensus / enumeration

value: %resource.authored.toString().substring(0,10)

value: geography

value: Geographic scope

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: %newLocationId

value: microcensus

value: Microcensus / enumeration

value: %resource.authored.toString().substring(0,10)

value: geography

value: Geographic scope

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: %newLocationId

value: age-band

value: Age band

Group
index: 4
resource.id:
  value: pop-5-14-template
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/denominator-source
  extension.value codeable concept:
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-denominator-source-cs
      coding.code:
        value: microcensus
      coding.display:
        value: Microcensus / enumeration
domain resource.extension:
  index: 1
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/estimate-date
  extension.value date:
    value: 2026-01-01
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %resource.authored.toString().substring(0,10)
group.type:
  value: person
group.actual:
  value: false
group.name:
  value: Population aged 5-14 (village census, ESPEN Form 1)
group.quantity:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: %resource.repeat(item).where(linkId='I_total_popn_5_14').answer.value.first()
group.characteristic:
  index: 0
  group.characteristic.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-group-characteristic-cs
      coding.code:
        value: geography
      coding.display:
        value: Geographic scope
  group.characteristic.value reference:
    reference.reference:
      element.extension:
        index: 0
  group.characteristic.exclude:
    value: false
group.characteristic:
  index: 1
  group.characteristic.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-group-characteristic-cs
      coding.code:
        value: age-band
      coding.display:
        value: Age band
  group.characteristic.value codeable concept:
    codeable concept.text:
      value: 5-14 years
  group.characteristic.exclude:
    value: false

value: %newLocationId

Group
index: 5
resource.id:
  value: pop-15-plus-template
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRTargetPopulation
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/denominator-source
  extension.value codeable concept:
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-denominator-source-cs
      coding.code:
        value: microcensus
      coding.display:
        value: Microcensus / enumeration
domain resource.extension:
  index: 1
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/estimate-date
  extension.value date:
    value: 2026-01-01
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %resource.authored.toString().substring(0,10)
group.type:
  value: person
group.actual:
  value: false
group.name:
  value: Population aged 15+ (village census, ESPEN Form 1)
group.quantity:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: %resource.repeat(item).where(linkId='I_total_popn_15_More').answer.value.first()
group.characteristic:
  index: 0
  group.characteristic.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-group-characteristic-cs
      coding.code:
        value: geography
      coding.display:
        value: Geographic scope
  group.characteristic.value reference:
    reference.reference:
      element.extension:
        index: 0
  group.characteristic.exclude:
    value: false
group.characteristic:
  index: 1
  group.characteristic.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-group-characteristic-cs
      coding.code:
        value: age-band
      coding.display:
        value: Age band
  group.characteristic.value codeable concept:
    codeable concept.text:
      value: 15+ years
  group.characteristic.exclude:
    value: false

value: %newLocationId

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-extractAllocateId
extension.value string:
  value: newLocationId

index: 1
element.extension:
  index: 0
  extension.url:
    value: template
  extension.value reference:
    reference.reference:
      value: #loc-template
element.extension:
  index: 1
  extension.url:
    value: fullUrl
  extension.value string:
    value: %newLocationId
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract

index: 2
element.extension:
  index: 0
  extension.url:
    value: template
  extension.value reference:
    reference.reference:
      value: #pop-total-template
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract

index: 3
element.extension:
  index: 0
  extension.url:
    value: template
  extension.value reference:
    reference.reference:
      value: #pop-eligible-template
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract

index: 4
element.extension:
  index: 0
  extension.url:
    value: template
  extension.value reference:
    reference.reference:
      value: #pop-1-4-template
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract

index: 5
element.extension:
  index: 0
  extension.url:
    value: template
  extension.value reference:
    reference.reference:
      value: #pop-5-14-template
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract

index: 6
element.extension:
  index: 0
  extension.url:
    value: template
  extension.value reference:
    reference.reference:
      value: #pop-15-plus-template
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract

value: 0.1.0

value: EspenMDALocationRegistration

value: active

value: false

value: Location
index: 0

value: 2026-08-20T10:45:05+00:00

value: UNICEF

index: 0
contact detail.name:
  value: UNICEF
contact detail.telecom:
  index: 0
  contact point.system:
    value: url
  contact point.value:
    value: https://www.unicef.org

value: ESPEN MDA demo Form 1 (village/location registration and census): admin cascade, population by age band, GPS. Template-based extraction: one ICRLocation for the village and ICRTargetPopulation Groups for the total, eligible, and age-band denominators (espen-forms).

index: 0
codeable concept.coding:
  index: 0
  coding.system:
    value: http://unstats.un.org/unsd/methods/m49/m49.htm
  coding.code:
    value: 001
  coding.display:
    value: World

index: 0
questionnaire.item.link id:
  value: l_recorder_id
questionnaire.item.text:
  value: Select the recorder ID
questionnaire.item.type:
  value: string

index: 1
questionnaire.item.link id:
  value: l_state
questionnaire.item.text:
  value: Select State / Region / Province
questionnaire.item.type:
  value: string
questionnaire.item.required:
  value: true

index: 2
questionnaire.item.link id:
  value: l_district
questionnaire.item.text:
  value: Select District / LGA / County
questionnaire.item.type:
  value: string
questionnaire.item.required:
  value: true

index: 3
questionnaire.item.link id:
  value: l_health_facility
questionnaire.item.text:
  value: Enter the Health facility / Sub district
questionnaire.item.type:
  value: string
questionnaire.item.required:
  value: true

index: 4
questionnaire.item.link id:
  value: l_location
questionnaire.item.text:
  value: Enter the village / location / site
questionnaire.item.type:
  value: string
questionnaire.item.required:
  value: true

index: 5
questionnaire.item.link id:
  value: l_location_id
questionnaire.item.text:
  value: Enter the ID of village / location / site
questionnaire.item.type:
  value: string
questionnaire.item.required:
  value: true

index: 6
questionnaire.item.link id:
  value: l_total_pop
questionnaire.item.text:
  value: Enter the total population of the village
questionnaire.item.type:
  value: integer
questionnaire.item.required:
  value: true

index: 7
questionnaire.item.link id:
  value: I_total_popn_1_4
questionnaire.item.text:
  value: Total number of people aged 1-4 years of the village
questionnaire.item.type:
  value: integer
questionnaire.item.required:
  value: true

index: 8
questionnaire.item.link id:
  value: I_total_popn_5_14
questionnaire.item.text:
  value: Total number of people aged 5-14 years of the Village
questionnaire.item.type:
  value: integer
questionnaire.item.required:
  value: true

index: 9
questionnaire.item.link id:
  value: I_total_popn_15_More
questionnaire.item.text:
  value: Total number of people aged 15 years and above in the village
questionnaire.item.type:
  value: integer
questionnaire.item.required:
  value: true

index: 10
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/StructureDefinition/questionnaire-hidden
  extension.value boolean:
    value: true
element.extension:
  index: 1
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-calculatedExpression
  extension.value expression:
    expression.language:
      value: text/fhirpath
    expression.expression:
      value: iif(%resource.repeat(item).where(linkId='I_total_popn_1_4').answer.exists(), %resource.repeat(item).where(linkId='I_total_popn_1_4').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='I_total_popn_5_14').answer.exists(), %resource.repeat(item).where(linkId='I_total_popn_5_14').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='I_total_popn_15_More').answer.exists(), %resource.repeat(item).where(linkId='I_total_popn_15_More').answer.value.first(), 0)
questionnaire.item.link id:
  value: l_eligible_pop
questionnaire.item.text:
  value: Total eligible population of the village
questionnaire.item.type:
  value: integer
questionnaire.item.read only:
  value: true

index: 11
questionnaire.item.link id:
  value: l_gps
questionnaire.item.text:
  value: GPS of the village
questionnaire.item.type:
  value: group
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: l_gps_lat
  questionnaire.item.text:
    value: Latitude
  questionnaire.item.type:
    value: decimal
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: l_gps_lng
  questionnaire.item.text:
    value: Longitude
  questionnaire.item.type:
    value: decimal

index: 12
questionnaire.item.link id:
  value: l_submitting_report
questionnaire.item.text:
  value: Enter name of person submitting report
questionnaire.item.type:
  value: string
questionnaire.item.required:
  value: true

index: 13
questionnaire.item.link id:
  value: l_additional_note
questionnaire.item.text:
  value: Any other information
questionnaire.item.type:
  value: text