R6 Ballot (2nd Draft)

Publish-box (todo)

Example DeviceRequest/left-lens (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner

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

Left Lens prescription using the parameters element

@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 -------------------------------------------------------------------

[a fhir:DeviceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "left-lens"] ; # 
  fhir:identifier ( [
     fhir:system [ fhir:v "http://www.happysight.com/prescription"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "15013L" ]
  ] ) ; # 
  fhir:groupIdentifier [
     fhir:system [ fhir:v "http://acme.org"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "15013" ]
  ] ; #   insert contents here  
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "original-order"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "lens" ]
       ] )
     ]
  ] ; # 
  fhir:parameter ( [
     fhir:code [
       fhir:coding ( [
         a loinc:28842-3 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "28842-3" ] ;
         fhir:display [ fhir:v "Left glasses lens prescription Sphere far" ]
       ] ) ;
       fhir:text [ fhir:v "sphere, left lens" ]
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v "-1.00"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "Diopter" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "[diop]" ]
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:28843-1 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "28843-1" ] ;
         fhir:display [ fhir:v "Left glasses lens prescription Cylinder far" ]
       ] ) ;
       fhir:text [ fhir:v "cylinder, left lens" ]
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v "-0.50"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "Diopter" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "[diop]" ]
     ]
  ] [
     fhir:code [
       fhir:coding ( [
         a loinc:28844-9 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "28844-9" ] ;
         fhir:display [ fhir:v "Left glasses lens prescription Axis far" ]
       ] ) ;
       fhir:text [ fhir:v "axis, left lens" ]
     ] ;
     fhir:value [
       a fhir:Quantity ;
       fhir:value [ fhir:v "180"^^xsd:decimal ] ;
       fhir:unit [ fhir:v "Degrees" ] ;
       fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "deg" ]
     ]
  ] ) ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:occurrence [ fhir:v "2014-06-15"^^xsd:date] ; # 
  fhir:requester [
     fhir:reference [ fhir:v "Practitioner/example" ]
  ]] . # 

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


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.