Example SupplyDelivery/simpledelivery (Turtle)
Raw Turtle (+ also see Turtle/RDF Format Specification)
Simple delivery 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:SupplyDelivery;
fhir:nodeRole fhir:treeRoot;
fhir:Resource.id [ fhir:value "simpledelivery"]; #
fhir:DomainResource.text [
fhir:Narrative.status [ fhir:value "generated" ];
fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: SupplyDelivery</b><a name=\"simpledelivery\"> </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 SupplyDelivery "simpledelivery" </p></div><p><b>identifier</b>: <span title=\" \nbusiness identifier - in this case the same as the request id\n \">id: Order10284</span></p><p><b>basedOn</b>: <a href=\"supplyrequest-example-simpleorder.html\">SupplyRequest/simpleorder</a></p><p><b>partOf</b>: <span>: Central Supply Restock</span></p><p><b>status</b>: completed</p><p><b>type</b>: Blood collect tubes blue cap <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"codesystem-supplydelivery-supplyitemtype.html\">SupplyDeliverySupplyItemType</a>#device)</span></p><h3>SuppliedItems</h3><table class=\"grid\"><tr><td>-</td><td><b>Quantity</b></td><td><b>Item[x]</b></td></tr><tr><td>*</td><td>10</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>occurrence</b>: 2016-12-31</p><p><b>supplier</b>: <span>: Vendor1</span></p><p><b>destination</b>: <span>: Location 1</span></p></div>"
]; #
business identifier - in this case the same as the request id
fhir:SupplyDelivery.identifier [
fhir:index 0;
fhir:Identifier.value [ fhir:value "Order10284" ]
]; #
fhir:SupplyDelivery.basedOn [
fhir:index 0;
fhir:Reference.reference [ fhir:value "SupplyRequest/simpleorder" ]
]; #
fhir:SupplyDelivery.partOf [
fhir:index 0;
fhir:Reference.display [ fhir:value "Central Supply Restock" ]
]; #
fhir:SupplyDelivery.status [ fhir:value "completed"]; #
fhir:SupplyDelivery.type [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.system [ fhir:value "http://hl7.org/fhir/supplydelivery-supplyitemtype" ];
fhir:Coding.code [ fhir:value "device" ]
];
fhir:CodeableConcept.text [ fhir:value "Blood collect tubes blue cap" ]
]; #
fhir:SupplyDelivery.suppliedItem [
fhir:index 0;
fhir:SupplyDelivery.suppliedItem.quantity [
fhir:Quantity.value [ fhir:value "10"^^xsd:decimal ]
];
fhir:SupplyDelivery.suppliedItem.itemCodeableConcept [
fhir:CodeableConcept.coding [
fhir:index 0;
fhir:Coding.code [ fhir:value "BlueTubes" ];
fhir:Coding.display [ fhir:value "Blood collect tubes blue cap" ]
]
]
]; #
fhir:SupplyDelivery.occurrenceDateTime [ fhir:value "2016-12-31"^^xsd:date]; #
fhir:SupplyDelivery.supplier [
fhir:Reference.display [ fhir:value "Vendor1" ]
]; #
fhir:SupplyDelivery.destination [
fhir:Reference.display [ fhir:value "Location 1" ]
]] . #
# - 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.