espen-mda-treatment
type: Questionnaire
node role: treeRoot
resource.id:
  value: espen-mda-treatment
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-treatment Tag: ESPEN (Details: ICR Project Tag code espen = 'ESPEN') Structure LinkID Text Cardinality Type Flags Description & Constraints<img src="[binary]" alt="doco" style="background-color: inherit"/> EspenMDATreatment ESPEN MDA demo Form 3 (the treatment tally): village census plus per-drug treated counts by sex and age band with reasons-not-treated. Template-based extraction: one ICRDeliveryUnit community Group for the village, one Group-subject ICRMedicationAdministration per answered drug block (the treatment event — tablets into people are treatment, not a supply transfer), and one ICRAdministrativeCoverage MeasureReport per answered drug block — measure icr-mda-treatment-coverage, stratified by sex, age-band, and disposition, the same cube as example-mda-treatment-tally (espen-forms, remapped espen-remap). Questionnaire https://icr.healthcampaigns.org/Questionnaire/espen-mda-treatment#0.1.0 #xD; p_recorder_id Select the recorder ID 0..1 string #xD; p_state Select State / Region / Province 1..1 string #xD; p_district Select District / LGA / County 1..1 string #xD; p_health_facility Select the Health facility / Sub district 1..1 string #xD; p_location Enter the village / location / site 1..1 string #xD; p_location_id Enter the ID of village / location / site 1..1 string #xD; p_campaign_day Day of the campaign 1..1 choice Options: 10 options #xD; p_disease Disease covered by the TDM? 1..* choice Value Set: ICR NTD Disease #xD; p_medicine Select the medicine package 1..* choice Value Set: ICR MDA Medicine Package #xD; census Population census 0..1 group #xD; census_method Cencus method 1..1 choice Options: 2 options #xD; census_house_hold Number of households 0..1 integer #xD; census_men Number of men 0..1 integer #xD; census_women Number of women 0..1 integer #xD; dec_by_sex DEC By sex 0..1 group Enable When: p_medicine = IVM + ALB + DEC (ICR MDA Medicine Package#ivm-alb-dec) #xD; dec_5_14_female_treated 5-14 year…
domain resource.contained: MeasureReport
  index: 0
  resource.id:
    value: mr-dec
  resource.meta:
    meta.profile:
      value: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
      index: 0
      link: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
  domain resource.extension:
    index: 0
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/coverage-source
    extension.value code:
      value: administrative
  domain resource.extension:
    index: 1
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/realtime-vs-reconciled
    extension.value code:
      value: realtime
  measure report.status:
    value: complete
  measure report.type:
    value: summary
  measure report.measure:
    value: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
    link: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
  measure report.reporter:
    reference.display:
      value: recorder
      element.extension:
        index: 0
  measure report.period:
    period.start:
      value: 2026-01-01
      element.extension:
        index: 0
    period.end:
      value: 2026-01-01
      element.extension:
        index: 0
  measure report.group:
    index: 0
    measure report.group.code:
      codeable concept.coding:
        index: 0
    measure report.group.population:
      index: 0
      measure report.group.population.count:
        value: 0
    measure report.group.population:
      index: 1
      measure report.group.population.count:
        value: 0
    measure report.group.measure score:
      quantity.value:
        value: 0
    measure report.group.stratifier:
      index: 0
      measure report.group.stratifier.code:
        index: 0
      measure report.group.stratifier.stratum:
        index: 0
      measure report.group.stratifier.stratum:
        index: 1
    measure report.group.stratifier:
      index: 1
      measure report.group.stratifier.code:
        index: 0
      measure report.group.stratifier.stratum:
        index: 0
      measure report.group.stratifier.stratum:
        index: 1
    measure report.group.stratifier:
      index: 2
      measure report.group.stratifier.code:
        index: 0
      measure report.group.stratifier.stratum:
        index: 0
      measure report.group.stratifier.stratum:
        index: 1
      measure report.group.stratifier.stratum:
        index: 2
      measure report.group.stratifier.stratum:
        index: 3
      measure report.group.stratifier.stratum:
        index: 4
      measure report.group.stratifier.stratum:
        index: 5
domain resource.contained: MeasureReport
  index: 1
  resource.id:
    value: mr-alb
  resource.meta:
    meta.profile:
      value: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
      index: 0
      link: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
  domain resource.extension:
    index: 0
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/coverage-source
    extension.value code:
      value: administrative
  domain resource.extension:
    index: 1
    extension.url:
      value: https://icr.healthcampaigns.org/StructureDefinition/realtime-vs-reconciled
    extension.value code:
      value: realtime
  measure report.status:
    value: complete
  measure report.type:
    value: summary
  measure report.measure:
    value: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
    link: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
  measure report.reporter:
    reference.display:
      value: recorder
      element.extension:
        index: 0
  measure report.period:
    period.start:
      value: 2026-01-01
      element.extension:
        index: 0
    period.end:
      value: 2026-01-01
      element.extension:
        index: 0
  measure report.group:
    index: 0
    measure report.group.code:
      codeable concept.coding:
        index: 0
    measure report.group.population:
      index: 0
      measure report.group.population.count:
        value: 0
    measure report.group.population:
      index: 1
      measure report.group.population.count:
        value: 0
    measure report.group.measure score:
      quantity.value:
        value: 0
    measure report.group.stratifier:
      index: 0
      measure report.group.stratifier.code:
        index: 0
      measure report.group.stratifier.stratum:
        index: 0
      measure report.group.stratifier.stratum:
        index: 1
    measure report.group.stratifier:
      index: 1
      measure report.group.stratifier.code:
        index: 0
      measure report.group.stratifier.stratum:
        index: 0
      measure report.group.stratifier.stratum:
        index: 1
    measure report.group.stratifier:
      index: 2
      measure report.group.stratifier.code:
        index: 0
      measure report.group.stratifier.stratum:
        index: 0
      measure report.group.stratifier.stratum:
        index: 1
      measure report.group.stratifier.stratum:
        index: 2
      measure report.group.stratifier.stratum:
        index: 3
      measure report.group.stratifier.stratum:
        index: 4
      measure report.group.stratifier.stratum:
        index: 5
