Extensions for Using Data Elements from FHIR R5 in FHIR R4B - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: ExtensionCompartmentDefinition_Code | ||
R5: CompartmentDefinition.code
This extension is part of the cross-version definitions generated to enable use of the
element CompartmentDefinition.code as defined in FHIR R5
in FHIR R4B.
The source element is defined as:
CompartmentDefinition.code 1..1 code
Following are the generation technical comments:
Element CompartmentDefinition.code is mapped to FHIR R4B element CompartmentDefinition.code as SourceIsBroaderThanTarget.
Context of Use
This extension may be used on the following element(s)
CompartmentDefinition.code
This extension is allowed for use with FHIR versions R4B to R4B .
Usage info
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots, and how the XML and JSON presentations work.
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension(4.3.0) | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare | |
![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code" | |
![]() ![]() |
1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Binding: R5CompartmentTypeForR4B (0.1.0) (required): Which type a compartment definition describes. | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension(4.3.0) | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Constraints: ext-1 | |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code" | |
![]() ![]() |
1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Binding: R5CompartmentTypeForR4B (0.1.0) (required): Which type a compartment definition describes. | |
Documentation for this format | ||||
Differential View
This structure is derived from Extension
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension(4.3.0) | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare | |
![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code" | |
![]() ![]() |
1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Binding: R5CompartmentTypeForR4B (0.1.0) (required): Which type a compartment definition describes. | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | Extension(4.3.0) | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Constraints: ext-1 | |
![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |
![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() |
1..1 | uri | "http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code" | |
![]() ![]() |
1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Binding: R5CompartmentTypeForR4B (0.1.0) (required): Which type a compartment definition describes. | |
Documentation for this format | ||||
Other representations of profile: CSV, Excel, Schematron
| Path | Status | Usage | ValueSet | Version | Source |
| Extension.value[x] | Base | required | Cross-version ValueSet R5.CompartmentType for use in FHIR R4B | 📍0.1.0 | This IG |
| Id | Grade | Path(s) | Description | Expression |
| ele-1 | error | Extension, Extension.extension, Extension.value[x] | All FHIR elements must have a @value or children unless an empty Parameters resource |
hasValue() or (children().count() > id.count()) or $this is Parameters
|
| ext-1 | error | Extension, Extension.extension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|