@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://icr.healthcampaigns.org/CodeSystem/icr-task-origin-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "icr-task-origin-cs"] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem icr-task-origin-cs</b></p><a name=\"icr-task-origin-cs\"> </a><a name=\"hcicr-task-origin-cs\"> </a><p>This case-sensitive code system <code>https://icr.healthcampaigns.org/CodeSystem/icr-task-origin-cs</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td><td><b>French (fr)</b></td></tr><tr><td style=\"white-space:nowrap\">pre-planned<a name=\"icr-task-origin-cs-pre-planned\"> </a></td><td>Pre-planned</td><td>Generated in advance from the microplan (e.g. one Task per enumerated household or planned site-session).</td><td>Planifiée à l'avance</td></tr><tr><td style=\"white-space:nowrap\">field-registered<a name=\"icr-task-origin-cs-field-registered\"> </a></td><td>Field-registered</td><td>Created in the field on discovery — e.g. an unenumerated household found during a house-to-house sweep, registered as it is visited.</td><td>Enregistrée sur le terrain</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-task-origin-cs"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "ICRTaskOriginCS"] ;
  fhir:CodeSystem.title [ fhir:value "ICR Task Origin"] ;
  fhir:CodeSystem.status [ fhir:value "draft"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-08-07T08:41:18-04:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "UNICEF"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "UNICEF" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://www.unicef.org" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "Whether a campaign Task was generated in advance from the microplan or registered in the field on discovery. Field-registered counts per area measure how incomplete the microplan's enumeration was — input to the next round's denominators (working doc §10 q1)."] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ;
       fhir:Coding.code [ fhir:value "001" ] ;
       fhir:Coding.display [ fhir:value "World" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "true"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "2"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "pre-planned" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Pre-planned" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Generated in advance from the microplan (e.g. one Task per enumerated household or planned site-session)." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "fr" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Planifiée à l'avance" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "field-registered" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Field-registered" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Created in the field on discovery — e.g. an unenumerated household found during a house-to-house sweep, registered as it is visited." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "fr" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Enregistrée sur le terrain" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://icr.healthcampaigns.org/CodeSystem/icr-task-origin-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

