@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/DeviceRequest/example> a fhir:DeviceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "example"] ; # 
  fhir:language [ fhir:v "en"] ; # 
  fhir:text [
     fhir:status [ fhir:v "extensions" ] ;
     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: DeviceRequest example</b></p><a name=\"example\"> </a><a name=\"hcexample\"> </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>Request Category</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode HH}\">home health</span></p><p><b>Request Category</b>: <span title=\"Codes:{https://codesystem.x12.org/005010/1365 18}\">Durable Medical Equipment Rental</span></p><p><b>basedOn</b>: <a href=\"http://example.org/fhir/ServiceRequest/someReferral\">http://example.org/fhir/ServiceRequest/someReferral</a></p><p><b>status</b>: Draft</p><p><b>intent</b>: Original Order</p><p><b>code</b>: <a href=\"Device-example.html\">Device: identifier = http://example.org/devices/id#345675</a></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy V. Shaw  Female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (use: usual, ))</a></p><p><b>authoredOn</b>: 2016-06-10 11:01:10-0800</p><p><b>requester</b>: <a href=\"Practitioner-full.html\">Practitioner Bone </a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
         ] ;
         fhir:code [ fhir:v "HH" ] ;
         fhir:display [ fhir:v "home health" ]
       ] )
     ]
  ] [
     fhir:url [
       fhir:v "http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/us/davinci-crd/StructureDefinition/ext-request-category>
     ] ;
     fhir:value [
       a fhir:CodeableConcept ;
       fhir:coding ( [
         fhir:system [
           fhir:v "https://codesystem.x12.org/005010/1365"^^xsd:anyURI ;
           fhir:l <https://codesystem.x12.org/005010/1365>
         ] ;
         fhir:code [ fhir:v "18" ] ;
         fhir:display [ fhir:v "Durable Medical Equipment Rental" ]
       ] )
     ]
  ] ) ; # 
  fhir:basedOn ( [
     fhir:l <http://example.org/fhir/ServiceRequest/someReferral> ;
     fhir:reference [ fhir:v "http://example.org/fhir/ServiceRequest/someReferral" ]
  ] ) ; # 
  fhir:status [ fhir:v "draft"] ; # 
  fhir:intent [ fhir:v "original-order"] ; # 
  fhir:code [
     a fhir:Reference ;
     fhir:l <http://hl7.org/fhir/us/davinci-crd/Device/example> ;
     fhir:reference [ fhir:v "Device/example" ]
  ] ; # 
  fhir:subject [
     fhir:l <http://hl7.org/fhir/us/davinci-crd/Patient/example> ;
     fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2016-06-10T11:01:10-08:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:l <http://hl7.org/fhir/us/davinci-crd/Practitioner/full> ;
     fhir:reference [ fhir:v "Practitioner/full" ]
  ] . # 

<http://hl7.org/fhir/us/davinci-crd/Device/example> a fhir:Us .

<http://hl7.org/fhir/us/davinci-crd/Patient/example> a fhir:Us .

<http://hl7.org/fhir/us/davinci-crd/Practitioner/full> a fhir:Us .

# -------------------------------------------------------------------------------------

