Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-CompartmentDefinition | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_CompartmentDefinition_R3 | ||
This cross-version profile allows R5 CompartmentDefinition content to be represented via FHIR STU3 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: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | CompartmentDefinition | Compartment Definition for a resource | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string | R5: Business version of the compartment definition (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.version | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this compartment definition (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..1 | uri | Logical URI to reference this compartment definition (globally unique) |
![]() ![]() |
Σ | 1..1 | string | Name for this compartment definition (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map. |
![]() ![]() |
?!Σ | 0..1 | boolean | For testing purposes, not real usage |
![]() ![]() |
Σ | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device Binding: CompartmentType (required): Which compartment a compartment definition describes |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code Binding: R5CompartmentTypeForR3 (0.1.0) (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 | 📍3.0.2 | FHIR Std. |
| CompartmentDefinition.code | Base | required |
CompartmentType
|
📍3.0.2 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource |
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
|
| dom-4 | error | CompartmentDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | 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: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | CompartmentDefinition | Compartment Definition for a resource | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string | R5: Business version of the compartment definition (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.version | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this compartment definition (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | R5: contact additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.contact | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code Binding: R5CompartmentTypeForR3 (0.1.0) (required): Which type a compartment definition describes. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | uri | R5: Search Param for interpreting $everything.start (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.startParam | |
![]() ![]() ![]() ![]() |
0..1 | uri | R5: Search Param for interpreting $everything.end (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.endParam | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R5: code additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.code Binding: R5ResourceTypesForR3 (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: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
1..1 | CompartmentDefinition | Compartment Definition for a resource | |||||
![]() ![]() |
Σ | 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: Common Languages (extensible): 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 | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | string | R5: Business version of the compartment definition (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.version | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this compartment definition (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 1..1 | uri | Logical URI to reference this compartment definition (globally unique) | ||||
![]() ![]() |
Σ | 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 a Value Set or Concept Map. | ||||
![]() ![]() |
?!Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date this was last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | R5: contact additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.contact | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of an individual to contact | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() |
0..1 | markdown | Natural language description of the compartment definition | |||||
![]() ![]() |
0..1 | markdown | Why this compartment definition is defined | |||||
![]() ![]() |
Σ | 0..* | UsageContext | Context the content is intended to support | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for compartment definition (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use | ||||
![]() ![]() |
Σ | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device Binding: CompartmentType (required): Which compartment a compartment definition describes | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code Binding: R5CompartmentTypeForR3 (0.1.0) (required): Which type a compartment definition describes. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
Σ | 1..1 | boolean | Whether the search syntax is supported | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | How a resource is related to the compartment | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | uri | R5: Search Param for interpreting $everything.start (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.startParam | |||||
![]() ![]() ![]() ![]() |
0..1 | uri | R5: Search Param for interpreting $everything.end (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.endParam | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | Name of resource type Binding: ResourceType (required): One of the resource types defined as part of FHIR. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R5: code additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.code Binding: R5ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR. | |||||
![]() ![]() ![]() ![]() |
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 | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| CompartmentDefinition.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| CompartmentDefinition.status | Base | required | PublicationStatus | 📍3.0.2 | FHIR Std. |
| CompartmentDefinition.jurisdiction | Base | extensible | Jurisdiction ValueSet | 📍3.0.2 | FHIR Std. |
| CompartmentDefinition.code | Base | required |
CompartmentType
|
📍3.0.2 | tx.fhir.org |
| CompartmentDefinition.resource.code | Base | required |
ResourceType
|
📍3.0.2 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource |
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
|
| dom-4 | error | CompartmentDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from CompartmentDefinition
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | CompartmentDefinition | Compartment Definition for a resource | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string | R5: Business version of the compartment definition (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.version | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this compartment definition (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
Σ | 1..1 | uri | Logical URI to reference this compartment definition (globally unique) |
![]() ![]() |
Σ | 1..1 | string | Name for this compartment definition (computer friendly) |
![]() ![]() |
?!Σ | 1..1 | code | draft | active | retired | unknown Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map. |
![]() ![]() |
?!Σ | 0..1 | boolean | For testing purposes, not real usage |
![]() ![]() |
Σ | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device Binding: CompartmentType (required): Which compartment a compartment definition describes |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code Binding: R5CompartmentTypeForR3 (0.1.0) (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 | 📍3.0.2 | FHIR Std. |
| CompartmentDefinition.code | Base | required |
CompartmentType
|
📍3.0.2 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource |
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
|
| dom-4 | error | CompartmentDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | 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: ![]() ![]() |
|---|---|---|---|---|
![]() |
1..1 | CompartmentDefinition | Compartment Definition for a resource | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | string | R5: Business version of the compartment definition (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.version | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this compartment definition (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | (Complex) | R5: contact additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.contact | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code Binding: R5CompartmentTypeForR3 (0.1.0) (required): Which type a compartment definition describes. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | uri | R5: Search Param for interpreting $everything.start (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.startParam | |
![]() ![]() ![]() ![]() |
0..1 | uri | R5: Search Param for interpreting $everything.end (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.endParam | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R5: code additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.code Binding: R5ResourceTypesForR3 (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: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
1..1 | CompartmentDefinition | Compartment Definition for a resource | |||||
![]() ![]() |
Σ | 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: Common Languages (extensible): 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 | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | string | R5: Business version of the compartment definition (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.version | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm]] | R5: How to compare versions (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-versionAlgorithm | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/artifact-title]] | R5: Name for this compartment definition (human friendly) (new) URL: http://hl7.org/fhir/StructureDefinition/artifact-title | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 1..1 | uri | Logical URI to reference this compartment definition (globally unique) | ||||
![]() ![]() |
Σ | 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 a Value Set or Concept Map. | ||||
![]() ![]() |
?!Σ | 0..1 | boolean | For testing purposes, not real usage | ||||
![]() ![]() |
Σ | 0..1 | dateTime | Date this was last changed | ||||
![]() ![]() |
Σ | 0..1 | string | Name of the publisher (organization or individual) | ||||
![]() ![]() |
Σ | 0..* | ContactDetail | Contact details for the publisher | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | R5: contact additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.contact | |||||
![]() ![]() ![]() |
Σ | 0..1 | string | Name of an individual to contact | ||||
![]() ![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for individual or organization | ||||
![]() ![]() |
0..1 | markdown | Natural language description of the compartment definition | |||||
![]() ![]() |
0..1 | markdown | Why this compartment definition is defined | |||||
![]() ![]() |
Σ | 0..* | UsageContext | Context the content is intended to support | ||||
![]() ![]() |
Σ | 0..* | CodeableConcept | Intended jurisdiction for compartment definition (if applicable) Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use | ||||
![]() ![]() |
Σ | 1..1 | code | Patient | Encounter | RelatedPerson | Practitioner | Device Binding: CompartmentType (required): Which compartment a compartment definition describes | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: Patient | Encounter | RelatedPerson | Practitioner | Device | EpisodeOfCare URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.code Binding: R5CompartmentTypeForR3 (0.1.0) (required): Which type a compartment definition describes. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
Σ | 1..1 | boolean | Whether the search syntax is supported | ||||
![]() ![]() |
Σ | 0..* | BackboneElement | How a resource is related to the compartment | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | uri | R5: Search Param for interpreting $everything.start (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.startParam | |||||
![]() ![]() ![]() ![]() |
0..1 | uri | R5: Search Param for interpreting $everything.end (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.endParam | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | Name of resource type Binding: ResourceType (required): One of the resource types defined as part of FHIR. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R5: code additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-CompartmentDefinition.resource.code Binding: R5ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR. | |||||
![]() ![]() ![]() ![]() |
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 | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| CompartmentDefinition.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| CompartmentDefinition.status | Base | required | PublicationStatus | 📍3.0.2 | FHIR Std. |
| CompartmentDefinition.jurisdiction | Base | extensible | Jurisdiction ValueSet | 📍3.0.2 | FHIR Std. |
| CompartmentDefinition.code | Base | required |
CompartmentType
|
📍3.0.2 | tx.fhir.org |
| CompartmentDefinition.resource.code | Base | required |
ResourceType
|
📍3.0.2 | tx.fhir.org |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | CompartmentDefinition | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource |
contained.where(('#'+id in %resource.descendants().reference).not()).empty()
|
| dom-4 | error | CompartmentDefinition | If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated |
contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from CompartmentDefinition
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron