R5 Final QA

This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Example Appointment/examplereq (Turtle)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Patient, Practitioner, RelatedPerson

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

Appointment request

@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 "examplereq"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Brian MRI results discussion</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://example.org/sampleappointment-identifier"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "123" ]
  ] ) ; # 
  fhir:status [ fhir:v "proposed"] ; # 
  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: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 "WALKIN" ] ;
       fhir:display [ fhir:v "A previously unscheduled walk-in visit" ]
     ] )
  ] ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:coding ( [
         a sct:413095006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "413095006" ]
       ] ) ;
       fhir:text [ fhir:v "Clinical Review" ]
     ]
  ] ) ; # 
  fhir:description [ fhir:v "Discussion on the results of your recent MRI"] ; #   <priority value="5" />  
  fhir:minutesDuration [ fhir:v "15"^^xsd:positiveInteger] ; # 
  fhir:requestedPeriod ( [
     fhir:start [ fhir:v "2016-06-02"^^xsd:date ] ;
     fhir:end [ fhir:v "2016-06-09"^^xsd:date ]
  ] ) ; # 
  fhir:slot ( [
     fhir:reference [ fhir:v "Slot/example" ]
  ] ) ; # 
  fhir:created [ fhir:v "2015-12-02"^^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: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 "needs-action" ]
  ] [
     fhir:type ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "ATND" ]
       ] )
     ] ) ;
     fhir:required [ fhir:v "true"^^xsd:boolean ] ;
     fhir:status [ fhir:v "needs-action" ]
  ] [
     fhir:actor [
       fhir:reference [ fhir:v "Location/1" ] ;
       fhir:display [ fhir:v "South Wing, second floor" ]
     ] ;
     fhir:required [ fhir:v "true"^^xsd:boolean ] ; #   This resource auto accepts, so doesn't need negotiation  
     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.