R6 Ballot (1st Draft)

This page is part of the FHIR Specification v6.0.0-ballot1: Release 6 Ballot (1st Draft) (see Ballot Notes). The current version is 5.0.0. For a full list of available versions, see the Directory of published versions

12.29 Resource InventoryReport - Content

Orders and Observations icon Work GroupMaturity Level: 0 Trial UseSecurity Category: Business Compartments: No defined compartments

A report of inventory or stock items.

Lists the current status or changes to an inventory. The current status of inventory is presented as the quantity of items, grouped in listings, where a listing can be the items in a location, or with a given status. This is a 'snapshot' of the current inventory.
The changes to an inventory are represented as the additions (incoming) or substractions (consumptions or outgoing) of items to an inventory listing. This is often used when there is a need to determine the increment/decrement in stock, and there is a need to only transmit the difference, without the need to update the entire snapshot.
The inventory status can be available as a response to a request, or can be done ad-hoc (e.g. report a consumption for consignment stock) or scheduled (e.g. recount the stock every 6 months).

The InventoryReport resource is associated with consumable items - typically resources like Medication, Devices. Inventory management is related to SupplyRequest and SupplyDelivery, which may be associated with an increase or decrease of inventory.

xxDispense: The InventoryReport resource can also be used to indicate consumption of an item. When a Dispense event occurs, there is a depletion in stock. InventoryReport does not overlap with Dispense: Dispense carries the 'clinical' meaning that a product has been assigned to a patient. The InventoryReport captures the logistic aspect. For example (see examples)

  • when a Medication is dispensed to a patient, the use of an inventoryReport is not needed
  • when a Medication is dropped and afterwards disposed of, and therefore not used by any patient, the InventoryReport can captures this and inform the inventory management system about the subtraction of that item.
  • when there is a need to inform, for inventory reasons, the items that have been taken from stock, this can be done with an InventoryReport.

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryReport TUDomainResourceA report of inventory or stock items

Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension
... identifier Σ0..*IdentifierBusiness identifier for the report

... status ?!Σ1..1codedraft | requested | active | entered-in-error
Binding: Inventory Report Status (Required)
... countType ?!Σ1..1codesnapshot | difference
Binding: Inventory Count Type (Required)
... operationTypeReason Σ0..1CodeableConceptThe reason for this count - regular count, ad-hoc count, new arrivals, etc
... reportedDateTime Σ1..1dateTimeWhen the report has been submitted
... reporter 0..1Reference(Practitioner | Patient | RelatedPerson | Device)Who submits the report
... reportingPeriod 0..1PeriodThe period the report refers to
... inventoryListing Σ0..*BackboneElementAn inventory listing section (grouped by any of the attributes)

.... location 0..1Reference(Location)Location of the inventory items
.... itemStatus Σ0..1CodeableConceptThe status of the items that are being reported
.... countingDateTime 0..1dateTimeThe date and time when the items were counted
.... item Σ0..*BackboneElementThe item or items in this listing

..... category Σ0..1CodeableConceptThe inventory category or classification of the items being reported
..... quantity Σ1..1QuantityThe quantity of the item or items being reported
..... item Σ1..1CodeableReference(Medication | Device | Medication | NutritionProduct | InventoryItem | BiologicallyDerivedProduct | InventoryItem)The code or reference to the item type
... note 0..*AnnotationA note associated with the InventoryReport


doco Documentation for this format icon

See the Extensions for this resource

UML Diagram (Legend)

