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
Official URL: https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/contract-premium | Version: 1.0.0 | |||
Active as of 2022-05-31 | Responsible: openIMIS Initiative | Computable Name: ContractPremiumExtension |
Indicates a premium for a Contract. This is a complex extension.
Context of Use
This extension may be used on the following element(s):
Usage info
Usage:
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
Summary
Mandatory: 5 elements (1 nested mandatory element)
Must-Support: 3 elements
Fixed Value: 7 elements
Prohibited: 7 elements
Slices
This structure defines the following Slices:
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Premium (Contract) | |
extension | 5..* | Extension | Extension | |
extension:payer | S | 0..1 | Extension | Premium payer |
extension | 0..0 | |||
url | 1..1 | uri | "payer" | |
value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Open by type:$this | |
valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Payer (Contract) (extensible) | |
extension:category | S | 1..1 | Extension | Premium category |
extension | 0..0 | |||
url | 1..1 | uri | "category" | |
value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Open by type:$this | |
valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Category (Contract) (required) | |
extension:amount | S | 1..1 | Extension | Premium amount |
extension | 0..0 | |||
url | 1..1 | uri | "amount" | |
value[x] | 0..1 | Money | Value of extension Slice: Unordered, Open by type:$this | |
valueMoney | 0..1 | Money | Value of extension | |
value | 1..1 | decimal | Numerical value (with implicit precision) | |
extension:receipt | 1..1 | Extension | Premium receipt | |
extension | 0..0 | |||
url | 1..1 | uri | "receipt" | |
value[x] | 0..1 | string | Value of extension | |
extension:date | 1..1 | Extension | Premium payment date | |
extension | 0..0 | |||
url | 1..1 | uri | "date" | |
value[x] | 0..1 | date | Value of extension | |
extension:type | 1..1 | Extension | Premium payment type | |
extension | 0..0 | |||
url | 1..1 | uri | "type" | |
value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Open by type:$this | |
valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Type (Contract) (required) | |
url | 1..1 | uri | "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/contract-premium" | |
value[x] | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Premium (Contract) | |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 5..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension:payer | S | 0..1 | Extension | Premium payer |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "payer" | |
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Payer (Contract) (extensible) | |
extension:category | S | 1..1 | Extension | Premium category |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "category" | |
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Category (Contract) (required) | |
extension:amount | S | 1..1 | Extension | Premium amount |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "amount" | |
Slices for value[x] | 0..1 | Money | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueMoney | 0..1 | Money | Value of extension | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
value | Σ | 1..1 | decimal | Numerical value (with implicit precision) |
currency | Σ | 0..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
extension:receipt | 1..1 | Extension | Premium receipt | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "receipt" | |
value[x] | 0..1 | string | Value of extension | |
extension:date | 1..1 | Extension | Premium payment date | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "date" | |
value[x] | 0..1 | date | Value of extension | |
extension:type | 1..1 | Extension | Premium payment type | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "type" | |
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Type (Contract) (required) | |
url | 1..1 | uri | "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/contract-premium" | |
Documentation for this format |
This structure is derived from Extension
Summary
Mandatory: 5 elements (1 nested mandatory element)
Must-Support: 3 elements
Fixed Value: 7 elements
Prohibited: 7 elements
Slices
This structure defines the following Slices:
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Premium (Contract) | |
extension | 5..* | Extension | Extension | |
extension:payer | S | 0..1 | Extension | Premium payer |
extension | 0..0 | |||
url | 1..1 | uri | "payer" | |
value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Open by type:$this | |
valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Payer (Contract) (extensible) | |
extension:category | S | 1..1 | Extension | Premium category |
extension | 0..0 | |||
url | 1..1 | uri | "category" | |
value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Open by type:$this | |
valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Category (Contract) (required) | |
extension:amount | S | 1..1 | Extension | Premium amount |
extension | 0..0 | |||
url | 1..1 | uri | "amount" | |
value[x] | 0..1 | Money | Value of extension Slice: Unordered, Open by type:$this | |
valueMoney | 0..1 | Money | Value of extension | |
value | 1..1 | decimal | Numerical value (with implicit precision) | |
extension:receipt | 1..1 | Extension | Premium receipt | |
extension | 0..0 | |||
url | 1..1 | uri | "receipt" | |
value[x] | 0..1 | string | Value of extension | |
extension:date | 1..1 | Extension | Premium payment date | |
extension | 0..0 | |||
url | 1..1 | uri | "date" | |
value[x] | 0..1 | date | Value of extension | |
extension:type | 1..1 | Extension | Premium payment type | |
extension | 0..0 | |||
url | 1..1 | uri | "type" | |
value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Open by type:$this | |
valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Type (Contract) (required) | |
url | 1..1 | uri | "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/contract-premium" | |
value[x] | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | 0..* | Extension | Premium (Contract) | |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 5..* | Extension | Extension Slice: Unordered, Open by value:url | |
extension:payer | S | 0..1 | Extension | Premium payer |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "payer" | |
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Payer (Contract) (extensible) | |
extension:category | S | 1..1 | Extension | Premium category |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "category" | |
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Category (Contract) (required) | |
extension:amount | S | 1..1 | Extension | Premium amount |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "amount" | |
Slices for value[x] | 0..1 | Money | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueMoney | 0..1 | Money | Value of extension | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |
value | Σ | 1..1 | decimal | Numerical value (with implicit precision) |
currency | Σ | 0..1 | code | ISO 4217 Currency Code Binding: Currencies (required): A code indicating the currency, taken from ISO 4217. |
extension:receipt | 1..1 | Extension | Premium receipt | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "receipt" | |
value[x] | 0..1 | string | Value of extension | |
extension:date | 1..1 | Extension | Premium payment date | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "date" | |
value[x] | 0..1 | date | Value of extension | |
extension:type | 1..1 | Extension | Premium payment type | |
id | 0..1 | string | Unique id for inter-element referencing | |
extension | 0..0 | |||
url | 1..1 | uri | "type" | |
Slices for value[x] | 0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this | |
value[x]:valueCodeableConcept | 0..1 | CodeableConcept | Value of extension Binding: Premium Type (Contract) (required) | |
url | 1..1 | uri | "https://openimis.github.io/openimis_fhir_r4_ig/StructureDefinition/contract-premium" | |
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Path | Conformance | ValueSet |
Extension.extension:payer.value[x]:valueCodeableConcept | extensible | ContractPremiumPayerVS |
Extension.extension:category.value[x]:valueCodeableConcept | required | ContractPremiumCategoryVS |
Extension.extension:amount.value[x]:valueMoney.currency | required | Currencies |
Extension.extension:type.value[x]:valueCodeableConcept | required | ContractPremiumTypeVS |
Id | Grade | Path | Details | Requirements |
ele-1 | error | Extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension:payer | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension.extension:payer | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension:payer.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:payer.value[x]:valueCodeableConcept | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension.extension:category | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension:category.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:category.value[x]:valueCodeableConcept | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:amount | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension.extension:amount | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension:amount.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:amount.value[x]:valueMoney | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:amount.value[x]:valueMoney.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension.extension:amount.value[x]:valueMoney.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension:amount.value[x]:valueMoney.value | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:amount.value[x]:valueMoney.currency | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:receipt | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension.extension:receipt | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension:receipt.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:date | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension.extension:date | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension:date.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:type | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | Extension.extension:type | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
ele-1 | error | Extension.extension:type.value[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ele-1 | error | Extension.extension:type.value[x]:valueCodeableConcept | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |