@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/3.0/CodeSystem/appointmentstatus> a fhir:CodeSystem ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "appointmentstatus"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: CodeSystem appointmentstatus</b></p><a name=\"appointmentstatus\"> </a><a name=\"hcappointmentstatus\"> </a><p>This case-sensitive code system <code>http://hl7.org/fhir/appointmentstatus</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></tr><tr><td style=\"white-space:nowrap\">proposed<a name=\"appointmentstatus-proposed\"> </a></td><td>Proposed</td><td>None of the participant(s) have finalized their acceptance of the appointment request, and the start/end time may not be set yet.</td></tr><tr><td style=\"white-space:nowrap\">pending<a name=\"appointmentstatus-pending\"> </a></td><td>Pending</td><td>Some or all of the participant(s) have not finalized their acceptance of the appointment request.</td></tr><tr><td style=\"white-space:nowrap\">booked<a name=\"appointmentstatus-booked\"> </a></td><td>Booked</td><td>All participant(s) have been considered and the appointment is confirmed to go ahead at the date/times specified.</td></tr><tr><td style=\"white-space:nowrap\">arrived<a name=\"appointmentstatus-arrived\"> </a></td><td>Arrived</td><td>Some of the patients have arrived.</td></tr><tr><td style=\"white-space:nowrap\">fulfilled<a name=\"appointmentstatus-fulfilled\"> </a></td><td>Fulfilled</td><td>This appointment has completed and may have resulted in an encounter.</td></tr><tr><td style=\"white-space:nowrap\">cancelled<a name=\"appointmentstatus-cancelled\"> </a></td><td>Cancelled</td><td>The appointment has been cancelled.</td></tr><tr><td style=\"white-space:nowrap\">noshow<a name=\"appointmentstatus-noshow\"> </a></td><td>No Show</td><td>Some or all of the participant(s) have not/did not appear for the appointment (usually the patient).</td></tr><tr><td style=\"white-space:nowrap\">entered-in-error<a name=\"appointmentstatus-entered-in-error\"> </a></td><td>Entered in error</td><td>This instance should not have been part of this patient's medical record.</td></tr></table></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:extension ( [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-ballot-status"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:string ;
       fhir:v "Informative"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:integer ;
       fhir:v 3
     ]
  ] [
     fhir:extension ( [
       fhir:url [ fhir:v "packageId"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:id ;
         fhir:v "hl7.fhir.uv.xver-r3.r4"
       ]
     ] [
       fhir:url [ fhir:v "version"^^xsd:anyURI ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "0.0.1-snapshot-2"
       ]
     ] ) ;
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/package-source"^^xsd:anyURI ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "pa"
     ]
  ] [
     fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status"^^xsd:anyURI ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "trial-use" ;
       fhir:extension ( [
         fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom"^^xsd:anyURI ] ;
         fhir:value [
           a fhir:canonical ;
           fhir:v "http://hl7.org/fhir/3.0/ImplementationGuide/hl7.fhir.uv.xver-r3.r4"^^xsd:anyURI ;
           fhir:link <http://hl7.org/fhir/3.0/ImplementationGuide/hl7.fhir.uv.xver-r3.r4>
         ]
       ] )
     ]
  ] ) ; # 
  fhir:url [ fhir:v "http://hl7.org/fhir/appointmentstatus"^^xsd:anyURI] ; # 
  fhir:version [ fhir:v "3.0.2"] ; # 
  fhir:name [ fhir:v "AppointmentStatus"] ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:experimental [ fhir:v false] ; # 
  fhir:date [ fhir:v "2019-10-24T10:53:00+10:00"^^xsd:dateTime] ; # 
  fhir:publisher [ fhir:v "Patient Administration"] ; # 
  fhir:contact ( [
     fhir:name [ fhir:v "Patient Administration" ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "url" ] ;
       fhir:value [ fhir:v "http://www.hl7.org/Special/committees/pafm" ]
     ] )
  ] ) ; # 
  fhir:description [ fhir:v "The free/busy status of an appointment."] ; # 
  fhir:jurisdiction ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "001" ] ;
       fhir:display [ fhir:v "World" ]
     ] )
  ] ) ; # 
  fhir:caseSensitive [ fhir:v true] ; # 
  fhir:valueSet [
     fhir:v "http://hl7.org/fhir/ValueSet/appointmentstatus|4.0.1"^^xsd:anyURI ;
     fhir:link <http://hl7.org/fhir/ValueSet/appointmentstatus|4.0.1>
  ] ; # 
  fhir:content [ fhir:v "complete"] ; # 
  fhir:concept ( [
     fhir:code [ fhir:v "proposed" ] ;
     fhir:display [ fhir:v "Proposed" ] ;
     fhir:definition [ fhir:v "None of the participant(s) have finalized their acceptance of the appointment request, and the start/end time may not be set yet." ]
  ] [
     fhir:code [ fhir:v "pending" ] ;
     fhir:display [ fhir:v "Pending" ] ;
     fhir:definition [ fhir:v "Some or all of the participant(s) have not finalized their acceptance of the appointment request." ]
  ] [
     fhir:code [ fhir:v "booked" ] ;
     fhir:display [ fhir:v "Booked" ] ;
     fhir:definition [ fhir:v "All participant(s) have been considered and the appointment is confirmed to go ahead at the date/times specified." ]
  ] [
     fhir:code [ fhir:v "arrived" ] ;
     fhir:display [ fhir:v "Arrived" ] ;
     fhir:definition [ fhir:v "Some of the patients have arrived." ]
  ] [
     fhir:code [ fhir:v "fulfilled" ] ;
     fhir:display [ fhir:v "Fulfilled" ] ;
     fhir:definition [ fhir:v "This appointment has completed and may have resulted in an encounter." ]
  ] [
     fhir:code [ fhir:v "cancelled" ] ;
     fhir:display [ fhir:v "Cancelled" ] ;
     fhir:definition [ fhir:v "The appointment has been cancelled." ]
  ] [
     fhir:code [ fhir:v "noshow" ] ;
     fhir:display [ fhir:v "No Show" ] ;
     fhir:definition [ fhir:v "Some or all of the participant(s) have not/did not appear for the appointment (usually the patient)." ]
  ] [
     fhir:code [ fhir:v "entered-in-error" ] ;
     fhir:display [ fhir:v "Entered in error" ] ;
     fhir:definition [ fhir:v "This instance should not have been part of this patient's medical record." ]
  ] ) . # 

# -------------------------------------------------------------------------------------