InventoryReport (DomainResource)Business identifier for the InventoryReportidentifier : Identifier [0..*]The status of the inventory check or notification - whether this is draft (e.g. the report is still pending some updates) or active (this element modifies the meaning of other elements)status : code [1..1] « null (Strength=Required)InventoryReportStatus! »Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change) (this element modifies the meaning of other elements)countType : code [1..1] « null (Strength=Required)InventoryCountType! »What type of operation is being performed - addition or subtractionoperationType : CodeableConcept [0..1]The reason for this count - regular count, ad-hoc count, new arrivals, etcoperationTypeReason : CodeableConcept [0..1]When the report has been submittedreportedDateTime : dateTime [1..1]Who submits the reportreporter : Reference [0..1] « Practitioner|Patient|RelatedPerson| Device »The period the report refers toreportingPeriod : Period [0..1]A note associated with the InventoryReportnote : Annotation [0..*]InventoryListingLocation of the inventory itemslocation : Reference [0..1] « Location »The status of the itemsitemStatus : CodeableConcept [0..1]The date and time when the items were countedcountingDateTime : dateTime [0..1]ItemThe inventory category or classification of the items being reported. This is meant not for defining the product, but for inventory categories e.g. 'pending recount' or 'damaged'category : CodeableConcept [0..1]The quantity of the item or items being reportedquantity : Quantity [1..1]The code or reference to the item typeitem : CodeableReference [1..1] « Medication|Device|Medication| NutritionProduct|InventoryItem|BiologicallyDerivedProduct| InventoryItem »The item or items in this listingitem[0..*]An inventory listing section (grouped by any of the attributes)inventoryListing[0..*]

XML Template

<InventoryReport xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <identifier><!-- 0..* Identifier Business identifier for the report --></identifier>
 <status value="[code]"/><!-- 1..1 draft | requested | active | entered-in-error -->
 <countType value="[code]"/><!-- 1..1 snapshot | difference -->
 <operationType><!-- 0..1 CodeableConcept addition | subtraction --></operationType>
 <operationTypeReason><!-- 0..1 CodeableConcept The reason for this count - regular count, ad-hoc count, new arrivals, etc --></operationTypeReason>
 <reportedDateTime value="[dateTime]"/><!-- 1..1 When the report has been submitted -->
 <reporter><!-- 0..1 Reference(Device|Patient|Practitioner|RelatedPerson) Who submits the report --></reporter>
 <reportingPeriod><!-- 0..1 Period The period the report refers to --></reportingPeriod>
 <inventoryListing>  <!-- 0..* An inventory listing section (grouped by any of the attributes) -->
  <location><!-- 0..1 Reference(Location) Location of the inventory items --></location>
  <itemStatus><!-- 0..1 CodeableConcept The status of the items that are being reported --></itemStatus>
  <countingDateTime value="[dateTime]"/><!-- 0..1 The date and time when the items were counted -->
  <item>  <!-- 0..* The item or items in this listing -->
   <category><!-- 0..1 CodeableConcept The inventory category or classification of the items being reported --></category>
   <quantity><!-- 1..1 Quantity The quantity of the item or items being reported --></quantity>
   <item><!-- 1..1 CodeableReference(BiologicallyDerivedProduct|Device|
     InventoryItem|InventoryItem|Medication|Medication|NutritionProduct) The code or reference to the item type --></item>
  </item>
 </inventoryListing>
 <note><!-- 0..* Annotation A note associated with the InventoryReport --></note>
</InventoryReport>

JSON Template

