Release 4B R5 Final QA

This page is part of the FHIR Specification (v4.3.0: R4B (v5.0.0-draft-final: Final QA Preview for R5 - STU see ballot notes ). 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

Devicerequest-example-insulinpump.ttl

Example DeviceRequest/insulinpump (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 )

Insulin Pump request

@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/insulinpump> a fhir:DeviceRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "insulinpump"];
  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;insulinpump&quot; </p></div><p><b>identifier</b>: id: ip_request1.1</p><p><b>instantiatesCanonical</b>: <a href=\"http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set\">http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set</a></p><p><b>basedOn</b>: <span>: Homecare - DM follow-up</span></p><p><b>priorRequest</b>: <span>: CGM ambulatory</span></p><p><b>groupIdentifier</b>: id: ip_request1</p><p><b>status</b>: active</p><p><b>intent</b>: instance-order</p><p><b>priority</b>: routine</p><p><b>code</b>: Insulin delivery device panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#43148-6)</span></p><p><b>subject</b>: <a href=\"patient-dicom.html\">Patient/dicom</a> &quot; MINT_TEST&quot;</p><p><b>encounter</b>: <span>: Encounter 1</span></p><p><b>occurrence</b>: 2013-05-08T09:33:27+07:00</p><p><b>authoredOn</b>: 2013-05-08T09:33:27+07:00</p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example: Dr. Adam Careful</a> &quot;Adam CAREFUL&quot;</p><p><b>performerType</b>: Nurse <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated] &quot;Qualified nurse&quot;)</span></p><p><b>performer</b>: <span>: Nurse Rossignol</span></p><p><b>reasonCode</b>: gastroparesis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>reasonReference</b>: <span>: Gastroparesis</span></p><p><b>supportingInfo</b>: <span>: Previous results</span></p><p><b>note</b>: this is the right device brand and model</p><p><b>relevantHistory</b>: <span>: Request for unspecified device</span></p></div>"
  ];
  fhir:DeviceRequest.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "ip_request1.1" ]
  ];
  fhir:DeviceRequest.instantiatesCanonical [
     fhir:value "http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set";
     fhir:index 0;

[a fhir:DeviceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "insulinpump"] ; # 
  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=\"insulinpump\"> </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;insulinpump&quot; </p></div><p><b>identifier</b>: <span title=\" 	&lt;extension url=&quot;http://hl7.org/fhir/StructureDefinition/bodysitecode&quot;&gt;\n  &lt;valueCodeableConcept&gt;\n    &lt;coding&gt;\n      &lt;system value=&quot;http://snomed.info/sct&quot;/&gt;\n      &lt;code value=&quot;51185008&quot;/&gt;\n      &lt;display value=&quot;Thoracic structure&quot;/&gt;\n    &lt;/coding&gt;\n  &lt;/valueCodeableConcept&gt;\n&lt;/extension&gt;	 \">id: ip_request1.1</span></p><p><b>instantiatesCanonical</b>: <a href=\"http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set\">http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set</a></p><p><b>basedOn</b>: <span>: Homecare - DM follow-up</span></p><p><b>replaces</b>: <span>: CGM ambulatory</span></p><p><b>groupIdentifier</b>: id: ip_request1</p><p><b>status</b>: active</p><p><b>intent</b>: instance-order</p><p><b>priority</b>: routine</p><h3>Codes</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Insulin delivery device panel <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#43148-6)</span></td></tr></table><p><b>subject</b>: <a href=\"patient-example-dicom.html\">Patient/dicom</a> &quot; MINT_TEST&quot;</p><p><b>encounter</b>: <span>: Encounter 1</span></p><p><b>occurrence</b>: 2013-05-08T09:33:27+07:00</p><p><b>authoredOn</b>: 2013-05-08T09:33:27+07:00</p><p><b>requester</b>: <a href=\"practitioner-example.html\">Practitioner/example: Dr. Adam Careful</a> &quot;Adam CAREFUL&quot;</p><h3>Performers</h3><table class=\"grid\"><tr><td>-</td><td><b>Reference</b></td></tr><tr><td>*</td><td><span>: Nurse Rossignol</span></td></tr></table><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td><td><b>Reference</b></td></tr><tr><td>*</td><td>gastroparesis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td><td> </td></tr><tr><td>*</td><td> </td><td><span>: Gastroparesis</span></td></tr></table><p><b>supportingInfo</b>: <span>: Previous results</span></p><p><b>note</b>: this is the right device brand and model</p><p><b>relevantHistory</b>: <span>: Request for unspecified device</span></p></div>"
  ] ; #   	<extension url="http://hl7.org/fhir/StructureDefinition/bodysitecode">
