Guia de Implementação do AnHealth
0.2.0 - CI Build

Guia de Implementação do AnHealth - Local Development build (v0.2.0). See the Directory of published versions

Logical Model:

Official URL: https://ancode.app/fhir/StructureDefinition/InventoryEventModel Version: 0.2.0
Draft as of 2023-08-28 Computable Name: InventoryEventModel

Usage:

  • This Logical Model Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryEvent 0..*ElementBase for all elements
... identifier 1..*Identifier
... item 1..1Reference(Medication | DeviceDefinition)
... batch 0..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... number 1..1string
.... validity 1..1dateTime
... package 0..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 0..1Reference(PackagedProductDefinition)
.... destination 0..1Reference(PackagedProductDefinition)
... location 0..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 0..1Reference(Location)
.... destination 0..1Reference(Location)
... type 1..1CodeableConceptBinding: InventoryEventType (required)
... reason 1..1CodeableConceptBinding: InventoryEventReason (required)
... balance 1..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... previous 1..1decimal
.... final 1..1decimal
... observation 0..*string
... event 0..1Reference(Resource)
... quantity 1..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 1..1decimal
.... factor 1..1decimal
.... destination 1..1decimal

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
InventoryEvent.typerequiredInventoryEventType
InventoryEvent.reasonrequiredInventoryEventReason

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children unless an empty Parameters resource
: hasValue() or (children().count() > id.count()) or $this is Parameters
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryEvent 0..*ElementBase for all elements
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... identifier 1..*Identifier
... item 1..1Reference(Medication | DeviceDefinition)
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... number 1..1string
.... validity 1..1dateTime
... inventory 1..1Reference(Inventory)
... package 0..1BackboneElement
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 0..1Reference(PackagedProductDefinition)
.... destination 0..1Reference(PackagedProductDefinition)
... location 0..1BackboneElement
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 0..1Reference(Location)
.... destination 0..1Reference(Location)
... type 1..1CodeableConceptBinding: InventoryEventType (required)
... reason 1..1CodeableConceptBinding: InventoryEventReason (required)
... balance 1..1BackboneElement
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... previous 1..1decimal
.... final 1..1decimal
... observation 0..*string
... event 0..1Reference(Resource)
... quantity 1..1BackboneElement
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 1..1decimal
.... factor 1..1decimal
.... destination 1..1decimal

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
InventoryEvent.typerequiredInventoryEventType
InventoryEvent.reasonrequiredInventoryEventReason

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()

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryEvent 0..*ElementBase for all elements
... identifier 1..*Identifier
... item 1..1Reference(Medication | DeviceDefinition)
... batch 0..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... number 1..1string
.... validity 1..1dateTime
... package 0..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 0..1Reference(PackagedProductDefinition)
.... destination 0..1Reference(PackagedProductDefinition)
... location 0..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 0..1Reference(Location)
.... destination 0..1Reference(Location)
... type 1..1CodeableConceptBinding: InventoryEventType (required)
... reason 1..1CodeableConceptBinding: InventoryEventReason (required)
... balance 1..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... previous 1..1decimal
.... final 1..1decimal
... observation 0..*string
... event 0..1Reference(Resource)
... quantity 1..1BackboneElement
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 1..1decimal
.... factor 1..1decimal
.... destination 1..1decimal

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
InventoryEvent.typerequiredInventoryEventType
InventoryEvent.reasonrequiredInventoryEventReason

Constraints

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

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. InventoryEvent 0..*ElementBase for all elements
... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
... identifier 1..*Identifier
... item 1..1Reference(Medication | DeviceDefinition)
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... number 1..1string
.... validity 1..1dateTime
... inventory 1..1Reference(Inventory)
... package 0..1BackboneElement
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 0..1Reference(PackagedProductDefinition)
.... destination 0..1Reference(PackagedProductDefinition)
... location 0..1BackboneElement
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 0..1Reference(Location)
.... destination 0..1Reference(Location)
... type 1..1CodeableConceptBinding: InventoryEventType (required)
... reason 1..1CodeableConceptBinding: InventoryEventReason (required)
... balance 1..1BackboneElement
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... previous 1..1decimal
.... final 1..1decimal
... observation 0..*string
... event 0..1Reference(Resource)
... quantity 1..1BackboneElement
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... origin 1..1decimal
.... factor 1..1decimal
.... destination 1..1decimal

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
InventoryEvent.typerequiredInventoryEventType
InventoryEvent.reasonrequiredInventoryEventReason

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()

 

Other representations of profile: CSV, Excel