Release 4 5

This page is part of the FHIR Specification (v4.0.1: R4 (v5.0.0: R5 - Mixed Normative and STU ) ). This is the current published version in it's permanent home (it will always be available at this URL). 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

Supplyrequest-example-simpleorder.ttl

Example SupplyRequest/simpleorder (Turtle)

Orders and Observations Work Group Maturity Level : N/A Standards Status : Informative Compartments : Device , Patient , Practitioner , RelatedPerson

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

Simple order for resupply

@prefix fhir: <http://hl7.org/fhir/> .
@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/SupplyRequest/simpleorder> a fhir:SupplyRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "simpleorder"];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: simpleorder</p><p><b>identifier</b>: Order10284</p><p><b>status</b>: active</p><p><b>category</b>: Central Stock Resupply <span>(Details : {[not stated] code 'central' = 'central', given as 'Central Stock Resupply'})</span></p><p><b>priority</b>: asap</p><p><b>item</b>: Blood collect tubes blue cap <span>(Details : {[not stated] code 'BlueTubes' = 'BlueTubes', given as 'Blood collect tubes blue cap'})</span></p><p><b>quantity</b>: 10</p><p><b>occurrence</b>: 31/12/2016</p><p><b>authoredOn</b>: 31/12/2016</p><p><b>requester</b>: Henry Seven</p><p><b>supplier</b>: Vendor1</p><p><b>reasonCode</b>: Refill due to low stock <span>(Details : {[not stated] code 'stock_low' = 'stock_low', given as 'Refill due to low stock'})</span></p><p><b>deliverFrom</b>: Location 1</p><p><b>deliverTo</b>: GoodHealth Clinic Receiving</p></div>"
  ];
  fhir:SupplyRequest.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "Order10284" ]
  ];
  fhir:SupplyRequest.status [ fhir:value "active"];
  fhir:SupplyRequest.category [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "central" ];
       fhir:Coding.display [ fhir:value "Central Stock Resupply" ]
     ]
  ];
  fhir:SupplyRequest.priority [ fhir:value "asap"];
  fhir:SupplyRequest.itemCodeableConcept [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "BlueTubes" ];
       fhir:Coding.display [ fhir:value "Blood collect tubes blue cap" ]

[a fhir:SupplyRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "simpleorder"] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: SupplyRequest</b><a name=\"simpleorder\"> </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 SupplyRequest &quot;simpleorder&quot; </p></div><p><b>identifier</b>: id: Order10284</p><p><b>status</b>: active</p><p><b>category</b>: Central Stock Resupply <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#central)</span></p><p><b>priority</b>: asap</p><h3>Items</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Blood collect tubes blue cap <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#BlueTubes)</span></td></tr></table><p><b>quantity</b>: 10</p><p><b>occurrence</b>: 2016-12-31</p><p><b>authoredOn</b>: 2016-12-31</p><p><b>requester</b>: <span>: Henry Seven</span></p><p><b>supplier</b>: <span>: Vendor1</span></p><h3>Reasons</h3><table class=\"grid\"><tr><td>-</td><td><b>Concept</b></td></tr><tr><td>*</td><td>Refill due to low stock <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#stock_low)</span></td></tr></table><p><b>deliverFrom</b>: <span>: Location 1</span></p><p><b>deliverTo</b>: <span>: GoodHealth Clinic Receiving</span></p></div>"
  ] ; # 
  fhir:identifier ( [
     fhir:value [ fhir:v "Order10284" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:category [
     fhir:coding ( [
       fhir:code [ fhir:v "central" ] ;
       fhir:display [ fhir:v "Central Stock Resupply" ]
     ] )
  ] ; # 
  fhir:priority [ fhir:v "asap"] ; # 
  fhir:item [
     fhir:concept [
       fhir:coding ( [
         fhir:code [ fhir:v "BlueTubes" ] ;
         fhir:display [ fhir:v "Blood collect tubes blue cap" ]
       ] )

     ]
  ];
  fhir:SupplyRequest.quantity [
     fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ]
  ];
  fhir:SupplyRequest.occurrenceDateTime [ fhir:value "2016-12-31"^^xsd:date];
  fhir:SupplyRequest.authoredOn [ fhir:value "2016-12-31"^^xsd:date];
  fhir:SupplyRequest.requester [
     fhir:Reference.display [ fhir:value "Henry Seven" ]
  ];
  fhir:SupplyRequest.supplier [
     fhir:index 0;
     fhir:Reference.display [ fhir:value "Vendor1" ]
  ];
  fhir:SupplyRequest.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "stock_low" ];
       fhir:Coding.display [ fhir:value "Refill due to low stock" ]

  ] ; # 
  fhir:quantity [
     fhir:value [ fhir:v "10"^^xsd:decimal ]
  ] ; # 
  fhir:occurrence [ fhir:v "2016-12-31"^^xsd:date] ; # 
  fhir:authoredOn [ fhir:v "2016-12-31"^^xsd:date] ; # 
  fhir:requester [
     fhir:display [ fhir:v "Henry Seven" ]
  ] ; # 
  fhir:supplier ( [
     fhir:display [ fhir:v "Vendor1" ]
  ] ) ; # 
  fhir:reason ( [
     fhir:concept [
       fhir:coding ( [
         fhir:code [ fhir:v "stock_low" ] ;
         fhir:display [ fhir:v "Refill due to low stock" ]
       ] )

     ]
  ];
  fhir:SupplyRequest.deliverFrom [
     fhir:Reference.display [ fhir:value "Location 1" ]
  ];
  fhir:SupplyRequest.deliverTo [
     fhir:Reference.display [ fhir:value "GoodHealth Clinic Receiving" ]
  ] .

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

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

  ] ) ; # 
  fhir:deliverFrom [
     fhir:display [ fhir:v "Location 1" ]
  ] ; # 
  fhir:deliverTo [
     fhir:display [ fhir:v "GoodHealth Clinic Receiving" ]
  ]] . # 


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


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.