Release 4 FHIR CI-Build

This page is part of the Continuous Integration Build of FHIR Specification (v4.0.1: R4 - Mixed Normative and STU ) in it's permanent home (it will always (will be available incorrect/inconsistent at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see times).
See the Directory of published versions . Page versions: R5 R4B R4 R3

Communication-example.ttl

Example Communication/example (Turtle)

Maturity Level : N/A
Responsible Owner: Patient Care Work Group Standards Status : Informative Compartments : Device , Encounter , Group , 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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@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.contentString [ 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/Communication/example> a fhir:Communication ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Patient has very high serum potassium</div>"^^rdf:XMLLiteral ]
  ] ; # 
  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:l <urn:oid:1.3.4.5.6.7>
     ] ;
     fhir:value [ fhir:v "2345678901" ]
  ] ) ; # 
  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:l <http://acme.org/messagetypes>
       ] ;
       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:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationMode>
       ] ;
       fhir:code [ fhir:v "WRITTEN" ] ;
       fhir:display [ fhir:v "written" ]
     ] ) ;
     fhir:text [ fhir:v "written" ]
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://hl7.org/fhir/Encounter/example> ;
     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:l <http://hl7.org/fhir/Practitioner/example> ;
     fhir:reference [ fhir:v "Practitioner/example" ]
  ] ) ; # 
  fhir:sender [
     fhir:l <http://hl7.org/fhir/Device/f001> ;
     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  
  ] ) . # 


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