R6 Ballot (2nd Draft)

Publish-box (todo)

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