Extensions for Using Data Elements from FHIR R4B in FHIR R4
0.1.0 - STU International flag

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

Extension: ExtensionNutritionProduct_Instance

Official URL: http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct.instance Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: ExtensionNutritionProduct_Instance

R4B: NutritionProduct.instance (new:BackboneElement)

This extension is part of the cross-version definitions generated to enable use of the element NutritionProduct.instance as defined in FHIR R4B in FHIR R4.

The source element is defined as: NutritionProduct.instance 0..1 BackboneElement

Following are the generation technical comments: Element NutritionProduct.instance is not mapped to FHIR R4, since FHIR R4B NutritionProduct is not mapped. Element NutritionProduct.instance has no mapping targets in FHIR R4. 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 R4 to R4 .

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..1 Extension(4.0.1) R4B: One or several physical instances or occurrences of the nutrition product (new)
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:quantity 0..1 Extension R4B: The amount of items or instances (new)
..... url 1..1 uri "quantity"
..... value[x] 0..1 SimpleQuantity(4.0.1) The amount of items or instances
.... extension:identifier 0..* Extension R4B: The identifier for the physical instance, typically a serial number (new)
..... url 1..1 uri "identifier"
..... value[x] 0..1 Identifier The identifier for the physical instance, typically a serial number
.... extension:lotNumber 0..1 Extension R4B: The identification of the batch or lot of the product (new)
..... url 1..1 uri "lotNumber"
..... value[x] 0..1 string The identification of the batch or lot of the product
.... extension:expiry 0..1 Extension R4B: The expiry date or date and time for the product (new)
..... url 1..1 uri "expiry"
..... value[x] 0..1 dateTime The expiry date or date and time for the product
.... extension:useBy 0..1 Extension R4B: The date until which the product is expected to be good for consumption (new)
..... url 1..1 uri "useBy"
..... value[x] 0..1 dateTime The date until which the product is expected to be good for consumption
... url 1..1 uri "http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct.instance"
... value[x] 0..0 Value of extension

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension(4.0.1) R4B: One or several physical instances or occurrences of the nutrition product (new)
Constraints: ext-1
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:quantity 0..1 Extension R4B: The amount of items or instances (new)
Constraints: ext-1
..... id 0..1 string 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 "quantity"
..... value[x] 0..1 SimpleQuantity(4.0.1) The amount of items or instances
.... extension:identifier 0..* Extension R4B: The identifier for the physical instance, typically a serial number (new)
Constraints: ext-1
..... id 0..1 string 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 "identifier"
..... value[x] 0..1 Identifier The identifier for the physical instance, typically a serial number
.... extension:lotNumber 0..1 Extension R4B: The identification of the batch or lot of the product (new)
Constraints: ext-1
..... id 0..1 string 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 The identification of the batch or lot of the product
.... extension:expiry 0..1 Extension R4B: The expiry date or date and time for the product (new)
Constraints: ext-1
..... id 0..1 string 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 "expiry"
..... value[x] 0..1 dateTime The expiry date or date and time for the product
.... extension:useBy 0..1 Extension R4B: The date until which the product is expected to be good for consumption (new)
Constraints: ext-1
..... id 0..1 string 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 "useBy"
..... value[x] 0..1 dateTime The date until which the product is expected to be good for consumption
... url 1..1 uri "http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct.instance"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: R4B: NutritionProduct.instance (new:BackboneElement)

  • quantity: Quantity: R4B: NutritionProduct.instance.quantity (new:Quantity[SimpleQuantity])
  • identifier: Identifier: R4B: NutritionProduct.instance.identifier (new:Identifier)
  • lotNumber: string: R4B: NutritionProduct.instance.lotNumber (new:string)
  • expiry: dateTime: R4B: NutritionProduct.instance.expiry (new:dateTime)
  • useBy: dateTime: R4B: NutritionProduct.instance.useBy (new:dateTime)

