FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions icon

FHIR Infrastructure icon Work GroupMaturity Level: 2 Trial UseSecurity Category: Business Compartments: No defined compartments

Detailed Descriptions for the elements in the SubscriptionTopic resource.

SubscriptionTopic
Element Id SubscriptionTopic
Definition

Describes a stream of resource state changes or events and annotated with labels useful to filter projections from this topic.

Short Display The definition of a specific topic for triggering events within the Subscriptions framework
Cardinality 0..*
Type CanonicalResource
Summary false
SubscriptionTopic.url
Element Id SubscriptionTopic.url
Definition

An absolute URI that is used to identify this subscription topic when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which an authoritative instance of this subscription topic is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the subscription topic is stored on different servers.

Short Display Canonical identifier for this subscription topic, represented as an absolute URI (globally unique)
Cardinality 1..1
Type uri
Requirements

Allows the subscription topic to be referenced by a single globally unique identifier.

Summary true
Comments

Can be a urn:uuid: or a urn:oid: but real http/s: addresses are preferred. Multiple instances may share the same URL if they have a distinct version.

The determination of when to create a new version of a resource (same url, new version) vs. defining a new artifact is up to the author. Considerations for making this decision are found in Technical and Business Versions.

In some cases, the resource can no longer be found at the stated url, but the url itself cannot change. Implementations can use the meta.source element to indicate where the current master source of the resource can be found.

When this is a locally defined topic or derived from a topic defined in the FHIR spec or an IG, this uniquely identifies the topic and functionality. Ideally this URL resolves to documentation about the use cases.

When this is a topic derived from another topic (e.g., it adds additional filters or functionality to a topic defined in an IG), then this URL should be different than the base and the derivedFromCanonical should be filled out with the unique uri as defined in the IG.

When this is a direct implementation from another IG or registered topic (with no additional filters, etc., so not derived), then this url is the unique url for this topic as defined by the IG.

SubscriptionTopic.identifier
Element Id SubscriptionTopic.identifier
Definition

Business identifiers assigned to this subscription topic by the performer and/or other systems. These identifiers remain constant as the resource is updated and propagates from server to server.

Short Display Business identifier for subscription topic
Note This is a business identifier, not a resource identifier (see discussion)
Cardinality 0..*
Type Identifier
Requirements

Allows identification of the subscription topic as it is known by various participating systems and in a way that remains consistent across servers.

Summary true
Comments

Note: This is a business identifier, not a resource identifier (see discussion). It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types. For example, multiple Patient and a Person resource instance might share the same social insurance number.

SubscriptionTopic.version
Element Id SubscriptionTopic.version
Definition

The identifier that is used to identify this version of the subscription topic when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the Topic author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions are orderable.

Short Display Business version of the subscription topic
Note This is a business versionId, not a resource version id (see discussion)
Cardinality 0..1
Type string
Summary true
Comments

There may be multiple different instances of a subscription topic that have the same identifier but different versions.

SubscriptionTopic.versionAlgorithm[x]
Element Id SubscriptionTopic.versionAlgorithm[x]
Definition

Indicates the mechanism used to compare versions to determine which is more current.

Short Display How to compare versions
Cardinality 0..1
Terminology Binding Version Algorithm (Extensible)
Type string|Coding
[x] Note See Choice of Datatypes for further information about how to use [x]
Summary true
Comments

If set as a string, this is a FHIRPath expression that has two additional context variables passed in - %version1 and %version2 and will return a negative number if version1 is newer, a positive number if version2 and a 0 if the version ordering can't be successfully be determined.

SubscriptionTopic.name
Element Id SubscriptionTopic.name
Definition

A natural language name identifying the subscription topic This name should be usable as an identifier for the module by machine processing applications such as code generation.

Short Display Name for this subscription topic (computer friendly)
Cardinality 0..1
Type string
Requirements

Support human navigation and code generation.

Summary true
Comments

The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly.

SubscriptionTopic.title
Element Id SubscriptionTopic.title
Definition

