Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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

Communication-example.ttl

Patient Care Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

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 -------------------------------------------------------------------

<http://hl7.org/fhir/Communication/example> a fhir:Communication;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "example"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Patient has very high serum potassium</div>"
  ];
  fhir:Communication.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.text [ fhir:value "Paging System" ]
     ];
     fhir:Identifier.system [ fhir:value "urn:oid:1.3.4.5.6.7" ];
     fhir:Identifier.value [ fhir:value "2345678901" ]
  ];
  fhir:Communication.instantiatesUri [
     fhir:value "http://example.org/hyperkalemia";
     fhir:index 0
  ];
  fhir:Communication.partOf [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Serum Potassium Observation" ]
  ];
  fhir:Communication.status [ fhir:value "completed"];
  fhir:Communication.category [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://acme.org/messagetypes" ];
       fhir:Coding.code [ fhir:value "Alert" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Alert" ]
  ];
  fhir:Communication.medium [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationMode" ];
       fhir:Coding.code [ fhir:value "WRITTEN" ];
       fhir:Coding.display [ fhir:value "written" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "written" ]
  ];
  fhir:Communication.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:Communication.encounter [
     fhir:link <http://hl7.org/fhir/Encounter/example>;
     fhir:Reference.reference [ fhir:value "Encounter/example" ]
  ];
  fhir:Communication.sent [ fhir:value "2014-12-12T18:01:10-08:00"^^xsd:dateTime];
  fhir:Communication.received [ fhir:value "2014-12-12T18:01:11-08:00"^^xsd:dateTime];
  fhir:Communication.recipient [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ];
  fhir:Communication.sender [
     fhir:link <http://hl7.org/fhir/Device/f001>;
     fhir:Reference.reference [ fhir:value "Device/f001" ]
  ];
  fhir:Communication.payload [
     fhir:index 0;
     fhir:Communication.payload.contentCodeableConcept [
       fhir:CodeableConcept.text [ fhir:value "Patient 1 has a very high serum potassium value (7.2 mmol/L on 2014-Dec-12 at 5:55 pm)" ]
     ]
  ], [
     fhir:index 1;
     fhir:Communication.payload.contentReference [
       fhir:Reference.display [ fhir:value "Serum Potassium Observation" ]
     ]
  ] .

<http://hl7.org/fhir/Patient/example> a fhir:Patient .

<http://hl7.org/fhir/Encounter/example> a fhir:Encounter .

<http://hl7.org/fhir/Practitioner/example> a fhir:Practitioner .

<http://hl7.org/fhir/Device/f001> a fhir:Device .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/Communication/example.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/Communication/example.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.