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

Resource Profile: Profile - Inventory Status Report

Defining URL:http://ihe.net/fhir/pharmacy/supply/StructureDefinition/ihe-inventory-status-report
Version:0.2.0
Name:IHEInventoryStatusReport
Title:Profile - Inventory Status Report
Status:Active as of 2021-01-11T17:20:35+00:00
Definition:

Inventory status report - the availability of products or items in an inventory position.

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

The official URL for this profile is:

http://ihe.net/fhir/pharmacy/supply/StructureDefinition/ihe-inventory-status-report

Formal Views of Profile Content

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

This structure is derived from InventoryReport

Summary

Must-Support: 1 element
Fixed Value: 1 element

This structure is derived from InventoryReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryReport 0..*InventoryReportA report of inventory or stock items
... identifier S0..*IdentifierIdentifiers for the report
... countType 1..1codesnapshot | difference
Fixed Value: snapshot

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryReport 0..*InventoryReportA report of inventory or stock items
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ0..*IdentifierIdentifiers for the report
... status ?!Σ1..1codedraft | requested | active | entered-in-error
Binding: InventoryReportStatus (required): The status of the InventoryReport.

... countType ?!Σ1..1codesnapshot | difference
Binding: InventoryCountType (required): The type of count.


Fixed Value: snapshot
... operationType Σ0..1CodeableConceptaddition | subtraction
... 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)
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... location 0..1Reference(Location)Location of the inventory items
.... itemStatus Σ0..1CodeableConceptThe status of the items
.... countingDateTime 0..1dateTimeThe date and time when the items were counted
.... items Σ0..*BackboneElementThe item or items in this listing
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... category Σ0..1CodeableConceptThe category of the item or items
..... quantity Σ1..1QuantityThe quantity of the item or items
..... item Σ1..1CodeableReference(Device | Medication)The code or reference to the item type
..... lot 0..1stringThe lot number of the item or items
..... serial 0..1stringThe serial number of the item
..... expiry 0..1dateTimeThe expiry date of the item or items
..... manufacturingDate 0..1dateTimeThe manufacturingDate of the item or items
... note 0..1AnnotationA note associated with the InventoryReport

doco Documentation for this format

This structure is derived from InventoryReport

Summary

Must-Support: 1 element
Fixed Value: 1 element

Differential View

This structure is derived from InventoryReport

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryReport 0..*InventoryReportA report of inventory or stock items
... identifier S0..*IdentifierIdentifiers for the report
... countType 1..1codesnapshot | difference
Fixed Value: snapshot

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryReport 0..*InventoryReportA report of inventory or stock items
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... identifier SΣ0..*IdentifierIdentifiers for the report
... status ?!Σ1..1codedraft | requested | active | entered-in-error
Binding: InventoryReportStatus (required): The status of the InventoryReport.

... countType ?!Σ1..1codesnapshot | difference
Binding: InventoryCountType (required): The type of count.


Fixed Value: snapshot
... operationType Σ0..1CodeableConceptaddition | subtraction
... 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)
.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... location 0..1Reference(Location)Location of the inventory items
.... itemStatus Σ0..1CodeableConceptThe status of the items
.... countingDateTime 0..1dateTimeThe date and time when the items were counted
.... items Σ0..*BackboneElementThe item or items in this listing
..... id 0..1idUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
..... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
..... category Σ0..1CodeableConceptThe category of the item or items
..... quantity Σ1..1QuantityThe quantity of the item or items
..... item Σ1..1CodeableReference(Device | Medication)The code or reference to the item type
..... lot 0..1stringThe lot number of the item or items
..... serial 0..1stringThe serial number of the item
..... expiry 0..1dateTimeThe expiry date of the item or items
..... manufacturingDate 0..1dateTimeThe manufacturingDate of the item or items
... note 0..1AnnotationA note associated with the InventoryReport

doco Documentation for this format

 

Other representations of profile: Schematron

Terminology Bindings

PathConformanceValueSet / Code
InventoryReport.languagepreferredCommonLanguages
Max Binding: AllLanguages
InventoryReport.statusrequiredInventoryReportStatus
InventoryReport.countTyperequiredFixed Value: snapshot

Constraints

IdPathDetailsRequirements
dom-2InventoryReportIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3InventoryReportIf 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-4InventoryReportIf 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-5InventoryReportIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6InventoryReportA resource should have narrative for robust management
: text.`div`.exists()
ele-1InventoryReport.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1InventoryReport.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1InventoryReport.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1InventoryReport.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1InventoryReport.identifierAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.countTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.operationTypeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.operationTypeReasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.reportedDateTimeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.reporterAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.reportingPeriodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListingAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1InventoryReport.inventoryListing.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1InventoryReport.inventoryListing.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1InventoryReport.inventoryListing.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1InventoryReport.inventoryListing.locationAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.itemStatusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.countingDateTimeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.itemsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.items.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1InventoryReport.inventoryListing.items.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1InventoryReport.inventoryListing.items.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1InventoryReport.inventoryListing.items.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1InventoryReport.inventoryListing.items.categoryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.items.quantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.items.itemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.items.lotAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.items.serialAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.items.expiryAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.inventoryListing.items.manufacturingDateAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1InventoryReport.noteAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())