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

# No indication, because no referral took place
# No admission was deemed necessary

<http://hl7.org/fhir/Encounter/f201> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "f201"] ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "temp" ] ;
     fhir:value [ fhir:v "Encounter_Roel_20130404" ] # 0..1 The use of this identifier
  ] ) ; # 
  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>
       ] ;
       fhir:code [ fhir:v "AMB" ] ;
       fhir:display [ fhir:v "ambulatory" ] # outpatient
     ] )
  ] ) ; # Encounter has finished
  fhir:priority [
     fhir:coding ( [
       a sct:17621005 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "17621005" ] ;
       fhir:display [ fhir:v "Normal" ]
     ] ) # Normal priority
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       a sct:11429006 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "11429006" ] ;
       fhir:display [ fhir:v "Consultation" ]
     ] ) # TODO Why is this merely a CodeableConcept and not Resource (any)?
  ] ) ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/Patient/f201> ;
     fhir:reference [ fhir:v "Patient/f201" ] ;
     fhir:display [ fhir:v "Roel" ]
  ] ; # 
  fhir:serviceProvider [
     fhir:l <http://hl7.org/fhir/Organization/f201> ;
     fhir:reference [ fhir:v "Organization/f201" ]
  ] ; # 
  fhir:participant ( [
     fhir:actor [
       fhir:l <http://hl7.org/fhir/Practitioner/f201> ;
       fhir:reference [ fhir:v "Practitioner/f201" ]
     ]
  ] ) ; # 
  fhir:reason ( [
     fhir:value ( [
       fhir:concept [
         fhir:text [ fhir:v "The patient had fever peaks over the last couple of days. He is worried about these peaks." ]
       ]
     ] )
  ] ) . # 

<http://hl7.org/fhir/Patient/f201> a fhir:Patient .

<http://hl7.org/fhir/Organization/f201> a fhir:Organization .

<http://hl7.org/fhir/Practitioner/f201> a fhir:Practitioner .

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

