Extensions for Using Data Elements from FHIR R5 in FHIR R4 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-SubscriptionStatus | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_SubscriptionStatus_R4 | ||
This cross-version profile allows R5 SubscriptionStatus content to be represented via FHIR R4 Basic resources.
Usages:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | 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()
|
| dom-5 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.implicitRules, Basic.extension, Basic.extension:status, Basic.extension:eventsSinceSubscriptionStart, Basic.extension:notificationEvent, Basic.extension:subscription, Basic.extension:topic, Basic.extension:error, Basic.modifierExtension, Basic.modifierExtension:type, Basic.code | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:status, Basic.extension:eventsSinceSubscriptionStart, Basic.extension:notificationEvent, Basic.extension:subscription, Basic.extension:topic, Basic.extension:error, Basic.modifierExtension, Basic.modifierExtension:type | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic(4.0.1) | Resource for non-supported content | |||||
![]() ![]() |
Σ | 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: CommonLanguages (preferred): 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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | code | R5: requested | active | error | off | entered-in-error (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.status Binding: R5SubscriptionStatusForR4 (0.1.0) (required): The status of a subscription at the time this notification was generated. Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | string | R5: Events since the Subscription was created (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.eventsSinceSubscriptionStart Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Detailed information about any events relevant to this notification (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.notificationEvent Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | Reference(Cross-version Profile for R5.Subscription for use in FHIR R4(0.1.0) | Subscription) | R5: Reference to the Subscription responsible for this notification (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.subscription Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | canonical(Cross-version Profile for R5.SubscriptionTopic for use in FHIR R4(0.1.0) | Basic) | R5: Reference to the SubscriptionTopic this notification relates to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.topic Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | R5: List of errors on the subscription (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.error Binding: R5SubscriptionErrorForR4 (0.1.0) (example): Codes to represent subscription error details. Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 1..1 | code | R5: handshake | heartbeat | event-notification | query-status | query-event (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.type Binding: R5SubscriptionNotificationTypeForR4 (0.1.0) (required): The type of notification represented by the status message. Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Identifies the focus of this resource | ||||
![]() ![]() |
Σ | 0..1 | date | When created | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred |
Common Languages
|
📍4.0.1 | tx.fhir.org |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | 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()
|
| dom-5 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.meta, Basic.implicitRules, Basic.language, Basic.text, Basic.extension, Basic.extension:status, Basic.extension:eventsSinceSubscriptionStart, Basic.extension:notificationEvent, Basic.extension:subscription, Basic.extension:topic, Basic.extension:error, Basic.modifierExtension, Basic.modifierExtension:type, Basic.identifier, Basic.code, Basic.subject, Basic.created, Basic.author | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:status, Basic.extension:eventsSinceSubscriptionStart, Basic.extension:notificationEvent, Basic.extension:subscription, Basic.extension:topic, Basic.extension:error, Basic.modifierExtension, Basic.modifierExtension:type | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
Summary
Mandatory: 3 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | 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()
|
| dom-5 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.implicitRules, Basic.extension, Basic.extension:status, Basic.extension:eventsSinceSubscriptionStart, Basic.extension:notificationEvent, Basic.extension:subscription, Basic.extension:topic, Basic.extension:error, Basic.modifierExtension, Basic.modifierExtension:type, Basic.code | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:status, Basic.extension:eventsSinceSubscriptionStart, Basic.extension:notificationEvent, Basic.extension:subscription, Basic.extension:topic, Basic.extension:error, Basic.modifierExtension, Basic.modifierExtension:type | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
Differential View
This structure is derived from Basic
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Basic(4.0.1) | Resource for non-supported content | |||||
![]() ![]() |
Σ | 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: CommonLanguages (preferred): 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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | code | R5: requested | active | error | off | entered-in-error (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.status Binding: R5SubscriptionStatusForR4 (0.1.0) (required): The status of a subscription at the time this notification was generated. Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | string | R5: Events since the Subscription was created (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.eventsSinceSubscriptionStart Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Detailed information about any events relevant to this notification (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.notificationEvent Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | Reference(Cross-version Profile for R5.Subscription for use in FHIR R4(0.1.0) | Subscription) | R5: Reference to the Subscription responsible for this notification (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.subscription Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | canonical(Cross-version Profile for R5.SubscriptionTopic for use in FHIR R4(0.1.0) | Basic) | R5: Reference to the SubscriptionTopic this notification relates to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.topic Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | CodeableConcept | R5: List of errors on the subscription (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.error Binding: R5SubscriptionErrorForR4 (0.1.0) (example): Codes to represent subscription error details. Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 1..1 | code | R5: handshake | heartbeat | event-notification | query-status | query-event (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-SubscriptionStatus.type Binding: R5SubscriptionNotificationTypeForR4 (0.1.0) (required): The type of notification represented by the status message. Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier | ||||
![]() ![]() |
?!Σ | 1..1 | CodeableConcept | Kind of Resource Binding: BasicResourceTypes (example): Codes for identifying types of resources not yet defined by FHIR. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Resource) | Identifies the focus of this resource | ||||
![]() ![]() |
Σ | 0..1 | date | When created | ||||
![]() ![]() |
Σ | 0..1 | Reference(Practitioner | PractitionerRole | Patient | RelatedPerson | Organization) | Who created | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Basic.language | Base | preferred |
Common Languages
|
📍4.0.1 | tx.fhir.org |
| Basic.code | Base | example | Basic Resource Types | 📍4.0.1 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-2 | error | Basic | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Basic | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource |
contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
|
| dom-4 | error | Basic | 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()
|
| dom-5 | error | Basic | If a resource is contained in another resource, it SHALL NOT have a security label |
contained.meta.security.empty()
|
| dom-6 | best practice | Basic | A resource should have narrative for robust management |
text.`div`.exists()
|
| ele-1 | error | Basic.meta, Basic.implicitRules, Basic.language, Basic.text, Basic.extension, Basic.extension:status, Basic.extension:eventsSinceSubscriptionStart, Basic.extension:notificationEvent, Basic.extension:subscription, Basic.extension:topic, Basic.extension:error, Basic.modifierExtension, Basic.modifierExtension:type, Basic.identifier, Basic.code, Basic.subject, Basic.created, Basic.author | All FHIR elements must have a @value or children |
hasValue() or (children().count() > id.count())
|
| ext-1 | error | Basic.extension, Basic.extension:status, Basic.extension:eventsSinceSubscriptionStart, Basic.extension:notificationEvent, Basic.extension:subscription, Basic.extension:topic, Basic.extension:error, Basic.modifierExtension, Basic.modifierExtension:type | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
This structure is derived from Basic
Summary
Mandatory: 3 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron