HL7 FHIR Implementation Guide: Example IG Release 1 - US Realm | STU1
1.0.0 - ci-build
HL7 FHIR Implementation Guide: Example IG Release 1 - US Realm | STU1, published by My Organization. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/Gloriamuema/CreateTest-Project/ and changes regularly. See the Directory of published versions
Official URL: http://example.com/fhir/StructureDefinition/marital-status-and-effective-date | Version: 1.0.0 | |||
Draft as of 2024-09-27 | Computable Name: MaritalStatusAndEffectiveDateExtension |
An extension to capture the marital status and the effective date for when the marital status came into effect.
Note: This is for demonstrable purposes only!
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 | |||||||
MaritalStatus | C | 1..1 | CodeableConcept | Patient Marital Status URL: http://example.com/fhir/StructureDefinition/marital-status Binding: MaritalStatusCodes (extensible)
Extension-MaritalStatusAndEffectiveDateExtension-1: If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. | ||||
MaritalStatusDate | 1..1 | date | Patient Marital Status Date URL: http://example.com/fhir/StructureDefinition/marital-status-date | |||||
url | 1..1 | uri | "http://example.com/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 | id | Unique id for inter-element referencing | |||||
Slices for extension | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
MaritalStatus | C | 1..1 | CodeableConcept | Patient Marital Status URL: http://example.com/fhir/StructureDefinition/marital-status Binding: MaritalStatusCodes (extensible)
Extension-MaritalStatusAndEffectiveDateExtension-1: If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. | ||||
MaritalStatusDate | 1..1 | date | Patient Marital Status Date URL: http://example.com/fhir/StructureDefinition/marital-status-date | |||||
url | 1..1 | uri | "http://example.com/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 | |||||||
MaritalStatus | C | 1..1 | CodeableConcept | Patient Marital Status URL: http://example.com/fhir/StructureDefinition/marital-status Binding: MaritalStatusCodes (extensible)
Extension-MaritalStatusAndEffectiveDateExtension-1: If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. | ||||
MaritalStatusDate | 1..1 | date | Patient Marital Status Date URL: http://example.com/fhir/StructureDefinition/marital-status-date | |||||
url | 1..1 | uri | "http://example.com/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 | id | Unique id for inter-element referencing | |||||
Slices for extension | 2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
MaritalStatus | C | 1..1 | CodeableConcept | Patient Marital Status URL: http://example.com/fhir/StructureDefinition/marital-status Binding: MaritalStatusCodes (extensible)
Extension-MaritalStatusAndEffectiveDateExtension-1: If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. | ||||
MaritalStatusDate | 1..1 | date | Patient Marital Status Date URL: http://example.com/fhir/StructureDefinition/marital-status-date | |||||
url | 1..1 | uri | "http://example.com/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:MaritalStatus | If valueCodeableConcept.coding.code for the extension "MaritalStatus" is "Other" then the value for CodeableConcept.text SHALL be present. : value.coding.where(system = 'http://example.com/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() |