@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-missed-reason-cs> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "icr-missed-reason-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-missed-reason-cs</b></p><a name=\"icr-missed-reason-cs\"> </a><a name=\"hcicr-missed-reason-cs\"> </a><p>This case-sensitive code system <code>https://icr.healthcampaigns.org/CodeSystem/icr-missed-reason-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>English (United States) (English (United States), en)</b></td></tr><tr><td style=\"white-space:nowrap\">absent<a name=\"icr-missed-reason-cs-absent\"> </a></td><td>Absent</td><td>Eligible person not present at the time of the visit.</td><td/></tr><tr><td style=\"white-space:nowrap\">sleeping<a name=\"icr-missed-reason-cs-sleeping\"> </a></td><td>Sleeping</td><td>Child asleep and not woken (polio doorstep convention).</td><td/></tr><tr><td style=\"white-space:nowrap\">sick<a name=\"icr-missed-reason-cs-sick\"> </a></td><td>Sick</td><td>Deferred due to illness or contraindication at time of visit.</td><td/></tr><tr><td style=\"white-space:nowrap\">refusal<a name=\"icr-missed-reason-cs-refusal\"> </a></td><td>Refusal</td><td>Caregiver or individual refused — capture the refusal reason separately.</td><td>Population refusal</td></tr><tr><td style=\"white-space:nowrap\">inaccessible<a name=\"icr-missed-reason-cs-inaccessible\"> </a></td><td>Inaccessible</td><td>Dwelling or settlement could not be reached (security, terrain, weather).</td><td/></tr><tr><td style=\"white-space:nowrap\">not-visited<a name=\"icr-missed-reason-cs-not-visited\"> </a></td><td>Not visited</td><td>Household never reached by a team during the round.</td><td>Absence of DC</td></tr><tr><td style=\"white-space:nowrap\">not-revisited<a name=\"icr-missed-reason-cs-not-revisited\"> </a></td><td>House not revisited</td><td>Household was flagged for a revisit (e.g. child absent on first pass) but the revisit did not happen before the round closed — distinct from never-visited. Polio house-to-house monitoring reason (forms-v1 / jul3-form-analysis §Aggregate #4).</td><td/></tr><tr><td style=\"white-space:nowrap\">medication-shortage<a name=\"icr-missed-reason-cs-medication-shortage\"> </a></td><td>Medication shortage</td><td>Area not treated because the medicine/commodity ran out or never arrived.</td><td/></tr><tr><td style=\"white-space:nowrap\">insecurity<a name=\"icr-missed-reason-cs-insecurity\"> </a></td><td>Insecurity</td><td>Area not reached due to armed conflict, unrest, or security restrictions.</td><td/></tr><tr><td style=\"white-space:nowrap\">difficult-access<a name=\"icr-missed-reason-cs-difficult-access\"> </a></td><td>Difficult access</td><td>Area not reached due to terrain, distance, or seasonal inaccessibility.</td><td/></tr><tr><td style=\"white-space:nowrap\">not-required<a name=\"icr-missed-reason-cs-not-required\"> </a></td><td>Not required</td><td>Area not treated because it was not targeted this round (e.g. not co-endemic for the disease).</td><td/></tr><tr><td style=\"white-space:nowrap\">other<a name=\"icr-missed-reason-cs-other\"> </a></td><td>Other</td><td>Other reason — record detail in text.</td><td/></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://icr.healthcampaigns.org/CodeSystem/icr-missed-reason-cs"] ;
  fhir:CodeSystem.version [ fhir:value "0.1.0"] ;
  fhir:CodeSystem.name [ fhir:value "ICRMissedReasonCS"] ;
  fhir:CodeSystem.title [ fhir:value "ICR Missed Reason"] ;
  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 "Why an eligible person or household was not reached during a campaign visit."] ;
  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 "12"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "absent" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Absent" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Eligible person not present at the time of the visit." ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "sleeping" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Sleeping" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Child asleep and not woken (polio doorstep convention)." ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "sick" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Sick" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Deferred due to illness or contraindication at time of visit." ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "refusal" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Refusal" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Caregiver or individual refused — capture the refusal reason separately." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en-US" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Population refusal" ]
     ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "inaccessible" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Inaccessible" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Dwelling or settlement could not be reached (security, terrain, weather)." ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "not-visited" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Not visited" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Household never reached by a team during the round." ] ;
     fhir:CodeSystem.concept.designation [
       fhir:index 0 ;
       fhir:CodeSystem.concept.designation.language [ fhir:value "en-US" ] ;
       fhir:CodeSystem.concept.designation.value [ fhir:value "Absence of DC" ]
     ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "not-revisited" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "House not revisited" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Household was flagged for a revisit (e.g. child absent on first pass) but the revisit did not happen before the round closed — distinct from never-visited. Polio house-to-house monitoring reason (forms-v1 / jul3-form-analysis §Aggregate #4)." ]
  ], [
     fhir:index 7 ;
     fhir:CodeSystem.concept.code [ fhir:value "medication-shortage" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Medication shortage" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Area not treated because the medicine/commodity ran out or never arrived." ]
  ], [
     fhir:index 8 ;
     fhir:CodeSystem.concept.code [ fhir:value "insecurity" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Insecurity" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Area not reached due to armed conflict, unrest, or security restrictions." ]
  ], [
     fhir:index 9 ;
     fhir:CodeSystem.concept.code [ fhir:value "difficult-access" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Difficult access" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Area not reached due to terrain, distance, or seasonal inaccessibility." ]
  ], [
     fhir:index 10 ;
     fhir:CodeSystem.concept.code [ fhir:value "not-required" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Not required" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Area not treated because it was not targeted this round (e.g. not co-endemic for the disease)." ]
  ], [
     fhir:index 11 ;
     fhir:CodeSystem.concept.code [ fhir:value "other" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Other" ] ;
     fhir:CodeSystem.concept.definition [ fhir:value "Other reason — record detail in text." ]
  ] .

# - ontology header ------------------------------------------------------------

<https://icr.healthcampaigns.org/CodeSystem/icr-missed-reason-cs.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