A short, descriptive, user-friendly title for the subscription topic. For example, "admission".

Short Display Name for this subscription topic (human friendly)
Cardinality 0..1
Type string
Alternate Names Name; SubscriptionTopic Name
Summary true
Comments

This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.

SubscriptionTopic.derivedFrom
Element Id SubscriptionTopic.derivedFrom
Definition

The canonical URL pointing to another FHIR-defined SubscriptionTopic that is adhered to in whole or in part by this SubscriptionTopic.

Short Display Based on FHIR protocol or definition
Cardinality 0..*
Type canonical(SubscriptionTopic)
Requirements

SubscriptionTopics may be refinements of more generic topics.

Summary true
SubscriptionTopic.status
Element Id SubscriptionTopic.status
Definition

The current state of the SubscriptionTopic.

Short Display draft | active | retired | unknown
Cardinality 1..1
Terminology Binding PublicationStatus (Required)
Type code
Is Modifier true (Reason: This is labeled as "Is Modifier" because applications should not use a retired SubscriptionTopic without due consideration)
Summary true
Comments

A nominal state-transition diagram can be found in the Definition pattern documentation

Unknown does not represent "other" - one of the defined statuses must apply. Unknown is used when the authoring system is not sure what the current status is.

See guidance around (not) making local changes to elements here.

SubscriptionTopic.experimental
Element Id SubscriptionTopic.experimental
Definition

A flag to indicate that this TopSubscriptionTopicic is authored for testing purposes (or education/evaluation/marketing), and is not intended to be used for genuine usage.

Short Display If for testing purposes, not real usage
Cardinality 0..1
Type boolean
Meaning if Missing If absent, this resource is treated as though it is not experimental.
Requirements

Enables experimental content to be developed following the same life-cycle as a production-level SubscriptionTopic would.

Summary true
Comments

Allows filtering of SubscriptionTopic that are appropriate for use vs. not.

SubscriptionTopic.date
Element Id SubscriptionTopic.date
Definition

The date (and optionally time) when the subscription topic was last significantly changed. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the subscription topic changes.

Short Display Date status first applied
Cardinality 0..1
Type dateTime
Alternate Names created
Summary true
Comments

See guidance around (not) making local changes to elements here.

SubscriptionTopic.publisher
Element Id SubscriptionTopic.publisher
Definition

Helps establish the "authority/credibility" of the SubscriptionTopic. May also allow for contact.

Short Display The name of the individual or organization that published the SubscriptionTopic
Cardinality 0..1
Type string
Requirements

Usually an organization, but may be an individual. The publisher (or steward) of the SubscriptionTopic is the organization or individual primarily responsible for the maintenance and upkeep of the Topic. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the Topic. This item SHOULD be populated unless the information is available from context.

Alternate Names author
Summary true
SubscriptionTopic.contact
Element Id SubscriptionTopic.contact
Definition

Contact details to assist a user in finding and communicating with the publisher.

Short Display Contact details for the publisher
Cardinality 0..*
Type ContactDetail
Summary true
Comments

May be a web site, an email address, a telephone number, etc.

See guidance around (not) making local changes to elements here.

SubscriptionTopic.description
Element Id SubscriptionTopic.description
Definition

A free text natural language description of the Topic from the consumer's perspective.

Short Display Natural language description of the SubscriptionTopic
Cardinality 0..1
Type markdown
Summary false
Comments

This description can be used to capture details such as comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the module as conveyed in the text field of the resource itself. This item SHOULD be populated unless the information is available from context.

SubscriptionTopic.useContext
Element Id SubscriptionTopic.useContext
Definition

The content was developed with a focus and intent of supporting the contexts that are listed. These terms may be used to assist with indexing and searching of code system definitions.

Short Display Content intends to support these contexts
Cardinality 0..*
Type UsageContext
Requirements

Assist in searching for appropriate content.

Summary true
Comments

When multiple usageContexts are specified, there is no expectation for whether all or any of the contexts apply.

