Example
AppointmentResponse/exampleresp
(Turtle)
Raw
Turtle
(+
also
see
Turtle/RDF
Format
Specification
)
Response
to
renegotiate
an
appointmet
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 xsd: <http://www.w3.org/2001/XMLSchema#> .
# - resource -------------------------------------------------------------------
<http://hl7.org/fhir/AppointmentResponse/exampleresp> a fhir:AppointmentResponse;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "exampleresp"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Accept Brian MRI results discussion</div>"
];
fhir:AppointmentResponse.identifier [
fhir:index 0;
fhir:Identifier.system [ fhir:value "http://example.org/sampleappointmentresponse-identifier" ];
fhir:Identifier.value [ fhir:value "response123" ]
];
fhir:AppointmentResponse.appointment [
fhir:link <http://hl7.org/fhir/Appointment/examplereq>;
fhir:Reference.reference [ fhir:value "Appointment/examplereq" ];
fhir:Reference.display [ fhir:value "Brian MRI results discussion" ]
];
fhir:AppointmentResponse.start [ fhir:value "2013-12-25T13:15:00Z"^^xsd:dateTime];
fhir:AppointmentResponse.end [ fhir:value "2013-12-25T13:30:00Z"^^xsd:dateTime];
fhir:AppointmentResponse.participantType [
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:AppointmentResponse.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:AppointmentResponse.participantStatus [ fhir:value "tentative"];
fhir:AppointmentResponse.comment [ fhir:value "can't we try for this time, can't do mornings"] .
<http://hl7.org/fhir/Appointment/examplereq> a fhir:Appointment .
<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .
# - ontology header ------------------------------------------------------------
<http://hl7.org/fhir/AppointmentResponse/exampleresp.ttl> a owl:Ontology;
owl:imports fhir:fhir.ttl;
owl:versionIRI <http://build.fhir.org/AppointmentResponse/exampleresp.ttl> .
[a fhir:AppointmentResponse ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "exampleresp"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Accept Brian MRI results discussion</div>"
] ; #
fhir:identifier ( [
fhir:system [ fhir:v "http://example.org/sampleappointmentresponse-identifier"^^xsd:anyURI ] ;
fhir:value [ fhir:v "response123" ]
] ) ; #
fhir:appointment [
fhir:reference [ fhir:v "Appointment/examplereq" ] ;
fhir:display [ fhir:v "Brian MRI results discussion" ]
] ; #
fhir:start [ fhir:v "2013-12-25T13:15:00Z"^^xsd:dateTime] ; #
fhir:end [ fhir:v "2013-12-25T13:30:00Z"^^xsd:dateTime] ; #
fhir:participantType ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ATND" ]
] )
] ) ; #
fhir:actor [
fhir:reference [ fhir:v "Practitioner/example" ] ;
fhir:display [ fhir:v "Dr Adam Careful" ]
] ; #
fhir:participantStatus [ fhir:v "tentative"] ; #
fhir:comment [ fhir:v "can't we try for this time, can't do mornings"]] . #
# -------------------------------------------------------------------------------------
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.