@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-record-origin-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "icr-record-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-record-origin-cs</b></p><a name=\"icr-record-origin-cs\"> </a><a name=\"hcicr-record-origin-cs\"> </a><p>This case-sensitive code system <code>https://icr.healthcampaigns.org/CodeSystem/icr-record-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\">campaign<a name=\"icr-record-origin-cs-campaign\"> </a></td><td>Campaign / SIA</td><td>Recorded during a time-bounded campaign (SIA, MDA round, distribution).</td><td>Campagne / AVS</td></tr><tr><td style=\"white-space:nowrap\">routine<a name=\"icr-record-origin-cs-routine\"> </a></td><td>Routine facility visit</td><td>Recorded during routine service delivery.</td><td>Visite de routine en établissement</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-record-origin-cs"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "ICRRecordOriginCS"] ;
  fhir:CodeSystem.title [ fhir:value "ICR Record 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 delivery event originated in a campaign or a routine facility visit. Required on every ICR delivery event so SIA doses never contaminate routine coverage analytics, and routine history observed during campaigns stays analyzable (working doc §4.4)."] ;
  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 "campaign" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Campaign / SIA" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Recorded during a time-bounded campaign (SIA, MDA round, distribution)." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "fr" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Campagne / AVS" ]
     ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "routine" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Routine facility visit" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Recorded during routine service delivery." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "fr" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Visite de routine en établissement" ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://icr.healthcampaigns.org/CodeSystem/icr-record-origin-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

