Example Appointment/examplereq (Turtle)
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:Resource.id [ fhir:value "examplereq"]; #
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.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://example.org/sampleappointment-identifier" ];
fhir:Identifier.value [ fhir:value "123" ]
]; #
fhir:Appointment.status [ fhir:value "proposed"]; #
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.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 "WALKIN" ];
fhir:Coding.display [ fhir:value "A previously unscheduled walk-in visit" ]
]
]; #
fhir:Appointment.reason [
fhir:index 0;
fhir:CodeableReference.concept [
fhir:CodeableConcept.coding [
fhir:index 0;
a sct:413095006;
fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
fhir:Coding.code [ fhir:value "413095006" ]
];
fhir:CodeableConcept.text [ fhir:value "Clinical Review" ]
]
]; #
fhir:Appointment.description [ fhir:value "Discussion on the results of your recent MRI"]; # <priority value="5" />
fhir:Appointment.minutesDuration [ fhir:value "15"^^xsd:positiveInteger]; #
fhir:Appointment.slot [
fhir:index 0;
fhir:Reference.reference [ fhir:value "Slot/example" ]
]; #
fhir:Appointment.created [ fhir:value "2015-12-02"^^xsd:date]; #
fhir:Appointment.note [
fhir:index 0;
fhir:Annotation.text [ fhir:value "Further expand on the results of the MRI and determine the next actions that may be appropriate." ]
]; #
fhir:Appointment.subject [
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
]; #
fhir:Appointment.participant [
fhir:index 0;
fhir:Appointment.participant.actor [
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter James Chalmers" ]
];
fhir:Appointment.participant.required [ fhir:value "true"^^xsd:boolean ];
fhir:Appointment.participant.status [ fhir:value "needs-action" ]
], [
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.required [ fhir:value "true"^^xsd:boolean ];
fhir:Appointment.participant.status [ fhir:value "needs-action" ]
], [
fhir:index 2;
fhir:Appointment.participant.actor [
fhir:Reference.reference [ fhir:value "Location/1" ];
fhir:Reference.display [ fhir:value "South Wing, second floor" ]
];
fhir:Appointment.participant.required [ fhir:value "true"^^xsd:boolean ]; # This resource auto accepts, so doesn't need negotiation
fhir:Appointment.participant.status [ fhir:value "accepted" ]
]; #
fhir:Appointment.requestedPeriod [
fhir:index 0;
fhir:Period.start [ fhir:value "2016-06-02"^^xsd:date ];
fhir:Period.end [ fhir:value "2016-06-09"^^xsd:date ]
]] . #
# - ontology header ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.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.