R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

Example Appointment/example (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: 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 -------------------------------------------------------------------

[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: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 (specialty)" ]
     ] )
  ] ) ; # 
  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: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: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.