This page is part of the FHIR Specification (v1.8.0: STU 3 Draft). 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
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/f002> a fhir:Encounter; fhir:nodeRole fhir:treeRoot; fhir:Resource.id [ fhir:value "f002"]; 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>: f002</p><p><b>identifier</b>: v3251 (OFFICIAL)</p><p><b>status</b>: finished</p><p><b>class</b>: ambulatory (Details: http://hl7.org/fhir/v3/ActCode code AMB = 'ambulatory', stated as 'ambulatory')</p><p><b>type</b>: Patient-initiated encounter <span>(Details : {SNOMED CT code '270427003' = 'Patient-initiated encounter (procedure)', given as 'Patient-initiated encounter'})</span></p><p><b>priority</b>: Urgent <span>(Details : {SNOMED CT code '103391001' = 'Urgency (qualifier value)', given as 'Urgent'})</span></p><p><b>patient</b>: <a>P. van de Heuvel</a></p><h3>Participants</h3><table><tr><td>-</td><td><b>Individual</b></td></tr><tr><td>*</td><td><a>M.I.M Versteegh</a></td></tr></table><p><b>length</b>: 140 min<span> (Details: UCUM code min = 'min')</span></p><p><b>reason</b>: Partial lobectomy of lung <span>(Details : {SNOMED CT code '34068001' = 'Heart valve replacement (procedure)', given as 'Partial lobectomy of lung'})</span></p><h3>Hospitalizations</h3><table><tr><td>-</td><td><b>PreAdmissionIdentifier</b></td><td><b>AdmitSource</b></td><td><b>DischargeDisposition</b></td></tr><tr><td>*</td><td>98682 (OFFICIAL)</td><td>Referral by radiologist <span>(Details : {SNOMED CT code '305997006' = 'Referral by radiologist (procedure)', given as 'Referral by radiologist'})</span></td><td>Discharge to home <span>(Details : {SNOMED CT code '306689006' = 'Discharge to home (procedure)', given as 'Discharge to home'})</span></td></tr></table><p><b>serviceProvider</b>: <a>BMC</a></p></div>" ]; fhir:Encounter.identifier [ fhir:index 0; fhir:Identifier.use [ fhir:value "official" ]; fhir:Identifier.system [ fhir:value "http://www.bmc.nl/zorgportal/identifiers/encounters" ]; fhir:Identifier.value [ fhir:value "v3251" ] ]; fhir:Encounter.status [ fhir:value "finished"]; fhir:Encounter.class [ fhir:Coding.system [ fhir:value "http://hl7.org/fhir/v3/ActCode" ]; fhir:Coding.code [ fhir:value "AMB" ]; fhir:Coding.display [ fhir:value "ambulatory" ] ]; fhir:Encounter.type [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:concept sct:270427003; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "270427003" ]; fhir:Coding.display [ fhir:value "Patient-initiated encounter" ] ] ]; fhir:Encounter.priority [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:concept sct:103391001; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "103391001" ]; fhir:Coding.display [ fhir:value "Urgent" ] ] ]; fhir:Encounter.patient [ fhir:link <http://hl7.org/fhir/Patient/f001>; fhir:Reference.reference [ fhir:value "Patient/f001" ]; fhir:Reference.display [ fhir:value "P. van de Heuvel" ] ]; fhir:Encounter.participant [ fhir:index 0; fhir:Encounter.participant.individual [ fhir:link <http://hl7.org/fhir/Practitioner/f003>; fhir:Reference.reference [ fhir:value "Practitioner/f003" ]; fhir:Reference.display [ fhir:value "M.I.M Versteegh" ] ] ]; fhir:Encounter.length [ fhir:Quantity.value [ fhir:value "140"^^xsd:decimal ]; fhir:Quantity.unit [ fhir:value "min" ]; fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ]; fhir:Quantity.code [ fhir:value "min" ] ]; fhir:Encounter.reason [ fhir:index 0; fhir:CodeableConcept.coding [ fhir:index 0; fhir:concept sct:34068001; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "34068001" ]; fhir:Coding.display [ fhir:value "Partial lobectomy of lung" ] ] ]; fhir:Encounter.hospitalization [ fhir:Encounter.hospitalization.preAdmissionIdentifier [ fhir:Identifier.use [ fhir:value "official" ]; fhir:Identifier.system [ fhir:value "http://www.bmc.nl/zorgportal/identifiers/pre-admissions" ]; fhir:Identifier.value [ fhir:value "98682" ] ]; fhir:Encounter.hospitalization.admitSource [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:concept sct:305997006; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "305997006" ]; fhir:Coding.display [ fhir:value "Referral by radiologist" ] ] ]; fhir:Encounter.hospitalization.dischargeDisposition [ fhir:CodeableConcept.coding [ fhir:index 0; fhir:concept sct:306689006; fhir:Coding.system [ fhir:value "http://snomed.info/sct" ]; fhir:Coding.code [ fhir:value "306689006" ]; fhir:Coding.display [ fhir:value "Discharge to home" ] ] ] ]; fhir:Encounter.serviceProvider [ fhir:link <http://hl7.org/fhir/Organization/f001>; fhir:Reference.reference [ fhir:value "Organization/f001" ]; fhir:Reference.display [ fhir:value "BMC" ] ] . <http://hl7.org/fhir/Patient/f001> a fhir:Patient . <http://hl7.org/fhir/Practitioner/f003> a fhir:Practitioner . <http://hl7.org/fhir/Organization/f001> a fhir:Organization . # -------------------------------------------------------------------------------------
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.