Maturity: 0

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension(4.0.1) R4B: One or several physical instances or occurrences of the nutrition product (new)
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:quantity 0..1 Extension R4B: The amount of items or instances (new)
..... url 1..1 uri "quantity"
..... value[x] 0..1 SimpleQuantity(4.0.1) The amount of items or instances
.... extension:identifier 0..* Extension R4B: The identifier for the physical instance, typically a serial number (new)
..... url 1..1 uri "identifier"
..... value[x] 0..1 Identifier The identifier for the physical instance, typically a serial number
.... extension:lotNumber 0..1 Extension R4B: The identification of the batch or lot of the product (new)
..... url 1..1 uri "lotNumber"
..... value[x] 0..1 string The identification of the batch or lot of the product
.... extension:expiry 0..1 Extension R4B: The expiry date or date and time for the product (new)
..... url 1..1 uri "expiry"
..... value[x] 0..1 dateTime The expiry date or date and time for the product
.... extension:useBy 0..1 Extension R4B: The date until which the product is expected to be good for consumption (new)
..... url 1..1 uri "useBy"
..... value[x] 0..1 dateTime The date until which the product is expected to be good for consumption
... url 1..1 uri "http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct.instance"
... value[x] 0..0 Value of extension

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Extension 0..1 Extension(4.0.1) R4B: One or several physical instances or occurrences of the nutrition product (new)
Constraints: ext-1
... id 0..1 string Unique id for inter-element referencing
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:quantity 0..1 Extension R4B: The amount of items or instances (new)
Constraints: ext-1
..... id 0..1 string 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 "quantity"
..... value[x] 0..1 SimpleQuantity(4.0.1) The amount of items or instances
.... extension:identifier 0..* Extension R4B: The identifier for the physical instance, typically a serial number (new)
Constraints: ext-1
..... id 0..1 string 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 "identifier"
..... value[x] 0..1 Identifier The identifier for the physical instance, typically a serial number
.... extension:lotNumber 0..1 Extension R4B: The identification of the batch or lot of the product (new)
Constraints: ext-1
..... id 0..1 string 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 The identification of the batch or lot of the product
.... extension:expiry 0..1 Extension R4B: The expiry date or date and time for the product (new)
Constraints: ext-1
..... id 0..1 string 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 "expiry"
..... value[x] 0..1 dateTime The expiry date or date and time for the product
.... extension:useBy 0..1 Extension R4B: The date until which the product is expected to be good for consumption (new)
Constraints: ext-1
..... id 0..1 string 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 "useBy"
..... value[x] 0..1 dateTime The date until which the product is expected to be good for consumption
... url 1..1 uri "http://hl7.org/fhir/4.3/StructureDefinition/extension-NutritionProduct.instance"

doco Documentation for this format

This structure is derived from Extension

Summary

Complex Extension: R4B: NutritionProduct.instance (new:BackboneElement)

  • quantity: Quantity: R4B: NutritionProduct.instance.quantity (new:Quantity[SimpleQuantity])
  • identifier: Identifier: R4B: NutritionProduct.instance.identifier (new:Identifier)
  • lotNumber: string: R4B: NutritionProduct.instance.lotNumber (new:string)
  • expiry: dateTime: R4B: NutritionProduct.instance.expiry (new:dateTime)
  • useBy: dateTime: R4B: NutritionProduct.instance.useBy (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:quantity, Extension.extension:quantity.extension, Extension.extension:quantity.value[x], Extension.extension:identifier, Extension.extension:identifier.extension, Extension.extension:identifier.value[x], Extension.extension:lotNumber, Extension.extension:lotNumber.extension, Extension.extension:lotNumber.value[x], Extension.extension:expiry, Extension.extension:expiry.extension, Extension.extension:expiry.value[x], Extension.extension:useBy, Extension.extension:useBy.extension, Extension.extension:useBy.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:quantity, Extension.extension:quantity.extension, Extension.extension:identifier, Extension.extension:identifier.extension, Extension.extension:lotNumber, Extension.extension:lotNumber.extension, Extension.extension:expiry, Extension.extension:expiry.extension, Extension.extension:useBy, Extension.extension:useBy.extension Must have either extensions or value[x], not both extension.exists() != value.exists()