Release 5 Preview #3

Appointment-example.ttl

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

<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" ]
     ]
  ];
  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: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:Appointment.reason [
     fhir:index 0;
     fhir:CodeableReference.reference [
       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> .

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


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.