Example SupplyRequest/simpleorder (Turtle)
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 -------------------------------------------------------------------
[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: 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 "simpleorder" </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: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.item [
fhir:CodeableReference.concept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "BlueTubes" ];
fhir:Coding.display [ fhir:value "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.reason [
fhir:index 0;
fhir:CodeableReference.concept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "stock_low" ];
fhir:Coding.display [ fhir:value "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 ------------------------------------------------------------
[a owl:Ontology;
owl:imports fhir:fhir.ttl] .
# -------------------------------------------------------------------------------------
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.