@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/us/davinci-crd/VisionPrescription/visionprescription-example> a fhir:VisionPrescription ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "visionprescription-example"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\" xml:lang=\"en\" lang=\"en\"><p class=\"res-header-id\"><b>Generated Narrative: VisionPrescription visionprescription-example</b></p><a name=\"visionprescription-example\"> </a><a name=\"hcvisionprescription-example\"> </a><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Language: en</p></div><p><b>identifier</b>: <code>http://example.org/prescription</code>/15013</p><p><b>status</b>: Draft</p><p><b>created</b>: 2014-06-15</p><p><b>patient</b>: <a href=\"Patient-example.html\">Amy V. Shaw  Female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (use: usual, ))</a></p><p><b>dateWritten</b>: 2014-06-15</p><p><b>prescriber</b>: <a href=\"Practitioner-full.html\">Practitioner Bone </a></p><blockquote><p><b>lensSpecification</b></p><p><b>product</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct lens}\">Lens</span></p><p><b>eye</b>: Right Eye</p><p><b>sphere</b>: -2</p><h3>Prisms</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Amount</b></td><td><b>Base</b></td></tr><tr><td style=\"display: none\">*</td><td>0.5</td><td>Down</td></tr></table><p><b>add</b>: 2</p></blockquote><blockquote><p><b>lensSpecification</b></p><p><b>product</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct lens}\">Lens</span></p><p><b>eye</b>: Left Eye</p><p><b>sphere</b>: -1</p><p><b>cylinder</b>: -0.5</p><p><b>axis</b>: 180</p><h3>Prisms</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Amount</b></td><td><b>Base</b></td></tr><tr><td style=\"display: none\">*</td><td>0.5</td><td>Up</td></tr></table><p><b>add</b>: 2</p></blockquote></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://example.org/prescription"^^xsd:anyURI ;
       fhir:l <http://example.org/prescription>
     ] ;
     fhir:value [ fhir:v "15013" ]
  ] ) ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:created [ fhir:v "2014-06-15"^^xsd:date] ; # 
  fhir:patient [
     fhir:l <http://hl7.org/fhir/us/davinci-crd/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:dateWritten [ fhir:v "2014-06-15"^^xsd:date] ; # 
  fhir:prescriber [
     fhir:l <http://hl7.org/fhir/us/davinci-crd/Practitioner/full> ;
     fhir:reference [ fhir:v "Practitioner/full" ]
  ] ; # 
  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 "lens" ]
       ] )
     ] ;
     fhir:eye [ fhir:v "right" ] ;
     fhir:sphere [ fhir:v "-2"^^xsd:decimal ] ;
     fhir:prism ( [
       fhir:amount [ fhir:v 0.5 ] ;
       fhir:base [ fhir:v "down" ]
     ] ) ;
     fhir:add [ fhir:v "2"^^xsd:decimal ]
  ] [
     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 "lens" ]
       ] )
     ] ;
     fhir:eye [ fhir:v "left" ] ;
     fhir:sphere [ fhir:v "-1"^^xsd:decimal ] ;
     fhir:cylinder [ fhir:v -0.5 ] ;
     fhir:axis [ fhir:v 180 ] ;
     fhir:prism ( [
       fhir:amount [ fhir:v 0.5 ] ;
       fhir:base [ fhir:v "up" ]
     ] ) ;
     fhir:add [ fhir:v "2"^^xsd:decimal ]
  ] ) . # 

<http://hl7.org/fhir/us/davinci-crd/Patient/example> a fhir:Us .

<http://hl7.org/fhir/us/davinci-crd/Practitioner/full> a fhir:Us .

# -------------------------------------------------------------------------------------