#  <valueCodeableConcept>
#    <coding>
#      <system value="http://snomed.info/sct"/>
#      <code value="51185008"/>
#      <display value="Thoracic structure"/>
#    </coding>
#  </valueCodeableConcept>
#</extension>	  
  fhir:identifier ( [
     fhir:value [ fhir:v "ip_request1.1" ]
  ] ) ; # 
  fhir:instantiatesCanonical ( [
     fhir:v "http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set"^^xsd:anyURI ;

     fhir:link <http://motivemi.com/artifacts/PlanDefinition/low-suicide-risk-order-set>
  ];
  fhir:DeviceRequest.basedOn [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Homecare - DM follow-up" ]
  ];
  fhir:DeviceRequest.priorRequest [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "CGM ambulatory" ]
  ];
  fhir:DeviceRequest.groupIdentifier [
     fhir:Identifier.value [ fhir:value "ip_request1" ]
  ];
  fhir:DeviceRequest.status [ fhir:value "active"];
  fhir:DeviceRequest.intent [ fhir:value "instance-order"];
  fhir:DeviceRequest.priority [ fhir:value "routine"];
  fhir:DeviceRequest.codeCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a loinc:43148-6;
       fhir:Coding.system [ fhir:value "http://loinc.org" ];
       fhir:Coding.code [ fhir:value "43148-6" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Insulin delivery device panel" ]
  ];
  fhir:DeviceRequest.subject [
     fhir:link <http://hl7.org/fhir/Patient/dicom>;
     fhir:Reference.reference [ fhir:value "Patient/dicom" ]
  ];
  fhir:DeviceRequest.encounter [
     fhir:Reference.display [ fhir:value "Encounter 1" ]
  ];
  fhir:DeviceRequest.occurrenceDateTime [ fhir:value "2013-05-08T09:33:27+07:00"^^xsd:dateTime];
  fhir:DeviceRequest.authoredOn [ fhir:value "2013-05-08T09:33:27+07:00"^^xsd:dateTime];
  fhir:DeviceRequest.requester [
     fhir:link <http://hl7.org/fhir/Practitioner/example>;
     fhir:Reference.reference [ fhir:value "Practitioner/example" ];
     fhir:Reference.display [ fhir:value "Dr. Adam Careful" ]
  ];
  fhir:DeviceRequest.performerType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.display [ fhir:value "Qualified nurse" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Nurse" ]
  ];
  fhir:DeviceRequest.performer [
     fhir:Reference.display [ fhir:value "Nurse Rossignol" ]
  ];
  fhir:DeviceRequest.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.text [ fhir:value "gastroparesis" ]
  ];
  fhir:DeviceRequest.reasonReference [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Gastroparesis" ]
  ];
  fhir:DeviceRequest.supportingInfo [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Previous results" ]
  ];
  fhir:DeviceRequest.note [
     fhir:index 0;
     fhir:Annotation.text [ fhir:value "this is the right device brand and model" ]
  ];
  fhir:DeviceRequest.relevantHistory [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Request for unspecified device" ]
  ] .

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

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

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

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

  ] ) ; # 
  fhir:basedOn ( [
     fhir:display [ fhir:v "Homecare - DM follow-up" ]
  ] ) ; # 
  fhir:replaces ( [
     fhir:display [ fhir:v "CGM ambulatory" ]
  ] ) ; # 
  fhir:groupIdentifier [
     fhir:value [ fhir:v "ip_request1" ]
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "instance-order"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:code [
     fhir:concept [
       fhir:coding ( [
         a loinc:43148-6 ;
         fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "43148-6" ]
       ] ) ;
       fhir:text [ fhir:v "Insulin delivery device panel" ]
     ]
  ] ; # 
  fhir:subject [
     fhir:reference [ fhir:v "Patient/dicom" ]
  ] ; # 
  fhir:encounter [
     fhir:display [ fhir:v "Encounter 1" ]
  ] ; # 
  fhir:occurrence [ fhir:v "2013-05-08T09:33:27+07:00"^^xsd:dateTime] ; # 
  fhir:authoredOn [ fhir:v "2013-05-08T09:33:27+07:00"^^xsd:dateTime] ; # 
  fhir:requester [
     fhir:reference [ fhir:v "Practitioner/example" ] ;
     fhir:display [ fhir:v "Dr. Adam Careful" ]
  ] ; # 
  fhir:performer [
     fhir:reference [
       fhir:display [ fhir:v "Nurse Rossignol" ]
     ]
  ] ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:text [ fhir:v "gastroparesis" ]
     ]
  ] [
     fhir:reference [
       fhir:display [ fhir:v "Gastroparesis" ]
     ]
  ] ) ; # 
  fhir:supportingInfo ( [
     fhir:display [ fhir:v "Previous results" ]
  ] ) ; # 
  fhir:note ( [
     fhir:text [ fhir:v "this is the right device brand and model" ]
  ] ) ; # 
  fhir:relevantHistory ( [
     fhir:display [ fhir:v "Request for unspecified device" ]
  ] )] . # 


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


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.