domain resource.contained: MeasureReport
  index: 2
  resource.id:
    value: mr-meb
domain resource.contained: Group
domain resource.contained: MedicationAdministration

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

value: %resource.authored

value: %resource.authored

value: P02CB02

value: diethylcarbamazine

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: denominator
coding.display:
  value: Denominator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif((iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)) > 0, (iif(%resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_male_treated').answer.value.first(), 0)) * 100 / (iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)), 0)

index: 0
coding.system:
  value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
coding.code:
  value: sex
coding.display:
  value: Sex

codeable concept.text:
  value: female

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_female_treated').answer.value.first(), 0)

codeable concept.text:
  value: male

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
coding.code:
  value: age-band
coding.display:
  value: Age band

codeable concept.text:
  value: 5-14 years

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.value.first(), 0)

codeable concept.text:
  value: 15+ years

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
coding.code:
  value: disposition
coding.display:
  value: Disposition

codeable concept.text:
  value: treated

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_male_treated').answer.value.first(), 0)

codeable concept.text:
  value: excluded - under height/age

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_child').answer.exists(), %resource.repeat(item).where(linkId='dec_child').answer.value.first(), 0)

codeable concept.text:
  value: excluded - pregnant

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_pregnant').answer.exists(), %resource.repeat(item).where(linkId='dec_pregnant').answer.value.first(), 0)

codeable concept.text:
  value: excluded - breastfeeding

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_breastfeeding').answer.exists(), %resource.repeat(item).where(linkId='dec_breastfeeding').answer.value.first(), 0)

codeable concept.text:
  value: absent

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_absent').answer.exists(), %resource.repeat(item).where(linkId='dec_absent').answer.value.first(), 0)

codeable concept.text:
  value: refused

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='dec_refusal').answer.exists(), %resource.repeat(item).where(linkId='dec_refusal').answer.value.first(), 0)

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

value: %resource.authored

value: %resource.authored

value: P02CA03

value: albendazole

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: denominator
coding.display:
  value: Denominator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif((iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)) > 0, (iif(%resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_male_treated').answer.value.first(), 0)) * 100 / (iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)), 0)

index: 0
coding.system:
  value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
coding.code:
  value: sex
coding.display:
  value: Sex

codeable concept.text:
  value: female

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_female_treated').answer.value.first(), 0)

codeable concept.text:
  value: male

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
coding.code:
  value: age-band
coding.display:
  value: Age band

codeable concept.text:
  value: 5-14 years

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.value.first(), 0)

codeable concept.text:
  value: 15+ years

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
coding.code:
  value: disposition
coding.display:
  value: Disposition

codeable concept.text:
  value: treated

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_male_treated').answer.value.first(), 0)

codeable concept.text:
  value: excluded - under height/age

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_child').answer.exists(), %resource.repeat(item).where(linkId='alb_child').answer.value.first(), 0)

codeable concept.text:
  value: excluded - pregnant

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_pregnant').answer.exists(), %resource.repeat(item).where(linkId='alb_pregnant').answer.value.first(), 0)

codeable concept.text:
  value: excluded - breastfeeding

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_breastfeeding').answer.exists(), %resource.repeat(item).where(linkId='alb_breastfeeding').answer.value.first(), 0)

codeable concept.text:
  value: absent

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_absent').answer.exists(), %resource.repeat(item).where(linkId='alb_absent').answer.value.first(), 0)

codeable concept.text:
  value: refused

index: 0
measure report.group.stratifier.stratum.population.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://terminology.hl7.org/CodeSystem/measure-population
    coding.code:
      value: numerator
    coding.display:
      value: Numerator
measure report.group.stratifier.stratum.population.count:
  value: 0
  element.extension:
    index: 0
    extension.url:
      value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
    extension.value string:
      value: iif(%resource.repeat(item).where(linkId='alb_refusal').answer.exists(), %resource.repeat(item).where(linkId='alb_refusal').answer.value.first(), 0)

meta.profile:
  value: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
  index: 0
  link: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage

index: 0
extension.url:
  value: https://icr.healthcampaigns.org/StructureDefinition/coverage-source
extension.value code:
  value: administrative

index: 1
extension.url:
  value: https://icr.healthcampaigns.org/StructureDefinition/realtime-vs-reconciled
extension.value code:
  value: realtime

value: complete

value: summary

reference.display:
  value: recorder
  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='p_recorder_id').answer.value.first()

period.start:
  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
period.end:
  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

index: 0
measure report.group.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: P02CA01
    coding.display:
      value: mebendazole
measure report.group.population:
  index: 0
  measure report.group.population.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: numerator
      coding.display:
        value: Numerator
  measure report.group.population.count:
    value: 0
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: iif(%resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_male_treated').answer.value.first(), 0)
measure report.group.population:
  index: 1
  measure report.group.population.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://terminology.hl7.org/CodeSystem/measure-population
      coding.code:
        value: denominator
      coding.display:
        value: Denominator
  measure report.group.population.count:
    value: 0
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)
measure report.group.measure score:
  quantity.value:
    value: 0
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: iif((iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)) > 0, (iif(%resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_male_treated').answer.value.first(), 0)) * 100 / (iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)), 0)
measure report.group.stratifier:
  index: 0
  measure report.group.stratifier.code:
    index: 0
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
      coding.code:
        value: sex
      coding.display:
        value: Sex
  measure report.group.stratifier.stratum:
    index: 0
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: female
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
  measure report.group.stratifier.stratum:
    index: 1
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: male
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
measure report.group.stratifier:
  index: 1
  measure report.group.stratifier.code:
    index: 0
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
      coding.code:
        value: age-band
      coding.display:
        value: Age band
  measure report.group.stratifier.stratum:
    index: 0
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: 5-14 years
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
  measure report.group.stratifier.stratum:
    index: 1
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: 15+ years
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
measure report.group.stratifier:
  index: 2
  measure report.group.stratifier.code:
    index: 0
    codeable concept.coding:
      index: 0
      coding.system:
        value: https://icr.healthcampaigns.org/CodeSystem/icr-coverage-stratifier-cs
      coding.code:
        value: disposition
      coding.display:
        value: Disposition
  measure report.group.stratifier.stratum:
    index: 0
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: treated
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
  measure report.group.stratifier.stratum:
    index: 1
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: excluded - under height/age
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
  measure report.group.stratifier.stratum:
    index: 2
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: excluded - pregnant
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
  measure report.group.stratifier.stratum:
    index: 3
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: excluded - breastfeeding
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
  measure report.group.stratifier.stratum:
    index: 4
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: absent
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0
  measure report.group.stratifier.stratum:
    index: 5
    measure report.group.stratifier.stratum.value:
      codeable concept.text:
        value: refused
    measure report.group.stratifier.stratum.population:
      index: 0
      measure report.group.stratifier.stratum.population.count:
        value: 0

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_female_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_male_treated').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_child').answer.exists(), %resource.repeat(item).where(linkId='meb_child').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_pregnant').answer.exists(), %resource.repeat(item).where(linkId='meb_pregnant').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_breastfeeding').answer.exists(), %resource.repeat(item).where(linkId='meb_breastfeeding').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_absent').answer.exists(), %resource.repeat(item).where(linkId='meb_absent').answer.value.first(), 0)

