Example Flag/example-encounter (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Encounter Specific Alert
@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:Flag;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "example-encounter"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Follow Infection Control Level 3 Protocol</div>"
]; #
fhir:Flag.status [ fhir:value "active"]; #
fhir:Flag.category [
fhir:index 0;
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://example.org/local" ];
fhir:Coding.code [ fhir:value "infection" ];
fhir:Coding.display [ fhir:value "Infection Control Level" ]
]
]; #
fhir:Flag.code [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://example.org/local/if1" ];
fhir:Coding.code [ fhir:value "l3" ];
fhir:Coding.display [ fhir:value "Follow Level 3 Protocol" ]
]
]; #
fhir:Flag.subject [
fhir:Reference.reference [ fhir:value "Patient/example" ];
fhir:Reference.display [ fhir:value "Peter Patient" ]
]; #
fhir:Flag.encounter [
fhir:Reference.reference [ fhir:value "Encounter/example" ]
]] . #
# - 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.