Starter FHIR Implementation Guide
1.0.1 - draft
Starter FHIR Implementation Guide, published by Jembi Health Systems. This guide is not an authorized publication; it is the continuous build for version 1.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/jembi/Starter-FHIR-IG/ and changes regularly. See the Directory of published versions
Official URL: http://jembi.org/fhir/StructureDefinition/marital-status-and-effective-date | Version: 1.0.1 | |||
Active as of 2024-12-11 | Computable Name: MaritalStatusAndEffectiveDateExtension |
An extension to capture the marital status and the effective date for when the marital status came into effect.
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
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | Σ | 0..* | Extension | Patient Marital Status and Effective Date |
extension | 2..* | Extension | Extension | |
Slices for extension | Content/Rules for all slices | |||
Status | C | 1..1 | CodeableConcept | Patient Marital Status URL: http://jembi.org/fhir/StructureDefinition/marital-status Binding: Marital Status Codes (extensible) Extension-MaritalStatusAndEffectiveDateExtension-1: If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. |
EffectiveDate | 1..1 | date | Patient Marital Status Date URL: http://jembi.org/fhir/StructureDefinition/marital-status-date | |
url | 1..1 | uri | "http://jembi.org/fhir/StructureDefinition/marital-status-and-effective-date" | |
value[x] | 0..0 | |||
Documentation for this format |
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | Σ | 0..* | Extension | Patient Marital Status and Effective Date |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |
Status | C | 1..1 | CodeableConcept | Patient Marital Status URL: http://jembi.org/fhir/StructureDefinition/marital-status Binding: Marital Status Codes (extensible) Extension-MaritalStatusAndEffectiveDateExtension-1: If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. |
EffectiveDate | 1..1 | date | Patient Marital Status Date URL: http://jembi.org/fhir/StructureDefinition/marital-status-date | |
url | 1..1 | uri | "http://jembi.org/fhir/StructureDefinition/marital-status-and-effective-date" | |
Documentation for this format |
This structure is derived from Extension
Differential View
This structure is derived from Extension
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | Σ | 0..* | Extension | Patient Marital Status and Effective Date |
extension | 2..* | Extension | Extension | |
Slices for extension | Content/Rules for all slices | |||
Status | C | 1..1 | CodeableConcept | Patient Marital Status URL: http://jembi.org/fhir/StructureDefinition/marital-status Binding: Marital Status Codes (extensible) Extension-MaritalStatusAndEffectiveDateExtension-1: If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. |
EffectiveDate | 1..1 | date | Patient Marital Status Date URL: http://jembi.org/fhir/StructureDefinition/marital-status-date | |
url | 1..1 | uri | "http://jembi.org/fhir/StructureDefinition/marital-status-and-effective-date" | |
value[x] | 0..0 | |||
Documentation for this format |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints |
---|---|---|---|---|
Extension | Σ | 0..* | Extension | Patient Marital Status and Effective Date |
id | 0..1 | string | Unique id for inter-element referencing | |
Slices for extension | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |
Status | C | 1..1 | CodeableConcept | Patient Marital Status URL: http://jembi.org/fhir/StructureDefinition/marital-status Binding: Marital Status Codes (extensible) Extension-MaritalStatusAndEffectiveDateExtension-1: If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. |
EffectiveDate | 1..1 | date | Patient Marital Status Date URL: http://jembi.org/fhir/StructureDefinition/marital-status-date | |
url | 1..1 | uri | "http://jembi.org/fhir/StructureDefinition/marital-status-and-effective-date" | |
Documentation for this format |
Other representations of profile: CSV, Excel, Schematron
Id | Grade | Path(s) | Details | Requirements |
Extension-MaritalStatusAndEffectiveDateExtension-1 | error | Extension.extension:Status | If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. : value.coding.where(system = 'http://jembi.org/fhir/CodeSystem/cs-marital-status' and code = 'Other').exists() implies value.text.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() |