OpenELIS Global FHIR Implementation Guide
0.2.2 - ci-build International flag

OpenELIS Global FHIR Implementation Guide - Local Development build (v0.2.2) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: OpenELIS Shipment Box - Detailed Descriptions

Draft as of 2026-10-14

Definitions for the openelis-shipment-box resource profile

See the documentation on how to interpret the contents of this table

0. SupplyDelivery
Definition

Record of delivery of what is supplied.

ShortDelivery of bulk Supplies
Control0..*
Is Modifierfalse
Summaryfalse
Invariantsdom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource (contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty())
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty())
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty())
dom-6: A resource should have narrative for robust management (text.`div`.exists())
2. SupplyDelivery.id
Definition

The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

ShortLogical id of this artifact
Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Control0..1
Typeid
Is Modifierfalse
Summarytrue
4. SupplyDelivery.implicitRules
Definition

A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

ShortA set of rules under which this content was created
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

Control0..1
Typeuri
Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
Summarytrue
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
6. SupplyDelivery.extension
Definition

An Extension


May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

ShortExtensionAdditional content defined by implementations
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Control0..*
TypeExtension
Is Modifierfalse
Summaryfalse
Alternate Namesextensions, user content
Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
SlicingThis element introduces a set of slices on SupplyDelivery.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
  • value @ url
  • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

    8. SupplyDelivery.extension:destinationOrg
    Slice NamedestinationOrg
    Definition

    UUID of the destination Organization. Kept for receivers that do not read the contained destination Location. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-destination-org (see Known Issues).

    ShortShipment destination organization id
    Control0..1
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipment destination organization id) (Extension Type: string)
    Is Modifierfalse
    Must Supporttrue
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    10. SupplyDelivery.extension:sourceOrg
    Slice NamesourceOrg
    Definition

    Name of the sending OpenELIS site (its configuration name). OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-source-org (see Known Issues).

    ShortShipment source laboratory
    Control0..1
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipment source laboratory) (Extension Type: string)
    Is Modifierfalse
    Must Supporttrue
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    12. SupplyDelivery.extension:temperature
    Slice Nametemperature
    Definition

    Temperature the box must be kept at in transit. Free text (for example 2-8 °C). OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-temperature (see Known Issues).

    ShortShipment temperature requirement
    Control0..1
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipment temperature requirement) (Extension Type: string)
    Is Modifierfalse
    Must Supporttrue
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    14. SupplyDelivery.extension:capacity
    Slice Namecapacity
    Definition

    Number of specimens the box can hold. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-capacity (see Known Issues).

    ShortShipment box capacity
    Control0..1
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipment box capacity) (Extension Type: integer)
    Is Modifierfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    16. SupplyDelivery.extension:notes
    Slice Namenotes
    Definition

    Free-text notes on the box. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-notes (see Known Issues).

    ShortShipment notes
    Control0..1
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipment notes) (Extension Type: string)
    Is Modifierfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    18. SupplyDelivery.extension:contentItem
    Slice NamecontentItem
    Definition

    One row of the box manifest. Repeats once per item in the box. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-content-item (see Known Issues).

    ShortShipment content item
    Control0..*
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipment content item) (Complex Extension)
    Is Modifierfalse
    Must Supporttrue
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    20. SupplyDelivery.extension:nonConformity
    Slice NamenonConformity
    Definition

    A problem recorded when the box was received (damaged, leaked, missing, rejected). SNOMED CT by default. Codes can be overridden per site. Only sent after reception. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-non-conformity (see Known Issues).

    ShortShipment non-conformity
    Control0..*
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipment non-conformity) (Extension Type: CodeableConcept)
    Is Modifierfalse
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    22. SupplyDelivery.extension:specimen
    Slice Namespecimen
    Definition

    A Specimen in the box. Repeats once per sample item with a FHIR id. The receiving site uses these references at reception. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-specimen (see Known Issues).

    ShortShipped specimen
    Control0..*
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipped specimen) (Extension Type: Reference(OpenELIS Specimen))
    Is Modifierfalse
    Must Supporttrue
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    24. SupplyDelivery.extension:typeSummary
    Slice NametypeSummary
    Definition

    Count of items in the box per sample type. One repetition per distinct type, in no guaranteed order. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-specimen-type-summary (see Known Issues).

    ShortShipment specimen type summary
    Control0..*
    This element is affected by the following invariants: ele-1
    TypeExtension(Shipment specimen type summary) (Complex Extension)
    Is Modifierfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    26. SupplyDelivery.extension:eqaCycle
    Slice NameeqaCycle
    Definition

    External quality assessment cycle the consignment belongs to. Only sent for EQA boxes. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/eqa-cycle (see Known Issues).

    ShortEQA cycle
    Control0..1
    This element is affected by the following invariants: ele-1
    TypeExtension(EQA cycle) (Complex Extension)
    Is Modifierfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    28. SupplyDelivery.modifierExtension
    Definition

    May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

    Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

    ShortExtensions that cannot be ignored
    Comments

    There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

    Control0..*
    TypeExtension
    Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
    Summaryfalse
    Requirements

    Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

    Alternate Namesextensions, user content
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
    30. SupplyDelivery.identifier
    Definition

    Identifier for the supply delivery event that is used to identify it across multiple disparate systems.

    ShortExternal identifier
    Comments

    This identifier is typically assigned by the dispenser, and may be used to reference the delivery when exchanging information about it with other systems.

    NoteThis is a business identifier, not a resource identifier (see discussion)
    Control10..*
    TypeIdentifier
    Is Modifierfalse
    Must Supporttrue
    Summaryfalse
    Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
    SlicingThis element introduces a set of slices on SupplyDelivery.identifier. The slices areUnordered and Open, and can be differentiated using the following discriminators:
    • value @ system
    • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

      32. SupplyDelivery.identifier:boxId
      Slice NameboxId
      Definition

      Identifier for the supply delivery event that is used to identify it across multiple disparate systems.

      ShortShipping box idExternal identifier
      Comments

      This identifier is typically assigned by the dispenser, and may be used to reference the delivery when exchanging information about it with other systems.

      NoteThis is a business identifier, not a resource identifier (see discussion)
      Control10..1*
      TypeIdentifier
      Is Modifierfalse
      Must Supporttrue
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      34. SupplyDelivery.identifier:boxId.use
      Definition

      The purpose of this identifier.

      Shortusual | official | temp | secondary | old (If known)
      Comments

      Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

      Control0..1
      BindingThe codes SHALL be taken from IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1
      (required to http://hl7.org/fhir/ValueSet/identifier-use|4.0.1)

      Identifies the purpose for this identifier, if known .

      Typecode
      Is Modifiertrue because This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summarytrue
      Requirements

      Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      36. SupplyDelivery.identifier:boxId.system
      Definition

      Establishes the namespace for the value - that is, a URL that describes a set values that are unique.

      ShortThe namespace for the identifier value
      Comments

      Identifier.system is always case sensitive.

      Control10..1
      Typeuri
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summarytrue
      Requirements

      There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

      Pattern Valuehttp://openelis.org/shipment/box-id
      ExampleGeneral: http://www.acme.com/identifiers/patient
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      38. SupplyDelivery.identifier:boxId.value
      Definition

      The portion of the identifier typically relevant to the user and which is unique within the context of the system.

      ShortThe value that is unique
      Comments

      If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension. Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

      Control10..1
      Typestring
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summarytrue
      ExampleGeneral: 123456
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      40. SupplyDelivery.status
      Definition

      A code specifying the state of the dispense event.

      Shortin-progress | completed | abandoned | entered-in-error
      Comments

      Draft, ready to send, sent and in transit = in-progress. Received, partially received and reconciled = completed. Cancelled and lost in transit = abandoned. On reception the receiver sets the sender's copy to completed when org.openelisglobal.remote.source.updateStatus=true.


      This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.

      Control10..1
      BindingThe codes SHALL be taken from SupplyDeliveryStatushttp://hl7.org/fhir/ValueSet/supplydelivery-status|4.0.1
      (required to http://hl7.org/fhir/ValueSet/supplydelivery-status|4.0.1)

      Status of the supply delivery.

      Typecode
      Is Modifiertrue because This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Must Supporttrue
      Summarytrue
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      42. SupplyDelivery.type
      Definition

      Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.

      ShortCategory of dispense event
      Comments

      Recommended: omit (see Known Issues). Currently http://terminology.hl7.org/CodeSystem/supply-item-type#medication with display 'Specimen Shipment' and text 'Specimen Shipment Box' (see Known Issues).

      Control0..1
      BindingThe codes SHALL be taken from SupplyItemTypehttp://hl7.org/fhir/ValueSet/supplydelivery-type|4.0.1
      (required to http://hl7.org/fhir/ValueSet/supplydelivery-type|4.0.1)

      The type of supply dispense.

      TypeCodeableConcept
      Is Modifierfalse
      Must Supporttrue
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      44. SupplyDelivery.suppliedItem
      Definition

      The item that is being delivered or has been supplied.

      ShortThe item that is delivered or supplied
      Control10..1
      TypeBackboneElement
      Is Modifierfalse
      Must Supporttrue
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      46. SupplyDelivery.suppliedItem.modifierExtension
      Definition

      May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

      Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

      ShortExtensions that cannot be ignored even if unrecognized
      Comments

      There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

      Control0..*
      TypeExtension
      Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
      Summarytrue
      Requirements

      Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

      Alternate Namesextensions, user content, modifiers
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
      48. SupplyDelivery.suppliedItem.quantity
      Definition

      The amount of supply that has been dispensed. Includes unit of measure.

      ShortAmount dispensed
      Comments

      Number of items in the box, as {specimens} (UCUM).

      Control10..1
      TypeQuantity(SimpleQuantity)
      Is Modifierfalse
      Must Supporttrue
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      sqty-1: The comparator is not used on a SimpleQuantity (comparator.empty())
      50. SupplyDelivery.suppliedItem.quantity.comparator
      Definition

      Not allowed to be used in this context


      How the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.

      Short< | <= | >= | > - how to understand the value
      Control0..01
      BindingThe codes SHALL be taken from QuantityComparatorhttp://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1
      (required to http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1)

      How the Quantity should be understood and represented.

      Typecode
      Is Modifiertrue because This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summarytrue
      Requirements

      Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

      Meaning if MissingIf there is no comparator, then there is no modification of the value
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      52. SupplyDelivery.suppliedItem.quantity.system
      Definition

      The identification of the system that provides the coded form of the unit.

      ShortSystem that defines coded unit form
      Control0..1
      This element is affected by the following invariants: qty-3
      Typeuri
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summarytrue
      Requirements

      Need to know the system that defines the coded form of the unit.

      Pattern Valuehttp://unitsofmeasure.org
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      54. SupplyDelivery.suppliedItem.quantity.code
      Definition

      A computer processable form of the unit in some unit representation system.

      ShortCoded form of the unit
      Comments

      The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

      Control0..1
      Typecode
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Summarytrue
      Requirements

      Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.

      Pattern Value{specimens}
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      56. SupplyDelivery.suppliedItem.item[x]
      Definition

      Identifies the medication, substance or device being dispensed. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.

      ShortMedication, Substance, or Device supplied
      Comments

      SNOMED CT container type: site setting fhirContainerTypeCode, default 434711009 Specimen container.

      Control0..1
      BindingFor example codes, see SNOMEDCTSupplyItemhttp://hl7.org/fhir/ValueSet/supply-item|4.0.1
      (example to http://hl7.org/fhir/ValueSet/supply-item|4.0.1)

      The item that was delivered.

      TypeCodeableConcept, Reference(Medication, Substance, Device)
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Is Modifierfalse
      Must Supporttrue
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      58. SupplyDelivery.occurrence[x]
      Definition

      The date or time(s) the activity occurred.

      ShortWhen event occurred
      Comments

      Sent date, else created date. The receiver ignores boxes older than org.openelisglobal.shipment.import.maxAgeDays (default 30).


      [The list of types may be constrained as appropriate for the type of event].

      Control0..1
      TypedateTime, Period, Timing
      [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
      Is Modifierfalse
      Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
      Must Supporttrue
      Summarytrue
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      60. SupplyDelivery.supplier
      Definition

      The individual responsible for dispensing the medication, supplier or device.

      ShortThe sending site's OrganizationDispenser
      Control0..1
      TypeReference(OpenELIS Organization, Practitioner, PractitionerRole, Organization)
      Is Modifierfalse
      Must Supporttrue
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      62. SupplyDelivery.destination
      Definition

      Identification of the facility/location where the Supply was shipped to, as part of the dispense event.

      ShortWhere the Supply was sent
      Comments

      A reference to a contained Location (#destination-facility) whose managingOrganization is the destination Organization.

      Control0..1
      TypeReference(Location)
      Is Modifierfalse
      Must Supporttrue
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
      64. SupplyDelivery.receiver
      Definition

      Identifies the person who picked up the Supply.

      ShortWho collected the Supply
      Comments

      Not set. The receiver falls back to receiver.display when looking up the destination by name.

      Control0..*
      TypeReference(Practitioner, PractitionerRole)
      Is Modifierfalse
      Summaryfalse
      Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))

      See the documentation on how to interpret the contents of this table

      0. SupplyDelivery
      2. SupplyDelivery.id
      4. SupplyDelivery.extension
      SlicingThis element introduces a set of slices on SupplyDelivery.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
      • value @ url
      • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

        6. SupplyDelivery.extension:destinationOrg
        Slice NamedestinationOrg
        Control0..1
        TypeExtension(Shipment destination organization id) (Extension Type: string)
        Must Supporttrue
        8. SupplyDelivery.extension:sourceOrg
        Slice NamesourceOrg
        Control0..1
        TypeExtension(Shipment source laboratory) (Extension Type: string)
        Must Supporttrue
        10. SupplyDelivery.extension:temperature
        Slice Nametemperature
        Control0..1
        TypeExtension(Shipment temperature requirement) (Extension Type: string)
        Must Supporttrue
        12. SupplyDelivery.extension:capacity
        Slice Namecapacity
        Control0..1
        TypeExtension(Shipment box capacity) (Extension Type: integer)
        14. SupplyDelivery.extension:notes
        Slice Namenotes
        Control0..1
        TypeExtension(Shipment notes) (Extension Type: string)
        16. SupplyDelivery.extension:contentItem
        Slice NamecontentItem
        Control0..*
        TypeExtension(Shipment content item) (Complex Extension)
        Must Supporttrue
        18. SupplyDelivery.extension:nonConformity
        Slice NamenonConformity
        Control0..*
        TypeExtension(Shipment non-conformity) (Extension Type: CodeableConcept)
        20. SupplyDelivery.extension:specimen
        Slice Namespecimen
        Control0..*
        TypeExtension(Shipped specimen) (Extension Type: Reference(OpenELIS Specimen))
        Must Supporttrue
        22. SupplyDelivery.extension:typeSummary
        Slice NametypeSummary
        Control0..*
        TypeExtension(Shipment specimen type summary) (Complex Extension)
        24. SupplyDelivery.extension:eqaCycle
        Slice NameeqaCycle
        Control0..1
        TypeExtension(EQA cycle) (Complex Extension)
        26. SupplyDelivery.identifier
        NoteThis is a business identifier, not a resource identifier (see discussion)
        Control1..?
        Must Supporttrue
        SlicingThis element introduces a set of slices on SupplyDelivery.identifier. The slices areUnordered and Open, and can be differentiated using the following discriminators:
        • value @ system
        • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

          28. SupplyDelivery.identifier:boxId
          Slice NameboxId
          ShortShipping box id
          NoteThis is a business identifier, not a resource identifier (see discussion)
          Control1..1
          Must Supporttrue
          30. SupplyDelivery.identifier:boxId.system
          Control1..?
          Pattern Valuehttp://openelis.org/shipment/box-id
          32. SupplyDelivery.identifier:boxId.value
          Control1..?
          34. SupplyDelivery.status
          Comments

          Draft, ready to send, sent and in transit = in-progress. Received, partially received and reconciled = completed. Cancelled and lost in transit = abandoned. On reception the receiver sets the sender's copy to completed when org.openelisglobal.remote.source.updateStatus=true.

          Control1..?
          Must Supporttrue
          36. SupplyDelivery.type
          Comments

          Recommended: omit (see Known Issues). Currently http://terminology.hl7.org/CodeSystem/supply-item-type#medication with display 'Specimen Shipment' and text 'Specimen Shipment Box' (see Known Issues).

          Must Supporttrue
          38. SupplyDelivery.suppliedItem
          Control1..?
          Must Supporttrue
          40. SupplyDelivery.suppliedItem.quantity
          Comments

          Number of items in the box, as {specimens} (UCUM).

          Control1..?
          Must Supporttrue
          42. SupplyDelivery.suppliedItem.quantity.system
          Pattern Valuehttp://unitsofmeasure.org
          44. SupplyDelivery.suppliedItem.quantity.code
          Pattern Value{specimens}
          46. SupplyDelivery.suppliedItem.item[x]
          Comments

          SNOMED CT container type: site setting fhirContainerTypeCode, default 434711009 Specimen container.

          TypeCodeableConcept, Reference(Medication, Substance, Device)
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Must Supporttrue
          48. SupplyDelivery.occurrence[x]
          Comments

          Sent date, else created date. The receiver ignores boxes older than org.openelisglobal.shipment.import.maxAgeDays (default 30).

          TypedateTime, Period, Timing
          [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          Must Supporttrue
          50. SupplyDelivery.supplier
          ShortThe sending site's Organization
          TypeReference(OpenELIS Organization)
          Must Supporttrue
          52. SupplyDelivery.destination
          Comments

          A reference to a contained Location (#destination-facility) whose managingOrganization is the destination Organization.

          Must Supporttrue
          54. SupplyDelivery.receiver
          Comments

          Not set. The receiver falls back to receiver.display when looking up the destination by name.

          See the documentation on how to interpret the contents of this table

          0. SupplyDelivery
          Definition

          Record of delivery of what is supplied.

          ShortDelivery of bulk Supplies
          Control0..*
          Is Modifierfalse
          Summaryfalse
          Invariantsdom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources (contained.contained.empty())
          dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource (contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty())
          dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated (contained.meta.versionId.empty() and contained.meta.lastUpdated.empty())
          dom-5: If a resource is contained in another resource, it SHALL NOT have a security label (contained.meta.security.empty())
          dom-6: A resource should have narrative for robust management (text.`div`.exists())
          2. SupplyDelivery.id
          Definition

          The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.

          ShortLogical id of this artifact
          Comments

          The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

          Control0..1
          Typeid
          Is Modifierfalse
          Summarytrue
          4. SupplyDelivery.meta
          Definition

          The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.

          ShortMetadata about the resource
          Control0..1
          TypeMeta
          Is Modifierfalse
          Summarytrue
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          6. SupplyDelivery.implicitRules
          Definition

          A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.

          ShortA set of rules under which this content was created
          Comments

          Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

          Control0..1
          Typeuri
          Is Modifiertrue because This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          Summarytrue
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          8. SupplyDelivery.language
          Definition

          The base language in which the resource is written.

          ShortLanguage of the resource content
          Comments

          Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

          Control0..1
          BindingThe codes SHOULD be taken from CommonLanguages
          (preferred to http://hl7.org/fhir/ValueSet/languages|4.0.1)

          A human language.

          Additional BindingsPurpose
          AllLanguagesMax Binding
          Typecode
          Is Modifierfalse
          Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
          Summaryfalse
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          10. SupplyDelivery.text
          Definition

          A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.

          ShortText summary of the resource, for human interpretation
          Comments

          Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

          Control0..1
          TypeNarrative
          Is Modifierfalse
          Summaryfalse
          Alternate Namesnarrative, html, xhtml, display
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          12. SupplyDelivery.contained
          Definition

          These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.

          ShortContained, inline Resources
          Comments

          This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.

          Control0..*
          TypeResource
          Is Modifierfalse
          Summaryfalse
          Alternate Namesinline resources, anonymous resources, contained resources
          14. SupplyDelivery.extension
          Definition

          An Extension

          ShortExtension
          Control0..*
          TypeExtension
          Is Modifierfalse
          Summaryfalse
          Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
          ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
          SlicingThis element introduces a set of slices on SupplyDelivery.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
          • value @ url
          • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

            16. SupplyDelivery.extension:destinationOrg
            Slice NamedestinationOrg
            Definition

            UUID of the destination Organization. Kept for receivers that do not read the contained destination Location. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-destination-org (see Known Issues).

            ShortShipment destination organization id
            Control0..1
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipment destination organization id) (Extension Type: string)
            Is Modifierfalse
            Must Supporttrue
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            18. SupplyDelivery.extension:sourceOrg
            Slice NamesourceOrg
            Definition

            Name of the sending OpenELIS site (its configuration name). OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-source-org (see Known Issues).

            ShortShipment source laboratory
            Control0..1
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipment source laboratory) (Extension Type: string)
            Is Modifierfalse
            Must Supporttrue
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            20. SupplyDelivery.extension:temperature
            Slice Nametemperature
            Definition

            Temperature the box must be kept at in transit. Free text (for example 2-8 °C). OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-temperature (see Known Issues).

            ShortShipment temperature requirement
            Control0..1
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipment temperature requirement) (Extension Type: string)
            Is Modifierfalse
            Must Supporttrue
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            22. SupplyDelivery.extension:capacity
            Slice Namecapacity
            Definition

            Number of specimens the box can hold. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-capacity (see Known Issues).

            ShortShipment box capacity
            Control0..1
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipment box capacity) (Extension Type: integer)
            Is Modifierfalse
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            24. SupplyDelivery.extension:notes
            Slice Namenotes
            Definition

            Free-text notes on the box. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-notes (see Known Issues).

            ShortShipment notes
            Control0..1
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipment notes) (Extension Type: string)
            Is Modifierfalse
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            26. SupplyDelivery.extension:contentItem
            Slice NamecontentItem
            Definition

            One row of the box manifest. Repeats once per item in the box. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-content-item (see Known Issues).

            ShortShipment content item
            Control0..*
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipment content item) (Complex Extension)
            Is Modifierfalse
            Must Supporttrue
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            28. SupplyDelivery.extension:nonConformity
            Slice NamenonConformity
            Definition

            A problem recorded when the box was received (damaged, leaked, missing, rejected). SNOMED CT by default. Codes can be overridden per site. Only sent after reception. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-non-conformity (see Known Issues).

            ShortShipment non-conformity
            Control0..*
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipment non-conformity) (Extension Type: CodeableConcept)
            Is Modifierfalse
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            30. SupplyDelivery.extension:specimen
            Slice Namespecimen
            Definition

            A Specimen in the box. Repeats once per sample item with a FHIR id. The receiving site uses these references at reception. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-specimen (see Known Issues).

            ShortShipped specimen
            Control0..*
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipped specimen) (Extension Type: Reference(OpenELIS Specimen))
            Is Modifierfalse
            Must Supporttrue
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            32. SupplyDelivery.extension:typeSummary
            Slice NametypeSummary
            Definition

            Count of items in the box per sample type. One repetition per distinct type, in no guaranteed order. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/shipment-specimen-type-summary (see Known Issues).

            ShortShipment specimen type summary
            Control0..*
            This element is affected by the following invariants: ele-1
            TypeExtension(Shipment specimen type summary) (Complex Extension)
            Is Modifierfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            34. SupplyDelivery.extension:eqaCycle
            Slice NameeqaCycle
            Definition

            External quality assessment cycle the consignment belongs to. Only sent for EQA boxes. OpenELIS currently sends this extension with url http://openelis.org/fhir/extension/eqa-cycle (see Known Issues).

            ShortEQA cycle
            Control0..1
            This element is affected by the following invariants: ele-1
            TypeExtension(EQA cycle) (Complex Extension)
            Is Modifierfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            36. SupplyDelivery.modifierExtension
            Definition

            May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

            Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

            ShortExtensions that cannot be ignored
            Comments

            There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

            Control0..*
            TypeExtension
            Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them
            Summaryfalse
            Requirements

            Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

            Alternate Namesextensions, user content
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
            38. SupplyDelivery.identifier
            Definition

            Identifier for the supply delivery event that is used to identify it across multiple disparate systems.

            ShortExternal identifier
            Comments

            This identifier is typically assigned by the dispenser, and may be used to reference the delivery when exchanging information about it with other systems.

            NoteThis is a business identifier, not a resource identifier (see discussion)
            Control1..*
            TypeIdentifier
            Is Modifierfalse
            Must Supporttrue
            Summaryfalse
            Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
            SlicingThis element introduces a set of slices on SupplyDelivery.identifier. The slices areUnordered and Open, and can be differentiated using the following discriminators:
            • value @ system
            • Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them

              40. SupplyDelivery.identifier:boxId
              Slice NameboxId
              Definition

              Identifier for the supply delivery event that is used to identify it across multiple disparate systems.

              ShortShipping box id
              Comments

              This identifier is typically assigned by the dispenser, and may be used to reference the delivery when exchanging information about it with other systems.

              NoteThis is a business identifier, not a resource identifier (see discussion)
              Control1..1
              TypeIdentifier
              Is Modifierfalse
              Must Supporttrue
              Summaryfalse
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              42. SupplyDelivery.identifier:boxId.id
              Definition

              Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

              ShortUnique id for inter-element referencing
              Control0..1
              Typestring
              Is Modifierfalse
              XML FormatIn the XML format, this property is represented as an attribute.
              Summaryfalse
              44. SupplyDelivery.identifier:boxId.extension
              Definition

              May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

              ShortAdditional content defined by implementations
              Comments

              There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

              Control0..*
              TypeExtension
              Is Modifierfalse
              Summaryfalse
              Alternate Namesextensions, user content
              Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
              ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
              SlicingThis element introduces a set of slices on SupplyDelivery.identifier.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
              • value @ url
              • 46. SupplyDelivery.identifier:boxId.use
                Definition

                The purpose of this identifier.

                Shortusual | official | temp | secondary | old (If known)
                Comments

                Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

                Control0..1
                BindingThe codes SHALL be taken from IdentifierUse
                (required to http://hl7.org/fhir/ValueSet/identifier-use|4.0.1)

                Identifies the purpose for this identifier, if known .

                Typecode
                Is Modifiertrue because This is labeled as "Is Modifier" because applications should not mistake a temporary id for a permanent one.
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Summarytrue
                Requirements

                Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                48. SupplyDelivery.identifier:boxId.type
                Definition

                A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.

                ShortDescription of identifier
                Comments

                This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

                Control0..1
                BindingUnless not suitable, these codes SHALL be taken from Identifier Type Codes
                (extensible to http://hl7.org/fhir/ValueSet/identifier-type|4.0.1)

                A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

                TypeCodeableConcept
                Is Modifierfalse
                Summarytrue
                Requirements

                Allows users to make use of identifiers when the identifier system is not known.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                50. SupplyDelivery.identifier:boxId.system
                Definition

                Establishes the namespace for the value - that is, a URL that describes a set values that are unique.

                ShortThe namespace for the identifier value
                Comments

                Identifier.system is always case sensitive.

                Control1..1
                Typeuri
                Is Modifierfalse
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Summarytrue
                Requirements

                There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

                Pattern Valuehttp://openelis.org/shipment/box-id
                ExampleGeneral: http://www.acme.com/identifiers/patient
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                52. SupplyDelivery.identifier:boxId.value
                Definition

                The portion of the identifier typically relevant to the user and which is unique within the context of the system.

                ShortThe value that is unique
                Comments

                If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986. The value's primary purpose is computational mapping. As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.) A value formatted for human display can be conveyed using the Rendered Value extension. Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.

                Control1..1
                Typestring
                Is Modifierfalse
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Summarytrue
                ExampleGeneral: 123456
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                54. SupplyDelivery.identifier:boxId.period
                Definition

                Time period during which identifier is/was valid for use.

                ShortTime period when id is/was valid for use
                Control0..1
                TypePeriod
                Is Modifierfalse
                Summarytrue
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                56. SupplyDelivery.identifier:boxId.assigner
                Definition

                Organization that issued/manages the identifier.

                ShortOrganization that issued id (may be just text)
                Comments

                The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

                Control0..1
                TypeReference(Organization)
                Is Modifierfalse
                Summarytrue
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                58. SupplyDelivery.basedOn
                Definition

                A plan, proposal or order that is fulfilled in whole or in part by this event.

                ShortFulfills plan, proposal or order
                Control0..*
                TypeReference(SupplyRequest)
                Is Modifierfalse
                Summarytrue
                Requirements

                Allows tracing of authorization for the event and tracking whether proposals/recommendations were acted upon.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                60. SupplyDelivery.partOf
                Definition

                A larger event of which this particular event is a component or step.

                ShortPart of referenced event
                Comments

                Not to be used to link an event to an Encounter - use Event.context for that.

                [The allowed reference resources may be adjusted as appropriate for the event resource].

                Control0..*
                TypeReference(SupplyDelivery, Contract)
                Is Modifierfalse
                Summarytrue
                Requirements

                E.g. Drug administration as part of a procedure, procedure as part of observation, etc.

                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                62. SupplyDelivery.status
                Definition

                A code specifying the state of the dispense event.

                Shortin-progress | completed | abandoned | entered-in-error
                Comments

                Draft, ready to send, sent and in transit = in-progress. Received, partially received and reconciled = completed. Cancelled and lost in transit = abandoned. On reception the receiver sets the sender's copy to completed when org.openelisglobal.remote.source.updateStatus=true.

                Control1..1
                BindingThe codes SHALL be taken from SupplyDeliveryStatus
                (required to http://hl7.org/fhir/ValueSet/supplydelivery-status|4.0.1)

                Status of the supply delivery.

                Typecode
                Is Modifiertrue because This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid
                Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                Must Supporttrue
                Summarytrue
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                64. SupplyDelivery.patient
                Definition

                A link to a resource representing the person whom the delivered item is for.

                ShortPatient for whom the item is supplied
                Control0..1
                TypeReference(Patient)
                Is Modifierfalse
                Summaryfalse
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                66. SupplyDelivery.type
                Definition

                Indicates the type of dispensing event that is performed. Examples include: Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.

                ShortCategory of dispense event
                Comments

                Recommended: omit (see Known Issues). Currently http://terminology.hl7.org/CodeSystem/supply-item-type#medication with display 'Specimen Shipment' and text 'Specimen Shipment Box' (see Known Issues).

                Control0..1
                BindingThe codes SHALL be taken from SupplyItemType
                (required to http://hl7.org/fhir/ValueSet/supplydelivery-type|4.0.1)

                The type of supply dispense.

                TypeCodeableConcept
                Is Modifierfalse
                Must Supporttrue
                Summaryfalse
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                68. SupplyDelivery.suppliedItem
                Definition

                The item that is being delivered or has been supplied.

                ShortThe item that is delivered or supplied
                Control1..1
                TypeBackboneElement
                Is Modifierfalse
                Must Supporttrue
                Summaryfalse
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                70. SupplyDelivery.suppliedItem.id
                Definition

                Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                ShortUnique id for inter-element referencing
                Control0..1
                Typestring
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                72. SupplyDelivery.suppliedItem.extension
                Definition

                May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                ShortAdditional content defined by implementations
                Comments

                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                Control0..*
                TypeExtension
                Is Modifierfalse
                Summaryfalse
                Alternate Namesextensions, user content
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                74. SupplyDelivery.suppliedItem.modifierExtension
                Definition

                May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

                Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).

                ShortExtensions that cannot be ignored even if unrecognized
                Comments

                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                Control0..*
                TypeExtension
                Is Modifiertrue because Modifier extensions are expected to modify the meaning or interpretation of the element that contains them
                Summarytrue
                Requirements

                Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

                Alternate Namesextensions, user content, modifiers
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                76. SupplyDelivery.suppliedItem.quantity
                Definition

                The amount of supply that has been dispensed. Includes unit of measure.

                ShortAmount dispensed
                Comments

                Number of items in the box, as {specimens} (UCUM).

                Control1..1
                TypeQuantity(SimpleQuantity)
                Is Modifierfalse
                Must Supporttrue
                Summaryfalse
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                sqty-1: The comparator is not used on a SimpleQuantity (comparator.empty())
                78. SupplyDelivery.suppliedItem.quantity.id
                Definition

                Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.

                ShortUnique id for inter-element referencing
                Control0..1
                Typestring
                Is Modifierfalse
                XML FormatIn the XML format, this property is represented as an attribute.
                Summaryfalse
                80. SupplyDelivery.suppliedItem.quantity.extension
                Definition

                May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.

                ShortAdditional content defined by implementations
                Comments

                There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

                Control0..*
                TypeExtension
                Is Modifierfalse
                Summaryfalse
                Alternate Namesextensions, user content
                Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                ext-1: Must have either extensions or value[x], not both (extension.exists() != value.exists())
                SlicingThis element introduces a set of slices on SupplyDelivery.suppliedItem.quantity.extension. The slices areUnordered and Open, and can be differentiated using the following discriminators:
                • value @ url
                • 82. SupplyDelivery.suppliedItem.quantity.value
                  Definition

                  The value of the measured amount. The value includes an implicit precision in the presentation of the value.

                  ShortNumerical value (with implicit precision)
                  Comments

                  The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

                  Control0..1
                  Typedecimal
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  Precision is handled implicitly in almost all cases of measurement.

                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  84. SupplyDelivery.suppliedItem.quantity.comparator
                  Definition

                  Not allowed to be used in this context

                  Short< | <= | >= | > - how to understand the value
                  Control0..0
                  BindingThe codes SHALL be taken from QuantityComparator
                  (required to http://hl7.org/fhir/ValueSet/quantity-comparator|4.0.1)

                  How the Quantity should be understood and represented.

                  Typecode
                  Is Modifiertrue because This is labeled as "Is Modifier" because the comparator modifies the interpretation of the value significantly. If there is no comparator, then there is no modification of the value
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

                  Meaning if MissingIf there is no comparator, then there is no modification of the value
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  86. SupplyDelivery.suppliedItem.quantity.unit
                  Definition

                  A human-readable form of the unit.

                  ShortUnit representation
                  Control0..1
                  Typestring
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  88. SupplyDelivery.suppliedItem.quantity.system
                  Definition

                  The identification of the system that provides the coded form of the unit.

                  ShortSystem that defines coded unit form
                  Control0..1
                  This element is affected by the following invariants: qty-3
                  Typeuri
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  Need to know the system that defines the coded form of the unit.

                  Pattern Valuehttp://unitsofmeasure.org
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  90. SupplyDelivery.suppliedItem.quantity.code
                  Definition

                  A computer processable form of the unit in some unit representation system.

                  ShortCoded form of the unit
                  Comments

                  The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

                  Control0..1
                  Typecode
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Summarytrue
                  Requirements

                  Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.

                  Pattern Value{specimens}
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  92. SupplyDelivery.suppliedItem.item[x]
                  Definition

                  Identifies the medication, substance or device being dispensed. This is either a link to a resource representing the details of the item or a code that identifies the item from a known list.

                  ShortMedication, Substance, or Device supplied
                  Comments

                  SNOMED CT container type: site setting fhirContainerTypeCode, default 434711009 Specimen container.

                  Control0..1
                  BindingFor example codes, see SNOMEDCTSupplyItem
                  (example to http://hl7.org/fhir/ValueSet/supply-item|4.0.1)

                  The item that was delivered.

                  TypeCodeableConcept
                  [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                  Is Modifierfalse
                  Must Supporttrue
                  Summaryfalse
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  94. SupplyDelivery.occurrence[x]
                  Definition

                  The date or time(s) the activity occurred.

                  ShortWhen event occurred
                  Comments

                  Sent date, else created date. The receiver ignores boxes older than org.openelisglobal.shipment.import.maxAgeDays (default 30).

                  Control0..1
                  TypedateTime
                  [x] NoteSeeChoice of Data Typesfor further information about how to use [x]
                  Is Modifierfalse
                  Primitive ValueThis primitive element may be present, or absent, or replaced by an extension
                  Must Supporttrue
                  Summarytrue
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  96. SupplyDelivery.supplier
                  Definition

                  The individual responsible for dispensing the medication, supplier or device.

                  ShortThe sending site's Organization
                  Control0..1
                  TypeReference(OpenELIS Organization)
                  Is Modifierfalse
                  Must Supporttrue
                  Summaryfalse
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  98. SupplyDelivery.destination
                  Definition

                  Identification of the facility/location where the Supply was shipped to, as part of the dispense event.

                  ShortWhere the Supply was sent
                  Comments

                  A reference to a contained Location (#destination-facility) whose managingOrganization is the destination Organization.

                  Control0..1
                  TypeReference(Location)
                  Is Modifierfalse
                  Must Supporttrue
                  Summaryfalse
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))
                  100. SupplyDelivery.receiver
                  Definition

                  Identifies the person who picked up the Supply.

                  ShortWho collected the Supply
                  Comments

                  Not set. The receiver falls back to receiver.display when looking up the destination by name.

                  Control0..*
                  TypeReference(Practitioner, PractitionerRole)
                  Is Modifierfalse
                  Summaryfalse
                  Invariantsele-1: All FHIR elements must have a @value or children (hasValue() or (children().count() > id.count()))