index: 0
coding.system:
  value: http://terminology.hl7.org/CodeSystem/measure-population
coding.code:
  value: numerator
coding.display:
  value: Numerator

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: iif(%resource.repeat(item).where(linkId='meb_refusal').answer.exists(), %resource.repeat(item).where(linkId='meb_refusal').answer.value.first(), 0)

MeasureReport
index: 3
resource.id:
  value: mr-ivm
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/coverage-source
  extension.value code:
    value: administrative
domain resource.extension:
  index: 1
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/realtime-vs-reconciled
  extension.value code:
    value: realtime
measure report.status:
  value: complete
measure report.type:
  value: summary
measure report.measure:
  value: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
  link: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
measure report.reporter:
  reference.display:
    value: recorder
    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='p_recorder_id').answer.value.first()
measure report.period:
  period.start:
    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
  period.end:
    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
measure report.group:
  index: 0
  measure report.group.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://www.whocc.no/atc
      coding.code:
        value: P02CF01
      coding.display:
        value: ivermectin
  measure report.group.population:
    index: 0
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.population:
    index: 1
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.measure score:
    quantity.value:
      value: 0
      element.extension:
        index: 0
  measure report.group.stratifier:
    index: 0
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 1
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 2
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 2
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 3
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 4
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 5
      measure report.group.stratifier.stratum.population:
        index: 0

value: numerator

value: Numerator

value: iif(%resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_male_treated').answer.value.first(), 0)

value: denominator

value: Denominator

value: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)

value: iif((iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)) > 0, (iif(%resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_male_treated').answer.value.first(), 0)) * 100 / (iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)), 0)

value: sex

value: Sex

value: female

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_female_treated').answer.value.first(), 0)

value: male

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_male_treated').answer.value.first(), 0)

value: age-band

value: Age band

value: 5-14 years

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.value.first(), 0)

value: 15+ years

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_male_treated').answer.value.first(), 0)

value: disposition

value: Disposition

value: treated

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_male_treated').answer.value.first(), 0)

value: excluded - under height/age

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_child').answer.exists(), %resource.repeat(item).where(linkId='ivm_child').answer.value.first(), 0)

value: excluded - pregnant

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_pregnant').answer.exists(), %resource.repeat(item).where(linkId='ivm_pregnant').answer.value.first(), 0)

value: excluded - breastfeeding

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_breastfeeding').answer.exists(), %resource.repeat(item).where(linkId='ivm_breastfeeding').answer.value.first(), 0)

value: absent

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_absent').answer.exists(), %resource.repeat(item).where(linkId='ivm_absent').answer.value.first(), 0)

value: refused

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='ivm_refusal').answer.exists(), %resource.repeat(item).where(linkId='ivm_refusal').answer.value.first(), 0)

MeasureReport
index: 4
resource.id:
  value: mr-pzq
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/coverage-source
  extension.value code:
    value: administrative
domain resource.extension:
  index: 1
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/realtime-vs-reconciled
  extension.value code:
    value: realtime
measure report.status:
  value: complete
measure report.type:
  value: summary
measure report.measure:
  value: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
  link: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
measure report.reporter:
  reference.display:
    value: recorder
    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='p_recorder_id').answer.value.first()
measure report.period:
  period.start:
    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
  period.end:
    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
measure report.group:
  index: 0
  measure report.group.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://www.whocc.no/atc
      coding.code:
        value: P02BA01
      coding.display:
        value: praziquantel
  measure report.group.population:
    index: 0
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.population:
    index: 1
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.measure score:
    quantity.value:
      value: 0
      element.extension:
        index: 0
  measure report.group.stratifier:
    index: 0
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 1
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 2
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 2
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 3
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 4
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 5
      measure report.group.stratifier.stratum.population:
        index: 0

value: numerator

value: Numerator

value: iif(%resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_male_treated').answer.value.first(), 0)

value: denominator

value: Denominator

value: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)

value: iif((iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)) > 0, (iif(%resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_male_treated').answer.value.first(), 0)) * 100 / (iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)), 0)

value: sex

value: Sex

value: female

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_female_treated').answer.value.first(), 0)

value: male

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_male_treated').answer.value.first(), 0)

value: age-band

value: Age band

value: 5-14 years

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.value.first(), 0)

value: 15+ years

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_male_treated').answer.value.first(), 0)

value: disposition

value: Disposition

value: treated

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_male_treated').answer.value.first(), 0)

value: excluded - under height/age

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_child').answer.exists(), %resource.repeat(item).where(linkId='pzq_child').answer.value.first(), 0)

value: excluded - pregnant

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_pregnant').answer.exists(), %resource.repeat(item).where(linkId='pzq_pregnant').answer.value.first(), 0)

value: excluded - breastfeeding

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_breastfeeding').answer.exists(), %resource.repeat(item).where(linkId='pzq_breastfeeding').answer.value.first(), 0)

value: absent

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_absent').answer.exists(), %resource.repeat(item).where(linkId='pzq_absent').answer.value.first(), 0)

value: refused

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='pzq_refusal').answer.exists(), %resource.repeat(item).where(linkId='pzq_refusal').answer.value.first(), 0)

