Publish-box (todo)
Orders and Observations Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: Patient, Practitioner |
ShEx statement for supplydelivery
PREFIX fhir: <http://hl7.org/fhir/> PREFIX fhirvs: <http://hl7.org/fhir/ValueSet/> PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> IMPORT <code.shex> IMPORT <Period.shex> IMPORT <Timing.shex> IMPORT <Device.shex> IMPORT <Patient.shex> IMPORT <dateTime.shex> IMPORT <Location.shex> IMPORT <Quantity.shex> IMPORT <Contract.shex> IMPORT <Reference.shex> IMPORT <Substance.shex> IMPORT <Identifier.shex> IMPORT <Medication.shex> IMPORT <Organization.shex> IMPORT <Practitioner.shex> IMPORT <InventoryItem.shex> IMPORT <SupplyRequest.shex> IMPORT <DomainResource.shex> IMPORT <CodeableConcept.shex> IMPORT <BackboneElement.shex> IMPORT <PractitionerRole.shex> IMPORT <NutritionProduct.shex> IMPORT <BiologicallyDerivedProduct.shex> start=@<SupplyDelivery> AND {fhir:nodeRole [fhir:treeRoot]} # Record of movement of supplies from one location to another <SupplyDelivery> EXTENDS @<DomainResource> CLOSED { a [fhir:SupplyDelivery]?; fhir:nodeRole [fhir:treeRoot]?; fhir:identifier @<OneOrMore_Identifier>?; # External identifier fhir:basedOn @<OneOrMore_Reference_SupplyRequest>?; # Fulfills plan, proposal or order fhir:partOf @<OneOrMore_Reference_Contract_OR_SupplyDelivery>?; # Part of referenced event fhir:status @<code> AND {fhir:v @fhirvs:supplydelivery-status}; # in-progress | completed | # abandoned | entered-in-error fhir:patient @<Reference> AND {fhir:link @<Patient> ? }?; # Patient for whom the item is # supplied fhir:type @<CodeableConcept>?; # Category of supply event fhir:stage @<CodeableConcept>; # Stage or event of delivery fhir:suppliedItem @<OneOrMore_SupplyDelivery.suppliedItem>?; # The item that is delivered or # supplied fhir:occurrence @<dateTime> OR @<Period> OR @<Timing> ?; # When event occurred fhir:supplier @<Reference> AND {fhir:link @<Organization> OR @<Practitioner> OR @<PractitionerRole> ? }?; # The item supplier fhir:destination @<Reference> AND {fhir:link @<Location> OR @<Organization> OR @<Practitioner> OR @<PractitionerRole> ? }?; # Where the delivery was sent fhir:receiver @<OneOrMore_Reference_Organization_OR_Practitioner_OR_PractitionerRole>?; # Who received the delivery } # The item that is delivered or supplied <SupplyDelivery.suppliedItem> EXTENDS @<BackboneElement> CLOSED { fhir:quantity @<Quantity>?; # Amount supplied fhir:condition @<CodeableConcept>?; # A description of the supplied # item's condition (e.g., box is # damaged) fhir:item @<CodeableConcept> OR (@<Reference> AND {fhir:link @<Medication> OR @<Substance> OR @<Device> OR @<BiologicallyDerivedProduct> OR @<NutritionProduct> OR @<InventoryItem> }) ?; # Medication, Substance, Device or # Biologically Derived Product # supplied } #---------------------- Cardinality Types (OneOrMore) ------------------- <OneOrMore_Identifier> CLOSED { rdf:first @<Identifier> ; rdf:rest [rdf:nil] OR @<OneOrMore_Identifier> } <OneOrMore_Reference_SupplyRequest> CLOSED { rdf:first @<Reference> AND {fhir:link @<SupplyRequest> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_SupplyRequest> } <OneOrMore_Reference_Contract_OR_SupplyDelivery> CLOSED { rdf:first @<Reference> AND {fhir:link @<Contract> OR @<SupplyDelivery> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Contract_OR_SupplyDelivery> } <OneOrMore_SupplyDelivery.suppliedItem> CLOSED { rdf:first @<SupplyDelivery.suppliedItem> ; rdf:rest [rdf:nil] OR @<OneOrMore_SupplyDelivery.suppliedItem> } <OneOrMore_Reference_Organization_OR_Practitioner_OR_PractitionerRole> CLOSED { rdf:first @<Reference> AND {fhir:link @<Organization> OR @<Practitioner> OR @<PractitionerRole> } ; rdf:rest [rdf:nil] OR @<OneOrMore_Reference_Organization_OR_Practitioner_OR_PractitionerRole> } #---------------------- Value Sets ------------------------ # Status of the supply delivery. fhirvs:supplydelivery-status ["in-progress" "completed" "abandoned" "entered-in-error"]
Usage note: every effort has been made to ensure that the ShEx files are correct and useful, but they are not a normative part of the specification.
FHIR ®© HL7.org 2011+. FHIR R6 hl7.fhir.core#6.0.0-ballot2 generated on Mon, Aug 12, 2024 16:59+0800.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R5 |
|
Propose a change