This page is part of the FHIR Specification (v4.5.0: R5 Preview #3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B
FHIR Infrastructure Work Group | Maturity Level: 0 | Trial Use | Security Category: Business | Compartments: Not linked to any defined compartments |
Detailed Descriptions for the elements in the SubscriptionStatus resource.
SubscriptionStatus | |
Element Id | SubscriptionStatus |
Definition | The SubscriptionStatus resource describes the state of a Subscription during notifications. |
Cardinality | 0..* |
Type | DomainResource |
SubscriptionStatus.type | |
Element Id | SubscriptionStatus.type |
Definition | The type of event being conveyed with this notificaiton. |
Cardinality | 1..1 |
Terminology Binding | SubscriptionNotificationType (Required) |
Type | code |
Is Modifier | true (Reason: Not known why this is labelled a modifier) |
Summary | true |
SubscriptionStatus.eventsSinceSubscriptionStart | |
Element Id | SubscriptionStatus.eventsSinceSubscriptionStart |
Definition | The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications. |
Cardinality | 0..1 |
Type | integer64 |
Summary | true |
SubscriptionStatus.eventsInNotification | |
Element Id | SubscriptionStatus.eventsInNotification |
Definition | The total number of actual events represented within this notification. For handshake and heartbeat notifications, this will be zero or not present. For event-notifications, this number may be one or more, depending on server batching. |
Cardinality | 0..1 |
Type | integer |
Summary | true |
SubscriptionStatus.subscription | |
Element Id | SubscriptionStatus.subscription |
Definition | The reference to the Subscription which generated this notification. |
Cardinality | 1..1 |
Type | Reference(Subscription) |
Summary | true |
SubscriptionStatus.status | |
Element Id | SubscriptionStatus.status |
Definition | The status of the subscription, which marks the server state for managing the subscription. |
Cardinality | 0..1 |
Terminology Binding | Subscription State (Required) |
Type | code |
Summary | true |
SubscriptionStatus.topic | |
Element Id | SubscriptionStatus.topic |
Definition | The reference to the SubscriptionTopic for the Subscription which generated this notification. |
Cardinality | 1..1 |
Type | canonical(SubscriptionTopic) |
Summary | true |
SubscriptionStatus.error | |
Element Id | SubscriptionStatus.error |
Definition | A record of errors that occurred when the server processed a notification. |
Cardinality | 0..* |
Terminology Binding | Subscription Error Codes (Example) |
Type | CodeableConcept |
Summary | true |
Comments | Recommended practice: clear errors when status is updated. |