Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). The current version which supercedes this version is 5.0.0 . For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3

Visionprescription-example-1.ttl

Example VisionPrescription/33124 (Turtle)

Financial Management Orders and Observations Work Group Maturity Level : N/A Standards Status : Informative Compartments : Encounter , Patient , Practitioner

Raw Turtle (+ also see Turtle/RDF Format Specification )

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

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

<http://hl7.org/fhir/VisionPrescription/33124> a fhir:VisionPrescription;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "33124"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Sample Contract Lens prescription</div>"
  ];
  fhir:VisionPrescription.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.happysight.com/prescription" ];
     fhir:Identifier.value [ fhir:value "15014" ]
  ];
  fhir:VisionPrescription.status [ fhir:value "active"];
  fhir:VisionPrescription.created [ fhir:value "2014-06-15"^^xsd:date];
  fhir:VisionPrescription.patient [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:VisionPrescription.encounter [
     fhir:link <http://hl7.org/fhir/Encounter/f001>;
     fhir:Reference.reference [ fhir:value "Encounter/f001" ]
  ];
  fhir:VisionPrescription.dateWritten [ fhir:value "2014-06-15"^^xsd:date];
  fhir:VisionPrescription.prescriber [
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ];
  fhir:VisionPrescription.lensSpecification [
     fhir:index 0;
     fhir:VisionPrescription.lensSpecification.product [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct" ];
         fhir:Coding.code [ fhir:value "contact" ]
       ]
     ];
     fhir:VisionPrescription.lensSpecification.eye [ fhir:value "right" ];
     fhir:VisionPrescription.lensSpecification.cylinder [ fhir:value "-2.25"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.axis [ fhir:value "160"^^xsd:integer ];
     fhir:VisionPrescription.lensSpecification.add [ fhir:value "1.75"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.power [ fhir:value "-2.75"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.backCurve [ fhir:value "8.7"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.diameter [ fhir:value "14.0"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.duration [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "month" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "month" ]
     ];
     fhir:VisionPrescription.lensSpecification.color [ fhir:value "green" ];
     fhir:VisionPrescription.lensSpecification.brand [ fhir:value "OphthaGuard" ];
     fhir:VisionPrescription.lensSpecification.note [
       fhir:index 0;
       fhir:Annotation.text [ fhir:value "Shade treatment for extreme light sensitivity" ]
     ]
  ], [
     fhir:index 1;
     fhir:VisionPrescription.lensSpecification.product [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct" ];
         fhir:Coding.code [ fhir:value "contact" ]
       ]
     ];
     fhir:VisionPrescription.lensSpecification.eye [ fhir:value "left" ];
     fhir:VisionPrescription.lensSpecification.cylinder [ fhir:value "-3.50"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.axis [ fhir:value "160"^^xsd:integer ];
     fhir:VisionPrescription.lensSpecification.add [ fhir:value "1.75"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.power [ fhir:value "-2.75"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.backCurve [ fhir:value "8.7"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.diameter [ fhir:value "14.0"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.duration [
       fhir:Quantity.value [ fhir:value "1"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "month" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "month" ]
     ];
     fhir:VisionPrescription.lensSpecification.color [ fhir:value "green" ];
     fhir:VisionPrescription.lensSpecification.brand [ fhir:value "OphthaGuard" ];
     fhir:VisionPrescription.lensSpecification.note [
       fhir:index 0;
       fhir:Annotation.text [ fhir:value "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 .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/VisionPrescription/33124.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/VisionPrescription/33124.ttl> .

[a fhir:VisionPrescription ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "33124"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\">Sample Contract Lens prescription</div>"
  ] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://www.happysight.com/prescription"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "15014" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:created [ fhir:v "2014-06-15"^^xsd:date] ; # 
  fhir:patient [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
     fhir:reference [ fhir:v "Encounter/f001" ]
  ] ; # 
  fhir:dateWritten [ fhir:v "2014-06-15"^^xsd:date] ; # 
  fhir:prescriber [
     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:code [ fhir:v "contact" ]
       ] )
     ] ;
     fhir:eye [ fhir:v "right" ] ;
     fhir:cylinder [ fhir:v "-2.25"^^xsd:decimal ] ;
     fhir:axis [ fhir:v "160"^^xsd:integer ] ;
     fhir:add [ fhir:v "1.75"^^xsd:decimal ] ;
     fhir:power [ fhir:v "-2.75"^^xsd:decimal ] ;
     fhir:backCurve [ fhir:v "8.7"^^xsd:decimal ] ;
     fhir:diameter [ fhir:v "14.0"^^xsd:decimal ] ;
     fhir:duration [
       fhir:value [ fhir:v "1"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "mo" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       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:code [ fhir:v "contact" ]
       ] )
     ] ;
     fhir:eye [ fhir:v "left" ] ;
     fhir:cylinder [ fhir:v "-3.50"^^xsd:decimal ] ;
     fhir:axis [ fhir:v "160"^^xsd:integer ] ;
     fhir:add [ fhir:v "1.75"^^xsd:decimal ] ;
     fhir:power [ fhir:v "-2.75"^^xsd:decimal ] ;
     fhir:backCurve [ fhir:v "8.7"^^xsd:decimal ] ;
     fhir:diameter [ fhir:v "14.0"^^xsd:decimal ] ;
     fhir:duration [
       fhir:value [ fhir:v "1"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "month" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       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" ]
     ] )
  ] )] . # 


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


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.