HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1
0.0.1 - STU1 International flag

HL7 PT FHIR Implementation Guide: Example IG Release 1 | STU1, published by HL7 Portugal. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-pt/core/ and changes regularly. See the Directory of published versions

Extension: InventoryListing

Official URL: http://hl7.pt/fhir/core/StructureDefinition/InventoryListing-InventoryReport Version: 0.0.1
Active as of 2024-09-23 Computable Name: InventoryListing

An inventory listing section (grouped by any of the attributes).

Context of Use

This extension may be used on the following element(s):

  • Element ID Basic

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Complex Extension: An inventory listing section (grouped by any of the attributes).

  • location: Reference: An Extension
  • itemStatus: CodeableConcept: An Extension
  • countingDateTime: dateTime: An Extension
  • category: CodeableConcept: An Extension
  • quantity: Quantity: An Extension
  • concept: CodeableConcept: An Extension
  • reference: Reference: An Extension
  • lot: string: An Extension
  • serial: string: An Extension
  • expiry: dateTime: An Extension
  • manufacturingDate: dateTime: An Extension

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:location 0..1 Extension Location of the inventory items.
..... extension 0..0
..... url 1..1 uri "location"
..... value[x] 0..1 Reference(PT_Location) Value of extension
.... extension:itemStatus 0..1 Extension The status of the items.
..... extension 0..0
..... url 1..1 uri "itemStatus"
..... value[x] 0..1 CodeableConcept Value of extension
.... extension:countingDateTime 0..1 Extension The date and time when the items were counted.
..... extension 0..0
..... url 1..1 uri "countingDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:items 0..* Extension The item or items in this listing.
..... extension 2..* Extension Extension
..... Slices for extension Content/Rules for all slices
...... extension:category 0..1 Extension The category of the item or items.
....... extension 0..0
....... url 1..1 uri "category"
....... value[x] 0..1 CodeableConcept Value of extension
...... extension:quantity 1..1 Extension The quantity of the item or items.
....... extension 0..0
....... url 1..1 uri "quantity"
....... value[x] 1..1 Quantity Value of extension
...... extension:item 1..1 Extension Extension
....... Slices for extension Content/Rules for all slices
........ extension:concept 0..1 Extension Extension
......... extension 0..0
......... url 1..1 uri "concept"
......... value[x] 0..1 CodeableConcept Value of extension
........ extension:reference 0..1 Extension Extension
......... extension 0..0
......... url 1..1 uri "reference"
......... value[x] 0..1 Reference(Device | PT_Medication) Value of extension
....... url 1..1 uri "item"
....... value[x] 0..0
...... extension:lot 0..1 Extension The lot number of the item or items.
....... extension 0..0
....... url 1..1 uri "lot"
....... value[x] 0..1 string Value of extension
...... extension:serial 0..1 Extension The serial number of the item.
....... extension 0..0
....... url 1..1 uri "serial"
....... value[x] 0..1 string Value of extension
...... extension:expiry 0..1 Extension The expiry date of the item or items.
....... extension 0..0
....... url 1..1 uri "expiry"
....... value[x] 0..1 dateTime Value of extension
...... extension:manufacturingDate 0..1 Extension The manufacturingDate of the item or items.
....... extension 0..0
....... url 1..1 uri "manufacturingDate"
....... value[x] 0..1 dateTime Value of extension
..... url 1..1 uri "items"
..... value[x] 0..0
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/InventoryListing-InventoryReport"
... value[x] 0..0

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:location 0..1 Extension Location of the inventory items.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "location"
..... value[x] 0..1 Reference(PT_Location) Value of extension
.... extension:itemStatus 0..1 Extension The status of the items.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "itemStatus"
..... value[x] 0..1 CodeableConcept Value of extension
.... extension:countingDateTime 0..1 Extension The date and time when the items were counted.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "countingDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:items 0..* Extension The item or items in this listing.
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:category 0..1 Extension The category of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "category"
....... value[x] 0..1 CodeableConcept Value of extension
...... extension:quantity 1..1 Extension The quantity of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "quantity"
....... value[x] 1..1 Quantity Value of extension
...... extension:item 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ extension:concept 0..1 Extension Extension
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..0
......... url 1..1 uri "concept"
......... value[x] 0..1 CodeableConcept Value of extension
........ extension:reference 0..1 Extension Extension
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..0
......... url 1..1 uri "reference"
......... value[x] 0..1 Reference(Device | PT_Medication) Value of extension
....... url 1..1 uri "item"
...... extension:lot 0..1 Extension The lot number of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "lot"
....... value[x] 0..1 string Value of extension
...... extension:serial 0..1 Extension The serial number of the item.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "serial"
....... value[x] 0..1 string Value of extension
...... extension:expiry 0..1 Extension The expiry date of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "expiry"
....... value[x] 0..1 dateTime Value of extension
...... extension:manufacturingDate 0..1 Extension The manufacturingDate of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "manufacturingDate"
....... value[x] 0..1 dateTime Value of extension
..... url 1..1 uri "items"
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/InventoryListing-InventoryReport"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: An inventory listing section (grouped by any of the attributes).

  • location: Reference: An Extension
  • itemStatus: CodeableConcept: An Extension
  • countingDateTime: dateTime: An Extension
  • category: CodeableConcept: An Extension
  • quantity: Quantity: An Extension
  • concept: CodeableConcept: An Extension
  • reference: Reference: An Extension
  • lot: string: An Extension
  • serial: string: An Extension
  • expiry: dateTime: An Extension
  • manufacturingDate: dateTime: An Extension

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... Slices for extension Content/Rules for all slices
.... extension:location 0..1 Extension Location of the inventory items.
..... extension 0..0
..... url 1..1 uri "location"
..... value[x] 0..1 Reference(PT_Location) Value of extension
.... extension:itemStatus 0..1 Extension The status of the items.
..... extension 0..0
..... url 1..1 uri "itemStatus"
..... value[x] 0..1 CodeableConcept Value of extension
.... extension:countingDateTime 0..1 Extension The date and time when the items were counted.
..... extension 0..0
..... url 1..1 uri "countingDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:items 0..* Extension The item or items in this listing.
..... extension 2..* Extension Extension
..... Slices for extension Content/Rules for all slices
...... extension:category 0..1 Extension The category of the item or items.
....... extension 0..0
....... url 1..1 uri "category"
....... value[x] 0..1 CodeableConcept Value of extension
...... extension:quantity 1..1 Extension The quantity of the item or items.
....... extension 0..0
....... url 1..1 uri "quantity"
....... value[x] 1..1 Quantity Value of extension
...... extension:item 1..1 Extension Extension
....... Slices for extension Content/Rules for all slices
........ extension:concept 0..1 Extension Extension
......... extension 0..0
......... url 1..1 uri "concept"
......... value[x] 0..1 CodeableConcept Value of extension
........ extension:reference 0..1 Extension Extension
......... extension 0..0
......... url 1..1 uri "reference"
......... value[x] 0..1 Reference(Device | PT_Medication) Value of extension
....... url 1..1 uri "item"
....... value[x] 0..0
...... extension:lot 0..1 Extension The lot number of the item or items.
....... extension 0..0
....... url 1..1 uri "lot"
....... value[x] 0..1 string Value of extension
...... extension:serial 0..1 Extension The serial number of the item.
....... extension 0..0
....... url 1..1 uri "serial"
....... value[x] 0..1 string Value of extension
...... extension:expiry 0..1 Extension The expiry date of the item or items.
....... extension 0..0
....... url 1..1 uri "expiry"
....... value[x] 0..1 dateTime Value of extension
...... extension:manufacturingDate 0..1 Extension The manufacturingDate of the item or items.
....... extension 0..0
....... url 1..1 uri "manufacturingDate"
....... value[x] 0..1 dateTime Value of extension
..... url 1..1 uri "items"
..... value[x] 0..0
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/InventoryListing-InventoryReport"
... value[x] 0..0

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..* Extension Extension
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:location 0..1 Extension Location of the inventory items.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "location"
..... value[x] 0..1 Reference(PT_Location) Value of extension
.... extension:itemStatus 0..1 Extension The status of the items.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "itemStatus"
..... value[x] 0..1 CodeableConcept Value of extension
.... extension:countingDateTime 0..1 Extension The date and time when the items were counted.
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "countingDateTime"
..... value[x] 0..1 dateTime Value of extension
.... extension:items 0..* Extension The item or items in this listing.
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:category 0..1 Extension The category of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "category"
....... value[x] 0..1 CodeableConcept Value of extension
...... extension:quantity 1..1 Extension The quantity of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "quantity"
....... value[x] 1..1 Quantity Value of extension
...... extension:item 1..1 Extension Extension
....... id 0..1 string Unique id for inter-element referencing
....... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ extension:concept 0..1 Extension Extension
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..0
......... url 1..1 uri "concept"
......... value[x] 0..1 CodeableConcept Value of extension
........ extension:reference 0..1 Extension Extension
......... id 0..1 string Unique id for inter-element referencing
......... extension 0..0
......... url 1..1 uri "reference"
......... value[x] 0..1 Reference(Device | PT_Medication) Value of extension
....... url 1..1 uri "item"
...... extension:lot 0..1 Extension The lot number of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "lot"
....... value[x] 0..1 string Value of extension
...... extension:serial 0..1 Extension The serial number of the item.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "serial"
....... value[x] 0..1 string Value of extension
...... extension:expiry 0..1 Extension The expiry date of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "expiry"
....... value[x] 0..1 dateTime Value of extension
...... extension:manufacturingDate 0..1 Extension The manufacturingDate of the item or items.
....... id 0..1 string Unique id for inter-element referencing
....... extension 0..0
....... url 1..1 uri "manufacturingDate"
....... value[x] 0..1 dateTime Value of extension
..... url 1..1 uri "items"
... url 1..1 uri "http://hl7.pt/fhir/core/StructureDefinition/InventoryListing-InventoryReport"

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()