Release 5 Draft Ballot

This page is part of the FHIR Specification (v4.6.0: R5 Draft Ballot). 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

Supplydelivery-example.ttl

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner

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 -------------------------------------------------------------------

<http://hl7.org/fhir/SupplyDelivery/simpledelivery> 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</b></p><p><b>identifier</b>: id: Order10284</p><p><b>basedOn</b>: <a>Generated Summary: id: Order10284; status: active; <span>Central Stock Resupply</span>; priority: asap; 10; occurrence: 2016-12-31; authoredOn: 2016-12-31</a></p><p><b>partOf</b>: <span>Central Supply Restock</span></p><p><b>status</b>: completed</p><p><b>type</b>: <span>Blood collect tubes blue cap</span></p><h3>SuppliedItems</h3><table><tr><td>-</td><td><b>Quantity</b></td><td><b>Item[x]</b></td></tr><tr><td>*</td><td>10</td><td><span>Blood collect tubes blue cap</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>"
  ];
  fhir:SupplyDelivery.identifier [
     fhir:index 0;
     fhir:Identifier.value [ fhir:value "Order10284" ]
  ];
  fhir:SupplyDelivery.basedOn [
     fhir:index 0;
     fhir:link <http://hl7.org/fhir/SupplyRequest/simpleorder>;
     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://terminology.hl7.org/CodeSystem/supply-item-type" ];
       fhir:Coding.code [ fhir:value "device" ]
     ];
     fhir:CodeableConcept.text [ fhir:value "Blood collect tubes blue cap" ]
  ];
  fhir:SupplyDelivery.suppliedItem [
     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" ]
  ] .

<http://hl7.org/fhir/SupplyRequest/simpleorder> a fhir:SupplyRequest .

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

<http://hl7.org/fhir/SupplyDelivery/simpledelivery.ttl> a owl:Ontology;
  owl:imports fhir:fhir.ttl;
  owl:versionIRI <http://build.fhir.org/SupplyDelivery/simpledelivery.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.