MeasureReport
index: 5
resource.id:
  value: mr-azm-susp
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/coverage-source
  extension.value code:
    value: administrative
domain resource.extension:
  index: 1
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/realtime-vs-reconciled
  extension.value code:
    value: realtime
measure report.status:
  value: complete
measure report.type:
  value: summary
measure report.measure:
  value: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
  link: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
measure report.reporter:
  reference.display:
    value: recorder
    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='p_recorder_id').answer.value.first()
measure report.period:
  period.start:
    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
  period.end:
    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
measure report.group:
  index: 0
  measure report.group.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://www.whocc.no/atc
      coding.code:
        value: J01FA10
      coding.display:
        value: azithromycin
    codeable concept.text:
      value: azithromycin (suspension)
  measure report.group.population:
    index: 0
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.population:
    index: 1
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.measure score:
    quantity.value:
      value: 0
      element.extension:
        index: 0
  measure report.group.stratifier:
    index: 0
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 1
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 2
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 2
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 3
      measure report.group.stratifier.stratum.population:
        index: 0

value: numerator

value: Numerator

value: iif(%resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.value.first(), 0)

value: denominator

value: Denominator

value: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)

value: iif((iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)) > 0, (iif(%resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.value.first(), 0)) * 100 / (iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)), 0)

value: sex

value: Sex

value: female

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.value.first(), 0)

value: male

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.value.first(), 0)

value: age-band

value: Age band

value: 6 months - <7 years

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.value.first(), 0)

value: disposition

value: Disposition

value: treated

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_boy_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_less7_girl_treated').answer.value.first(), 0)

value: excluded - under height/age

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_susp_child').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_child').answer.value.first(), 0)

value: absent

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_susp_absent').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_absent').answer.value.first(), 0)

value: refused

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_susp_refusal').answer.exists(), %resource.repeat(item).where(linkId='azm_susp_refusal').answer.value.first(), 0)

MeasureReport
index: 6
resource.id:
  value: mr-azm-tb
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/coverage-source
  extension.value code:
    value: administrative
domain resource.extension:
  index: 1
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/realtime-vs-reconciled
  extension.value code:
    value: realtime
measure report.status:
  value: complete
measure report.type:
  value: summary
measure report.measure:
  value: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
  link: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
measure report.reporter:
  reference.display:
    value: recorder
    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='p_recorder_id').answer.value.first()
measure report.period:
  period.start:
    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
  period.end:
    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
measure report.group:
  index: 0
  measure report.group.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://www.whocc.no/atc
      coding.code:
        value: J01FA10
      coding.display:
        value: azithromycin
    codeable concept.text:
      value: azithromycin (tablets)
  measure report.group.population:
    index: 0
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.population:
    index: 1
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.measure score:
    quantity.value:
      value: 0
      element.extension:
        index: 0
  measure report.group.stratifier:
    index: 0
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 1
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 2
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 2
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 3
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 4
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 5
      measure report.group.stratifier.stratum.population:
        index: 0

value: numerator

value: Numerator

value: iif(%resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.value.first(), 0)

value: denominator

value: Denominator

value: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)

value: iif((iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)) > 0, (iif(%resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.value.first(), 0)) * 100 / (iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)), 0)

value: sex

value: Sex

value: female

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.value.first(), 0)

value: male

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.value.first(), 0)

value: age-band

value: Age band

value: 7+ years

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.value.first(), 0)

value: disposition

value: Disposition

value: treated

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_boy_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_more7_girl_treated').answer.value.first(), 0)

value: excluded - under height/age

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_child').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_child').answer.value.first(), 0)

value: excluded - pregnant

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_pregnant').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_pregnant').answer.value.first(), 0)

value: excluded - breastfeeding

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_breastfeeding').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_breastfeeding').answer.value.first(), 0)

value: absent

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_absent').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_absent').answer.value.first(), 0)

value: refused

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='azm_tb_refusal').answer.exists(), %resource.repeat(item).where(linkId='azm_tb_refusal').answer.value.first(), 0)

MeasureReport
index: 7
resource.id:
  value: mr-tetra
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRAdministrativeCoverage
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/coverage-source
  extension.value code:
    value: administrative
domain resource.extension:
  index: 1
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/realtime-vs-reconciled
  extension.value code:
    value: realtime
measure report.status:
  value: complete
measure report.type:
  value: summary
measure report.measure:
  value: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
  link: https://icr.healthcampaigns.org/Measure/icr-mda-treatment-coverage
measure report.reporter:
  reference.display:
    value: recorder
    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='p_recorder_id').answer.value.first()
measure report.period:
  period.start:
    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
  period.end:
    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
measure report.group:
  index: 0
  measure report.group.code:
    codeable concept.coding:
      index: 0
      coding.system:
        value: http://www.whocc.no/atc
      coding.code:
        value: S01AA09
      coding.display:
        value: tetracycline
    codeable concept.text:
      value: tetracycline (eye ointment)
  measure report.group.population:
    index: 0
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.population:
    index: 1
    measure report.group.population.code:
      codeable concept.coding:
        index: 0
    measure report.group.population.count:
      value: 0
      element.extension:
        index: 0
  measure report.group.measure score:
    quantity.value:
      value: 0
      element.extension:
        index: 0
  measure report.group.stratifier:
    index: 0
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 1
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
  measure report.group.stratifier:
    index: 2
    measure report.group.stratifier.code:
      index: 0
      codeable concept.coding:
        index: 0
    measure report.group.stratifier.stratum:
      index: 0
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 1
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 2
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 3
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 4
      measure report.group.stratifier.stratum.population:
        index: 0
    measure report.group.stratifier.stratum:
      index: 5
      measure report.group.stratifier.stratum.population:
        index: 0

value: numerator

value: Numerator

