Release 4B 5

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0: R5 - STU ). The This is the current published version which supercedes in it's permanent home (it will always be available at this version is 5.0.0 . URL). For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R5 R4B R4 R3

Appointment-example.ttl

Example Appointment/example (Turtle)

Patient Administration Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner , RelatedPerson

Raw Turtle (+ also see Turtle/RDF Format Specification )

General Person Example

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Appointment/example> a fhir:Appointment;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Brian MRI results discussion</div>"
  ];
  fhir:Appointment.status [ fhir:value "booked"];
  fhir:Appointment.serviceCategory [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://example.org/service-category" ];
       fhir:Coding.code [ fhir:value "gp" ];
       fhir:Coding.display [ fhir:value "General Practice" ]
     ]
  ];
  fhir:Appointment.serviceType [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "52" ];
       fhir:Coding.display [ fhir:value "General Discussion" ]

[a fhir:Appointment ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Brian MRI results discussion</div>"
  ] ; # 
  fhir:status [ fhir:v "booked"] ; # 
  fhir:class ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "AMB" ] ;
       fhir:display [ fhir:v "ambulatory" ]
     ] )
  ] ) ; # 
  fhir:serviceCategory ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://example.org/service-category"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "gp" ] ;
       fhir:display [ fhir:v "General Practice" ]
     ] )
  ] ) ; # 
  fhir:serviceType ( [
     fhir:concept [
       fhir:coding ( [
         fhir:code [ fhir:v "52" ] ;
         fhir:display [ fhir:v "General Discussion" ]
       ] )

     ]
  ];
  fhir:Appointment.specialty [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:394814009;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "394814009" ];
       fhir:Coding.display [ fhir:value "General practice" ]

  ] ) ; # 
  fhir:specialty ( [
     fhir:coding ( [
       a sct:394814009 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "394814009" ] ;
       fhir:display [ fhir:v "General practice" ]
     ] )
  ] ) ; # 
  fhir:appointmentType [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0276"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "FOLLOWUP" ] ;
       fhir:display [ fhir:v "A follow up visit from a previous appointment" ]
     ] )
  ] ; # 
  fhir:reason ( [
     fhir:reference [
       fhir:reference [ fhir:v "Condition/example" ] ;
       fhir:display [ fhir:v "Severe burn of left ear" ]

     ]
  ];
  fhir:Appointment.appointmentType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0276" ];
       fhir:Coding.code [ fhir:value "FOLLOWUP" ];
       fhir:Coding.display [ fhir:value "A follow up visit from a previous appointment" ]

  ] ) ; # 
  fhir:description [ fhir:v "Discussion on the results of your recent MRI"] ; #   <priority value="5" />  
  fhir:start [ fhir:v "2013-12-10T09:00:00Z"^^xsd:dateTime] ; # 
  fhir:end [ fhir:v "2013-12-10T11:00:00Z"^^xsd:dateTime] ; # 
  fhir:created [ fhir:v "2013-10-10"^^xsd:date] ; # 
  fhir:note ( [
     fhir:text [ fhir:v "Further expand on the results of the MRI and determine the next actions that may be appropriate." ]
  ] ) ; # 
  fhir:patientInstruction ( [
     fhir:concept [
       fhir:text [ fhir:v "Please avoid excessive travel (specifically flying) before this appointment" ]

     ]
  ];
  fhir:Appointment.reasonReference [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Condition/example>;
     fhir:Reference.reference [ fhir:value "Condition/example" ];
     fhir:Reference.display [ fhir:value "Severe burn of left ear" ]
  ];
  fhir:Appointment.priority [ fhir:value "5"^^xsd:nonNegativeInteger];
  fhir:Appointment.description [ fhir:value "Discussion on the results of your recent MRI"];
  fhir:Appointment.start [ fhir:value "2013-12-10T09:00:00Z"^^xsd:dateTime];
  fhir:Appointment.end [ fhir:value "2013-12-10T11:00:00Z"^^xsd:dateTime];
  fhir:Appointment.created [ fhir:value "2013-10-10"^^xsd:date];
  fhir:Appointment.comment [ fhir:value "Further expand on the results of the MRI and determine the next actions that may be appropriate."];
  fhir:Appointment.basedOn [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/ServiceRequest/myringotomy>;
     fhir:Reference.reference [ fhir:value "ServiceRequest/myringotomy" ]
  ];
  fhir:Appointment.participant [
     fhir:index 0;
     fhir:Appointment.participant.actor [
       fhir:link <http://hl7.org/fhir/Patient/example>;
       fhir:Reference.reference [ fhir:value "Patient/example" ];
       fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
     ];
     fhir:Appointment.participant.required [ fhir:value "required" ];
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ], [
     fhir:index 1;
     fhir:Appointment.participant.type [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ];
         fhir:Coding.code [ fhir:value "ATND" ]
       ]
     ];
     fhir:Appointment.participant.actor [
       fhir:link <http://hl7.org/fhir/Practitioner/example>;
       fhir:Reference.reference [ fhir:value "Practitioner/example" ];
       fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
     ];
     fhir:Appointment.participant.required [ fhir:value "required" ];
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ], [
     fhir:index 2;
     fhir:Appointment.participant.actor [
       fhir:link <http://hl7.org/fhir/Location/1>;
       fhir:Reference.reference [ fhir:value "Location/1" ];
       fhir:Reference.display [ fhir:value "South Wing, second floor" ]
     ];
     fhir:Appointment.participant.required [ fhir:value "required" ];
     fhir:Appointment.participant.status [ fhir:value "accepted" ]
  ] .

<http://hl7.org/fhir/Condition/example> a fhir:Condition .

<http://hl7.org/fhir/ServiceRequest/myringotomy> a fhir:ServiceRequest .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

<http://hl7.org/fhir/Location/1> a fhir:Location .

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

<http://hl7.org/fhir/Appointment/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Appointment/example.ttl> .

  ] ) ; # 
  fhir:basedOn ( [
     fhir:reference [ fhir:v "ServiceRequest/myringotomy" ]
  ] ) ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ] ;
     fhir:display [ fhir:v "Peter James Chalmers" ]
  ] ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:reference [ fhir:v "Patient/example" ] ;
       fhir:display [ fhir:v "Peter James Chalmers" ]
     ] ;
     fhir:required [ fhir:v "true"^^xsd:boolean ] ;
     fhir:status [ fhir:v "accepted" ]
  ] [
     fhir:type ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "ATND" ]
       ] )
     ] ) ;
     fhir:actor [
       fhir:reference [ fhir:v "Practitioner/example" ] ;
       fhir:display [ fhir:v "Dr Adam Careful" ]
     ] ;
     fhir:required [ fhir:v "true"^^xsd:boolean ] ;
     fhir:status [ fhir:v "accepted" ]
  ] [
     fhir:actor [
       fhir:reference [ fhir:v "Location/1" ] ;
       fhir:display [ fhir:v "South Wing, second floor" ]
     ] ;
     fhir:required [ fhir:v "true"^^xsd:boolean ] ;
     fhir:status [ fhir:v "accepted" ]
  ] )] . # 


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


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.