Example Encounter/home (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Encounter example - virtual encounter
@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 -------------------------------------------------------------------
[a fhir:Encounter;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "home"];
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Encounter with patient @example who is at home</div>"
];
fhir:DomainResource.contained [
a fhir:Location;
fhir:index 0;
fhir:Resource.id [ fhir:value "home" ];
fhir:Location.description [ fhir:value "Client's home" ];
fhir:Location.mode [ fhir:value "kind" ]
];
fhir:Encounter.status [ fhir:value "completed"];
fhir:Encounter.class [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
fhir:Coding.code [ fhir:value "HH" ];
fhir:Coding.display [ fhir:value "home health" ]
]
];
fhir:Encounter.subject [
fhir:Reference.reference [ fhir:value "Patient/example" ]
];
fhir:Encounter.participant [
fhir:index 0;
fhir:Encounter.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 "PPRF" ]
]
];
fhir:Encounter.participant.period [
fhir:Period.start [ fhir:value "2015-01-17T16:00:00+10:00"^^xsd:dateTime ];
fhir:Period.end [ fhir:value "2015-01-17T16:30:00+10:00"^^xsd:dateTime ]
];
fhir:Encounter.participant.actor [
fhir:Reference.reference [ fhir:value "Practitioner/example" ];
fhir:Reference.display [ fhir:value "Dr Adam Careful" ]
]
], [
fhir:index 1;
fhir:Encounter.participant.actor [
fhir:Reference.reference [ fhir:value "Patient/example" ]
]
];
fhir:Encounter.actualPeriod [
fhir:Period.start [ fhir:value "2015-01-17T16:00:00+10:00"^^xsd:dateTime ];
fhir:Period.end [ fhir:value "2015-01-17T16:30:00+10:00"^^xsd:dateTime ]
];
fhir:Encounter.location [
fhir:index 0;
fhir:Encounter.location.location [
fhir:Reference.reference [ fhir:value "#home" ];
fhir:Reference.display [ fhir:value "Client's home" ]
];
fhir:Encounter.location.status [ fhir:value "completed" ];
fhir:Encounter.location.period [
fhir:Period.start [ fhir:value "2015-01-17T16:00:00+10:00"^^xsd:dateTime ];
fhir:Period.end [ fhir:value "2015-01-17T16:30:00+10:00"^^xsd:dateTime ]
]
]] .
# - 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.