HL7 Version 2 to FHIR
0.1.0 - STU1 Ballot

This page is part of the HL7 Version 2 to FHIR (v0.1.0: STU 1 Ballot 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Extension: EstimatedLength

The estimated days of the inpatient stay. This extension corresponds to PV2-10 of the v2 PV2 segment. It is measured in units of days (http://unitsofmeasure.org/#d)

The official URL for this extension is:

http://hl7.org/fhir/uv/v2mappings/StructureDefinition/estimated-length

Status: active
Extension maintained by: HL7 International

Context of Use

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

  • Encounter

Usage info

Usage:

  • This Extension is not used in this Implementation Guide

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

Mandatory: 2 elements
Fixed Value: 1 element
Prohibited: 1 element

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/uv/v2mappings/StructureDefinition/estimated-length"
... value[x] 1..1(Slice Definition)Value of extension
Slice: Unordered, Open by type:$this
.... system 0..1uriSystem that defines coded unit form
Required Pattern: http://unitsofmeasure.org/
.... code 0..1codeCoded form of the unit
Required Pattern: d

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*ExtensionExtension
... id 0..1stringUnique id for inter-element referencing
... extension I0..0
... url 1..1uri"http://hl7.org/fhir/uv/v2mappings/StructureDefinition/estimated-length"
.... value[x]:valueQuantity I1..1QuantityValue of extension
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value ΣI0..1decimalNumerical value (with implicit precision)
..... comparator ?!ΣI0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
..... unit ΣI0..1stringUnit representation
..... system ΣI0..1uriSystem that defines coded unit form
Required Pattern: http://unitsofmeasure.org/
..... code ΣI0..1codeCoded form of the unit
Required Pattern: d

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 2 elements
Fixed Value: 1 element
Prohibited: 1 element

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionExtension
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/uv/v2mappings/StructureDefinition/estimated-length"
... value[x] 1..1(Slice Definition)Value of extension
Slice: Unordered, Open by type:$this
.... system 0..1uriSystem that defines coded unit form
Required Pattern: http://unitsofmeasure.org/
.... code 0..1codeCoded form of the unit
Required Pattern: d

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension I0..*ExtensionExtension
... id 0..1stringUnique id for inter-element referencing
... extension I0..0
... url 1..1uri"http://hl7.org/fhir/uv/v2mappings/StructureDefinition/estimated-length"
.... value[x]:valueQuantity I1..1QuantityValue of extension
..... id 0..1stringUnique id for inter-element referencing
..... extension I0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value ΣI0..1decimalNumerical value (with implicit precision)
..... comparator ?!ΣI0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required)
..... unit ΣI0..1stringUnit representation
..... system ΣI0..1uriSystem that defines coded unit form
Required Pattern: http://unitsofmeasure.org/
..... code ΣI0..1codeCoded form of the unit
Required Pattern: d

doco Documentation for this format

 

Other representations of extension: Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x]:valueQuantity.comparatorrequiredQuantityComparator