This
page
is
part
of
the
Continuous
Integration
Build
of
FHIR
Specification
(v4.0.1:
R4
-
Mixed
Normative
and
STU
)
in
it's
permanent
home
(it
will
always
(will
be
available
incorrect/inconsistent
at
this
URL).
The
current
version
which
supercedes
this
version
is
5.0.0
.
For
a
full
list
of
available
versions,
see
times).
See
the
Directory
of
published
versions
.
Page
versions:
R5
R4B
R4
R3
R2
Responsible
Owner:
FHIR
Infrastructure
Work
Group
|
|
Security Category : Business |
Compartments
:
|
Detailed Descriptions for the elements in the Subscription resource.
| Subscription | |||||||||
| Element Id | Subscription | ||||||||
| Definition |
The
subscription
resource
| ||||||||
| Short Display |
Information
about
a
|
||||||||
| Cardinality | 0..* | ||||||||
| Type | DomainResource | ||||||||
| Alternate Names | WebHook; Hook; Routing Rule | ||||||||
| Summary | false | ||||||||
| Subscription.identifier | |||||||||
| Element Id | Subscription.identifier | ||||||||
| Definition | A formal identifier that is used to identify this code system when it is represented in other formats, or referenced in a specification, model, design or an instance. | ||||||||
| Short Display | Additional identifiers (business identifier) | ||||||||
| Note | This is a business identifier, not a resource identifier (see discussion ) | ||||||||
| Cardinality | 0..* | ||||||||
| Type | Identifier | ||||||||
| Summary | true | ||||||||
| Subscription.name | |||||||||
| Element Id | Subscription.name | ||||||||
| Definition | A natural language name identifying the subscription. | ||||||||
| Short Display | Human readable name for this subscription | ||||||||
| Cardinality | 0..1 | ||||||||
| Type | string | ||||||||
| Summary | true | ||||||||
| Subscription.status | |||||||||
| Element Id | Subscription.status | ||||||||
| Definition |
The status of the subscription, which marks the server state for managing the subscription. |
||||||||
| Short Display | requested | active | error | off | entered-in-error | ||||||||
| Cardinality | 1..1 | ||||||||
| Terminology Binding |
|
||||||||
| Type | code | ||||||||
| Is Modifier | true (Reason: This element is labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid) | ||||||||
| Summary | true | ||||||||
| Comments |
A client can only submit subscription resources in the requested or off state. Only the server can move a subscription from requested to active, and then to error. Either the server or the client can turn a subscription off. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid. |
||||||||
| Subscription.topic | |||||||||
| Element Id | Subscription.topic | ||||||||
| Definition | The reference to the subscription topic to be notified about. | ||||||||
| Short Display | Reference to the subscription topic being subscribed to | ||||||||
| Cardinality | 1..1 | ||||||||
| Type | canonical ( SubscriptionTopic ) | ||||||||
| Summary | true | ||||||||
| Subscription.contact | |||||||||
| Element Id | Subscription.contact | ||||||||
| Definition |
Contact details for a human to contact about the subscription. The primary use of this for system administrator troubleshooting. |
||||||||
| Short Display | Contact details for source (e.g. troubleshooting) | ||||||||
| Cardinality | 0..* | ||||||||
| Type | ContactPoint | ||||||||
| Summary | true | ||||||||
| Subscription.end | |||||||||
| Element Id | Subscription.end | ||||||||
| Definition |
The time for the server to turn the subscription off. |
||||||||
| Short Display | When to automatically delete the subscription | ||||||||
| Cardinality | 0..1 | ||||||||
| Type | instant | ||||||||
| Summary | true | ||||||||
| Comments |
The server is permitted to deviate from this time but should observe it. |
||||||||
| Subscription.managingEntity | |||||||||
| Element Id | Subscription.managingEntity | ||||||||
| Definition | Entity with authorization to communicate with the server about this Subscription, such as requesting changes (e.g., updating an endpoint URL). | ||||||||
| Short Display | Entity responsible for Subscription changes | ||||||||
| Cardinality | 0..1 | ||||||||
| Type | Reference ( CareTeam | Device | Group | HealthcareService | Organization | RelatedPerson | Patient | Practitioner | PractitionerRole ) | ||||||||
| Summary | true | ||||||||
| Comments | Note that the managing entity for a subscription does not need to be the client (e.g., in the case of server-managed Subscriptions). | ||||||||
| Subscription.reason | |||||||||
| Element Id | Subscription.reason | ||||||||
| Definition |
A description of why this subscription is defined. |
||||||||
| Short Display | Description of why this subscription was created | ||||||||
| Cardinality |
|
||||||||
| Type | string | ||||||||
| Summary | true | ||||||||
|
|
|||||||||
| Element Id |
|
||||||||
| Definition |
The
| ||||||||
| Short Display | Criteria for narrowing the subscription topic stream | ||||||||
| Cardinality | 0..* | ||||||||
| Summary | true | ||||||||
| Constraints |
| ||||||||
| Subscription.filterBy.resource | |||||||||
| Element Id | Subscription.filterBy.resource | ||||||||
| Definition |
A
resource
listed
in
the
|
||||||||
| Short Display | Allowed Resource (reference to definition) for this Subscription filter | ||||||||
| Cardinality | 0..1 | ||||||||
|
|
Types
used
with
Subscriptions
(
Extensible
)
|
||||||||
| Type |
|
||||||||
| Summary | true | ||||||||
| Subscription.filterBy.filterParameter | |||||||||
|
| Subscription.filterBy.filterParameter | ||||||||
| Definition |
The
|
||||||||
| Short Display | Filter label defined in SubscriptionTopic | ||||||||
| Cardinality | 1..1 | ||||||||
| Type | string | ||||||||
| Summary | true | ||||||||
|
|
|||||||||
| Element Id |
|
||||||||
| Definition |
Comparator applied to this filter parameter. | ||||||||
| Short Display | eq | ne | gt | lt | ge | le | sa | eb | ap | ||||||||
| Cardinality | 0..1 | ||||||||
| Terminology Binding | Search Comparator ( Required ) | ||||||||
| Type | code | ||||||||
| Summary | false | ||||||||
| Comments |
| ||||||||
| Constraints |
| ||||||||
| Subscription.filterBy.modifier | |||||||||
| Element Id | Subscription.filterBy.modifier | ||||||||
| Definition | Modifier applied to this filter parameter. |
||||||||
| Short Display | missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate | ||||||||
| Cardinality | 0..1 | ||||||||
| Terminology Binding | Search Modifier Code ( Required ) | ||||||||
| Type | code | ||||||||
| Summary | false | ||||||||
| Comments | Must be a modifier allowed by the SubscriptionTopic relevant to this Subscription filter. | ||||||||
| Constraints |
| ||||||||
| Subscription.filterBy.value | |||||||||
| Element Id | Subscription.filterBy.value | ||||||||
| Definition |
The
literal
value
or
resource
path
as
is
legal
in
search
-
for
example,
| ||||||||
| Short Display | Literal value or resource path | ||||||||
| Cardinality | 1..1 | ||||||||
| Type | string | ||||||||
| Summary | true | ||||||||
|
|
|||||||||
| Element Id |
|
||||||||
| Definition |
|
||||||||
| Short Display | Event to filter by | ||||||||
| Cardinality | 0..* | ||||||||
|
|
hl7VS-eventTypeCode
(
Example
)
| ||||||||
| Type | CodeableConcept | ||||||||
| Summary | true | ||||||||
|
|
|||||||||
| Element Id |
|
||||||||
| Definition |
The type of channel to send notifications on. |
||||||||
| Short Display | Channel type for notifications | ||||||||
| Cardinality | 1..1 | ||||||||
| Terminology Binding |
|
||||||||
| Type |
|
||||||||
| Summary | true | ||||||||
|
|
|||||||||
| Element Id |
|
||||||||
| Definition |
|
||||||||
| Short Display | URL where the channel sends notifications | ||||||||
| Cardinality | 0..1 | ||||||||
| Type | url | ||||||||
| Summary | true | ||||||||
| Comments |
The
URL
requirements
are
based
on
channel
type.
For
Note
that
the
URI
is
allowed
to
be
|
||||||||
|
|
|||||||||
| Element Id |
|
||||||||
| Definition |
Channel-dependent information to send as part of the notification (e.g., HTTP Headers). | ||||||||
| Short Display | Channel type dependent information | ||||||||
| Cardinality | 0..* | ||||||||
| Summary | false | ||||||||
| Comments |
| ||||||||
| Subscription.parameter.name | |||||||||
| Element Id | Subscription.parameter.name | ||||||||
| Definition |
Parameter
name
for
information
passed
to
| ||||||||
| Short Display | Name (key) of the parameter | ||||||||
| Cardinality | 1..1 | ||||||||
| Type | string | ||||||||
| Summary | false | ||||||||
| Subscription.parameter.value | |||||||||
| Element Id | Subscription.parameter.value | ||||||||
| Definition |
Parameter
value
for
information
passed
to
the
channel
for
notifications,
for
example
in
the
case
of
a
REST
hook
wanting
to
pass
through
an
authorization
header,
the
value
would
be
| ||||||||
| Short Display |
Value
of
the
parameter
to
use
or
| ||||||||
| Cardinality | 1..1 | ||||||||
| Type | string | ||||||||
| Summary | false | ||||||||
| Subscription.heartbeatPeriod | |||||||||
| Element Id | Subscription.heartbeatPeriod | ||||||||
| Definition |
If
| ||||||||
| Short Display | Interval in seconds to send 'heartbeat' notification | ||||||||
| Cardinality | 0..1 | ||||||||
| Type | unsignedInt | ||||||||
| Summary | true | ||||||||
| Subscription.timeout | |||||||||
| Element Id | Subscription.timeout | ||||||||
| Definition |
If
present,
the
| ||||||||
| Short Display | Timeout in seconds to attempt notification delivery | ||||||||
| Cardinality | 0..1 | ||||||||
| Type | unsignedInt | ||||||||
| Summary | true | ||||||||
| Subscription.contentType | |||||||||
| Element Id | Subscription.contentType | ||||||||
| Definition |
The
|
||||||||
| Short Display | MIME type to send, or omit for no payload | ||||||||
| Cardinality | 0..1 | ||||||||
| Terminology Binding |
|
||||||||
| Type | code | ||||||||
| Summary | true | ||||||||
| Subscription.content | |||||||||
| Element Id | Subscription.content | ||||||||
| Definition | How much resource content to deliver in the notification payloads. The choices are an empty payload, only the resource id, or the full resource content. | ||||||||
| Short Display | empty | id-only | full-resource | ||||||||
| Cardinality | 0..1 | ||||||||
| Terminology Binding | Subscription Payload Content ( Required ) | ||||||||
| Type | code | ||||||||
| Summary | true | ||||||||
| Comments |
Sending the payload has obvious security implications. The server is responsible for ensuring that the content is appropriately secured. For additional information, see Notification Content . |
||||||||
|
|
|||||||||
| Element Id |
|
||||||||
| Definition |
|
||||||||
| Short Display | Maximum number of events that can be combined in a single notification | ||||||||
| Cardinality |
|
||||||||
| Type |
|
||||||||
| Summary | true | ||||||||