value: iif(%resource.repeat(item).where(linkId='tetra_baby_boy').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_boy').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='tetra_baby_girl').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_girl').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='tetra_pregnant_women').answer.exists(), %resource.repeat(item).where(linkId='tetra_pregnant_women').answer.value.first(), 0)

value: denominator

value: Denominator

value: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)

value: iif((iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)) > 0, (iif(%resource.repeat(item).where(linkId='tetra_baby_boy').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_boy').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='tetra_baby_girl').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_girl').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='tetra_pregnant_women').answer.exists(), %resource.repeat(item).where(linkId='tetra_pregnant_women').answer.value.first(), 0)) * 100 / (iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)), 0)

value: sex

value: Sex

value: female

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_baby_girl').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_girl').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='tetra_pregnant_women').answer.exists(), %resource.repeat(item).where(linkId='tetra_pregnant_women').answer.value.first(), 0)

value: male

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_baby_boy').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_boy').answer.value.first(), 0)

value: age-band

value: Age band

value: <6 months

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_baby_boy').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_boy').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='tetra_baby_girl').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_girl').answer.value.first(), 0)

value: disposition

value: Disposition

value: treated

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_baby_boy').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_boy').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='tetra_baby_girl').answer.exists(), %resource.repeat(item).where(linkId='tetra_baby_girl').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='tetra_pregnant_women').answer.exists(), %resource.repeat(item).where(linkId='tetra_pregnant_women').answer.value.first(), 0)

value: excluded - under height/age

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_child').answer.exists(), %resource.repeat(item).where(linkId='tetra_child').answer.value.first(), 0)

value: excluded - pregnant

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_pregnant').answer.exists(), %resource.repeat(item).where(linkId='tetra_pregnant').answer.value.first(), 0)

value: excluded - breastfeeding

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_breastfeeding').answer.exists(), %resource.repeat(item).where(linkId='tetra_breastfeeding').answer.value.first(), 0)

value: absent

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_absent').answer.exists(), %resource.repeat(item).where(linkId='tetra_absent').answer.value.first(), 0)

value: refused

codeable concept.coding:
  index: 0
  coding.system:
    value: http://terminology.hl7.org/CodeSystem/measure-population
  coding.code:
    value: numerator
  coding.display:
    value: Numerator

value: 0
element.extension:
  index: 0
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
  extension.value string:
    value: iif(%resource.repeat(item).where(linkId='tetra_refusal').answer.exists(), %resource.repeat(item).where(linkId='tetra_refusal').answer.value.first(), 0)

Group
index: 8
resource.id:
  value: community-template
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRDeliveryUnit
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRDeliveryUnit
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/group-location
  extension.value reference:
    reference.identifier:
      identifier.system:
        value: https://icr.healthcampaigns.org/identifier/espen-location-id
group.identifier:
  index: 0
  identifier.system:
    value: https://icr.healthcampaigns.org/identifier/espen-community
  identifier.value:
    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='p_location_id').answer.value.first()
group.type:
  value: person
group.actual:
  value: true
group.code:
  codeable concept.coding:
    index: 0
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-group-kind-cs
    coding.code:
      value: community
    coding.display:
      value: Community
group.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='p_location').answer.value.first() & ' community'
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: iif(%resource.repeat(item).where(linkId='census_men').answer.exists(), %resource.repeat(item).where(linkId='census_men').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='census_women').answer.exists(), %resource.repeat(item).where(linkId='census_women').answer.value.first(), 0)

index: 0
extension.url:
  value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
extension.value string:
  value: %resource.repeat(item).where(linkId='p_location_id').answer.value.first()

MedicationAdministration
index: 9
resource.id:
  value: ma-dec
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/record-origin
  extension.value code:
    value: campaign
medication administration.status:
  value: completed
medication administration.medication codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: P02CB02
    coding.display:
      value: diethylcarbamazine
medication administration.subject:
  reference.reference:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %newCommunityId
medication administration.effective date time:
  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

MedicationAdministration
index: 10
resource.id:
  value: ma-alb
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/record-origin
  extension.value code:
    value: campaign
medication administration.status:
  value: completed
medication administration.medication codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: P02CA03
    coding.display:
      value: albendazole
medication administration.subject:
  reference.reference:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %newCommunityId
medication administration.effective date time:
  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

MedicationAdministration
index: 11
resource.id:
  value: ma-meb
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/record-origin
  extension.value code:
    value: campaign
medication administration.status:
  value: completed
medication administration.medication codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: P02CA01
    coding.display:
      value: mebendazole
medication administration.subject:
  reference.reference:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %newCommunityId
medication administration.effective date time:
  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

MedicationAdministration
index: 12
resource.id:
  value: ma-ivm
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/record-origin
  extension.value code:
    value: campaign
medication administration.status:
  value: completed
medication administration.medication codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: P02CF01
    coding.display:
      value: ivermectin
medication administration.subject:
  reference.reference:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %newCommunityId
medication administration.effective date time:
  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

MedicationAdministration
index: 13
resource.id:
  value: ma-pzq
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/record-origin
  extension.value code:
    value: campaign
medication administration.status:
  value: completed
medication administration.medication codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: P02BA01
    coding.display:
      value: praziquantel
medication administration.subject:
  reference.reference:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %newCommunityId
medication administration.effective date time:
  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

MedicationAdministration
index: 14
resource.id:
  value: ma-azm-susp
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/record-origin
  extension.value code:
    value: campaign
medication administration.status:
  value: completed
medication administration.medication codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: J01FA10
    coding.display:
      value: azithromycin
medication administration.subject:
  reference.reference:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %newCommunityId
medication administration.effective date time:
  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

MedicationAdministration
index: 15
resource.id:
  value: ma-azm-tb
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/record-origin
  extension.value code:
    value: campaign
medication administration.status:
  value: completed
medication administration.medication codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: J01FA10
    coding.display:
      value: azithromycin
medication administration.subject:
  reference.reference:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %newCommunityId
medication administration.effective date time:
  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

MedicationAdministration
index: 16
resource.id:
  value: ma-tetra
resource.meta:
  meta.profile:
    value: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
    index: 0
    link: https://icr.healthcampaigns.org/StructureDefinition/ICRMedicationAdministration
