This page is part of the FHIR Specification (v4.3.0: R4B - STU). 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 | Draft | Security Category: Business | Compartments: Not linked to any 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. |
Cardinality | 0..* |
Type | DomainResource |
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 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. |
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: 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. |
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. |
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. |
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.title | |
Element Id | SubscriptionTopic.title |
Definition | A short, descriptive, user-friendly title for the SubscriptionTopic, for example, "admission". |
Cardinality | 0..1 |
Type | string |
Alternate Names | Name; SubscriptionTopic Name |
Summary | true |
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. |
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. |
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.html#statemachine | 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. |
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. |
Cardinality | 0..1 |
Type | boolean |
Is Modifier | true (Reason: This is labeled as "Is Modifier" because applications should not use an experimental SubscriptionTopic in production.) |
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 | For draft definitions, indicates the date of initial creation. For active definitions, represents the date of activation. For withdrawn definitions, indicates the date of withdrawal. |
Cardinality | 0..1 |
Type | dateTime |
Alternate Names | created |
Summary | true |
SubscriptionTopic.publisher | |
Element Id | SubscriptionTopic.publisher |
Definition | Helps establish the "authority/credibility" of the SubscriptionTopic. May also allow for contact. |
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. |
Cardinality | 0..* |
Type | ContactDetail |
Summary | true |
Comments | May be a web site, an email address, a telephone number, etc. |
SubscriptionTopic.description | |
Element Id | SubscriptionTopic.description |
Definition | A free text natural language description of the Topic from the consumer's perspective. |
Cardinality | 0..1 |
Type | markdown |
Summary | false |
Comments | This description can be used to capture details such as why the Topic was built, 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. |
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 | |
Element Id | SubscriptionTopic.jurisdiction |
Definition | A jurisdiction in which the Topic is intended to be used. |
Cardinality | 0..* |
Terminology Binding | Jurisdiction (Extensible) |
Type | CodeableConcept |
Summary | true |
SubscriptionTopic.purpose | |
Element Id | SubscriptionTopic.purpose |
Definition | Explains why this Topic is needed and why it has been designed as it has. |
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. |
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 |
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. |
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. |
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. |
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.resourceTrigger | |
Element Id | SubscriptionTopic.resourceTrigger |
Definition | A definition of a resource-based event that triggers a notification based on the SubscriptionTopic. The criteria may be just a human readable description and/or a full FHIR search string or FHIRPath expression. Multiple triggers are considered OR joined (e.g., a resource update matching ANY of the definitions will trigger a notification). |
Cardinality | 0..* |
Summary | true |
SubscriptionTopic.resourceTrigger.description | |
Element Id | SubscriptionTopic.resourceTrigger.description |
Definition | The human readable description of this resource trigger for the SubscriptionTopic - for example, "An Encounter enters the 'in-progress' state". |
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.resourceTrigger.resource | |
Element Id | SubscriptionTopic.resourceTrigger.resource |
Definition | URL of the Resource that is the type used in this resource 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>. |
Cardinality | 1..1 |
Terminology Binding | FHIRDefinedType (Extensible) |
Type | uri |
Summary | true |
SubscriptionTopic.resourceTrigger.supportedInteraction | |
Element Id | SubscriptionTopic.resourceTrigger.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). |
Cardinality | 0..* |
Terminology Binding | Interaction Trigger (Required) |
Type | code |
Summary | true |
SubscriptionTopic.resourceTrigger.queryCriteria | |
Element Id | SubscriptionTopic.resourceTrigger.queryCriteria |
Definition | The FHIR query based rules that the server should use to determine when to trigger a notification for this subscription topic. |
Cardinality | 0..1 |
Summary | true |
SubscriptionTopic.resourceTrigger.queryCriteria.previous | |
Element Id | SubscriptionTopic.resourceTrigger.queryCriteria.previous |
Definition | The FHIR query based rules are applied to the previous resource state (e.g., state before an update). |
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 "/". |
SubscriptionTopic.resourceTrigger.queryCriteria.resultForCreate | |
Element Id | SubscriptionTopic.resourceTrigger.queryCriteria.resultForCreate |
Definition | For "create" interactions, should the "previous" criteria count as an automatic pass or an automatic fail. |
Cardinality | 0..1 |
Terminology Binding | CriteriaNotExistsBehavior (Required) |
Type | code |
Summary | true |
SubscriptionTopic.resourceTrigger.queryCriteria.current | |
Element Id | SubscriptionTopic.resourceTrigger.queryCriteria.current |
Definition | The FHIR query based rules are applied to the current resource state (e.g., state after an update). |
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 "/". |
SubscriptionTopic.resourceTrigger.queryCriteria.resultForDelete | |
Element Id | SubscriptionTopic.resourceTrigger.queryCriteria.resultForDelete |
Definition | For "delete" interactions, should the "current" criteria count as an automatic pass or an automatic fail. |
Cardinality | 0..1 |
Terminology Binding | CriteriaNotExistsBehavior (Required) |
Type | code |
Summary | true |
SubscriptionTopic.resourceTrigger.queryCriteria.requireBoth | |
Element Id | SubscriptionTopic.resourceTrigger.queryCriteria.requireBoth |
Definition | If set to true, both current and previous criteria must evaluate true to trigger a notification for this topic. Otherwise a notification for this topic will be triggered if either one evaluates to true. |
Cardinality | 0..1 |
Type | boolean |
Summary | true |
SubscriptionTopic.resourceTrigger.fhirPathCriteria | |
Element Id | SubscriptionTopic.resourceTrigger.fhirPathCriteria |
Definition | The FHIRPath based rules that the server should use to determine when to trigger a notification for this topic. |
Cardinality | 0..1 |
Type | string |
Summary | true |
Comments | FHIRPath expression with %previous and %current vars. |
SubscriptionTopic.eventTrigger | |
Element Id | SubscriptionTopic.eventTrigger |
Definition | Event definition which can be used to trigger the SubscriptionTopic. |
Cardinality | 0..* |
Summary | true |
SubscriptionTopic.eventTrigger.description | |
Element Id | SubscriptionTopic.eventTrigger.description |
Definition | The human readable description of an event to trigger a notification for the SubscriptionTopic - for example, "Patient Admission, as defined in HL7v2 via message ADT^A01". Multiple values are considered OR joined (e.g., matching any single event listed). |
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.eventTrigger.event | |
Element Id | SubscriptionTopic.eventTrigger.event |
Definition | A well-defined event which can be used to trigger notifications from the SubscriptionTopic. |
Cardinality | 1..1 |
Terminology Binding | hl7VS-eventTypeCode (Example) |
Type | CodeableConcept |
Summary | true |
SubscriptionTopic.eventTrigger.resource | |
Element Id | SubscriptionTopic.eventTrigger.resource |
Definition | URL of the Resource that is the focus type used in this event 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>. |
Cardinality | 1..1 |
Terminology Binding | FHIRDefinedType (Extensible) |
Type | uri |
Summary | true |
SubscriptionTopic.canFilterBy | |
Element Id | SubscriptionTopic.canFilterBy |
Definition | List of properties by which Subscriptions on the SubscriptionTopic can be filtered. May be defined Search Parameters (e.g., Encounter.patient) or parameters defined within this SubscriptionTopic context (e.g., hub.event). |
Cardinality | 0..* |
Summary | true |
SubscriptionTopic.canFilterBy.description | |
Element Id | SubscriptionTopic.canFilterBy.description |
Definition | Description of how this filtering parameter is intended to be used. |
Cardinality | 0..1 |
Type | markdown |
Summary | true |
SubscriptionTopic.canFilterBy.resource | |
Element Id | SubscriptionTopic.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 SubscriptionTopic.resourceTrigger.resource or SubscriptionTopic.eventTrigger.resource when they are present. |
Cardinality | 0..1 |
Terminology Binding | FHIRDefinedType (Extensible) |
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.canFilterBy.filterParameter | |
Element Id | SubscriptionTopic.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. |
Cardinality | 1..1 |
Type | string |
Summary | true |
Comments | Chained parameters are allowed (like "patient.gender") - but can not use colons or modifiers. |
SubscriptionTopic.canFilterBy.filterDefinition | |
Element Id | SubscriptionTopic.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"). |
Cardinality | 0..1 |
Type | uri |
Summary | true |
Comments | Chained parameters are allowed (like "patient.gender") - but can not use colons or modifiers. |
SubscriptionTopic.canFilterBy.modifier | |
Element Id | SubscriptionTopic.canFilterBy.modifier |
Definition | Allowable operators to apply when determining matches (Search Modifiers). If the filterParameter is a SearchParameter, this list of modifiers SHALL be a strict subset of the modifiers defined on that SearchParameter. |
Cardinality | 0..* |
Terminology Binding | Subscription Search Modifier (Required) |
Type | code |
Summary | true |
SubscriptionTopic.notificationShape | |
Element Id | SubscriptionTopic.notificationShape |
Definition | List of properties to describe the shape (e.g., resources) included in notifications from this Subscription Topic. |
Cardinality | 0..* |
Summary | true |
SubscriptionTopic.notificationShape.resource | |
Element Id | SubscriptionTopic.notificationShape.resource |
Definition | URL of the Resource that is the type used in this shape. This is the "focus" of the topic (or one of them if there are more than one) and the root resource for this shape definition. It will be the same, a generality, or a specificity of SubscriptionTopic.resourceTrigger.resource or SubscriptionTopic.eventTrigger.resource when they are present. |
Cardinality | 1..1 |
Terminology Binding | FHIRDefinedType (Extensible) |
Type | uri |
Summary | true |
Comments | URL of the Resource 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.notificationShape.include | |
Element Id | SubscriptionTopic.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. |
Cardinality | 0..* |
Type | string |
Summary | true |
SubscriptionTopic.notificationShape.revInclude | |
Element Id | SubscriptionTopic.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. |
Cardinality | 0..* |
Type | string |
Summary | true |