{doco
  "resourceType" : "InventoryReport",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "identifier" : [{ Identifier }], // Business identifier for the report
  "status" : "<code>", // R!  draft | requested | active | entered-in-error
  "countType" : "<code>", // R!  snapshot | difference
  "operationType" : { CodeableConcept }, // addition | subtraction
  "operationTypeReason" : { CodeableConcept }, // The reason for this count - regular count, ad-hoc count, new arrivals, etc
  "reportedDateTime" : "<dateTime>", // R!  When the report has been submitted
  "reporter" : { Reference(Device|Patient|Practitioner|RelatedPerson) }, // Who submits the report
  "reportingPeriod" : { Period }, // The period the report refers to
  "inventoryListing" : [{ // An inventory listing section (grouped by any of the attributes)
    "location" : { Reference(Location) }, // Location of the inventory items
    "itemStatus" : { CodeableConcept }, // The status of the items that are being reported
    "countingDateTime" : "<dateTime>", // The date and time when the items were counted
    "item" : [{ // The item or items in this listing
      "category" : { CodeableConcept }, // The inventory category or classification of the items being reported
      "quantity" : { Quantity }, // R!  The quantity of the item or items being reported
      "item" : { CodeableReference(BiologicallyDerivedProduct|Device|
     InventoryItem|InventoryItem|Medication|Medication|NutritionProduct) } // R!  The code or reference to the item type
    }]
  }],
  "note" : [{ Annotation }] // A note associated with the InventoryReport
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .doco


[ a fhir:InventoryReport;
  fhir:nodeRole fhir:treeRoot; # if this is the parser root

  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:identifier  ( [ Identifier ] ... ) ; # 0..* Business identifier for the report
  fhir:status [ code ] ; # 1..1 draft | requested | active | entered-in-error
  fhir:countType [ code ] ; # 1..1 snapshot | difference
  fhir:operationType [ CodeableConcept ] ; # 0..1 addition | subtraction
  fhir:operationTypeReason [ CodeableConcept ] ; # 0..1 The reason for this count - regular count, ad-hoc count, new arrivals, etc
  fhir:reportedDateTime [ dateTime ] ; # 1..1 When the report has been submitted
  fhir:reporter [ Reference(Device|Patient|Practitioner|RelatedPerson) ] ; # 0..1 Who submits the report
  fhir:reportingPeriod [ Period ] ; # 0..1 The period the report refers to
  fhir:inventoryListing ( [ # 0..* An inventory listing section (grouped by any of the attributes)
    fhir:location [ Reference(Location) ] ; # 0..1 Location of the inventory items
    fhir:itemStatus [ CodeableConcept ] ; # 0..1 The status of the items that are being reported
    fhir:countingDateTime [ dateTime ] ; # 0..1 The date and time when the items were counted
    fhir:item ( [ # 0..* The item or items in this listing
      fhir:category [ CodeableConcept ] ; # 0..1 The inventory category or classification of the items being reported
      fhir:quantity [ Quantity ] ; # 1..1 The quantity of the item or items being reported
      fhir:item [ CodeableReference(BiologicallyDerivedProduct|Device|InventoryItem|InventoryItem|Medication|
  Medication|NutritionProduct) ] ; # 1..1 The code or reference to the item type
    ] ... ) ;
  ] ... ) ;
  fhir:note  ( [ Annotation ] ... ) ; # 0..* A note associated with the InventoryReport
]

Changes from both R4 and R4B

This resource did not exist in Release R4

See the Full Difference for further information

This analysis is available for R4 as XML or JSON and for R4B as XML or JSON.

Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryReport TUDomainResourceA report of inventory or stock items

Elements defined in Ancestors: id, meta, implicitRules, language, text, contained, extension, modifierExtension
... identifier Σ0..*IdentifierBusiness identifier for the report

... status ?!Σ1..1codedraft | requested | active | entered-in-error
Binding: Inventory Report Status (Required)
... countType ?!Σ1..1codesnapshot | difference
Binding: Inventory Count Type (Required)
... operationTypeReason Σ0..1CodeableConceptThe reason for this count - regular count, ad-hoc count, new arrivals, etc
... reportedDateTime Σ1..1dateTimeWhen the report has been submitted
... reporter 0..1Reference(Practitioner | Patient | RelatedPerson | Device)Who submits the report
... reportingPeriod 0..1PeriodThe period the report refers to
... inventoryListing Σ0..*BackboneElementAn inventory listing section (grouped by any of the attributes)

.... location 0..1Reference(Location)Location of the inventory items
.... itemStatus Σ0..1CodeableConceptThe status of the items that are being reported
.... countingDateTime 0..1dateTimeThe date and time when the items were counted
.... item Σ0..*BackboneElementThe item or items in this listing

..... category Σ0..1CodeableConceptThe inventory category or classification of the items being reported
..... quantity Σ1..1QuantityThe quantity of the item or items being reported
..... item Σ1..1CodeableReference(Medication | Device | Medication | NutritionProduct | InventoryItem | BiologicallyDerivedProduct | InventoryItem)The code or reference to the item type
... note 0..*AnnotationA note associated with the InventoryReport


doco Documentation for this format icon

See the Extensions for this resource

UML Diagram (Legend)

InventoryReport (DomainResource)Business identifier for the InventoryReportidentifier : Identifier [0..*]The status of the inventory check or notification - whether this is draft (e.g. the report is still pending some updates) or active (this element modifies the meaning of other elements)status : code [1..1] « null (Strength=Required)InventoryReportStatus! »Whether the report is about the current inventory count (snapshot) or a differential change in inventory (change) (this element modifies the meaning of other elements)countType : code [1..1] « null (Strength=Required)InventoryCountType! »What type of operation is being performed - addition or subtractionoperationType : CodeableConcept [0..1]The reason for this count - regular count, ad-hoc count, new arrivals, etcoperationTypeReason : CodeableConcept [0..1]When the report has been submittedreportedDateTime : dateTime [1..1]Who submits the reportreporter : Reference [0..1] « Practitioner|Patient|RelatedPerson| Device »The period the report refers toreportingPeriod : Period [0..1]A note associated with the InventoryReportnote : Annotation [0..*]InventoryListingLocation of the inventory itemslocation : Reference [0..1] « Location »The status of the itemsitemStatus : CodeableConcept [0..1]The date and time when the items were countedcountingDateTime : dateTime [0..1]ItemThe inventory category or classification of the items being reported. This is meant not for defining the product, but for inventory categories e.g. 'pending recount' or 'damaged'category : CodeableConcept [0..1]The quantity of the item or items being reportedquantity : Quantity [1..1]The code or reference to the item typeitem : CodeableReference [1..1] « Medication|Device|Medication| NutritionProduct|InventoryItem|BiologicallyDerivedProduct| InventoryItem »The item or items in this listingitem[0..*]An inventory listing section (grouped by any of the attributes)inventoryListing[0..*]

XML Template

<InventoryReport xmlns="http://hl7.org/fhir"> doco
 <!-- from Resource: id, meta, implicitRules, and language -->
 <!-- from DomainResource: text, contained, extension, and modifierExtension -->
 <identifier><!-- 0..* Identifier Business identifier for the report --></identifier>
 <status value="[code]"/><!-- 1..1 draft | requested | active | entered-in-error -->
 <countType value="[code]"/><!-- 1..1 snapshot | difference -->
 <operationType><!-- 0..1 CodeableConcept addition | subtraction --></operationType>
 <operationTypeReason><!-- 0..1 CodeableConcept The reason for this count - regular count, ad-hoc count, new arrivals, etc --></operationTypeReason>
 <reportedDateTime value="[dateTime]"/><!-- 1..1 When the report has been submitted -->
 <reporter><!-- 0..1 Reference(Device|Patient|Practitioner|RelatedPerson) Who submits the report --></reporter>
 <reportingPeriod><!-- 0..1 Period The period the report refers to --></reportingPeriod>
 <inventoryListing>  <!-- 0..* An inventory listing section (grouped by any of the attributes) -->
  <location><!-- 0..1 Reference(Location) Location of the inventory items --></location>
  <itemStatus><!-- 0..1 CodeableConcept The status of the items that are being reported --></itemStatus>
  <countingDateTime value="[dateTime]"/><!-- 0..1 The date and time when the items were counted -->
  <item>  <!-- 0..* The item or items in this listing -->
   <category><!-- 0..1 CodeableConcept The inventory category or classification of the items being reported --></category>
   <quantity><!-- 1..1 Quantity The quantity of the item or items being reported --></quantity>
   <item><!-- 1..1 CodeableReference(BiologicallyDerivedProduct|Device|
     InventoryItem|InventoryItem|Medication|Medication|NutritionProduct) The code or reference to the item type --></item>
  </item>
 </inventoryListing>
 <note><!-- 0..* Annotation A note associated with the InventoryReport --></note>
</InventoryReport>

JSON Template

{doco
  "resourceType" : "InventoryReport",
  // from Resource: id, meta, implicitRules, and language
  // from DomainResource: text, contained, extension, and modifierExtension
  "identifier" : [{ Identifier }], // Business identifier for the report
  "status" : "<code>", // R!  draft | requested | active | entered-in-error
  "countType" : "<code>", // R!  snapshot | difference
  "operationType" : { CodeableConcept }, // addition | subtraction
  "operationTypeReason" : { CodeableConcept }, // The reason for this count - regular count, ad-hoc count, new arrivals, etc
  "reportedDateTime" : "<dateTime>", // R!  When the report has been submitted
  "reporter" : { Reference(Device|Patient|Practitioner|RelatedPerson) }, // Who submits the report
  "reportingPeriod" : { Period }, // The period the report refers to
  "inventoryListing" : [{ // An inventory listing section (grouped by any of the attributes)
    "location" : { Reference(Location) }, // Location of the inventory items
    "itemStatus" : { CodeableConcept }, // The status of the items that are being reported
    "countingDateTime" : "<dateTime>", // The date and time when the items were counted
    "item" : [{ // The item or items in this listing
      "category" : { CodeableConcept }, // The inventory category or classification of the items being reported
      "quantity" : { Quantity }, // R!  The quantity of the item or items being reported
      "item" : { CodeableReference(BiologicallyDerivedProduct|Device|
     InventoryItem|InventoryItem|Medication|Medication|NutritionProduct) } // R!  The code or reference to the item type
    }]
  }],
  "note" : [{ Annotation }] // A note associated with the InventoryReport
}

Turtle Template

@prefix fhir: <http://hl7.org/fhir/> .doco


[ a fhir:InventoryReport;
  fhir:nodeRole fhir:treeRoot; # if this is the parser root

  # from Resource: .id, .meta, .implicitRules, and .language
  # from DomainResource: .text, .contained, .extension, and .modifierExtension
  fhir:identifier  ( [ Identifier ] ... ) ; # 0..* Business identifier for the report
  fhir:status [ code ] ; # 1..1 draft | requested | active | entered-in-error
  fhir:countType [ code ] ; # 1..1 snapshot | difference
  fhir:operationType [ CodeableConcept ] ; # 0..1 addition | subtraction
  fhir:operationTypeReason [ CodeableConcept ] ; # 0..1 The reason for this count - regular count, ad-hoc count, new arrivals, etc
  fhir:reportedDateTime [ dateTime ] ; # 1..1 When the report has been submitted
  fhir:reporter [ Reference(Device|Patient|Practitioner|RelatedPerson) ] ; # 0..1 Who submits the report
  fhir:reportingPeriod [ Period ] ; # 0..1 The period the report refers to
  fhir:inventoryListing ( [ # 0..* An inventory listing section (grouped by any of the attributes)
    fhir:location [ Reference(Location) ] ; # 0..1 Location of the inventory items
    fhir:itemStatus [ CodeableConcept ] ; # 0..1 The status of the items that are being reported
    fhir:countingDateTime [ dateTime ] ; # 0..1 The date and time when the items were counted
    fhir:item ( [ # 0..* The item or items in this listing
      fhir:category [ CodeableConcept ] ; # 0..1 The inventory category or classification of the items being reported
      fhir:quantity [ Quantity ] ; # 1..1 The quantity of the item or items being reported
      fhir:item [ CodeableReference(BiologicallyDerivedProduct|Device|InventoryItem|InventoryItem|Medication|
  Medication|NutritionProduct) ] ; # 1..1 The code or reference to the item type
    ] ... ) ;
  ] ... ) ;
  fhir:note  ( [ Annotation ] ... ) ; # 0..* A note associated with the InventoryReport
]

Changes from both R4 and R4B

This resource did not exist in Release R4

See the Full Difference for further information

This analysis is available for R4 as XML or JSON and for R4B as XML or JSON.

 

Additional definitions: Master Definition XML + JSON, XML Schema/Schematron + JSON Schema, ShEx (for Turtle) + see the extensions, the spreadsheet version & the dependency analysis

PathValueSetTypeDocumentation
InventoryReport.status InventoryReportStatus Required

The status of the InventoryReport.

InventoryReport.countType InventoryCountType Required

The type of count.

Search parameters for this resource. See also the full list of search parameters for this resource, and check the Extensions registry for search parameters on extensions related to this resource. The common parameters also apply. See Searching for more information about searching in REST, messaging, and services.

NameTypeDescriptionExpressionIn Common
identifiertokenSearch by identifierInventoryReport.identifier
itemtokenSearch by items in inventory reportInventoryReport.inventoryListing.item.item.concept
item-referencereferenceSearch by items in inventory reportInventoryReport.inventoryListing.item.item.reference
statustokenSearch by statusInventoryReport.status