Extensions for Using Data Elements from FHIR R4 in FHIR R5 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/4.0/StructureDefinition/profile-CompartmentDefinition | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R4_CompartmentDefinition_R5 | ||
This cross-version profile allows R4 CompartmentDefinition content to be represented via FHIR R5 CompartmentDefinition resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CompartmentDefinition(5.0.0) | Compartment Definition for a resource Constraints: cnl-0 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..1 | uri | Canonical identifier for this compartment definition, represented as a URI (globally unique) Constraints: cnl-1 |
![]() ![]() |
ΣC | 1..1 | string | Name for this compartment definition (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() |
Σ | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Binding: CompartmentType (required): Which type a compartment definition describes. |
![]() ![]() |
Σ | 1..1 | boolean | Whether the search syntax is supported |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| CompartmentDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.code | Base | required | Compartment Type | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | CompartmentDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| cnl-1 | warning | CompartmentDefinition.url | URL should not contain | or # - these characters make processing canonical references problematic |
exists() implies matches('^[^|# ]+$')
|
| ele-1 | error | CompartmentDefinition.implicitRules, CompartmentDefinition.modifierExtension, CompartmentDefinition.url, CompartmentDefinition.name, CompartmentDefinition.status, CompartmentDefinition.code, CompartmentDefinition.search | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | CompartmentDefinition.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from CompartmentDefinition
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CompartmentDefinition(5.0.0) | Compartment Definition for a resource | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R4: code additional codes URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.resource.code Binding: R4ResourceTypesForR5 (0.1.0) (required): One of the resource types defined as part of this version of FHIR. | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CompartmentDefinition(5.0.0) | Compartment Definition for a resource Constraints: cnl-0 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
ΣC | 1..1 | uri | Canonical identifier for this compartment definition, represented as a URI (globally unique) Constraints: cnl-1 | ||||
![]() ![]() |
Σ | 0..1 | string | Business version of the compartment definition | ||||
![]() ![]() |
Σ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() |
ΣC | 1..1 | string | Name for this compartment definition (computer friendly) | ||||
![]() ![]() |
Σ | 0..1 | string | Name for this compartment definition (human friendly) | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() |
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher/steward (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() |
0..1 | markdown | Natural language description of the compartment definition | |||||
![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() |
0..1 | markdown | Why this compartment definition is defined | |||||
![]() ![]() |
Σ | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Binding: CompartmentType (required): Which type a compartment definition describes. | ||||
![]() ![]() |
Σ | 1..1 | boolean | Whether the search syntax is supported | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | How a resource is related to the compartment | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | Name of resource type Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R4: code additional codes URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.resource.code Binding: R4ResourceTypesForR5 (0.1.0) (required): One of the resource types defined as part of this version of FHIR. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() ![]() |
Σ | 0..* | string | Search Parameter Name, or chained parameters | ||||
![]() ![]() ![]() |
0..1 | string | Additional documentation about the resource and compartment | |||||
![]() ![]() ![]() |
0..1 | uri | Search Param for interpreting $everything.start | |||||
![]() ![]() ![]() |
0..1 | uri | Search Param for interpreting $everything.end | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| CompartmentDefinition.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.versionAlgorithm[x] | Base | extensible | Version Algorithm | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.code | Base | required | Compartment Type | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.resource.code | Base | required |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | CompartmentDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| cnl-1 | warning | CompartmentDefinition.url | URL should not contain | or # - these characters make processing canonical references problematic |
exists() implies matches('^[^|# ]+$')
|
| ele-1 | error | CompartmentDefinition.meta, CompartmentDefinition.implicitRules, CompartmentDefinition.language, CompartmentDefinition.text, CompartmentDefinition.extension, CompartmentDefinition.modifierExtension, CompartmentDefinition.url, CompartmentDefinition.version, CompartmentDefinition.versionAlgorithm[x], CompartmentDefinition.name, CompartmentDefinition.title, CompartmentDefinition.status, CompartmentDefinition.experimental, CompartmentDefinition.date, CompartmentDefinition.publisher, CompartmentDefinition.contact, CompartmentDefinition.description, CompartmentDefinition.useContext, CompartmentDefinition.purpose, CompartmentDefinition.code, CompartmentDefinition.search, CompartmentDefinition.resource, CompartmentDefinition.resource.extension, CompartmentDefinition.resource.modifierExtension, CompartmentDefinition.resource.code, CompartmentDefinition.resource.code.extension, CompartmentDefinition.resource.code.extension:code, CompartmentDefinition.resource.param, CompartmentDefinition.resource.documentation, CompartmentDefinition.resource.startParam, CompartmentDefinition.resource.endParam | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | CompartmentDefinition.extension, CompartmentDefinition.modifierExtension, CompartmentDefinition.resource.extension, CompartmentDefinition.resource.modifierExtension, CompartmentDefinition.resource.code.extension, CompartmentDefinition.resource.code.extension:code | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from CompartmentDefinition
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | CompartmentDefinition(5.0.0) | Compartment Definition for a resource Constraints: cnl-0 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
ΣC | 1..1 | uri | Canonical identifier for this compartment definition, represented as a URI (globally unique) Constraints: cnl-1 |
![]() ![]() |
ΣC | 1..1 | string | Name for this compartment definition (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. |
![]() ![]() |
Σ | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Binding: CompartmentType (required): Which type a compartment definition describes. |
![]() ![]() |
Σ | 1..1 | boolean | Whether the search syntax is supported |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| CompartmentDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.code | Base | required | Compartment Type | 📍5.0.0 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | CompartmentDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| cnl-1 | warning | CompartmentDefinition.url | URL should not contain | or # - these characters make processing canonical references problematic |
exists() implies matches('^[^|# ]+$')
|
| ele-1 | error | CompartmentDefinition.implicitRules, CompartmentDefinition.modifierExtension, CompartmentDefinition.url, CompartmentDefinition.name, CompartmentDefinition.status, CompartmentDefinition.code, CompartmentDefinition.search | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | CompartmentDefinition.modifierExtension | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from CompartmentDefinition
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | CompartmentDefinition(5.0.0) | Compartment Definition for a resource | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R4: code additional codes URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.resource.code Binding: R4ResourceTypesForR5 (0.1.0) (required): One of the resource types defined as part of this version of FHIR. | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | CompartmentDefinition(5.0.0) | Compartment Definition for a resource Constraints: cnl-0 | ||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
ΣC | 1..1 | uri | Canonical identifier for this compartment definition, represented as a URI (globally unique) Constraints: cnl-1 | ||||
![]() ![]() |
Σ | 0..1 | string | Business version of the compartment definition | ||||
![]() ![]() |
Σ | 0..1 | How to compare versions Binding: VersionAlgorithm (extensible) | |||||
![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Coding | |||||||
![]() ![]() |
ΣC | 1..1 | string | Name for this compartment definition (computer friendly) | ||||
![]() ![]() |
Σ | 0..1 | string | Name for this compartment definition (human friendly) | ||||
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of an artifact. | ||||
![]() ![]() |
Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher/steward (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() |
0..1 | markdown | Natural language description of the compartment definition | |||||
![]() ![]() |
Σ | 0..* | UsageContext | The context that the content is intended to support | ||||
![]() ![]() |
0..1 | markdown | Why this compartment definition is defined | |||||
![]() ![]() |
Σ | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare Binding: CompartmentType (required): Which type a compartment definition describes. | ||||
![]() ![]() |
Σ | 1..1 | boolean | Whether the search syntax is supported | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | How a resource is related to the compartment | ||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | Name of resource type Binding: ResourceType (required): One of the resource types defined as part of this version of FHIR. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R4: code additional codes URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.resource.code Binding: R4ResourceTypesForR5 (0.1.0) (required): One of the resource types defined as part of this version of FHIR. Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() ![]() |
Σ | 0..* | string | Search Parameter Name, or chained parameters | ||||
![]() ![]() ![]() |
0..1 | string | Additional documentation about the resource and compartment | |||||
![]() ![]() ![]() |
0..1 | uri | Search Param for interpreting $everything.start | |||||
![]() ![]() ![]() |
0..1 | uri | Search Param for interpreting $everything.end | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| CompartmentDefinition.language | Base | required | All Languages | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.versionAlgorithm[x] | Base | extensible | Version Algorithm | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.status | Base | required | PublicationStatus | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.code | Base | required | Compartment Type | 📍5.0.0 | FHIR Std. |
| CompartmentDefinition.resource.code | Base | required |
Resource Types
|
📍5.0.0 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| cnl-0 | warning | CompartmentDefinition | Name should be usable as an identifier for the module by machine processing applications such as code generation |
name.exists() implies name.matches('^[A-Z]([A-Za-z0-9_]){1,254}$')
|
| cnl-1 | warning | CompartmentDefinition.url | URL should not contain | or # - these characters make processing canonical references problematic |
exists() implies matches('^[^|# ]+$')
|
| ele-1 | error | CompartmentDefinition.meta, CompartmentDefinition.implicitRules, CompartmentDefinition.language, CompartmentDefinition.text, CompartmentDefinition.extension, CompartmentDefinition.modifierExtension, CompartmentDefinition.url, CompartmentDefinition.version, CompartmentDefinition.versionAlgorithm[x], CompartmentDefinition.name, CompartmentDefinition.title, CompartmentDefinition.status, CompartmentDefinition.experimental, CompartmentDefinition.date, CompartmentDefinition.publisher, CompartmentDefinition.contact, CompartmentDefinition.description, CompartmentDefinition.useContext, CompartmentDefinition.purpose, CompartmentDefinition.code, CompartmentDefinition.search, CompartmentDefinition.resource, CompartmentDefinition.resource.extension, CompartmentDefinition.resource.modifierExtension, CompartmentDefinition.resource.code, CompartmentDefinition.resource.code.extension, CompartmentDefinition.resource.code.extension:code, CompartmentDefinition.resource.param, CompartmentDefinition.resource.documentation, CompartmentDefinition.resource.startParam, CompartmentDefinition.resource.endParam | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | CompartmentDefinition.extension, CompartmentDefinition.modifierExtension, CompartmentDefinition.resource.extension, CompartmentDefinition.resource.modifierExtension, CompartmentDefinition.resource.code.extension, CompartmentDefinition.resource.code.extension:code | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from CompartmentDefinition
Other representations of profile: CSV, Excel, Schematron