openIMIS FHIR R4 Implementation Guide
1.0.0 - ci-build

openIMIS FHIR R4 Implementation Guide - Local Development build (v1.0.0). See the Directory of published versions

Extension: Period (InsurancePlan)

Official URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/insurance-plan-period Version: 1.0.0
Active as of 2022-05-31 Responsible: openIMIS Initiative Computable Name: InsurancePlanPeriodExtension

Defines the number of months a certain period is valid in InsurancePlan.

Context of Use

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

  • OpenIMISInsurancePlan

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

Mandatory: 0 element (1 nested mandatory element)
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..*ExtensionPeriod (InsurancePlan)
... extension 0..0
... url 1..1uri"https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/insurance-plan-period"
... value[x] 0..1QuantityValue of extension
Slice: Unordered, Open by type:$this
.... value 1..1decimalNumerical value (with implicit precision)
.... unit 0..1stringUnit representation
Required Pattern: months

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPeriod (InsurancePlan)
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/insurance-plan-period"
.... value[x]:valueQuantity 0..1QuantityValue of extension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ1..1decimalNumerical value (with implicit precision)
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... unit Σ0..1stringUnit representation
Required Pattern: months
..... system ΣI0..1uriSystem that defines coded unit form
..... code Σ0..1codeCoded form of the unit

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 0 element (1 nested mandatory element)
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..*ExtensionPeriod (InsurancePlan)
... extension 0..0
... url 1..1uri"https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/insurance-plan-period"
... value[x] 0..1QuantityValue of extension
Slice: Unordered, Open by type:$this
.... value 1..1decimalNumerical value (with implicit precision)
.... unit 0..1stringUnit representation
Required Pattern: months

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionPeriod (InsurancePlan)
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/insurance-plan-period"
.... value[x]:valueQuantity 0..1QuantityValue of extension
..... id 0..1stringUnique id for inter-element referencing
..... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
..... value Σ1..1decimalNumerical value (with implicit precision)
..... comparator ?!Σ0..1code< | <= | >= | > - how to understand the value
Binding: QuantityComparator (required): How the Quantity should be understood and represented.

..... unit Σ0..1stringUnit representation
Required Pattern: months
..... system ΣI0..1uriSystem that defines coded unit form
..... code Σ0..1codeCoded form of the unit

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet
Extension.value[x]:valueQuantity.comparatorrequiredQuantityComparator

Constraints

IdGradePathDetailsRequirements
ele-1errorExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueQuantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueQuantity.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtension.value[x]:valueQuantity.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]:valueQuantity.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueQuantity.comparatorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueQuantity.unitAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueQuantity.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueQuantity.codeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())