R6 Ballot (2nd Draft)

Publish-box (todo)

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: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 ] ; #  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: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:code [ fhir:v "183807002" ] ;
       fhir:display [ fhir:v "Inpatient stay 9 days" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/f201" ] ;
     fhir:display [ fhir:v "Roel" ]
  ] ; # 
  fhir:episodeOfCare ( [
     fhir:reference [ fhir:v "EpisodeOfCare/example" ]
  ] ) ; # 
  fhir:basedOn ( [
     fhir:reference [ fhir:v "ServiceRequest/myringotomy" ]
  ] ) ; # 
  fhir:partOf [
     fhir:reference [ fhir:v "Encounter/f203" ]
  ] ; # 
  fhir:serviceProvider [
     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:code [ fhir:v "PART" ]
       ] )
     ] ) ;
     fhir:actor [
       fhir:reference [ fhir:v "Practitioner/f201" ]
     ]
  ] ) ; # 
  fhir:appointment ( [
     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:diagnosis ( [
     fhir:condition ( [
       fhir:reference [
         fhir:reference [ fhir:v "Condition/stroke" ]
       ]
     ] ) ;
     fhir:use ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "AD" ] ;
         fhir:display [ fhir:v "Admission diagnosis" ]
       ] )
     ] )
  ] [
     fhir:condition ( [
       fhir:reference [
         fhir:reference [ fhir:v "Condition/f201" ]
       ]
     ] ) ;
     fhir:use ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/diagnosis-role"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "DD" ] ;
         fhir:display [ fhir:v "Discharge diagnosis" ]
       ] )
     ] )
  ] ) ; # 
  fhir:account ( [
     fhir:reference [ fhir:v "Account/example" ]
  ] ) ; # 
  fhir:dietPreference ( [
     fhir:coding ( [
       a sct:276026009 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       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: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:code [ fhir:v "NRM" ] ;
       fhir:display [ fhir:v "normal courtesy" ]
     ] )
  ] ) ; # 
  fhir:admission [
     fhir:origin [
       fhir:reference [ fhir:v "Location/2" ]
     ] ;
     fhir:admitSource [
       fhir:coding ( [
         a sct:309902002 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "309902002" ] ;
         fhir:display [ fhir:v "Clinical Oncology Department" ]
       ] )
     ] ;
     fhir:reAdmission [
       fhir:coding ( [
         fhir:display [ fhir:v "readmitted" ]
       ] )
     ] ;
     fhir:destination [
       fhir:reference [ fhir:v "Location/2" ] #  Fictive 
     ] #  accomodation details are not available 
  ]] . # 

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


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.