Release 4 FHIR CI-Build

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

Visionprescription-example.ttl

Example VisionPrescription/33123 (Turtle)

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

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

General Glasses Example

@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/33123> a fhir:VisionPrescription;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "33123"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>OD -2.00 SPH         +2.00 add    0.5 p.d. BD</p>\n			<p>OS -1.00 -0.50 x 180 +2.00 add    0.5 p.d. BU</p>\n		</div>"
  ];
  fhir:VisionPrescription.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.happysight.com/prescription" ];
     fhir:Identifier.value [ fhir:value "15013" ]
  ];
  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.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 "lens" ]
       ]
     ];
     fhir:VisionPrescription.lensSpecification.eye [ fhir:value "right" ];
     fhir:VisionPrescription.lensSpecification.sphere [ fhir:value "-2.00"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.prism [
       fhir:index 0;
       fhir:VisionPrescription.lensSpecification.prism.amount [ fhir:value "0.5"^^xsd:decimal ];
       fhir:VisionPrescription.lensSpecification.prism.base [ fhir:value "down" ]
     ];
     fhir:VisionPrescription.lensSpecification.add [ fhir:value "2.00"^^xsd:decimal ]
  ], [
     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 "lens" ]
       ]
     ];
     fhir:VisionPrescription.lensSpecification.eye [ fhir:value "left" ];
     fhir:VisionPrescription.lensSpecification.sphere [ fhir:value "-1.00"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.cylinder [ fhir:value "-0.50"^^xsd:decimal ];
     fhir:VisionPrescription.lensSpecification.axis [ fhir:value "180"^^xsd:integer ];
     fhir:VisionPrescription.lensSpecification.prism [
       fhir:index 0;
       fhir:VisionPrescription.lensSpecification.prism.amount [ fhir:value "0.5"^^xsd:decimal ];
       fhir:VisionPrescription.lensSpecification.prism.base [ fhir:value "up" ]
     ];
     fhir:VisionPrescription.lensSpecification.add [ fhir:value "2.00"^^xsd:decimal ]
  ] .

<http://hl7.org/fhir/VisionPrescription/33123> a fhir:VisionPrescription ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "33123"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n			<p>OD -2.00 SPH         +2.00 add    0.5 p.d. BD</p>\n			<p>OS -1.00 -0.50 x 180 +2.00 add    0.5 p.d. BU</p>\n		</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 "15013" ]
  ] ) ; # 
  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: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 "lens" ]
       ] )
     ] ;
     fhir:eye [ fhir:v "right" ] ;
     fhir:sphere [ fhir:v -2.00 ] ;
     fhir:prism ( [
       fhir:amount [ fhir:v 0.5 ] ;
       fhir:base [ fhir:v "down" ]
     ] ) ;
     fhir:add [ fhir:v 2.00 ]
  ] [
     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.00 ] ;
     fhir:cylinder [ fhir:v -0.50 ] ;
     fhir:axis [ fhir:v 180 ] ;
     fhir:prism ( [
       fhir:amount [ fhir:v 0.5 ] ;
       fhir:base [ fhir:v "up" ]
     ] ) ;
     fhir:add [ fhir:v 2.00 ]
  ] ) . # 


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

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

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

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


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


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.