R4 Draft for Comment

This page is part of the FHIR Specification (v3.2.0: R4 Ballot 1). 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

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

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.indication [
     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.incomingReferral [
     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://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" ]
  ] .

<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> .

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


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.