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-Subscription | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_Subscription_R3 | ||
This cross-version profile allows R5 Subscription content to be represented via FHIR STU3 Subscription 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: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Subscription | A server push subscription criteria | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Identifier | R5: Additional identifiers (business identifier) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.identifier | |
![]() ![]() ![]() |
0..1 | string | R5: Human readable name for this subscription (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.name | |
![]() ![]() ![]() |
1..1 | uri | R5: Reference to the subscription topic being subscribed to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.topic | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.CareTeam for use in FHIR STU3(0.1.0) | CareTeam | Cross-version Profile for R5.HealthcareService for use in FHIR STU3(0.1.0) | HealthcareService | Cross-version Profile for R5.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R5.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R5.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R5.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R5.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole) | R5: Entity responsible for Subscription changes (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.managingEntity | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Criteria for narrowing the subscription topic stream (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Channel type (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.parameter | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period]] | R5: Interval in seconds to send 'heartbeat' notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout]] | R5: Timeout in seconds to attempt notification delivery (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content]] | R5: empty | id-only | full-resource (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count]] | R5: Maximum number of events that can be combined in a single notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | requested | active | error | off Binding: SubscriptionStatus (required): The status of a subscription. |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: requested | active | error | off | entered-in-error URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.status Binding: R5SubscriptionStatusForR3 (0.1.0) (required): The status of a subscription. | |
![]() ![]() |
Σ | 1..1 | string | Description of why this subscription was created |
![]() ![]() |
Σ | 1..1 | string | Rule for server push criteria |
![]() ![]() |
Σ | 1..1 | BackboneElement | The channel on which to report matches to the criteria |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
Σ | 1..1 | code | rest-hook | websocket | email | sms | message Binding: SubscriptionChannelType (required): The type of method used to execute a subscription. |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type]] | R5: Channel type for notifications additional types URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subscription.status | Base | required |
SubscriptionStatus
|
📍3.0.2 | tx.fhir.org |
| Subscription.channel.type | Base | required | SubscriptionChannelType | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | Subscription | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | Subscription | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Subscription | 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 | Subscription | 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 Subscription
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Subscription | A server push subscription criteria | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Identifier | R5: Additional identifiers (business identifier) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.identifier | |
![]() ![]() ![]() |
0..1 | string | R5: Human readable name for this subscription (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.name | |
![]() ![]() ![]() |
1..1 | uri | R5: Reference to the subscription topic being subscribed to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.topic | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.CareTeam for use in FHIR STU3(0.1.0) | CareTeam | Cross-version Profile for R5.HealthcareService for use in FHIR STU3(0.1.0) | HealthcareService | Cross-version Profile for R5.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R5.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R5.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R5.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R5.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole) | R5: Entity responsible for Subscription changes (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.managingEntity | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Criteria for narrowing the subscription topic stream (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Channel type (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.parameter | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period]] | R5: Interval in seconds to send 'heartbeat' notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout]] | R5: Timeout in seconds to attempt notification delivery (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content]] | R5: empty | id-only | full-resource (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count]] | R5: Maximum number of events that can be combined in a single notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: requested | active | error | off | entered-in-error URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.status Binding: R5SubscriptionStatusForR3 (0.1.0) (required): The status of a subscription. | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type]] | R5: Channel type for notifications additional types URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R5: MIME type to send, or omit for no payload URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.contentType | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Subscription | A server push subscription criteria | |||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | Identifier | R5: Additional identifiers (business identifier) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.identifier | |||||
![]() ![]() ![]() |
0..1 | string | R5: Human readable name for this subscription (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.name | |||||
![]() ![]() ![]() |
1..1 | uri | R5: Reference to the subscription topic being subscribed to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.topic | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.CareTeam for use in FHIR STU3(0.1.0) | CareTeam | Cross-version Profile for R5.HealthcareService for use in FHIR STU3(0.1.0) | HealthcareService | Cross-version Profile for R5.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R5.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R5.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R5.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R5.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole) | R5: Entity responsible for Subscription changes (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.managingEntity | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Criteria for narrowing the subscription topic stream (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Channel type (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.parameter | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period]] | R5: Interval in seconds to send 'heartbeat' notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout]] | R5: Timeout in seconds to attempt notification delivery (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content]] | R5: empty | id-only | full-resource (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count]] | R5: Maximum number of events that can be combined in a single notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!Σ | 1..1 | code | requested | active | error | off Binding: SubscriptionStatus (required): The status of a subscription. | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: requested | active | error | off | entered-in-error URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.status Binding: R5SubscriptionStatusForR3 (0.1.0) (required): The status of a subscription. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for source (e.g. troubleshooting) | ||||
![]() ![]() |
Σ | 0..1 | instant | When to automatically delete the subscription | ||||
![]() ![]() |
Σ | 1..1 | string | Description of why this subscription was created | ||||
![]() ![]() |
Σ | 1..1 | string | Rule for server push criteria | ||||
![]() ![]() |
Σ | 0..1 | string | Latest error note | ||||
![]() ![]() |
Σ | 1..1 | BackboneElement | The channel on which to report matches to the criteria | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | rest-hook | websocket | email | sms | message Binding: SubscriptionChannelType (required): The type of method used to execute a subscription. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type]] | R5: Channel type for notifications additional types URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Where the channel points to | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Mimetype to send, or omit for no payload | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R5: MIME type to send, or omit for no payload URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.contentType | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
Σ | 0..* | string | Usage depends on the channel type | ||||
![]() ![]() |
Σ | 0..* | Coding | A tag to add to matching resources Binding: SubscriptionTag (example): Tags to put on a resource after subscriptions have been sent. | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subscription.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| Subscription.status | Base | required |
SubscriptionStatus
|
📍3.0.2 | tx.fhir.org |
| Subscription.channel.type | Base | required | SubscriptionChannelType | 📍3.0.2 | FHIR Std. |
| Subscription.tag | Base | example | SubscriptionTag | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | Subscription | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | Subscription | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Subscription | 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 | Subscription | 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 Subscription
Summary
Mandatory: 2 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Subscription | A server push subscription criteria | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Identifier | R5: Additional identifiers (business identifier) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.identifier | |
![]() ![]() ![]() |
0..1 | string | R5: Human readable name for this subscription (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.name | |
![]() ![]() ![]() |
1..1 | uri | R5: Reference to the subscription topic being subscribed to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.topic | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.CareTeam for use in FHIR STU3(0.1.0) | CareTeam | Cross-version Profile for R5.HealthcareService for use in FHIR STU3(0.1.0) | HealthcareService | Cross-version Profile for R5.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R5.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R5.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R5.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R5.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole) | R5: Entity responsible for Subscription changes (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.managingEntity | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Criteria for narrowing the subscription topic stream (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Channel type (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.parameter | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period]] | R5: Interval in seconds to send 'heartbeat' notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout]] | R5: Timeout in seconds to attempt notification delivery (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content]] | R5: empty | id-only | full-resource (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count]] | R5: Maximum number of events that can be combined in a single notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | requested | active | error | off Binding: SubscriptionStatus (required): The status of a subscription. |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: requested | active | error | off | entered-in-error URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.status Binding: R5SubscriptionStatusForR3 (0.1.0) (required): The status of a subscription. | |
![]() ![]() |
Σ | 1..1 | string | Description of why this subscription was created |
![]() ![]() |
Σ | 1..1 | string | Rule for server push criteria |
![]() ![]() |
Σ | 1..1 | BackboneElement | The channel on which to report matches to the criteria |
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() ![]() |
Σ | 1..1 | code | rest-hook | websocket | email | sms | message Binding: SubscriptionChannelType (required): The type of method used to execute a subscription. |
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type]] | R5: Channel type for notifications additional types URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type | |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subscription.status | Base | required |
SubscriptionStatus
|
📍3.0.2 | tx.fhir.org |
| Subscription.channel.type | Base | required | SubscriptionChannelType | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | Subscription | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | Subscription | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Subscription | 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 | Subscription | 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 Subscription
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Subscription | A server push subscription criteria | |
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..* | Identifier | R5: Additional identifiers (business identifier) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.identifier | |
![]() ![]() ![]() |
0..1 | string | R5: Human readable name for this subscription (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.name | |
![]() ![]() ![]() |
1..1 | uri | R5: Reference to the subscription topic being subscribed to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.topic | |
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.CareTeam for use in FHIR STU3(0.1.0) | CareTeam | Cross-version Profile for R5.HealthcareService for use in FHIR STU3(0.1.0) | HealthcareService | Cross-version Profile for R5.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R5.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R5.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R5.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R5.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole) | R5: Entity responsible for Subscription changes (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.managingEntity | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Criteria for narrowing the subscription topic stream (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Channel type (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.parameter | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period]] | R5: Interval in seconds to send 'heartbeat' notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout]] | R5: Timeout in seconds to attempt notification delivery (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content]] | R5: empty | id-only | full-resource (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content | |
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count]] | R5: Maximum number of events that can be combined in a single notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: requested | active | error | off | entered-in-error URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.status Binding: R5SubscriptionStatusForR3 (0.1.0) (required): The status of a subscription. | |
![]() ![]() |
||||
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type]] | R5: Channel type for notifications additional types URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type | |
![]() ![]() ![]() |
||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R5: MIME type to send, or omit for no payload URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.contentType | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Subscription | A server push subscription criteria | |||||
![]() ![]() |
Σ | 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 | |||||
![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..* | Identifier | R5: Additional identifiers (business identifier) (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.identifier | |||||
![]() ![]() ![]() |
0..1 | string | R5: Human readable name for this subscription (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.name | |||||
![]() ![]() ![]() |
1..1 | uri | R5: Reference to the subscription topic being subscribed to (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.topic | |||||
![]() ![]() ![]() |
0..1 | Reference(Cross-version Profile for R5.CareTeam for use in FHIR STU3(0.1.0) | CareTeam | Cross-version Profile for R5.HealthcareService for use in FHIR STU3(0.1.0) | HealthcareService | Cross-version Profile for R5.Organization for use in FHIR STU3(0.1.0) | Organization | Cross-version Profile for R5.RelatedPerson for use in FHIR STU3(0.1.0) | RelatedPerson | Cross-version Profile for R5.Patient for use in FHIR STU3(0.1.0) | Patient | Cross-version Profile for R5.Practitioner for use in FHIR STU3(0.1.0) | Practitioner | Cross-version Profile for R5.PractitionerRole for use in FHIR STU3(0.1.0) | PractitionerRole) | R5: Entity responsible for Subscription changes (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.managingEntity | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Criteria for narrowing the subscription topic stream (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.filterBy | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Channel type (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.parameter | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period]] | R5: Interval in seconds to send 'heartbeat' notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-heartbeat-period | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout]] | R5: Timeout in seconds to attempt notification delivery (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-timeout | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content]] | R5: empty | id-only | full-resource (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-payload-content | |||||
![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count]] | R5: Maximum number of events that can be combined in a single notification (new) URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-max-count | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
?!Σ | 1..1 | code | requested | active | error | off Binding: SubscriptionStatus (required): The status of a subscription. | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: requested | active | error | off | entered-in-error URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.status Binding: R5SubscriptionStatusForR3 (0.1.0) (required): The status of a subscription. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
Σ | 0..* | ContactPoint | Contact details for source (e.g. troubleshooting) | ||||
![]() ![]() |
Σ | 0..1 | instant | When to automatically delete the subscription | ||||
![]() ![]() |
Σ | 1..1 | string | Description of why this subscription was created | ||||
![]() ![]() |
Σ | 1..1 | string | Rule for server push criteria | ||||
![]() ![]() |
Σ | 0..1 | string | Latest error note | ||||
![]() ![]() |
Σ | 1..1 | BackboneElement | The channel on which to report matches to the criteria | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Additional Content defined by implementations | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
Σ | 1..1 | code | rest-hook | websocket | email | sms | message Binding: SubscriptionChannelType (required): The type of method used to execute a subscription. | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type]] | R5: Channel type for notifications additional types URL: http://hl7.org/fhir/uv/subscriptions-backport/StructureDefinition/backport-channel-type | |||||
![]() ![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Where the channel points to | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Mimetype to send, or omit for no payload | ||||
![]() ![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | code | R5: MIME type to send, or omit for no payload URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-Subscription.contentType | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Primitive value for string Max Length:1048576 | |||||
![]() ![]() ![]() |
Σ | 0..* | string | Usage depends on the channel type | ||||
![]() ![]() |
Σ | 0..* | Coding | A tag to add to matching resources Binding: SubscriptionTag (example): Tags to put on a resource after subscriptions have been sent. | ||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| Subscription.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| Subscription.status | Base | required |
SubscriptionStatus
|
📍3.0.2 | tx.fhir.org |
| Subscription.channel.type | Base | required | SubscriptionChannelType | 📍3.0.2 | FHIR Std. |
| Subscription.tag | Base | example | SubscriptionTag | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | Subscription | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| dom-2 | error | Subscription | If the resource is contained in another resource, it SHALL NOT contain nested Resources |
contained.contained.empty()
|
| dom-3 | error | Subscription | 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 | Subscription | 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 Subscription
Summary
Mandatory: 2 elements
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron