@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-planned-event-type-terms> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "air-planned-event-type-terms"] ;
  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-planned-event-type-terms</b></p><a name=\"air-planned-event-type-terms\"> </a><a name=\"hcair-planned-event-type-terms\"> </a><p>This case-insensitive code system <code>https://standards.digital.health.nz/ns/air-scheduled-event-type-terms</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\">CPE<a name=\"air-planned-event-type-terms-CPE\"> </a></td><td>Consumer Planned Event</td></tr><tr><td style=\"white-space:nowrap\">EE<a name=\"air-planned-event-type-terms-EE\"> </a></td><td>Expected Event</td></tr><tr><td style=\"white-space:nowrap\">PPE<a name=\"air-planned-event-type-terms-PPE\"> </a></td><td>Provider Planned Event</td></tr></table></div>"
  ] ;
  fhir:CodeSystem.url [ fhir:value "https://standards.digital.health.nz/ns/air-scheduled-event-type-terms"] ;
  fhir:CodeSystem.version [ fhir:value "1.28.0-SNAPSHOT"] ;
  fhir:CodeSystem.name [ fhir:value "AIRPlannedEventTypeCS"] ;
  fhir:CodeSystem.title [ fhir:value "AIR Planned Event Type"] ;
  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 values for the types of Planned Events used in AIR."] ;
  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 "3"^^xsd:nonNegativeInteger] ;
  fhir:CodeSystem.concept [
     fhir:index 0 ;
     fhir:CodeSystem.concept.code [ fhir:value "CPE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Consumer Planned Event" ]
  ], [
     fhir:index 1 ;
     fhir:CodeSystem.concept.code [ fhir:value "EE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Expected Event" ]
  ], [
     fhir:index 2 ;
     fhir:CodeSystem.concept.code [ fhir:value "PPE" ] ;
     fhir:CodeSystem.concept.display [ fhir:value "Provider Planned Event" ]
  ] .

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

<https://standards.digital.health.nz/fhir/air/CodeSystem/air-planned-event-type-terms.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

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