domain resource.extension:
  index: 0
  extension.url:
    value: https://icr.healthcampaigns.org/StructureDefinition/record-origin
  extension.value code:
    value: campaign
medication administration.status:
  value: completed
medication administration.medication codeable concept:
  codeable concept.coding:
    index: 0
    coding.system:
      value: http://www.whocc.no/atc
    coding.code:
      value: S01AA09
    coding.display:
      value: tetracycline
medication administration.subject:
  reference.reference:
    element.extension:
      index: 0
      extension.url:
        value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtractValue
      extension.value string:
        value: %newCommunityId
medication administration.effective date time:
  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

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

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

value: 0.1.0

value: EspenMDATreatment

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 3 (the treatment tally): village census plus per-drug treated counts by sex and age band with reasons-not-treated. Template-based extraction: one ICRDeliveryUnit community Group for the village, one Group-subject ICRMedicationAdministration per answered drug block (the treatment event — tablets into people are treatment, not a supply transfer), and one ICRAdministrativeCoverage MeasureReport per answered drug block — measure icr-mda-treatment-coverage, stratified by sex, age-band, and disposition, the same cube as example-mda-treatment-tally (espen-forms, remapped espen-remap).

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: p_recorder_id
questionnaire.item.text:
  value: Select the recorder ID
questionnaire.item.type:
  value: string

index: 1
questionnaire.item.link id:
  value: p_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: p_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: p_health_facility
questionnaire.item.text:
  value: Select the Health facility / Sub district
questionnaire.item.type:
  value: string
questionnaire.item.required:
  value: true

index: 4
questionnaire.item.link id:
  value: p_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: p_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: p_campaign_day
questionnaire.item.text:
  value: Day of the campaign
questionnaire.item.type:
  value: choice
questionnaire.item.required:
  value: true
questionnaire.item.answer option:
  index: 0
  questionnaire.item.answer option.value string:
    value: Day 1
questionnaire.item.answer option:
  index: 1
  questionnaire.item.answer option.value string:
    value: Day 2
questionnaire.item.answer option:
  index: 2
  questionnaire.item.answer option.value string:
    value: Day 3
questionnaire.item.answer option:
  index: 3
  questionnaire.item.answer option.value string:
    value: Day 4
questionnaire.item.answer option:
  index: 4
  questionnaire.item.answer option.value string:
    value: Day 5
questionnaire.item.answer option:
  index: 5
  questionnaire.item.answer option.value string:
    value: Day 6
questionnaire.item.answer option:
  index: 6
  questionnaire.item.answer option.value string:
    value: Day 7
questionnaire.item.answer option:
  index: 7
  questionnaire.item.answer option.value string:
    value: Day 8
questionnaire.item.answer option:
  index: 8
  questionnaire.item.answer option.value string:
    value: Day 9
questionnaire.item.answer option:
  index: 9
  questionnaire.item.answer option.value string:
    value: Day 10

index: 7
questionnaire.item.link id:
  value: p_disease
questionnaire.item.text:
  value: Disease covered by the TDM?
questionnaire.item.type:
  value: choice
questionnaire.item.required:
  value: true
questionnaire.item.repeats:
  value: true
questionnaire.item.answer value set:
  value: https://icr.healthcampaigns.org/ValueSet/icr-ntd-disease
  link: https://icr.healthcampaigns.org/ValueSet/icr-ntd-disease

index: 8
questionnaire.item.link id:
  value: p_medicine
questionnaire.item.text:
  value: Select the medicine package
questionnaire.item.type:
  value: choice
questionnaire.item.required:
  value: true
questionnaire.item.repeats:
  value: true
questionnaire.item.answer value set:
  value: https://icr.healthcampaigns.org/ValueSet/icr-mda-medicine-package
  link: https://icr.healthcampaigns.org/ValueSet/icr-mda-medicine-package

index: 9
questionnaire.item.link id:
  value: census
questionnaire.item.text:
  value: Population census
questionnaire.item.type:
  value: group
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: census_method
  questionnaire.item.text:
    value: Cencus method
  questionnaire.item.type:
    value: choice
  questionnaire.item.required:
    value: true
  questionnaire.item.answer option:
    index: 0
    questionnaire.item.answer option.value string:
      value: Household-Level Digitization
  questionnaire.item.answer option:
    index: 1
    questionnaire.item.answer option.value string:
      value: Aggregate Reporting
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: census_house_hold
  questionnaire.item.text:
    value: Number of households
  questionnaire.item.type:
    value: integer
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: census_men
  questionnaire.item.text:
    value: Number of men
  questionnaire.item.type:
    value: integer
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: census_women
  questionnaire.item.text:
    value: Number of women
  questionnaire.item.type:
    value: integer

index: 10
element.extension:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #mr-dec
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
element.extension:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #ma-dec
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
questionnaire.item.link id:
  value: dec_by_sex
questionnaire.item.text:
  value: DEC By sex
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb-dec
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: dec_5_14_female_treated
  questionnaire.item.text:
    value: 5-14 years old treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: dec_5_14_male_treated
  questionnaire.item.text:
    value: 5-14 years old treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: dec_15_female_treated
  questionnaire.item.text:
    value: 15 years and over treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: dec_15_male_treated
  questionnaire.item.text:
    value: 15 years and over treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  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='dec_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_male_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: dec_men_treated
  questionnaire.item.text:
    value: Men treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true
questionnaire.item.item:
  index: 5
  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='dec_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='dec_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='dec_15_female_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: dec_women_treated
  questionnaire.item.text:
    value: Women treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true

index: 11
questionnaire.item.link id:
  value: dec_reason_not_treated
questionnaire.item.text:
  value: Reasons not treated with DEC
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb-dec
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: dec_child
  questionnaire.item.text:
    value: Children <90 cm untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: dec_pregnant
  questionnaire.item.text:
    value: Pregnant women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: dec_breastfeeding
  questionnaire.item.text:
    value: Breastfeeding women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: dec_absent
  questionnaire.item.text:
    value: Absent
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  questionnaire.item.link id:
    value: dec_refusal
  questionnaire.item.text:
    value: Refusal
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 12
element.extension:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #mr-alb
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
element.extension:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #ma-alb
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
questionnaire.item.link id:
  value: alb_by_sex
