@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://fhir.icr.unicef.org/Task/example-mda-community-task> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "example-mda-community-task"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://fhir.icr.unicef.org/StructureDefinition/ICRCampaignTask" ;
       fhir:index 0 ;
       fhir:link <https://fhir.icr.unicef.org/StructureDefinition/ICRCampaignTask>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task example-mda-community-task</b></p><a name=\"example-mda-community-task\"> </a><a name=\"hcexample-mda-community-task\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-ICRCampaignTask.html\">ICR Campaign Task</a></p></div><p><b>Delivery Strategy</b>: <span title=\"Codes:{https://fhir.icr.unicef.org/CodeSystem/icr-delivery-strategy-cs community-directed}\">Community-directed distribution</span></p><p><b>Task Origin</b>: pre-planned</p><p><b>Real-time vs Reconciled</b>: reconciled</p><p><b>Exclusion Reason</b>: <span title=\"Codes:{https://fhir.icr.unicef.org/CodeSystem/icr-exclusion-reason-cs under-height-age}\">Below dose-pole minimum (height/age)</span></p><p><b>Exclusion Reason</b>: <span title=\"Codes:{https://fhir.icr.unicef.org/CodeSystem/icr-exclusion-reason-cs pregnant}\">Pregnant</span></p><p><b>Exclusion Reason</b>: <span title=\"Codes:{https://fhir.icr.unicef.org/CodeSystem/icr-exclusion-reason-cs breastfeeding}\">Breastfeeding / lactating</span></p><p><b>Missed Reason</b>: <span title=\"Codes:{https://fhir.icr.unicef.org/CodeSystem/icr-missed-reason-cs absent}\">Absent</span></p><p><b>Noncompliance Reason</b>: <span title=\"Codes:{https://fhir.icr.unicef.org/CodeSystem/icr-noncompliance-reason-cs no-felt-need}\">No felt need</span></p><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:\">Community-directed MDA: albendazole (STH preventive chemotherapy)</span></p><p><b>focus</b>: <a href=\"Group-example-community.html\">Group Rokupr community</a></p><p><b>for</b>: <a href=\"Group-example-community.html\">Group Rokupr community</a></p><p><b>executionPeriod</b>: 2026-02-08 --&gt; 2026-02-12</p><p><b>owner</b>: <a href=\"CareTeam-example-careteam.html\">CareTeam CDD team 7, Rokupr</a></p><p><b>location</b>: <a href=\"Location-example-settlement.html\">Location Rokupr</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Soil-transmitted helminthiasis (STH)</span></p><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:\">Persons treated with albendazole (community tally)</span></p><p><b>value</b>: 2900</p></blockquote><blockquote><p><b>output</b></p><p><b>type</b>: <span title=\"Codes:\">Disaggregated treatment coverage report</span></p><p><b>value</b>: <a href=\"MeasureReport-example-mda-treatment-tally.html\">MeasureReport: extension = administrative,reconciled,Microcensus / enumeration,at-risk,people; status = complete; type = summary; measure = https://fhir.icr.unicef.org/Measure/icr-mda-treatment-coverage; period = 2026-02-08 --&gt; 2026-02-12</a></p></blockquote></div>"
  ] ;
  fhir:DomainResource.extension [
     fhir:index 0 ;
     fhir:Extension.url [ fhir:value "https://fhir.icr.unicef.org/StructureDefinition/delivery-strategy" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://fhir.icr.unicef.org/CodeSystem/icr-delivery-strategy-cs" ] ;
         fhir:Coding.code [ fhir:value "community-directed" ] ;
         fhir:Coding.display [ fhir:value "Community-directed distribution" ]
       ]
     ]
  ], [
     fhir:index 1 ;
     fhir:Extension.url [ fhir:value "https://fhir.icr.unicef.org/StructureDefinition/task-origin" ] ;
     fhir:Extension.valueCode [ fhir:value "pre-planned" ]
  ], [
     fhir:index 2 ;
     fhir:Extension.url [ fhir:value "https://fhir.icr.unicef.org/StructureDefinition/realtime-vs-reconciled" ] ;
     fhir:Extension.valueCode [ fhir:value "reconciled" ]
  ], [
     fhir:index 3 ;
     fhir:Extension.url [ fhir:value "https://fhir.icr.unicef.org/StructureDefinition/exclusion-reason" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://fhir.icr.unicef.org/CodeSystem/icr-exclusion-reason-cs" ] ;
         fhir:Coding.code [ fhir:value "under-height-age" ] ;
         fhir:Coding.display [ fhir:value "Below dose-pole minimum (height/age)" ]
       ]
     ]
  ], [
     fhir:index 4 ;
     fhir:Extension.url [ fhir:value "https://fhir.icr.unicef.org/StructureDefinition/exclusion-reason" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://fhir.icr.unicef.org/CodeSystem/icr-exclusion-reason-cs" ] ;
         fhir:Coding.code [ fhir:value "pregnant" ] ;
         fhir:Coding.display [ fhir:value "Pregnant" ]
       ]
     ]
  ], [
     fhir:index 5 ;
     fhir:Extension.url [ fhir:value "https://fhir.icr.unicef.org/StructureDefinition/exclusion-reason" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://fhir.icr.unicef.org/CodeSystem/icr-exclusion-reason-cs" ] ;
         fhir:Coding.code [ fhir:value "breastfeeding" ] ;
         fhir:Coding.display [ fhir:value "Breastfeeding / lactating" ]
       ]
     ]
  ], [
     fhir:index 6 ;
     fhir:Extension.url [ fhir:value "https://fhir.icr.unicef.org/StructureDefinition/missed-reason" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://fhir.icr.unicef.org/CodeSystem/icr-missed-reason-cs" ] ;
         fhir:Coding.code [ fhir:value "absent" ] ;
         fhir:Coding.display [ fhir:value "Absent" ]
       ]
     ]
  ], [
     fhir:index 7 ;
     fhir:Extension.url [ fhir:value "https://fhir.icr.unicef.org/StructureDefinition/noncompliance-reason" ] ;
     fhir:Extension.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://fhir.icr.unicef.org/CodeSystem/icr-noncompliance-reason-cs" ] ;
         fhir:Coding.code [ fhir:value "no-felt-need" ] ;
         fhir:Coding.display [ fhir:value "No felt need" ]
       ]
     ]
  ] ;
  fhir:Task.status [ fhir:value "completed"] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.code [
     fhir:CodeableConcept.text [ fhir:value "Community-directed MDA: albendazole (STH preventive chemotherapy)" ]
  ] ;
  fhir:Task.focus [
     fhir:link <https://fhir.icr.unicef.org/Group/example-community> ;
     fhir:Reference.reference [ fhir:value "Group/example-community" ]
  ] ;
  fhir:Task.for [
     fhir:link <https://fhir.icr.unicef.org/Group/example-community> ;
     fhir:Reference.reference [ fhir:value "Group/example-community" ]
  ] ;
  fhir:Task.executionPeriod [
     fhir:Period.start [ fhir:value "2026-02-08"^^xsd:date ] ;
     fhir:Period.end [ fhir:value "2026-02-12"^^xsd:date ]
  ] ;
  fhir:Task.owner [
     fhir:link <https://fhir.icr.unicef.org/CareTeam/example-careteam> ;
     fhir:Reference.reference [ fhir:value "CareTeam/example-careteam" ]
  ] ;
  fhir:Task.location [
     fhir:link <https://fhir.icr.unicef.org/Location/example-settlement> ;
     fhir:Reference.reference [ fhir:value "Location/example-settlement" ]
  ] ;
  fhir:Task.reasonCode [
     fhir:CodeableConcept.text [ fhir:value "Soil-transmitted helminthiasis (STH)" ]
  ] ;
  fhir:Task.output [
     fhir:index 0 ;
     fhir:Task.output.type [
       fhir:CodeableConcept.text [ fhir:value "Persons treated with albendazole (community tally)" ]
     ] ;
     fhir:Task.output.valueUnsignedInt [ fhir:value "2900"^^xsd:nonNegativeInteger ]
  ], [
     fhir:index 1 ;
     fhir:Task.output.type [
       fhir:CodeableConcept.text [ fhir:value "Disaggregated treatment coverage report" ]
     ] ;
     fhir:Task.output.valueReference [
       fhir:link <https://fhir.icr.unicef.org/MeasureReport/example-mda-treatment-tally> ;
       fhir:Reference.reference [ fhir:value "MeasureReport/example-mda-treatment-tally" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://fhir.icr.unicef.org/Task/example-mda-community-task.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

