Release 4B 5

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

Devicerequest-left-lens.ttl

Example DeviceRequest/left-lens (Turtle)

Orders and Observations Work Group Maturity Level : N/A Standards Status : Informative Compartments : 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: <http://loinc.org/rdf#> .

@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 -------------------------------------------------------------------

<http://hl7.org/fhir/DeviceRequest/left-lens> a fhir:DeviceRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "left-lens"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></p><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\">Resource &quot;left-lens&quot; </p></div><p><b>identifier</b>: id: 15013L</p><p><b>groupIdentifier</b>: id: 15013</p><p><b>status</b>: completed</p><p><b>intent</b>: original-order</p><p><b>code</b>: Lens <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-vision-product.html\">Example Vision Prescription Product Codes</a>#lens)</span></p><blockquote><p><b>parameter</b></p><p><b>code</b>: sphere, left lens <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#28842-3 &quot;Sphere distance Glasses prescription.lens - left&quot;)</span></p><p><b>value</b>: -1.00 Diopter<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code [diop] = 'diop')</span></p></blockquote><blockquote><p><b>parameter</b></p><p><b>code</b>: cylinder, left lens <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#28843-1 &quot;Cylinder base distance Glasses prescription.lens - left&quot;)</span></p><p><b>value</b>: -0.50 Diopter<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code [diop] = 'diop')</span></p></blockquote><blockquote><p><b>parameter</b></p><p><b>code</b>: axis, left lens <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#28844-9 &quot; Axis distance Glasses prescription.lens - left&quot;)</span></p><p><b>value</b>: 180 Degrees<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code deg = 'deg')</span></p></blockquote><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>occurrence</b>: 2014-06-15</p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> &quot;Adam CAREFUL&quot;</p></div>"
  ];
  fhir:DeviceRequest.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.happysight.com/prescription" ];
     fhir:Identifier.value [ fhir:value "15013L" ]
  ];
  fhir:DeviceRequest.groupIdentifier [
     fhir:Identifier.system [ fhir:value "http://acme.org" ];
     fhir:Identifier.value [ fhir:value "15013" ]
  ];
  fhir:DeviceRequest.status [ fhir:value "completed"];
  fhir:DeviceRequest.intent [ fhir:value "original-order"];
  fhir:DeviceRequest.codeCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/ex-visionprescriptionproduct" ];
       fhir:Coding.code [ fhir:value "lens" ]

[a fhir:DeviceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "left-lens"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DeviceRequest</b><a name=\"left-lens\"> </a></p><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\">Resource DeviceRequest &quot;left-lens&quot; </p></div><p><b>identifier</b>: id: 15013L</p><p><b>groupIdentifier</b>: <span title=\"  insert contents here  \">id: 15013</span></p><p><b>status</b>: completed</p><p><b>intent</b>: original-order</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Lens <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.1.0/CodeSystem-ex-visionprescriptionproduct.html\">Example Vision Prescription Product Codes</a>#lens)</span></td></tr></table><blockquote><p><b>parameter</b></p><p><b>code</b>: sphere, left lens <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#28842-3 &quot;Sphere distance Glasses prescription.lens - left&quot;)</span></p><p><b>value</b>: -1.00 Diopter<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code [diop] = 'diop')</span></p></blockquote><blockquote><p><b>parameter</b></p><p><b>code</b>: cylinder, left lens <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#28843-1 &quot;Cylinder base distance Glasses prescription.lens - left&quot;)</span></p><p><b>value</b>: -0.50 Diopter<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code [diop] = 'diop')</span></p></blockquote><blockquote><p><b>parameter</b></p><p><b>code</b>: axis, left lens <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#28844-9 &quot; Axis distance Glasses prescription.lens - left&quot;)</span></p><p><b>value</b>: 180 Degrees<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code deg = 'deg')</span></p></blockquote><p><b>subject</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</p><p><b>occurrence</b>: 2014-06-15</p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example</a> &quot;Adam CAREFUL&quot;</p></div>"
  ] ; # 
  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:DeviceRequest.parameter [
     fhir:index 0;
     fhir:DeviceRequest.parameter.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:28842-3;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "28842-3" ];
         fhir:Coding.display [ fhir:value "Sphere distance Glasses prescription.lens - left" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "sphere, left lens" ]
     ];
     fhir:DeviceRequest.parameter.valueQuantity [
       fhir:Quantity.value [ fhir:value "-1.00"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "Diopter" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "[diop]" ]

  ] ; # 
  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 "Sphere distance Glasses prescription.lens - left" ]
       ] ) ;
       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:index 1;
     fhir:DeviceRequest.parameter.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:28843-1;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "28843-1" ];
         fhir:Coding.display [ fhir:value "Cylinder base distance Glasses prescription.lens - left" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "cylinder, left lens" ]
     ];
     fhir:DeviceRequest.parameter.valueQuantity [
       fhir:Quantity.value [ fhir:value "-0.50"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "Diopter" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "[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 "Cylinder base distance Glasses prescription.lens - left" ]
       ] ) ;
       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:index 2;
     fhir:DeviceRequest.parameter.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a loinc:28844-9;
         fhir:Coding.system [ fhir:value "http://loinc.org" ];
         fhir:Coding.code [ fhir:value "28844-9" ];
         fhir:Coding.display [ fhir:value " Axis distance Glasses prescription.lens - left" ]
       ];
       fhir:CodeableConcept.text [ fhir:value "axis, left lens" ]
     ];
     fhir:DeviceRequest.parameter.valueQuantity [
       fhir:Quantity.value [ fhir:value "180"^^xsd:decimal ];
       fhir:Quantity.unit [ fhir:value "Degrees" ];
       fhir:Quantity.system [ fhir:value "http://unitsofmeasure.org" ];
       fhir:Quantity.code [ fhir:value "deg" ]

  ] [
     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 " Axis distance Glasses prescription.lens - left" ]
       ] ) ;
       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:DeviceRequest.subject [
     fhir:link <http://hl7.org/fhir/Patient/example>;
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:DeviceRequest.occurrenceDateTime [ fhir:value "2014-06-15"^^xsd:date];
  fhir:DeviceRequest.requester [
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ]
  ] .

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

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

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

<http://hl7.org/fhir/DeviceRequest/left-lens.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/DeviceRequest/left-lens.ttl> .

  ] ) ; # 
  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.