FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Encounter/f203 (Turtle)

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

[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: Encounter</b><a name=\"f203\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Encounter &quot;f203&quot; </p></div><p><b>identifier</b>: id: Encounter_Roel_20130311 (TEMP)</p><p><b>status</b>: completed</p><h3>StatusHistories</h3><table class=\"grid\"><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>: <span title=\" Encounter has been completed \">inpatient encounter <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ActCode.html\">ActCode</a>#IMP)</span></span></p><p><b>priority</b>: High priority <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#394849002)</span></p><p><b>type</b>: Inpatient stay for nine days <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#183807002)</span></p><p><b>subject</b>: <a href=\"patient-example-f201-roel.html\">Patient/f201: Roel</a> &quot;Roel&quot;</p><p><b>episodeOfCare</b>: <a href=\"episodeofcare-example.html\">EpisodeOfCare/example</a></p><p><b>basedOn</b>: <a href=\"servicerequest-example-myringotomy.html\">ServiceRequest/myringotomy</a></p><p><b>partOf</b>: <a href=\"encounter-example-f203-20130311.html\">Encounter/f203</a></p><p><b>serviceProvider</b>: <a href=\"organization-example-insurer.html\">Organization/2</a> &quot;XYZ Insurance&quot;</p><h3>Participants</h3><table class=\"grid\"><tr><td>-</td><td><b>Type</b></td><td><b>Actor</b></td></tr><tr><td>*</td><td>Participation <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#PART)</span></td><td><a href=\"practitioner-example-f201-ab.html\">Practitioner/f201</a> &quot;Dokter Bronsig&quot;</td></tr></table><p><b>appointment</b>: <a href=\"appointment-example.html\">Appointment/example</a></p><p><b>actualPeriod</b>: 2013-03-11 --&gt; 2013-03-20</p><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>The patient seems to suffer from bilateral pneumonia and renal insufficiency, most likely due to chemotherapy. <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td></tr></table><blockquote><p><b>diagnosis</b></p><p><b>condition</b>: <a href=\"condition-example-stroke.html\">Condition/stroke</a></p><p><b>use</b>: Admission diagnosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-diagnosis-role.html\">DiagnosisRole</a>#AD)</span></p><p><b>rank</b>: 1</p></blockquote><blockquote><p><b>diagnosis</b></p><p><b>condition</b>: <a href=\"condition-example-f201-fever.html\">Condition/f201</a></p><p><b>use</b>: Discharge diagnosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-diagnosis-role.html\">DiagnosisRole</a>#DD)</span></p></blockquote><p><b>account</b>: <a href=\"account-example.html\">Account/example</a> &quot;HACC Funded Billing for Peter James Chalmers&quot;</p><h3>Admissions</h3><table class=\"grid\"><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 href=\"location-example-room.html\">Location/2</a> &quot;South Wing Neuro OR 1&quot;</td><td>Clinical Oncology Department <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#309902002)</span></td><td>readmitted <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated])</span></td><td><span title=\" accomodation details are not available \">Fluid balance regulation <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#276026009)</span></span></td><td>normal courtesy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-v3-EncounterSpecialCourtesy.html\">EncounterSpecialCourtesy</a>#NRM)</span></td><td>Wheelchair <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/4.0.0/CodeSystem-encounter-special-arrangements.html\">Special arrangements</a>#wheel)</span></td><td><a href=\"location-example-room.html\">Location/2</a> &quot;South Wing Neuro OR 1&quot;</td></tr></table></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:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       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.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.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.subject [
     fhir:Reference.reference [ fhir:value "Patient/f201" ];
     fhir:Reference.display [ fhir:value "Roel" ]
  ];
  fhir:Encounter.episodeOfCare [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "EpisodeOfCare/example" ]
  ];
  fhir:Encounter.basedOn [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "ServiceRequest/myringotomy" ]
  ];
  fhir:Encounter.partOf [
     fhir:Reference.reference [ fhir:value "Encounter/f203" ]
  ];
  fhir:Encounter.serviceProvider [
     fhir:Reference.reference [ fhir:value "Organization/2" ]
  ];
  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.actor [
       fhir:Reference.reference [ fhir:value "Practitioner/f201" ]
     ]
  ];
  fhir:Encounter.appointment [
     fhir:index 0;
     fhir:Reference.reference [ fhir:value "Appointment/example" ]
  ];
  fhir:Encounter.actualPeriod [
     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: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: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:Reference.reference [ fhir:value "Account/example" ]
  ];
  fhir:Encounter.admission [
     fhir:Encounter.admission.origin [
       fhir:Reference.reference [ fhir:value "Location/2" ]
     ];
     fhir:Encounter.admission.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.admission.reAdmission [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.display [ fhir:value "readmitted" ]
       ]
     ];
     fhir:Encounter.admission.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.admission.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.admission.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.admission.destination [
       fhir:Reference.reference [ fhir:value "Location/2" ]
     ]
  ]] .

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