Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version in it's permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

Example Encounter/colonoscopy (Turtle)

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

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

Colonoscopy with an external service provider

@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:id [ fhir:v "colonoscopy"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Encounter</b><a name=\"colonoscopy\"> </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;colonoscopy&quot; </p></div><p><b>status</b>: completed</p><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/5.1.0/CodeSystem-v3-ActCode.html\">ActCode</a>#IMP)</span></span></p><p><b>type</b>: Colonoscopy <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#73761001 &quot;Colonoscopy (procedure)&quot;)</span></p><p><b>subject</b>: <a href=\"patient-glossy-example.html\">Patient/glossy: Henry Levin the 7th</a> &quot;Henry LEVIN&quot;</p><p><b>serviceProvider</b>: <a href=\"organization-example-gastro.html\">Organization/1: Gastroenterology @ Acme Hospital</a> &quot;Gastroenterology&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/5.1.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#PART)</span></td><td><a href=\"practitioner-example.html\">Practitioner/example: Dr Adam Careful</a> &quot;Adam CAREFUL&quot;</td></tr></table><p><b>actualPeriod</b>: 2013-03-11 --&gt; 2013-03-20</p><blockquote><p><b>reason</b></p><h3>Values</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Routine investigation <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td></tr></table></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:class ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ; #   Inpatient encounter for colonoscopy   
       fhir:code [ fhir:v "IMP" ] ;
       fhir:display [ fhir:v "inpatient encounter" ]
     ] )
  ] ) ; #   Encounter has been completed  
  fhir:type ( [
     fhir:coding ( [
       a sct:73761001 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "73761001" ] ;
       fhir:display [ fhir:v "Colonoscopy (procedure)" ]
     ] ) ;
     fhir:text [ fhir:v "Colonoscopy" ]
  ] ) ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/glossy" ] ;
     fhir:display [ fhir:v "Henry Levin the 7th" ]
  ] ; #    
#            Note that this patient record is associated with Organization/2,
#            however the service provider is Organization/1 who contracts 
#            gastroenterology services (in this case performed by Dr Adam).
#          
  fhir:serviceProvider [
     fhir:reference [ fhir:v "Organization/1" ] ;
     fhir:display [ fhir:v "Gastroenterology @ Acme Hospital" ]
  ] ; # 
  fhir:participant ( [
     fhir:type ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "PART" ]
       ] )
     ] ) ;
     fhir:actor [
       fhir:reference [ fhir:v "Practitioner/example" ] ;
       fhir:display [ fhir:v "Dr Adam Careful" ]
     ]
  ] ) ; # 
  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 "Routine investigation" ]
       ]
     ] )
  ] )] . # 

# -------------------------------------------------------------------------------------


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.