Supply of Products for Healthcare
0.2.0 - CI Build

Supply of Products for Healthcare, published by IHE Pharmacy. This is not an authorized publication; it is the continuous build for version 0.2.0). This version is based on the current content of https://github.com/IHE/pharm-supply/ and changes regularly. See the Directory of published versions

Logical Model: Logical Model - Inventory Change Report

Defining URL:https://www.ihe.net/fhir/StructureDefinition/model-inventory-change
Version:0.2.0
Name:InventoryChange
Status:Draft as of 2021-01-11T17:20:35+00:00
Definition:

This is the logical model for the Inventory Change notification - an information about a change of items being added or removed from a given inventory position. This is to be typically used in differential inventory updates (e.g. "Since last time, the following items have been consumed") or to register items added or subtracted (e.g. "The following 2 items were just discarded and should be deducted from inventory ")

Publisher:IHE Pharmacy
Source Resource:XML / JSON / Turtle

The official URL for this profile is:

https://www.ihe.net/fhir/StructureDefinition/model-inventory-change

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from Element

Summary

Mandatory: 0 element (2 nested mandatory elements)

This structure is derived from Element

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryChange 0..*ElementEnables a party to provide information on inventory levels and inventory changes.
... identifier 0..1IdentifierUnique identification of the inventory report
... countType 0..1codeThe type of counting - whether it is a manual counting, automated data capture, estimate..
... operationType 1..1codeThe type of operation - add/subtract
... reportDateTime 0..1DateTimeDate and time of finalization of the report
... reporter 0..1Reference()Person or entity that creates the report
... reportingPeriod 0..1PeriodThe period the inventory changes report to
... inventoryListing 0..*BackboneElementContains the inventory listings
.... location 0..1Reference()Identification of the site where the items are/were located
.... status 0..1CodeableConceptThe inventory status of a set of items (of the same type)
.... items 0..*BackboneElementThe inventory items
..... category 0..*codeThe category of the inventory items
..... quantity 0..1QuantityQuantity of items
..... item 0..1An item or set of items (of the same type and status)
.... countingDateTime 0..1DateTimeThe time that the changes in this listing actually occurred

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryChange 0..*ElementEnables a party to provide information on inventory levels and inventory changes.
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... identifier 0..1IdentifierUnique identification of the inventory report
... countType 0..1codeThe type of counting - whether it is a manual counting, automated data capture, estimate..
... operationTypeReason 1..1CodeableReference()The reason or detail for the change. For example a new reception, or a
... reportDateTime 0..1DateTimeDate and time of finalization of the report
... reporter 0..1Reference()Person or entity that creates the report
... reportingPeriod 0..1PeriodThe period the inventory changes report to
... inventoryListing 0..*BackboneElementContains the inventory listings
.... location 0..1Reference()Identification of the site where the items are/were located
.... status 0..1CodeableConceptThe inventory status of a set of items (of the same type)
.... items 0..*BackboneElementThe inventory items
..... category 0..*codeThe category of the inventory items
..... quantity 0..1QuantityQuantity of items
..... item 0..1An item or set of items (of the same type and status)
.... countingDateTime 0..1DateTimeThe time that the changes in this listing actually occurred

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryChange 0..*ElementEnables a party to provide information on inventory levels and inventory changes.

doco Documentation for this format

This structure is derived from Element

Summary

Mandatory: 0 element (2 nested mandatory elements)

Differential View

This structure is derived from Element

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryChange 0..*ElementEnables a party to provide information on inventory levels and inventory changes.
... identifier 0..1IdentifierUnique identification of the inventory report
... countType 0..1codeThe type of counting - whether it is a manual counting, automated data capture, estimate..
... operationType 1..1codeThe type of operation - add/subtract
... reportDateTime 0..1DateTimeDate and time of finalization of the report
... reporter 0..1Reference()Person or entity that creates the report
... reportingPeriod 0..1PeriodThe period the inventory changes report to
... inventoryListing 0..*BackboneElementContains the inventory listings
.... location 0..1Reference()Identification of the site where the items are/were located
.... status 0..1CodeableConceptThe inventory status of a set of items (of the same type)
.... items 0..*BackboneElementThe inventory items
..... category 0..*codeThe category of the inventory items
..... quantity 0..1QuantityQuantity of items
..... item 0..1An item or set of items (of the same type and status)
.... countingDateTime 0..1DateTimeThe time that the changes in this listing actually occurred

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryChange 0..*ElementEnables a party to provide information on inventory levels and inventory changes.
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... identifier 0..1IdentifierUnique identification of the inventory report
... countType 0..1codeThe type of counting - whether it is a manual counting, automated data capture, estimate..
... operationTypeReason 1..1CodeableReference()The reason or detail for the change. For example a new reception, or a
... reportDateTime 0..1DateTimeDate and time of finalization of the report
... reporter 0..1Reference()Person or entity that creates the report
... reportingPeriod 0..1PeriodThe period the inventory changes report to
... inventoryListing 0..*BackboneElementContains the inventory listings
.... location 0..1Reference()Identification of the site where the items are/were located
.... status 0..1CodeableConceptThe inventory status of a set of items (of the same type)
.... items 0..*BackboneElementThe inventory items
..... category 0..*codeThe category of the inventory items
..... quantity 0..1QuantityQuantity of items
..... item 0..1An item or set of items (of the same type and status)
.... countingDateTime 0..1DateTimeThe time that the changes in this listing actually occurred

doco Documentation for this format

 

Constraints

IdPathDetailsRequirements
ele-1InventoryChangeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryChange.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1InventoryChange.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()