R6 Ballot (2nd Draft)

Publish-box (todo)

Example Encounter/f001 (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 "f001"] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:system [ fhir:v "http://www.amc.nl/zorgportal/identifiers/visits"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "v1451" ]
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:class ( [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "AMB" ] ;
       fhir:display [ fhir:v "ambulatory" ] #   outpatient  
     ] )
  ] ) ; # 
  fhir:priority [
     fhir:coding ( [
       a sct:310361003 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "310361003" ] ;
       fhir:display [ fhir:v "Non-urgent cardiological admission" ]
     ] )
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       a sct:270427003 ;
       fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "270427003" ] ;
       fhir:display [ fhir:v "Patient-initiated encounter" ]
     ] )
  ] ) ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/f001" ] ;
     fhir:display [ fhir:v "P. van de Heuvel" ]
  ] ; # 
  fhir:serviceProvider [
     fhir:reference [ fhir:v "Organization/f001" ] ;
     fhir:display [ fhir:v "Burgers University Medical Center" ]
  ] ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:reference [ fhir:v "Practitioner/f002" ] ;
       fhir:display [ fhir:v "P. Voigt" ]
     ]
  ] ) ; # 
  fhir:length [
     fhir:value [ fhir:v "140"^^xsd:decimal ] ;
     fhir:unit [ fhir:v "min" ] ;
     fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
     fhir:code [ fhir:v "min" ]
  ] ; # 
  fhir:reason ( [
     fhir:value ( [
       fhir:concept [
         fhir:coding ( [
           a sct:34068001 ;
           fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
           fhir:code [ fhir:v "34068001" ] ;
           fhir:display [ fhir:v "Heart valve replacement" ]
         ] )
       ]
     ] )
  ] ) ; # 
  fhir:admission [
     fhir:preAdmissionIdentifier [
       fhir:use [ fhir:v "official" ] ;
       fhir:system [ fhir:v "http://www.amc.nl/zorgportal/identifiers/pre-admissions"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "93042" ]
     ] ;
     fhir:admitSource [
       fhir:coding ( [
         a sct:305956004 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "305956004" ] ;
         fhir:display [ fhir:v "Referral by physician" ]
       ] )
     ] ; #        <preAdmissionTest>\n            <coding>\n                <system value=\"http:\/\/snomed.info\/sct\"\/>\n                <code value=\"164847006\"\/>\n                <display value=\"Standard ECG\"\/>\n            <\/coding>\n            <coding>\n                <system value=\"http:\/\/snomed.info\/sct\"\/>\n                <code value=\"396550006\"\/>\n                <display value=\"Blood test\"\/>\n            <\/coding>\n        <\/preAdmissionTest>  
     fhir:dischargeDisposition [
       fhir:coding ( [
         a sct:306689006 ;
         fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "306689006" ] ;
         fhir:display [ fhir:v "Discharge to home" ]
       ] )
     ]
  ]] . # 

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


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.