Release 5 Preview #1

This page is part of the FHIR Specification (v4.2.0: R5 Preview #1). 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

Encounter-example-f203-20130311.ttl

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

Raw Turtle (+ also see Turtle/RDF Format Specification)

Real-world encounter example

@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/Encounter/f203> a fhir:Encounter;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "f203"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: f203</p><p><b>identifier</b>: Encounter_Roel_20130311 (TEMP)</p><p><b>status</b>: completed</p><h3>StatusHistories</h3><table><tr><td>-</td><td><b>Status</b></td><td><b>Period</b></td></tr><tr><td>*</td><td>in-progress</td><td>2013-03-08 --&gt; (ongoing)</td></tr></table><p><b>class</b>: inpatient encounter (Details: http://terminology.hl7.org/CodeSystem/v3-ActCode code IMP = 'inpatient encounter', stated as 'inpatient encounter')</p><p><b>type</b>: Inpatient stay for nine days <span>(Details : {SNOMED CT code '183807002' = 'Inpatient stay 9 days', given as 'Inpatient stay for nine days'})</span></p><p><b>priority</b>: High priority <span>(Details : {SNOMED CT code '394849002' = 'High priority', given as 'High priority'})</span></p><p><b>subject</b>: <a>Roel</a></p><p><b>episodeOfCare</b>: <a>EpisodeOfCare/example</a></p><p><b>basedOn</b>: <a>ServiceRequest/myringotomy</a></p><h3>Participants</h3><table><tr><td>-</td><td><b>Type</b></td><td><b>Individual</b></td></tr><tr><td>*</td><td>Participation <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-ParticipationType code 'PART' = 'Participation)</span></td><td><a>Practitioner/f201</a></td></tr></table><p><b>appointment</b>: <a>Appointment/example</a></p><p><b>period</b>: 2013-03-11 --&gt; 2013-03-20</p><p><b>reason</b>: </p><blockquote><p><b>diagnosis</b></p><p><b>condition</b>: <a>Condition/stroke</a></p><p><b>use</b>: Admission diagnosis <span>(Details : {http://terminology.hl7.org/CodeSystem/diagnosis-role code 'AD' = 'Admission diagnosis', given as 'Admission diagnosis'})</span></p><p><b>rank</b>: 1</p></blockquote><blockquote><p><b>diagnosis</b></p><p><b>condition</b>: <a>Condition/f201</a></p><p><b>use</b>: Discharge diagnosis <span>(Details : {http://terminology.hl7.org/CodeSystem/diagnosis-role code 'DD' = 'Discharge diagnosis', given as 'Discharge diagnosis'})</span></p></blockquote><p><b>account</b>: <a>Account/example</a></p><h3>Hospitalizations</h3><table><tr><td>-</td><td><b>Origin</b></td><td><b>AdmitSource</b></td><td><b>ReAdmission</b></td><td><b>DietPreference</b></td><td><b>SpecialCourtesy</b></td><td><b>SpecialArrangement</b></td><td><b>Destination</b></td></tr><tr><td>*</td><td><a>Location/2</a></td><td>Clinical Oncology Department <span>(Details : {SNOMED CT code '309902002' = 'Clinical oncology department', given as 'Clinical Oncology Department'})</span></td><td>readmitted <span>(Details : {[not stated] code 'null' = 'null', given as 'readmitted'})</span></td><td>Fluid balance regulation <span>(Details : {SNOMED CT code '276026009' = 'Fluid balance regulation', given as 'Fluid balance regulation'})</span></td><td>normal courtesy <span>(Details : {http://terminology.hl7.org/CodeSystem/v3-EncounterSpecialCourtesy code 'NRM' = 'normal courtesy', given as 'normal courtesy'})</span></td><td>Wheelchair <span>(Details : {http://terminology.hl7.org/CodeSystem/encounter-special-arrangements code 'wheel' = 'Wheelchair', given as 'Wheelchair'})</span></td><td><a>Location/2</a></td></tr></table><p><b>serviceProvider</b>: <a>Organization/2</a></p><p><b>partOf</b>: <a>Encounter/f203</a></p></div>"
  ];
  fhir:Encounter.identifier [
     fhir:index 0;
     fhir:Identifier.use [ fhir:value "temp" ];
     fhir:Identifier.value [ fhir:value "Encounter_Roel_20130311" ]
  ];
  fhir:Encounter.status [ fhir:value "completed"];
  fhir:Encounter.statusHistory [
     fhir:index 0;
     fhir:Encounter.statusHistory.status [ fhir:value "in-progress" ];
     fhir:Encounter.statusHistory.period [
       fhir:Period.start [ fhir:value "2013-03-08"^^xsd:date ]
     ]
  ];
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ];
     fhir:Coding.code [ fhir:value "IMP" ];
     fhir:Coding.display [ fhir:value "inpatient encounter" ]
  ];
  fhir:Encounter.type [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:183807002;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "183807002" ];
       fhir:Coding.display [ fhir:value "Inpatient stay for nine days" ]
     ]
  ];
  fhir:Encounter.priority [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:394849002;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "394849002" ];
       fhir:Coding.display [ fhir:value "High priority" ]
     ]
  ];
  fhir:Encounter.subject [
     fhir:link <http://hl7.org/fhir/Patient/f201>;
     fhir:Reference.reference [ fhir:value "Patient/f201" ];
     fhir:Reference.display [ fhir:value "Roel" ]
  ];
  fhir:Encounter.episodeOfCare [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/EpisodeOfCare/example>;
     fhir:Reference.reference [ fhir:value "EpisodeOfCare/example" ]
  ];
  fhir:Encounter.basedOn [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/ServiceRequest/myringotomy>;
     fhir:Reference.reference [ fhir:value "ServiceRequest/myringotomy" ]
  ];
  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 "PART" ]
       ]
     ];
     fhir:Encounter.participant.individual [
       fhir:link <http://hl7.org/fhir/Practitioner/f201>;
       fhir:Reference.reference [ fhir:value "Practitioner/f201" ]
     ]
  ];
  fhir:Encounter.appointment [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Appointment/example>;
     fhir:Reference.reference [ fhir:value "Appointment/example" ]
  ];
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2013-03-11"^^xsd:date ];
     fhir:Period.end [ fhir:value "2013-03-20"^^xsd:date ]
  ];
  fhir:Encounter.reason [
     fhir:index 0;
     fhir:CodeableReference.concept [
       fhir:CodeableConcept.text [ fhir:value "The patient seems to suffer from bilateral pneumonia and renal insufficiency, most likely due to chemotherapy." ]
     ]
  ];
  fhir:Encounter.diagnosis [
     fhir:index 0;
     fhir:Encounter.diagnosis.condition [
       fhir:link <http://hl7.org/fhir/Condition/stroke>;
       fhir:Reference.reference [ fhir:value "Condition/stroke" ]
     ];
     fhir:Encounter.diagnosis.use [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/diagnosis-role" ];
         fhir:Coding.code [ fhir:value "AD" ];
         fhir:Coding.display [ fhir:value "Admission diagnosis" ]
       ]
     ];
     fhir:Encounter.diagnosis.rank [ fhir:value "1"^^xsd:positiveInteger ]
  ], [
     fhir:index 1;
     fhir:Encounter.diagnosis.condition [
       fhir:link <http://hl7.org/fhir/Condition/f201>;
       fhir:Reference.reference [ fhir:value "Condition/f201" ]
     ];
     fhir:Encounter.diagnosis.use [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/diagnosis-role" ];
         fhir:Coding.code [ fhir:value "DD" ];
         fhir:Coding.display [ fhir:value "Discharge diagnosis" ]
       ]
     ]
  ];
  fhir:Encounter.account [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/Account/example>;
     fhir:Reference.reference [ fhir:value "Account/example" ]
  ];
  fhir:Encounter.hospitalization [
     fhir:Encounter.hospitalization.origin [
       fhir:link <http://hl7.org/fhir/Location/2>;
       fhir:Reference.reference [ fhir:value "Location/2" ]
     ];
     fhir:Encounter.hospitalization.admitSource [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:309902002;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "309902002" ];
         fhir:Coding.display [ fhir:value "Clinical Oncology Department" ]
       ]
     ];
     fhir:Encounter.hospitalization.reAdmission [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.display [ fhir:value "readmitted" ]
       ]
     ];
     fhir:Encounter.hospitalization.dietPreference [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:276026009;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "276026009" ];
         fhir:Coding.display [ fhir:value "Fluid balance regulation" ]
       ]
     ];
     fhir:Encounter.hospitalization.specialCourtesy [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-EncounterSpecialCourtesy" ];
         fhir:Coding.code [ fhir:value "NRM" ];
         fhir:Coding.display [ fhir:value "normal courtesy" ]
       ]
     ];
     fhir:Encounter.hospitalization.specialArrangement [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/encounter-special-arrangements" ];
         fhir:Coding.code [ fhir:value "wheel" ];
         fhir:Coding.display [ fhir:value "Wheelchair" ]
       ]
     ];
     fhir:Encounter.hospitalization.destination [
       fhir:link <http://hl7.org/fhir/Location/2>;
       fhir:Reference.reference [ fhir:value "Location/2" ]
     ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:link <http://hl7.org/fhir/Organization/2>;
     fhir:Reference.reference [ fhir:value "Organization/2" ]
  ];
  fhir:Encounter.partOf [
     fhir:link <http://hl7.org/fhir/Encounter/f203>;
     fhir:Reference.reference [ fhir:value "Encounter/f203" ]
  ] .

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

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

<http://hl7.org/fhir/ServiceRequest/myringotomy> a fhir:ServiceRequest .

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

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

<http://hl7.org/fhir/Condition/stroke> a fhir:Condition .

<http://hl7.org/fhir/Condition/f201> a fhir:Condition .

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

<http://hl7.org/fhir/Location/2> a fhir:Location .

<http://hl7.org/fhir/Organization/2> a fhir:Organization .

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

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