This page is part of the FHIR Specification (v5.0.0-draft-final: Final QA Preview for R5 - see ballot notes). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3
Example Communication/example (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
An example of an alert message
@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:Communication ;
fhir:nodeRole fhir:treeRoot ;
fhir:id [ fhir:v "example"] ; #
fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Patient has very high serum potassium</div>"
] ; #
fhir:identifier ( [
fhir:type [
fhir:text [ fhir:v "Paging System" ]
] ;
fhir:system [ fhir:v "urn:oid:1.3.4.5.6.7"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2345678901" ]
] ) ; #
fhir:instantiatesUri ( [ fhir:v "http://example.org/hyperkalemia"^^xsd:anyURI] ) ; #
fhir:partOf ( [
fhir:display [ fhir:v "Serum Potassium Observation" ]
] ) ; #
fhir:status [ fhir:v "completed"] ; #
fhir:category ( [
fhir:coding ( [
fhir:system [ fhir:v "http://acme.org/messagetypes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "Alert" ]
] ) ;
fhir:text [ fhir:v "Alert" ]
] ) ; #
fhir:medium ( [
fhir:coding ( [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "WRITTEN" ] ;
fhir:display [ fhir:v "written" ]
] ) ;
fhir:text [ fhir:v "written" ]
] ) ; #
fhir:subject [
fhir:reference [ fhir:v "Patient/example" ]
] ; #
fhir:encounter [
fhir:reference [ fhir:v "Encounter/example" ]
] ; #
fhir:sent [ fhir:v "2014-12-12T18:01:10-08:00"^^xsd:dateTime] ; #
fhir:received [ fhir:v "2014-12-12T18:01:11-08:00"^^xsd:dateTime] ; #
fhir:recipient ( [
fhir:reference [ fhir:v "Practitioner/example" ]
] ) ; #
fhir:sender [
fhir:reference [ fhir:v "Device/f001" ]
] ; #
fhir:payload ( [
fhir:content [
a fhir:CodeableConcept ;
fhir:text [ fhir:v "Patient 1 has a very high serum potassium value (7.2 mmol/L on 2014-Dec-12 at 5:55 pm)" ]
]
] [
fhir:content [
a fhir:Reference ;
fhir:display [ fhir:v "Serum Potassium Observation" ]
] # Reference to the lab result
] )] . #
# -------------------------------------------------------------------------------------
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.