STU 3 Ballot

This page is part of the FHIR Specification (v1.6.0: STU 3 Ballot 4). 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

Appointment-example.ttl

Raw Turtle, JSON-LD

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 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: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" ]
     ]
  ];
  fhir:Appointment.specialty [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://example.org/specialty" ];
       fhir:Coding.code [ fhir:value "gp" ];
       fhir:Coding.display [ fhir:value "General Practice" ]
     ]
  ];
  fhir:Appointment.appointmentType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://example.org/appointment-type" ];
       fhir:Coding.code [ fhir:value "follow" ];
       fhir:Coding.display [ fhir:value "Followup" ]
     ]
  ];
  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.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://hl7.org/fhir/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" ]
  ] .

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


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.