questionnaire.item.text:
  value: ALB By sex
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb-dec
questionnaire.item.enable when:
  index: 1
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb
questionnaire.item.enable when:
  index: 2
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: alb
questionnaire.item.enable when:
  index: 3
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: pzq-alb
questionnaire.item.enable behavior:
  value: any
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: alb_5_14_female_treated
  questionnaire.item.text:
    value: 5-14 years old treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: alb_5_14_male_treated
  questionnaire.item.text:
    value: 5-14 years old treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: alb_15_female_treated
  questionnaire.item.text:
    value: 15 years and over treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: alb_15_male_treated
  questionnaire.item.text:
    value: 15 years and over treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  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='alb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_male_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: alb_men_treated
  questionnaire.item.text:
    value: Men treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true
questionnaire.item.item:
  index: 5
  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='alb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='alb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='alb_15_female_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: alb_women_treated
  questionnaire.item.text:
    value: Women treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true

index: 13
questionnaire.item.link id:
  value: alb_reason_not_treated
questionnaire.item.text:
  value: Reasons not treated with ALB
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb-dec
questionnaire.item.enable when:
  index: 1
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb
questionnaire.item.enable when:
  index: 2
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: alb
questionnaire.item.enable when:
  index: 3
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: pzq-alb
questionnaire.item.enable behavior:
  value: any
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: alb_child
  questionnaire.item.text:
    value: Children <90 cm untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: alb_pregnant
  questionnaire.item.text:
    value: Pregnant women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: alb_breastfeeding
  questionnaire.item.text:
    value: Breastfeeding women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: alb_absent
  questionnaire.item.text:
    value: Absent
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  questionnaire.item.link id:
    value: alb_refusal
  questionnaire.item.text:
    value: Refusal
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 14
element.extension:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #mr-meb
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
element.extension:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #ma-meb
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
questionnaire.item.link id:
  value: meb_by_sex
questionnaire.item.text:
  value: MBD By sex
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: pzq-meb
questionnaire.item.enable when:
  index: 1
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: meb
questionnaire.item.enable behavior:
  value: any
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: meb_5_14_female_treated
  questionnaire.item.text:
    value: 5-14 years old treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: meb_5_14_male_treated
  questionnaire.item.text:
    value: 5-14 years old treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: meb_15_female_treated
  questionnaire.item.text:
    value: 15 years and over treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: meb_15_male_treated
  questionnaire.item.text:
    value: 15 years and over treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  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='meb_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_male_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: meb_men_treated
  questionnaire.item.text:
    value: Men treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true
questionnaire.item.item:
  index: 5
  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='meb_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='meb_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='meb_15_female_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: meb_women_treated
  questionnaire.item.text:
    value: Women treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true

index: 15
questionnaire.item.link id:
  value: meb_reason_not_treated
questionnaire.item.text:
  value: Reasons not treated with MEB
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: pzq-meb
questionnaire.item.enable when:
  index: 1
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: meb
questionnaire.item.enable behavior:
  value: any
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: meb_child
  questionnaire.item.text:
    value: Children <90 cm untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: meb_pregnant
  questionnaire.item.text:
    value: Pregnant women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: meb_breastfeeding
  questionnaire.item.text:
    value: Breastfeeding women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: meb_absent
  questionnaire.item.text:
    value: Absent
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  questionnaire.item.link id:
    value: meb_refusal
  questionnaire.item.text:
    value: Refusal
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 16
element.extension:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #mr-ivm
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
element.extension:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #ma-ivm
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
questionnaire.item.link id:
  value: ivm_by_sex
questionnaire.item.text:
  value: IVM By sex
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm
questionnaire.item.enable when:
  index: 1
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb-dec
questionnaire.item.enable when:
  index: 2
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb
questionnaire.item.enable behavior:
  value: any
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: ivm_5_14_female_treated
  questionnaire.item.text:
    value: 5-14 years old treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: ivm_5_14_male_treated
  questionnaire.item.text:
    value: 5-14 years old treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: ivm_15_female_treated
  questionnaire.item.text:
    value: 15 years and over treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: ivm_15_male_treated
  questionnaire.item.text:
    value: 15 years and over treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  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='ivm_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_male_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: ivm_men_treated
  questionnaire.item.text:
    value: Men treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true
questionnaire.item.item:
  index: 5
  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='ivm_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='ivm_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='ivm_15_female_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: ivm_women_treated
  questionnaire.item.text:
    value: Women treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true

index: 17
questionnaire.item.link id:
  value: ivm_reason_not_treated
questionnaire.item.text:
  value: Reasons not treated with IVM
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm
questionnaire.item.enable when:
  index: 1
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb-dec
questionnaire.item.enable when:
  index: 2
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: ivm-alb
questionnaire.item.enable behavior:
  value: any
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: ivm_child
  questionnaire.item.text:
    value: Children <90 cm untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: ivm_pregnant
  questionnaire.item.text:
    value: Pregnant women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: ivm_breastfeeding
  questionnaire.item.text:
    value: Breastfeeding women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: ivm_absent
  questionnaire.item.text:
    value: Absent
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  questionnaire.item.link id:
    value: ivm_refusal
  questionnaire.item.text:
    value: Refusal
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 18
element.extension:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #mr-pzq
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
element.extension:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #ma-pzq
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
questionnaire.item.link id:
  value: pzq_by_sex
questionnaire.item.text:
  value: PZQ By sex
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: pzq
questionnaire.item.enable when:
  index: 1
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: pzq-alb
questionnaire.item.enable behavior:
  value: any
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: pzq_5_14_female_treated
  questionnaire.item.text:
    value: 5-14 years old treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: pzq_5_14_male_treated
  questionnaire.item.text:
    value: 5-14 years old treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: pzq_15_female_treated
  questionnaire.item.text:
    value: 15 years and over treated Female
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: pzq_15_male_treated
  questionnaire.item.text:
    value: 15 years and over treated Male
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  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='pzq_5_14_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_male_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_male_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_male_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: pzq_men_treated
  questionnaire.item.text:
    value: Men treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true
