Extensions for Using Data Elements from FHIR R4 in FHIR STU3
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR R4 in FHIR STU3 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R4_CompartmentDefinition_R3

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_R3

This cross-version profile allows R4 CompartmentDefinition content to be represented via FHIR STU3 CompartmentDefinition resources.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CompartmentDefinition 1..1 CompartmentDefinition Compartment Definition for a resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version 0..1 string R4: Business version of the compartment definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.version
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... name Σ 1..1 string Name for this compartment definition (computer friendly)
... status ?!Σ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map.
... experimental ?!Σ 0..1 boolean For testing purposes, not real usage
... code Σ 1..1 code Patient | Encounter | RelatedPerson | Practitioner | Device
Binding: CompartmentType (required): Which compartment a compartment definition describes
... search Σ 1..1 boolean Whether the search syntax is supported

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
CompartmentDefinition.​status Base required PublicationStatus 📍3.0.2 FHIR Std.
CompartmentDefinition.​code Base required CompartmentType 📍3.0.2 FHIR Std.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CompartmentDefinition 1..1 CompartmentDefinition Compartment Definition for a resource
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version 0..1 string R4: Business version of the compartment definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.version
... resource
.... code
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:code 0..1 code R4: code
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.resource.code
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CompartmentDefinition 1..1 CompartmentDefinition Compartment Definition for a resource
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version 0..1 string R4: Business version of the compartment definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.version
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... url Σ 1..1 uri Logical URI to reference this compartment definition (globally unique)
... name Σ 1..1 string Name for this compartment definition (computer friendly)
... title Σ 0..1 string Name for this compartment definition (human friendly)
... status ?!Σ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map.
... experimental ?!Σ 0..1 boolean For testing purposes, not real usage
... date Σ 0..1 dateTime Date this was last changed
... publisher Σ 0..1 string Name of the publisher (organization or individual)
... contact Σ 0..* ContactDetail Contact details for the publisher
... description 0..1 markdown Natural language description of the compartment definition
... purpose 0..1 markdown Why this compartment definition is defined
... useContext Σ 0..* UsageContext Context the content is intended to support
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for compartment definition (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use
... code Σ 1..1 code Patient | Encounter | RelatedPerson | Practitioner | Device
Binding: CompartmentType (required): Which compartment a compartment definition describes
... search Σ 1..1 boolean Whether the search syntax is supported
... resource Σ 0..* BackboneElement How a resource is related to the compartment
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... code Σ 1..1 code Name of resource type
Binding: ResourceType . (required): One of the resource types defined as part of FHIR.
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:code 0..1 code R4: code
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.resource.code
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
..... value 0..1 code Primitive value for code
.... param Σ 0..* string Search Parameter Name, or chained parameters
.... documentation 0..1 string Additional documentation about the resource and compartment

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
CompartmentDefinition.​language Base extensible Common Languages 📍3.0.2 FHIR Std.
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 FHIR Std.
CompartmentDefinition.​resource.code Base required ResourceType . 📍3.0.2 tx.fhir.org

Constraints

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()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CompartmentDefinition 1..1 CompartmentDefinition Compartment Definition for a resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version 0..1 string R4: Business version of the compartment definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.version
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... name Σ 1..1 string Name for this compartment definition (computer friendly)
... status ?!Σ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map.
... experimental ?!Σ 0..1 boolean For testing purposes, not real usage
... code Σ 1..1 code Patient | Encounter | RelatedPerson | Practitioner | Device
Binding: CompartmentType (required): Which compartment a compartment definition describes
... search Σ 1..1 boolean Whether the search syntax is supported

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
CompartmentDefinition.​status Base required PublicationStatus 📍3.0.2 FHIR Std.
CompartmentDefinition.​code Base required CompartmentType 📍3.0.2 FHIR Std.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CompartmentDefinition 1..1 CompartmentDefinition Compartment Definition for a resource
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version 0..1 string R4: Business version of the compartment definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.version
... resource
.... code
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:code 0..1 code R4: code
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.resource.code
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. CompartmentDefinition 1..1 CompartmentDefinition Compartment Definition for a resource
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 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
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:version 0..1 string R4: Business version of the compartment definition (new)
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.version
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... url Σ 1..1 uri Logical URI to reference this compartment definition (globally unique)
... name Σ 1..1 string Name for this compartment definition (computer friendly)
... title Σ 0..1 string Name for this compartment definition (human friendly)
... status ?!Σ 1..1 code draft | active | retired | unknown
Binding: PublicationStatus (required): The lifecycle status of a Value Set or Concept Map.
... experimental ?!Σ 0..1 boolean For testing purposes, not real usage
... date Σ 0..1 dateTime Date this was last changed
... publisher Σ 0..1 string Name of the publisher (organization or individual)
... contact Σ 0..* ContactDetail Contact details for the publisher
... description 0..1 markdown Natural language description of the compartment definition
... purpose 0..1 markdown Why this compartment definition is defined
... useContext Σ 0..* UsageContext Context the content is intended to support
... jurisdiction Σ 0..* CodeableConcept Intended jurisdiction for compartment definition (if applicable)
Binding: Jurisdiction ValueSet (extensible): Countries and regions within which this artifact is targeted for use
... code Σ 1..1 code Patient | Encounter | RelatedPerson | Practitioner | Device
Binding: CompartmentType (required): Which compartment a compartment definition describes
... search Σ 1..1 boolean Whether the search syntax is supported
... resource Σ 0..* BackboneElement How a resource is related to the compartment
.... id 0..1 string xml:id (or equivalent in JSON)
.... extension 0..* Extension Additional Content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
.... code Σ 1..1 code Name of resource type
Binding: ResourceType . (required): One of the resource types defined as part of FHIR.
..... id 0..1 string xml:id (or equivalent in JSON)
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
...... extension:code 0..1 code R4: code
URL: http://hl7.org/fhir/4.0/StructureDefinition/extension-CompartmentDefinition.resource.code
Binding: R4ResourceTypesForR3 (0.1.0) (required): One of the resource types defined as part of this version of FHIR.
..... value 0..1 code Primitive value for code
.... param Σ 0..* string Search Parameter Name, or chained parameters
.... documentation 0..1 string Additional documentation about the resource and compartment

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
CompartmentDefinition.​language Base extensible Common Languages 📍3.0.2 FHIR Std.
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 FHIR Std.
CompartmentDefinition.​resource.code Base required ResourceType . 📍3.0.2 tx.fhir.org

Constraints

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()

 

Other representations of profile: CSV, Excel, Schematron