Release 4 R6 Ballot (1st Full Ballot)

This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU v6.0.0-ballot4: Release 6 Ballot (1st Full Ballot) (see Ballot Notes ) in it's permanent home (it will always be available at this URL). ). 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 for published versions

Encounter-example-f203-20130311.ttl

Example Encounter/f203 (Turtle)

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

@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>: finished</p><h3>StatusHistories</h3><table><tr><td>-</td><td><b>Status</b></td><td><b>Period</b></td></tr><tr><td>*</td><td>arrived</td><td>08/03/2013 --&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>: 11/03/2013 --&gt; 20/03/2013</p><p><b>reasonCode</b>: The patient seems to suffer from bilateral pneumonia and renal insufficiency, most likely due to chemotherapy. <span>(Details )</span></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 "finished"];
  fhir:Encounter.statusHistory [
     fhir:index 0;
     fhir:Encounter.statusHistory.status [ fhir:value "arrived" ];
     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.reasonCode [
     fhir:index 0;
     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" ]
       ]

<http://hl7.org/fhir/Encounter/f203> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "f203"] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "temp" ] ;
     fhir:value [ fhir:v "Encounter_Roel_20130311" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:class ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
       ] ; #  Inpatient encounter for straphylococcus infection 
       fhir:code [ fhir:v "IMP" ] ;
       fhir:display [ fhir:v "inpatient encounter" ]
     ] )
  ] ) ; #  Encounter has been completed 
  fhir:priority [
     fhir:coding ( [
       a sct:394849002 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "394849002" ] ;
       fhir:display [ fhir:v "High priority" ]
     ] ) #  High priority 
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       a sct:183807002 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "183807002" ] ;
       fhir:display [ fhir:v "Inpatient stay 9 days" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/f201> ;
     fhir:reference [ fhir:v "Patient/f201" ] ;
     fhir:display [ fhir:v "Roel" ]
  ] ; # 
  fhir:episodeOfCare ( [
     fhir:l <http://hl7.org/fhir/EpisodeOfCare/example> ;
     fhir:reference [ fhir:v "EpisodeOfCare/example" ]
  ] ) ; # 
  fhir:basedOn ( [
     fhir:l <http://hl7.org/fhir/ServiceRequest/myringotomy> ;
     fhir:reference [ fhir:v "ServiceRequest/myringotomy" ]
  ] ) ; # 
  fhir:partOf [
     fhir:l <http://hl7.org/fhir/Encounter/f203> ;
     fhir:reference [ fhir:v "Encounter/f203" ]
  ] ; # 
  fhir:serviceProvider [
     fhir:l <http://hl7.org/fhir/Organization/2> ;
     fhir:reference [ fhir:v "Organization/2" ]
  ] ; # 
  fhir:participant ( [
     fhir:type ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
         ] ;
         fhir:code [ fhir:v "PART" ]
       ] )
     ] ) ;
     fhir:actor [
       fhir:l <http://hl7.org/fhir/Practitioner/f201> ;
       fhir:reference [ fhir:v "Practitioner/f201" ]

     ]
  ];
  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:appointment ( [
     fhir:l <http://hl7.org/fhir/Appointment/example> ;
     fhir:reference [ fhir:v "Appointment/example" ]
  ] ) ; # 
  fhir:actualPeriod [
     fhir:start [ fhir:v "2013-03-11"^^xsd:date ] ;
     fhir:end [ fhir:v "2013-03-20"^^xsd:date ]
  ] ; # 
  fhir:reason ( [
     fhir:value ( [
       fhir:concept [
         fhir:text [ fhir:v "The patient seems to suffer from bilateral pneumonia and renal insufficiency, most likely due to chemotherapy." ]

       ]
     ];
     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:diagnosis ( [
     fhir:condition ( [
       fhir:reference [
         fhir:l <http://hl7.org/fhir/Condition/stroke> ;
         fhir:reference [ fhir:v "Condition/stroke" ]

       ]
     ];
     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:use ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/diagnosis-role>
         ] ;
         fhir:code [ fhir:v "AD" ] ;
         fhir:display [ fhir:v "Admission diagnosis" ]
       ] )
     ] )
  ] [
     fhir:condition ( [
       fhir:reference [
         fhir:l <http://hl7.org/fhir/Condition/f201> ;
         fhir:reference [ fhir:v "Condition/f201" ]

       ]
     ];
     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" ]
  ] .

     ] ) ;
     fhir:use ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/diagnosis-role>
         ] ;
         fhir:code [ fhir:v "DD" ] ;
         fhir:display [ fhir:v "Discharge diagnosis" ]
       ] )
     ] )
  ] ) ; # 
  fhir:account ( [
     fhir:l <http://hl7.org/fhir/Account/example> ;
     fhir:reference [ fhir:v "Account/example" ]
  ] ) ; # 
  fhir:dietPreference ( [
     fhir:coding ( [
       a sct:276026009 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "276026009" ] ;
       fhir:display [ fhir:v "Fluid balance regulation" ]
     ] )
  ] ) ; #  No indication, because no referral took place 
  fhir:specialArrangement ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/encounter-special-arrangements"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/encounter-special-arrangements>
       ] ;
       fhir:code [ fhir:v "wheel" ] ;
       fhir:display [ fhir:v "Wheelchair" ]
     ] )
  ] ) ; # 
  fhir:specialCourtesy ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/v3-EncounterSpecialCourtesy"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/v3-EncounterSpecialCourtesy>
       ] ;
       fhir:code [ fhir:v "NRM" ] ;
       fhir:display [ fhir:v "normal courtesy" ]
     ] )
  ] ) ; # 
  fhir:admission [
     fhir:origin [
       fhir:l <http://hl7.org/fhir/Location/2> ;
       fhir:reference [ fhir:v "Location/2" ]
     ] ;
     fhir:admitSource [
       fhir:coding ( [
         a sct:309902002 ;
         fhir:system [
           fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
           fhir:l <http://snomed.info/sct>
         ] ;
         fhir:code [ fhir:v "309902002" ] ;
         fhir:display [ fhir:v "Clinical Oncology Department" ]
       ] )
     ] ;
     fhir:reAdmission [
       fhir:coding ( [
         fhir:display [ fhir:v "readmitted" ]
       ] )
     ] ;
     fhir:destination [
       fhir:l <http://hl7.org/fhir/Location/2> ;
       fhir:reference [ fhir:v "Location/2" ] #  Fictive 
     ] #  accomodation details are not available 
  ] . # 


<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/Organization/2> a fhir:Organization .


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