Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions

Extension: ExtensionMedication_Product_Batch

Official URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: ExtensionMedication_Product_Batch

DSTU2: Medication.product.batch (new:BackboneElement)

This extension is part of the cross-version definitions generated to enable use of the element Medication.product.batch as defined in FHIR DSTU2 in FHIR R5.

The source element is defined as: Medication.product.batch 0..* BackboneElement

Across FHIR versions, the element set has been mapped as:

  • DSTU2: Medication.product.batch 0..* BackboneElement
  • STU3: Medication.package.batch 0..* BackboneElement

Following are the generation technical comments: Element Medication.product.batch has a context of Medication based on following the parent source element upwards and mapping to Medication. Element Medication.product.batch has no mapping targets in FHIR R5. Typically, this is because the element has been added (is a new element).

Context of Use

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

    This extension is allowed for use with FHIR versions R5 to R5 .

Usage info

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Extension Content

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

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(5.0.0) DSTU2: (new)
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:lotNumber 0..1 Extension DSTU2: (new)
..... url 1..1 uri "lotNumber"
..... value[x] 0..1 string Value of extension
.... extension:expirationDate 0..1 Extension DSTU2: (new)
..... url 1..1 uri "expirationDate"
..... value[x] 0..1 dateTime Value of extension
... url 1..1 uri "http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch"
... value[x] 0..0 Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(5.0.0) DSTU2: (new)
Constraints: ext-1
... id 0..1 id Unique id for inter-element referencing
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:lotNumber 0..1 Extension DSTU2: (new)
Constraints: ext-1
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "lotNumber"
..... value[x] 0..1 string Value of extension
.... extension:expirationDate 0..1 Extension DSTU2: (new)
Constraints: ext-1
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "expirationDate"
..... value[x] 0..1 dateTime Value of extension
... url 1..1 uri "http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: DSTU2: Medication.product.batch (new:BackboneElement)

  • lotNumber: string: DSTU2: Medication.product.batch.lotNumber (new:string)
  • expirationDate: dateTime: DSTU2: Medication.product.batch.expirationDate (new:dateTime)

Maturity: 0

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(5.0.0) DSTU2: (new)
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:lotNumber 0..1 Extension DSTU2: (new)
..... url 1..1 uri "lotNumber"
..... value[x] 0..1 string Value of extension
.... extension:expirationDate 0..1 Extension DSTU2: (new)
..... url 1..1 uri "expirationDate"
..... value[x] 0..1 dateTime Value of extension
... url 1..1 uri "http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch"
... value[x] 0..0 Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..* Extension(5.0.0) DSTU2: (new)
Constraints: ext-1
... id 0..1 id Unique id for inter-element referencing
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:lotNumber 0..1 Extension DSTU2: (new)
Constraints: ext-1
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "lotNumber"
..... value[x] 0..1 string Value of extension
.... extension:expirationDate 0..1 Extension DSTU2: (new)
Constraints: ext-1
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... url 1..1 uri "expirationDate"
..... value[x] 0..1 dateTime Value of extension
... url 1..1 uri "http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: DSTU2: Medication.product.batch (new:BackboneElement)

  • lotNumber: string: DSTU2: Medication.product.batch.lotNumber (new:string)
  • expirationDate: dateTime: DSTU2: Medication.product.batch.expirationDate (new:dateTime)

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron

Constraints

Id Grade Path(s) Description Expression
ele-1 error Extension, Extension.extension, Extension.extension:lotNumber, Extension.extension:lotNumber.extension, Extension.extension:lotNumber.value[x], Extension.extension:expirationDate, Extension.extension:expirationDate.extension, Extension.extension:expirationDate.value[x] All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Extension, Extension.extension, Extension.extension:lotNumber, Extension.extension:lotNumber.extension, Extension.extension:expirationDate, Extension.extension:expirationDate.extension Must have either extensions or value[x], not both extension.exists() != value.exists()