@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://standards.digital.health.nz/fhir/air/CodeSystem/air-forecast-status> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "air-forecast-status"] ;
  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 air-forecast-status</b></p><a name=\"air-forecast-status\"> </a><a name=\"hcair-forecast-status\"> </a><p>This case-insensitive code system <code>https://standards.digital.health.nz/ns/air-forecast-status</code> defines the following codes:</p><table class=\"codes\"><tr><td style=\"white-space:nowrap\"><b>Code</b></td><td><b>Display</b></td></tr><tr><td style=\"white-space:nowrap\">ACTIVE<a name=\"air-forecast-status-ACTIVE\"> </a></td><td>Active</td></tr><tr><td style=\"white-space:nowrap\">AGED_OUT<a name=\"air-forecast-status-AGED_OUT\"> </a></td><td>Aged Out</td></tr><tr><td style=\"white-space:nowrap\">CANCELLED<a name=\"air-forecast-status-CANCELLED\"> </a></td><td>Cancelled</td></tr><tr><td style=\"white-space:nowrap\">CLOSED<a name=\"air-forecast-status-CLOSED\"> </a></td><td>Closed</td></tr><tr><td style=\"white-space:nowrap\">CONTRAINDICATED<a name=\"air-forecast-status-CONTRAINDICATED\"> </a></td><td>Contraindicated</td></tr><tr><td style=\"white-space:nowrap\">DECLINED<a name=\"air-forecast-status-DECLINED\"> </a></td><td>Declined</td></tr><tr><td style=\"white-space:nowrap\">DUE<a name=\"air-forecast-status-DUE\"> </a></td><td>Due</td></tr><tr><td style=\"white-space:nowrap\">ERROR<a name=\"air-forecast-status-ERROR\"> </a></td><td>Error</td></tr><tr><td style=\"white-space:nowrap\">EXPIRED<a name=\"air-forecast-status-EXPIRED\"> </a></td><td>Expired</td></tr><tr><td style=\"white-space:nowrap\">GIVEN<a name=\"air-forecast-status-GIVEN\"> </a></td><td>Given</td></tr><tr><td style=\"white-space:nowrap\">LATE<a name=\"air-forecast-status-LATE\"> </a></td><td>Late</td></tr><tr><td style=\"white-space:nowrap\">MISSED<a name=\"air-forecast-status-MISSED\"> </a></td><td>Missed</td></tr><tr><td style=\"white-space:nowrap\">NON-SCHEDULE<a name=\"air-forecast-status-NON-SCHEDULE\"> </a></td><td>Non Scheduled</td></tr><tr><td style=\"white-space:nowrap\">NOT_REQUIRED<a name=\"air-forecast-status-NOT_REQUIRED\"> </a></td><td>Not Required</td></tr><tr><td style=\"white-space:nowrap\">OVERDUE<a name=\"air-forecast-status-OVERDUE\"> </a></td><td>Overdue</td></tr><tr><td style=\"white-space:nowrap\">PENDING<a name=\"air-forecast-status-PENDING\"> </a></td><td>Pending</td></tr><tr><td style=\"white-space:nowrap\">PLANNED<a name=\"air-forecast-status-PLANNED\"> </a></td><td>Planned</td></tr><tr><td style=\"white-space:nowrap\">REPLACED<a name=\"air-forecast-status-REPLACED\"> </a></td><td>Replaced</td></tr><tr><td style=\"white-space:nowrap\">SUPERSEDED<a name=\"air-forecast-status-SUPERSEDED\"> </a></td><td>Superseded</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://standards.digital.health.nz/ns/air-forecast-status"] ;
  fhir:CodeSystem.version [ fhir:value "1.28.0-SNAPSHOT"] ;
  fhir:CodeSystem.name [ fhir:value "AIRForecastStatus"] ;
  fhir:CodeSystem.title [ fhir:value "AIR Forecast Status"] ;
  fhir:CodeSystem.status [ fhir:value "active"] ;
  fhir:CodeSystem.experimental [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.date [ fhir:value "2026-08-04T03:40:16+00:00"^^xsd:dateTime] ;
  fhir:CodeSystem.publisher [ fhir:value "Te Whatu Ora"] ;
  fhir:CodeSystem.contact [
     fhir:index 0 ;
     fhir:ContactDetail.name [ fhir:value "Te Whatu Ora" ] ;
     fhir:ContactDetail.telecom [
       fhir:index 0 ;
       fhir:ContactPoint.system [ fhir:value "url" ] ;
       fhir:ContactPoint.value [ fhir:value "https://tewhatuora.govt.nz" ]
     ]
  ] ;
  fhir:CodeSystem.description [ fhir:value "This code system includes the codes used in AIR to communicate a planned event status that are not already included in http://terminology.hl7.org/CodeSystem/immunization-recommendation-status."] ;
  fhir:CodeSystem.jurisdiction [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "urn:iso:std:iso:3166" ] ;
       fhir:Coding.code [ fhir:value "US" ] ;
       fhir:Coding.display [ fhir:value "New Zealand" ]
     ]
  ] ;
  fhir:CodeSystem.caseSensitive [ fhir:value "false"^^xsd:boolean] ;
  fhir:CodeSystem.content [ fhir:value "complete"] ;
  fhir:CodeSystem.count [ fhir:value "19"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "ACTIVE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Active" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "AGED_OUT" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Aged Out" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "CANCELLED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Cancelled" ]
  ], [
     fhir:index 3 ;
     fhir:CodeSystem.concept.code [ fhir:value "CLOSED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Closed" ]
  ], [
     fhir:index 4 ;
     fhir:CodeSystem.concept.code [ fhir:value "CONTRAINDICATED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Contraindicated" ]
  ], [
     fhir:index 5 ;
     fhir:CodeSystem.concept.code [ fhir:value "DECLINED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Declined" ]
  ], [
     fhir:index 6 ;
     fhir:CodeSystem.concept.code [ fhir:value "DUE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Due" ]
  ], [
     fhir:index 7 ;
     fhir:CodeSystem.concept.code [ fhir:value "ERROR" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Error" ]
  ], [
     fhir:index 8 ;
     fhir:CodeSystem.concept.code [ fhir:value "EXPIRED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Expired" ]
  ], [
     fhir:index 9 ;
     fhir:CodeSystem.concept.code [ fhir:value "GIVEN" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Given" ]
  ], [
     fhir:index 10 ;
     fhir:CodeSystem.concept.code [ fhir:value "LATE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Late" ]
  ], [
     fhir:index 11 ;
     fhir:CodeSystem.concept.code [ fhir:value "MISSED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Missed" ]
  ], [
     fhir:index 12 ;
     fhir:CodeSystem.concept.code [ fhir:value "NON-SCHEDULE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Non Scheduled" ]
  ], [
     fhir:index 13 ;
     fhir:CodeSystem.concept.code [ fhir:value "NOT_REQUIRED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Not Required" ]
  ], [
     fhir:index 14 ;
     fhir:CodeSystem.concept.code [ fhir:value "OVERDUE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Overdue" ]
  ], [
     fhir:index 15 ;
     fhir:CodeSystem.concept.code [ fhir:value "PENDING" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Pending" ]
  ], [
     fhir:index 16 ;
     fhir:CodeSystem.concept.code [ fhir:value "PLANNED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Planned" ]
  ], [
     fhir:index 17 ;
     fhir:CodeSystem.concept.code [ fhir:value "REPLACED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Replaced" ]
  ], [
     fhir:index 18 ;
     fhir:CodeSystem.concept.code [ fhir:value "SUPERSEDED" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Superseded" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://standards.digital.health.nz/fhir/air/CodeSystem/air-forecast-status.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