questionnaire.item.item:
  index: 5
  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='pzq_5_14_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_5_14_female_treated').answer.value.first(), 0) + iif(%resource.repeat(item).where(linkId='pzq_15_female_treated').answer.exists(), %resource.repeat(item).where(linkId='pzq_15_female_treated').answer.value.first(), 0)
  questionnaire.item.link id:
    value: pzq_women_treated
  questionnaire.item.text:
    value: Women treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.read only:
    value: true

index: 19
questionnaire.item.link id:
  value: pzq_reason_not_treated
questionnaire.item.text:
  value: Reasons not treated with PZQ
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: pzq
questionnaire.item.enable when:
  index: 1
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: pzq-alb
questionnaire.item.enable behavior:
  value: any
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: pzq_child
  questionnaire.item.text:
    value: Children <90 cm untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: pzq_pregnant
  questionnaire.item.text:
    value: Pregnant women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: pzq_breastfeeding
  questionnaire.item.text:
    value: Breastfeeding women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: pzq_absent
  questionnaire.item.text:
    value: Absent
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  questionnaire.item.link id:
    value: pzq_refusal
  questionnaire.item.text:
    value: Refusal
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 20
element.extension:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #mr-azm-susp
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
element.extension:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #ma-azm-susp
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
questionnaire.item.link id:
  value: azm_susp_by_sex
questionnaire.item.text:
  value: AZM Report Suspension by sex
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: azm-susp
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: azm_susp_less7_boy_treated
  questionnaire.item.text:
    value: Boys from 6 months to less than 7 years treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: azm_susp_less7_girl_treated
  questionnaire.item.text:
    value: Girls from 6 months to less than 7 years treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 21
questionnaire.item.link id:
  value: azm_susp_reason_not_treated
questionnaire.item.text:
  value: Reasons not treated with AZM Suspension
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: azm-susp
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: azm_susp_child
  questionnaire.item.text:
    value: Children <90 cm untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: azm_susp_absent
  questionnaire.item.text:
    value: Absent
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: azm_susp_refusal
  questionnaire.item.text:
    value: Refusal
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 22
element.extension:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #mr-azm-tb
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
element.extension:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #ma-azm-tb
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
questionnaire.item.link id:
  value: azm_tb_by_sex
questionnaire.item.text:
  value: AZM Report Tablet by sex
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: azm-tab
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: azm_tb_more7_boy_treated
  questionnaire.item.text:
    value: Boys more than 7 years treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: azm_tb_more7_girl_treated
  questionnaire.item.text:
    value: Girls more than 7 years treated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: azm_tb_child
  questionnaire.item.text:
    value: Children <90 cm untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 23
questionnaire.item.link id:
  value: azm_tb_reason_not_treated
questionnaire.item.text:
  value: Reasons not treated with AZM Tablet
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: azm-tab
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: azm_tb_pregnant
  questionnaire.item.text:
    value: Pregnant women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: azm_tb_breastfeeding
  questionnaire.item.text:
    value: Breastfeeding women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: azm_tb_absent
  questionnaire.item.text:
    value: Absent
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: azm_tb_refusal
  questionnaire.item.text:
    value: Refusal
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 24
element.extension:
  index: 0
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #mr-tetra
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
element.extension:
  index: 1
  element.extension:
    index: 0
    extension.url:
      value: template
    extension.value reference:
      reference.reference:
        value: #ma-tetra
  extension.url:
    value: http://hl7.org/fhir/uv/sdc/StructureDefinition/sdc-questionnaire-templateExtract
questionnaire.item.link id:
  value: tetra_by_sex
questionnaire.item.text:
  value: TETRA By sex
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: tetra
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: tetra_baby_boy
  questionnaire.item.text:
    value: Baby boy less than six month
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: tetra_baby_girl
  questionnaire.item.text:
    value: Baby girl less than six month
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: tetra_pregnant_women
  questionnaire.item.text:
    value: Pregnant Women
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 25
questionnaire.item.link id:
  value: tetra_reason_not_treated
questionnaire.item.text:
  value: reasons not treated with TETRA
questionnaire.item.type:
  value: group
questionnaire.item.enable when:
  index: 0
  questionnaire.item.enable when.question:
    value: p_medicine
  questionnaire.item.enable when.operator:
    value: =
  questionnaire.item.enable when.answer coding:
    coding.system:
      value: https://icr.healthcampaigns.org/CodeSystem/icr-mda-medicine-package-cs
    coding.code:
      value: tetra
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: tetra_child
  questionnaire.item.text:
    value: Children <90 cm untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: tetra_pregnant
  questionnaire.item.text:
    value: Pregnant women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: tetra_breastfeeding
  questionnaire.item.text:
    value: Breastfeeding women untreated
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: tetra_absent
  questionnaire.item.text:
    value: Absent
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 4
  questionnaire.item.link id:
    value: tetra_refusal
  questionnaire.item.text:
    value: Refusal
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 26
questionnaire.item.link id:
  value: cd_who_distributed
questionnaire.item.text:
  value: CD who distributed during this year
questionnaire.item.type:
  value: group
questionnaire.item.item:
  index: 0
  questionnaire.item.link id:
    value: cd_who_distributed_man
  questionnaire.item.text:
    value: Community DistributorMen
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 1
  questionnaire.item.link id:
    value: cd_who_distributed_woman
  questionnaire.item.text:
    value: Community Distributor Women
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 2
  questionnaire.item.link id:
    value: cd_trained
  questionnaire.item.text:
    value: CD newly trained
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true
questionnaire.item.item:
  index: 3
  questionnaire.item.link id:
    value: cd_recycled
  questionnaire.item.text:
    value: CD Recycled
  questionnaire.item.type:
    value: integer
  questionnaire.item.required:
    value: true

index: 27
questionnaire.item.link id:
  value: p_add_note
questionnaire.item.text:
  value: Additional Note
questionnaire.item.type:
  value: text