SubscriptionTopic.jurisdiction
Standards Status This element has a standards status of "Deprecated" which is different from the status of the whole resource
Element Id SubscriptionTopic.jurisdiction
Definition

A jurisdiction in which the Topic is intended to be used.

Short Display Intended jurisdiction of the SubscriptionTopic (if applicable)
Cardinality 0..*
Terminology Binding Jurisdiction ValueSet (Extensible)
Type CodeableConcept
Summary true
Comments

DEPRECATION NOTE: For consistency, implementations are encouraged to migrate to using the new 'jurisdiction' code in the useContext element. (I.e. useContext.code indicating http://terminology.hl7.org/CodeSystem/usage-context-type#jurisdiction and useContext.valueCodeableConcept indicating the jurisdiction.)

SubscriptionTopic.purpose
Element Id SubscriptionTopic.purpose
Definition

Explains why this Topic is needed and why it has been designed as it has.

Short Display Why this SubscriptionTopic is defined
Cardinality 0..1
Type markdown
Summary false
Comments

This element does not describe the usage of the Topic. Rather it is for traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this Topic.

SubscriptionTopic.copyright
Element Id SubscriptionTopic.copyright
Definition

A copyright statement relating to the SubscriptionTopic and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the SubscriptionTopic.

Short Display Use and/or publishing restrictions
Cardinality 0..1
Type markdown
Requirements

Consumers of the TSubscriptionTopicopic must be able to determine any legal restrictions on the use of the artifact and/or its content.

Alternate Names License; Restrictions
Summary false
Comments

...

SubscriptionTopic.copyrightLabel
Element Id SubscriptionTopic.copyrightLabel
Definition

A short string (<50 characters), suitable for inclusion in a page footer that identifies the copyright holder, effective period, and optionally whether rights are resctricted. (e.g. 'All rights reserved', 'Some rights reserved').

Short Display Copyright holder and year(s)
Cardinality 0..1
Type string
Requirements

Defines the content expected to be rendered in all representations of the artifact.

Summary false
Comments

The (c) symbol should NOT be included in this string. It will be added by software when rendering the notation. Full details about licensing, restrictions, warrantees, etc. goes in the more general 'copyright' element.

SubscriptionTopic.approvalDate
Element Id SubscriptionTopic.approvalDate
Definition

The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.

Short Display When SubscriptionTopic is/was approved by publisher
Cardinality 0..1
Type date
Summary false
Comments

The date may be more recent than the approval date because of minor changes / editorial corrections.

SubscriptionTopic.lastReviewDate
Element Id SubscriptionTopic.lastReviewDate
Definition

The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.

Short Display Date the Subscription Topic was last reviewed by the publisher
Cardinality 0..1
Type date
Summary false
Comments

If specified, this is usually after the approval date.

SubscriptionTopic.effectivePeriod
Element Id SubscriptionTopic.effectivePeriod
Definition

The period during which the SubscriptionTopic content was or is planned to be effective.

Short Display The effective date range for the SubscriptionTopic
Cardinality 0..1
Type Period
Summary true
Comments

The effective period for a SubscriptionTopic determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 would be published in 2015.

SubscriptionTopic.trigger
Element Id SubscriptionTopic.trigger
Definition

A definition of a state change or event that triggers a notification based on the SubscriptionTopic. The criteria may be just a human readable description, or may contain a FHIRPath expression, query-based definition, or event coding. Multiple triggers are considered OR joined (e.g., an update matching ANY of the definitions will trigger a notification).

Short Display Definition of a trigger for the subscription topic
Cardinality 0..*
Summary true
SubscriptionTopic.trigger.description
Element Id SubscriptionTopic.trigger.description
Definition

The human readable description of this trigger for the SubscriptionTopic - for example, "An Encounter enters the 'in-progress' state".

Short Display Text representation of the resource trigger
Cardinality 0..1
Type markdown
Summary true
Comments

Implementation of particular subscription topics might not use a computable definition and instead base their design on the definition.

SubscriptionTopic.trigger.resource
Element Id SubscriptionTopic.trigger.resource
Definition

URL of the key definition that is relevant to this trigger. Relative URLs are relative to the StructureDefinition root of the implemented FHIR version (e.g., http://hl7.org/fhir/StructureDefinition). For example, "Patient" maps to http://hl7.org/fhir/StructureDefinition/Patient. For more information, see <a href="elementdefinition-definitions.html#ElementDefinition.type.code">ElementDefinition.type.code</a>.

Short Display Key Data Type, Resource (reference to definition), or relevant definition for this trigger
Cardinality 1..1
Terminology Binding Types used with Subscriptions (Extensible)
Additional BindingsPurpose
All Resource Types UI Binding
Type uri
Summary true
Comments

Note that a query-based definition can only be applied if the resource is set to a FHIR resource. FHIRPath and event-based definitions have more flexibility outside of FHIR.

SubscriptionTopic.trigger.supportedInteraction
Element Id SubscriptionTopic.trigger.supportedInteraction
Definition

The FHIR RESTful interaction which can be used to trigger a notification for the SubscriptionTopic. Multiple values are considered OR joined (e.g., CREATE or UPDATE). If not present, all supported interactions are assumed.

Short Display create | update | delete
Cardinality 0..*
Terminology Binding Interaction Trigger (Required)
Type code
Summary true
SubscriptionTopic.trigger.queryCriteria
Element Id SubscriptionTopic.trigger.queryCriteria
Definition

The FHIR query based rules that the server should use to determine when to trigger a notification for this subscription topic.

Short Display Query based trigger rule
Cardinality 0..1
Summary true
SubscriptionTopic.trigger.queryCriteria.previous
Element Id SubscriptionTopic.trigger.queryCriteria.previous
Definition

The FHIR query based rules are applied to the previous resource state (e.g., state before an update).

Short Display Rule applied to previous resource state
Cardinality 0..1
Type string
Summary true
Comments

The rules are search criteria (without the [base] part). Like Bundle.entry.request.url, it has no leading slash character (/).

SubscriptionTopic.trigger.queryCriteria.resultForCreate
Element Id SubscriptionTopic.trigger.queryCriteria.resultForCreate
Definition

For create interactions, should the previous criteria count as an automatic pass or an automatic fail. If not present, the testing behavior during create interactions is unspecified (server discretion).

Short Display test-passes | test-fails
Cardinality 0..1
Terminology Binding Criteria Not Exists Behavior (Required)
Type code
Summary true
SubscriptionTopic.trigger.queryCriteria.current
Element Id SubscriptionTopic.trigger.queryCriteria.current
Definition

The FHIR query based rules are applied to the current resource state (e.g., state after an update).

Short Display Rule applied to current resource state
Cardinality 0..1
Type string
Summary true
Comments

The rules are search criteria (without the [base] part). Like Bundle.entry.request.url, it has no leading slash character (/).

SubscriptionTopic.trigger.queryCriteria.resultForDelete
Element Id SubscriptionTopic.trigger.queryCriteria.resultForDelete
Definition

For 'delete' interactions, should the 'current' query criteria count as an automatic pass or an automatic fail. If not present, the testing behavior during delete interactions is unspecified (server discretion).

Short Display test-passes | test-fails
Cardinality 0..1
Terminology Binding Criteria Not Exists Behavior (Required)
Type code
Summary true
SubscriptionTopic.trigger.queryCriteria.requireBoth
Element Id SubscriptionTopic.trigger.queryCriteria.requireBoth
Definition

If set to true, both the current and previous query criteria must evaluate true to trigger a notification for this topic. If set to false or not present, a notification for this topic will be triggered if either the current or previous tests evaluate to true.

Short Display Both must be true flag
Cardinality 0..1
Type boolean
Summary true
Comments

Please note the interaction between this element and the resultForCreate/resultForDelete elements during create and delete interactions. For example, if resultForCreate is set to test-passes, setting requireBoth to false means that every create will trigger a notification while setting requireBoth to true will result in notifications if the current test passes. Similarly, if resultForCreate is set to test-fails, setting requireBoth to true means that no create will be able to generate a notification while setting requireBoth to false will result in notifications if the current test passes.

SubscriptionTopic.trigger.fhirPathCriteria
Element Id SubscriptionTopic.trigger.fhirPathCriteria
Definition

The FHIRPath based rules that the server should use to determine when to trigger a notification for this topic.

Short Display FHIRPath based trigger rule
Cardinality 0..1
Type string
Summary true
Comments

FHIRPath expression with %previous and %current vars.

SubscriptionTopic.trigger.event
Element Id SubscriptionTopic.trigger.event
Definition

A well-defined event which can be used to trigger notifications from the SubscriptionTopic.

Short Display Event which can trigger a notification from the SubscriptionTopic
Cardinality 0..1
Terminology Binding hl7VS-eventTypeCode icon (Example)
Type CodeableConcept
Summary true
SubscriptionTopic.trigger.canFilterBy
Element Id SubscriptionTopic.trigger.canFilterBy
Definition

List of properties by which Subscriptions can be filtered. May be defined Search Parameters (e.g., Encounter.patient) or parameters defined within this SubscriptionTopic context (e.g., hub.event).

Short Display Properties by which a Subscription can filter notifications based on this trigger
Cardinality 0..*
Summary true
SubscriptionTopic.trigger.canFilterBy.description
Element Id SubscriptionTopic.trigger.canFilterBy.description
Definition

Description of how this filtering parameter is intended to be used.

Short Display Description of this filter parameter
Cardinality 0..1
Type markdown
Summary true
SubscriptionTopic.trigger.canFilterBy.resource
Element Id SubscriptionTopic.trigger.canFilterBy.resource
Definition

URL of the Resource that is the type used in this filter. This is the "focus" of the topic (or one of them if there are more than one). It will be the same, a generality, or a specificity of the SubscriptionTopic.trigger.resource if this is present.

Short Display URL of the triggering Resource that this filter applies to
Cardinality 0..1
Terminology Binding Types used with Subscriptions (Extensible)
Additional BindingsPurpose
All Resource Types UI Binding
Type uri
Summary true
Comments

URL of the Resource that is the type used in this filter. Relative URLs are relative to the StructureDefinition root of the implemented FHIR version (e.g., http://hl7.org/fhir/StructureDefinition). For example, "Patient" maps to http://hl7.org/fhir/StructureDefinition/Patient. For more information, see <a href="elementdefinition-definitions.html#ElementDefinition.type.code">ElementDefinition.type.code</a>.

SubscriptionTopic.trigger.canFilterBy.filterParameter
Element Id SubscriptionTopic.trigger.canFilterBy.filterParameter
Definition

Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or topic-defined parameter (like "hub.event") which is a label for the filter.

Short Display Human-readable and computation-friendly name for a filter parameter usable by subscriptions on this topic, via Subscription.filterBy.filterParameter
Cardinality 1..1
Type string
Summary true
Comments

Chained parameters are allowed (like "patient.gender") - but can not use colons or modifiers.

SubscriptionTopic.trigger.canFilterBy.filterDefinition
Element Id SubscriptionTopic.trigger.canFilterBy.filterDefinition
Definition

Either the canonical URL to a search parameter (like "http://hl7.org/fhir/SearchParameter/encounter-patient") or the officially-defined URI for a shared filter concept (like "http://example.org/concepts/shared-common-event").

Short Display Canonical URL for a filterParameter definition
Cardinality 0..1
Type uri
Summary true
Comments

Chained parameters are allowed (like "patient.gender") - but can not use colons or modifiers.

SubscriptionTopic.trigger.canFilterBy.comparator
Element Id SubscriptionTopic.trigger.canFilterBy.comparator
Definition

Comparators allowed for the filter parameter.

Short Display eq | ne | gt | lt | ge | le | sa | eb | ap
Cardinality 0..*
Terminology Binding Search Comparator (Required)
Type code
Summary false
Comments

If no comparators are listed, clients should not expect servers to support any comparators.

SubscriptionTopic.trigger.canFilterBy.modifier
Element Id SubscriptionTopic.trigger.canFilterBy.modifier
Definition

Modifiers allowed for the 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..*
Terminology Binding Search Modifier Code (Required)
Type code
Summary false
Comments

If no modifiers are listed, clients should not expect servers to support any modifiers.

SubscriptionTopic.trigger.notificationShape
Element Id SubscriptionTopic.trigger.notificationShape
Definition

List of properties to describe the shape (e.g., resources) included in notifications from this trigger.

Short Display Properties for describing the shape of notifications generated by this trigger
Cardinality 0..*
Summary true
SubscriptionTopic.trigger.notificationShape.resource
Element Id SubscriptionTopic.trigger.notificationShape.resource
Definition

URL of the Data Type, Resource, or definition (e.g., logical model) that is the type used in this shape. This is the 'focus' resource of the topic (or one of them if there are more than one) and the root for this shape definition. It will be the same, a generality, or a specificity of SubscriptionTopic.trigger.resource when it is present.

Short Display URL of the key definition that is the focus in a notification shape
Cardinality 1..1
Terminology Binding Types used with Subscriptions (Extensible)
Additional BindingsPurpose
All Resource Types UI Binding
Type uri
Summary true
Comments

URL of the key definition that is the type used in this shape. Relative URLs are relative to the StructureDefinition root of the implemented FHIR version (e.g., http://hl7.org/fhir/StructureDefinition). For example, 'Patient' maps to http://hl7.org/fhir/StructureDefinition/Patient. For more information, see <a href="elementdefinition-definitions.html#ElementDefinition.type.code">ElementDefinition.type.code</a>.

SubscriptionTopic.trigger.notificationShape.include
Element Id SubscriptionTopic.trigger.notificationShape.include
Definition

Search-style _include directives, rooted in the resource for this shape. Servers SHOULD include resources listed here, if they exist and the user is authorized to receive them. Clients SHOULD be prepared to receive these additional resources, but SHALL function properly without them.

Short Display Include directives, rooted in the resource for this shape
Cardinality 0..*
Type string
Summary true
SubscriptionTopic.trigger.notificationShape.revInclude
Element Id SubscriptionTopic.trigger.notificationShape.revInclude
Definition

Search-style _revinclude directives, rooted in the resource for this shape. Servers SHOULD include resources listed here, if they exist and the user is authorized to receive them. Clients SHOULD be prepared to receive these additional resources, but SHALL function properly without them.

Short Display Reverse include directives, rooted in the resource for this shape
Cardinality 0..*
Type string
Summary true
SubscriptionTopic.trigger.notificationShape.relatedQuery
Element Id SubscriptionTopic.trigger.notificationShape.relatedQuery
Definition

Queries and codes that could be included with notifications of this shape. Servers MAY include these queries if supported and desired in the workflow.

Short Display Query describing data relevant to this notification
Cardinality 0..*
Summary true
SubscriptionTopic.trigger.notificationShape.relatedQuery.queryType
Element Id SubscriptionTopic.trigger.notificationShape.relatedQuery.queryType
Definition

Coded value(s) used to describe the type of information that evaluating this query will provide. Subscribers can use the values to ensure the data they request are relevant and necessary for their use.

Short Display Coded information describing the type of data this query provides
Cardinality 0..1
Type Coding
Summary true
SubscriptionTopic.trigger.notificationShape.relatedQuery.query
Element Id SubscriptionTopic.trigger.notificationShape.relatedQuery.query
Definition

Query a subscriber can use to retrieve additional information. The exact contents of the query MAY depend on the value of the queryType, however this SHOULD be a query suitable for use as an HTTP GET request (either fully-qualified or partial).

Short Display Query to perform
Cardinality 1..1
Type string
Summary true