@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://hl7.org/fhir/VisionPrescription/33124> a fhir:VisionPrescription ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "33124"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">Sample Contract Lens prescription</div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://www.happysight.com/prescription"^^xsd:anyURI ;
       fhir:l <http://www.happysight.com/prescription>
     ] ;
     fhir:value [ fhir:v "15014" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:created [ fhir:v "2014-06-15"^^xsd:date] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
     fhir:l <http://hl7.org/fhir/Encounter/f001> ;
     fhir:reference [ fhir:v "Encounter/f001" ]
  ] ; # 
  fhir:dateWritten [ fhir:v "2014-06-15"^^xsd:date] ; # 
  fhir:prescriber [
     fhir:l <http://hl7.org/fhir/Practitioner/example> ;
     fhir:reference [ fhir:v "Practitioner/example" ]
  ] ; # 
  fhir:lensSpecification ( [
     fhir:product [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct>
         ] ;
         fhir:code [ fhir:v "contact" ]
       ] )
     ] ;
     fhir:eye [ fhir:v "right" ] ;
     fhir:cylinder [ fhir:v -2.25 ] ;
     fhir:axis [ fhir:v 160 ] ;
     fhir:add [ fhir:v 1.75 ] ;
     fhir:power [ fhir:v -2.75 ] ;
     fhir:backCurve [ fhir:v 8.7 ] ;
     fhir:diameter [ fhir:v 14.0 ] ;
     fhir:duration [
       fhir:value [ fhir:v "1"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "mo" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "mo" ]
     ] ;
     fhir:color [ fhir:v "green" ] ;
     fhir:brand [ fhir:v "OphthaGuard" ] ;
     fhir:note ( [
       fhir:text [ fhir:v "Shade treatment for extreme light sensitivity" ]
     ] )
  ] [
     fhir:product [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct>
         ] ;
         fhir:code [ fhir:v "contact" ]
       ] )
     ] ;
     fhir:eye [ fhir:v "left" ] ;
     fhir:cylinder [ fhir:v -3.50 ] ;
     fhir:axis [ fhir:v 160 ] ;
     fhir:add [ fhir:v 1.75 ] ;
     fhir:power [ fhir:v -2.75 ] ;
     fhir:backCurve [ fhir:v 8.7 ] ;
     fhir:diameter [ fhir:v 14.0 ] ;
     fhir:duration [
       fhir:value [ fhir:v "1"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "month" ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "mo" ]
     ] ;
     fhir:color [ fhir:v "green" ] ;
     fhir:brand [ fhir:v "OphthaGuard" ] ;
     fhir:note ( [
       fhir:text [ fhir:v "Shade treatment for extreme light sensitivity" ]
     ] )
  ] ) . # 

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

<http://hl7.org/fhir/Encounter/f001> a fhir:Encounter .

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

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

