{ "description": "SubscriptionTopic resource used in RTLS workflows", "_filename": "StructureDefinition-rtlsSubscriptionTopic.json", "package_name": "hl7.fhir.uv.rtls", "date": "2023-03-30T12:51:57+00:00", "derivation": "constraint", "publisher": "HL7 International - Patient Administration Work Group", "fhirVersion": "5.0.0", "jurisdiction": [ { "coding": [ { "code": "001", "system": "http://unstats.un.org/unsd/methods/m49/m49.htm" } ] } ], "purpose": "This profile defines minimum expectations for defined subscription topics by a RTLS.", "name": "RTLSSubscriptionTopic", "mapping": [ { "uri": "http://hl7.org/fhir/workflow", "name": "Workflow Pattern", "identity": "workflow" }, { "uri": "http://hl7.org/fhir/fivews", "name": "FiveWs Pattern Mapping", "identity": "w5" }, { "uri": "http://hl7.org/v3", "name": "RIM Mapping", "identity": "rim" }, { "uri": "http://hl7.org/v2", "name": "HL7 V2 Mapping", "identity": "v2" } ], "abstract": false, "type": "SubscriptionTopic", "experimental": "true", "resourceType": "StructureDefinition", "title": "RTLS Subscription Topic Profile", "package_version": "1.0.0-ballot", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "informative", "_valueCode": { "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-conformance-derivedFrom", "valueCanonical": "http://hl7.org/fhir/uv/rtls/ImplementationGuide/hl7.fhir.uv.rtls" } ] } } ], "snapshot": { "element": [ { "path": "SubscriptionTopic", "min": 0, "definition": "Describes a stream of resource state changes or events and annotated with labels useful to filter projections from this topic.", "isModifier": false, "short": "The definition of a specific topic for triggering events within the Subscriptions framework", "mapping": [ { "map": "conformance.behavior,infrastructure.exchange", "identity": "w5" }, { "map": "Definition", "identity": "workflow" }, { "map": "Act[moodCode<=DEFN]", "identity": "rim" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic" }, "isSummary": false }, { "path": "SubscriptionTopic.id", "min": 0, "definition": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.", "isModifier": false, "short": "Logical id of this artifact", "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "id" } ] } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.id", "comment": "Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.", "base": { "max": "1", "min": 0, "path": "Resource.id" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.meta", "min": 0, "definition": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.", "isModifier": false, "short": "Metadata about the resource", "type": [ { "code": "Meta" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.meta", "base": { "max": "1", "min": 0, "path": "Resource.meta" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.implicitRules", "min": 0, "definition": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.", "isModifier": true, "short": "A set of rules under which this content was created", "type": [ { "code": "uri" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.implicitRules", "comment": "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.", "base": { "max": "1", "min": 0, "path": "Resource.implicitRules" }, "isModifierReason": "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.language", "min": 0, "definition": "The base language in which the resource is written.", "isModifier": false, "short": "Language of the resource content", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/all-languages|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Language" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "additional": [ { "purpose": "starter", "valueSet": "http://hl7.org/fhir/ValueSet/languages" } ], "description": "IETF language tag for a human language" }, "max": "1", "id": "SubscriptionTopic.language", "comment": "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).", "base": { "max": "1", "min": 0, "path": "Resource.language" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.text", "min": 0, "definition": "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.", "isModifier": false, "short": "Text summary of the resource, for human interpretation", "mapping": [ { "map": "Act.text?", "identity": "rim" } ], "type": [ { "code": "Narrative" } ], "mustSupport": false, "alias": [ "narrative", "html", "xhtml", "display" ], "max": "1", "id": "SubscriptionTopic.text", "condition": [ "dom-6" ], "comment": "Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.", "base": { "max": "1", "min": 0, "path": "DomainResource.text" }, "isSummary": false }, { "path": "SubscriptionTopic.contained", "min": 0, "definition": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning.", "isModifier": false, "short": "Contained, inline Resources", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Resource" } ], "mustSupport": false, "alias": [ "inline resources", "anonymous resources", "contained resources" ], "max": "*", "id": "SubscriptionTopic.contained", "condition": [ "dom-2", "dom-4", "dom-3", "dom-5" ], "comment": "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.", "base": { "max": "*", "min": 0, "path": "DomainResource.contained" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "mustSupport": false, "alias": [ "extensions", "user content" ], "max": "*", "id": "SubscriptionTopic.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "DomainResource.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "mustSupport": false, "alias": [ "extensions", "user content" ], "max": "*", "id": "SubscriptionTopic.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "DomainResource.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.url", "requirements": "Allows the subscription topic to be referenced by a single globally unique identifier.", "min": 1, "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.", "isModifier": false, "short": "Canonical identifier for this subscription topic, represented as an absolute URI (globally unique)", "mapping": [ { "map": "Definition.url", "identity": "workflow" }, { "map": "FiveWs.identifier", "identity": "w5" }, { "map": ".identifier", "identity": "rim" } ], "type": [ { "code": "uri" } ], "mustSupport": true, "max": "1", "id": "SubscriptionTopic.url", "comment": "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.\n\nThe 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](http://hl7.org/fhir/R5/resource.html#versions).\n\nIn 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](http://hl7.org/fhir/R5/resource.html#meta) element to indicate where the current master source of the resource can be found.\n\nWhen 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.\n\nWhen 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.\n\nWhen 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.", "base": { "max": "1", "min": 1, "path": "SubscriptionTopic.url" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.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.", "min": 0, "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.", "isModifier": false, "short": "Business identifier for subscription topic", "mapping": [ { "map": "Definition.identifier", "identity": "workflow" }, { "map": "FiveWs.identifier", "identity": "w5" }, { "map": ".identifier", "identity": "rim" } ], "type": [ { "code": "Identifier" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.identifier", "comment": "Note: This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R5/resource.html#identifiers)). 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.", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.identifier" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.version", "min": 0, "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.", "isModifier": false, "short": "Business version of the subscription topic", "mapping": [ { "map": "Definition.version", "identity": "workflow" }, { "map": "FiveWs.version", "identity": "w5" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.version", "comment": "There may be multiple different instances of a subscription topic that have the same identifier but different versions.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.version" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.versionAlgorithm[x]", "min": 0, "definition": "Indicates the mechanism used to compare versions to determine which is more current.", "isModifier": false, "short": "How to compare versions", "mapping": [ { "map": "Definition.versionAlgorithm", "identity": "workflow" } ], "type": [ { "code": "string" }, { "code": "Coding" } ], "mustSupport": false, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/version-algorithm" }, "max": "1", "id": "SubscriptionTopic.versionAlgorithm[x]", "comment": "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.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.versionAlgorithm[x]" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.name", "requirements": "Support human navigation and code generation.", "min": 0, "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.", "isModifier": false, "short": "Name for this subscription topic (computer friendly)", "mapping": [ { "map": "Definition.name", "identity": "workflow" } ], "type": [ { "code": "string" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.name", "comment": "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.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.name" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.title", "min": 0, "definition": "A short, descriptive, user-friendly title for the subscription topic. For example, \"admission\".", "isModifier": false, "short": "Name for this subscription topic (human friendly)", "mapping": [ { "map": "Definition.title", "identity": "workflow" }, { "map": ".title", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "alias": [ "Name", "SubscriptionTopic Name" ], "max": "1", "id": "SubscriptionTopic.title", "comment": "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.title" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.derivedFrom", "requirements": "SubscriptionTopics may be refinements of more generic topics.", "min": 0, "definition": "The canonical URL pointing to another FHIR-defined SubscriptionTopic that is adhered to in whole or in part by this SubscriptionTopic.", "isModifier": false, "short": "Based on FHIR protocol or definition", "mapping": [ { "map": "Definition.derivedFromCanonical", "identity": "workflow" }, { "map": "Varies by domain", "identity": "v2" }, { "map": ".outboundRelationship[typeCode=DEFN].target", "identity": "rim" } ], "type": [ { "code": "canonical", "targetProfile": [ "http://hl7.org/fhir/StructureDefinition/SubscriptionTopic" ] } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.derivedFrom", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.derivedFrom" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.status", "min": 1, "definition": "The current state of the SubscriptionTopic.", "isModifier": true, "short": "draft | active | retired | unknown", "mapping": [ { "map": "Definition.status", "identity": "workflow" }, { "map": "FiveWs.status", "identity": "w5" }, { "map": ".status", "identity": "rim" } ], "type": [ { "code": "code" } ], "mustSupport": true, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/publication-status|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "PublicationStatus" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "The lifecycle status of an artifact." }, "max": "1", "id": "SubscriptionTopic.status", "comment": "A nominal state-transition diagram can be found in the [Definition pattern](definition.html#statemachine) documentation\n\nUnknown 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.\n\nSee guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).", "base": { "max": "1", "min": 1, "path": "SubscriptionTopic.status" }, "isModifierReason": "This is labeled as \"Is Modifier\" because applications should not use a retired SubscriptionTopic without due consideration", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.experimental", "requirements": "Enables experimental content to be developed following the same life-cycle as a production-level SubscriptionTopic would.", "min": 0, "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.", "isModifier": false, "short": "If for testing purposes, not real usage", "mapping": [ { "map": "Definition.experimental", "identity": "workflow" }, { "map": "FiveWs.class", "identity": "w5" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "boolean" } ], "mustSupport": false, "meaningWhenMissing": "If absent, this resource is treated as though it is not experimental.", "max": "1", "id": "SubscriptionTopic.experimental", "comment": "Allows filtering of SubscriptionTopic that are appropriate for use vs. not.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.experimental" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.date", "min": 0, "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.", "isModifier": false, "short": "Date status first applied", "mapping": [ { "map": "Definition.date", "identity": "workflow" }, { "map": "FiveWs.recorded", "identity": "w5" }, { "map": ".participation[typeCode=AUT].time", "identity": "rim" } ], "type": [ { "code": "dateTime" } ], "mustSupport": false, "alias": [ "created" ], "max": "1", "id": "SubscriptionTopic.date", "comment": "See guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.date" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.publisher", "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.", "min": 0, "definition": "Helps establish the \"authority/credibility\" of the SubscriptionTopic. May also allow for contact.", "isModifier": false, "short": "The name of the individual or organization that published the SubscriptionTopic", "mapping": [ { "map": "Definition.publisher {as string instead of CodeableConcept}", "identity": "workflow" }, { "map": "FiveWs.author", "identity": "w5" }, { "map": ".participation[typeCode=AUT].role", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "alias": [ "author" ], "max": "1", "id": "SubscriptionTopic.publisher", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.publisher" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.contact", "min": 0, "definition": "Contact details to assist a user in finding and communicating with the publisher.", "isModifier": false, "short": "Contact details for the publisher", "mapping": [ { "map": "Definition.contact", "identity": "workflow" }, { "map": ".participation[typeCode=CALLBCK].role", "identity": "rim" } ], "type": [ { "code": "ContactDetail" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.contact", "comment": "May be a web site, an email address, a telephone number, etc.\n\nSee guidance around (not) making local changes to elements [here](http://hl7.org/fhir/R5/canonicalresource.html#localization).", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.contact" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.description", "min": 0, "definition": "A free text natural language description of the Topic from the consumer's perspective.", "isModifier": false, "short": "Natural language description of the SubscriptionTopic", "mapping": [ { "map": "Definition.description", "identity": "workflow" }, { "map": ".text", "identity": "rim" } ], "type": [ { "code": "markdown" } ], "mustSupport": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "id": "SubscriptionTopic.description", "comment": "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.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.description" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.useContext", "requirements": "Assist in searching for appropriate content.", "min": 0, "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.", "isModifier": false, "short": "Content intends to support these contexts", "mapping": [ { "map": "Definition.useContext", "identity": "workflow" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "UsageContext" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.useContext", "comment": "When multiple usageContexts are specified, there is no expectation for whether all or any of the contexts apply.", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.useContext" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.jurisdiction", "min": 0, "definition": "A jurisdiction in which the Topic is intended to be used.", "isModifier": false, "short": "Intended jurisdiction of the SubscriptionTopic (if applicable)", "mapping": [ { "map": "Definition.jurisdiction", "identity": "workflow" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "CodeableConcept" } ], "mustSupport": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status", "valueCode": "deprecated" } ], "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/jurisdiction", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "Jurisdiction" }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding", "valueBoolean": true } ], "description": "Countries and regions within which this artifact is targeted for use." }, "max": "*", "id": "SubscriptionTopic.jurisdiction", "comment": "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.)", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.jurisdiction" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.purpose", "min": 0, "definition": "Explains why this Topic is needed and why it has been designed as it has.", "isModifier": false, "short": "Why this SubscriptionTopic is defined", "mapping": [ { "map": "Definition.purpose", "identity": "workflow" }, { "map": "FiveWs.why[x]", "identity": "w5" }, { "map": ".reasonCode.text", "identity": "rim" } ], "type": [ { "code": "markdown" } ], "mustSupport": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "id": "SubscriptionTopic.purpose", "comment": "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.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.purpose" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.copyright", "requirements": "Consumers of the TSubscriptionTopicopic must be able to determine any legal restrictions on the use of the artifact and/or its content.", "min": 0, "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.", "isModifier": false, "short": "Use and/or publishing restrictions", "mapping": [ { "map": "Definition.copyright", "identity": "workflow" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "markdown" } ], "mustSupport": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "alias": [ "License", "Restrictions" ], "max": "1", "id": "SubscriptionTopic.copyright", "comment": "...", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.copyright" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.copyrightLabel", "requirements": "Defines the content expected to be rendered in all representations of the artifact.", "min": 0, "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').", "isModifier": false, "short": "Copyright holder and year(s)", "type": [ { "code": "string" } ], "mustSupport": false, "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true }, { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable", "valueBoolean": true } ], "max": "1", "id": "SubscriptionTopic.copyrightLabel", "comment": "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.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.copyrightLabel" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.approvalDate", "min": 0, "definition": "The date on which the asset content was approved by the publisher. Approval happens once when the content is officially approved for usage.", "isModifier": false, "short": "When SubscriptionTopic is/was approved by publisher", "mapping": [ { "map": "Definition.approvalDate", "identity": "workflow" }, { "map": ".outboundRelationship[typeCode=\"SUBJ\"].act[classCode=CACT;moodCode=EVN;code=\"approval\"].effectiveTime", "identity": "rim" } ], "type": [ { "code": "date" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.approvalDate", "comment": "The date may be more recent than the approval date because of minor changes / editorial corrections.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.approvalDate" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.lastReviewDate", "min": 0, "definition": "The date on which the asset content was last reviewed. Review happens periodically after that, but doesn't change the original approval date.", "isModifier": false, "short": "Date the Subscription Topic was last reviewed by the publisher", "mapping": [ { "map": "Definition.lastReviewDate", "identity": "workflow" }, { "map": ".outboundRelationship[typeCode=\"SUBJ\"; subsetCode=\"RECENT\"].act[classCode=CACT;moodCode=EVN;code=\"review\"].effectiveTime", "identity": "rim" } ], "type": [ { "code": "date" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.lastReviewDate", "comment": "If specified, this is usually after the approval date.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.lastReviewDate" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.effectivePeriod", "min": 0, "definition": "The period during which the SubscriptionTopic content was or is planned to be effective.", "isModifier": false, "short": "The effective date range for the SubscriptionTopic", "mapping": [ { "map": "Definition.effectivePeriod", "identity": "workflow" }, { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "Period" } ], "mustSupport": true, "max": "1", "id": "SubscriptionTopic.effectivePeriod", "comment": "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.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.effectivePeriod" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger", "min": 0, "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).", "isModifier": false, "short": "Definition of a resource-based trigger for the subscription topic", "mapping": [ { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.resourceTrigger", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.resourceTrigger" }, "isSummary": true }, { "path": "SubscriptionTopic.resourceTrigger.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "SubscriptionTopic.resourceTrigger.id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.resourceTrigger.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "SubscriptionTopic.resourceTrigger.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.resourceTrigger.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "SubscriptionTopic.resourceTrigger.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.description", "min": 0, "definition": "The human readable description of this resource trigger for the SubscriptionTopic - for example, \"An Encounter enters the 'in-progress' state\".", "isModifier": false, "short": "Text representation of the resource trigger", "type": [ { "code": "markdown" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.resourceTrigger.description", "comment": "Implementation of particular subscription topics might not use a computable definition and instead base their design on the definition.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.resourceTrigger.description" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.resource", "min": 1, "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 ElementDefinition.type.code.", "isModifier": false, "short": "Data Type or Resource (reference to definition) for this trigger definition", "type": [ { "code": "uri" } ], "mustSupport": false, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/subscription-types", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "FHIRTypes" } ], "additional": [ { "purpose": "ui", "valueSet": "http://hl7.org/fhir/ValueSet/all-resource-types" } ], "description": "A type of resource, or a Reference (from all versions)" }, "max": "1", "id": "SubscriptionTopic.resourceTrigger.resource", "base": { "max": "1", "min": 1, "path": "SubscriptionTopic.resourceTrigger.resource" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.supportedInteraction", "min": 0, "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.", "isModifier": false, "short": "create | update | delete", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/interaction-trigger|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "MethodCode" } ], "description": "FHIR RESTful interaction used to filter a resource-based SubscriptionTopic trigger." }, "max": "*", "id": "SubscriptionTopic.resourceTrigger.supportedInteraction", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.resourceTrigger.supportedInteraction" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.queryCriteria", "min": 0, "definition": "The FHIR query based rules that the server should use to determine when to trigger a notification for this subscription topic.", "isModifier": false, "short": "Query based trigger rule", "type": [ { "code": "BackboneElement" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.resourceTrigger.queryCriteria", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.resourceTrigger.queryCriteria" }, "isSummary": true }, { "path": "SubscriptionTopic.resourceTrigger.queryCriteria.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "SubscriptionTopic.resourceTrigger.queryCriteria.id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.resourceTrigger.queryCriteria.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "SubscriptionTopic.resourceTrigger.queryCriteria.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.resourceTrigger.queryCriteria.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "SubscriptionTopic.resourceTrigger.queryCriteria.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.queryCriteria.previous", "min": 0, "definition": "The FHIR query based rules are applied to the previous resource state (e.g., state before an update).", "isModifier": false, "short": "Rule applied to previous resource state", "type": [ { "code": "string" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.resourceTrigger.queryCriteria.previous", "comment": "The rules are search criteria (without the [base] part). Like Bundle.entry.request.url, it has no leading slash character (`/`).", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.resourceTrigger.queryCriteria.previous" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.queryCriteria.resultForCreate", "min": 0, "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).", "isModifier": false, "short": "test-passes | test-fails", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/subscriptiontopic-cr-behavior|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "CriteriaNotExistsBehavior" } ], "description": "Behavior a server can exhibit when a criteria state does not exist (e.g., state prior to a create or after a delete)." }, "max": "1", "id": "SubscriptionTopic.resourceTrigger.queryCriteria.resultForCreate", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.resourceTrigger.queryCriteria.resultForCreate" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.queryCriteria.current", "min": 0, "definition": "The FHIR query based rules are applied to the current resource state (e.g., state after an update).", "isModifier": false, "short": "Rule applied to current resource state", "type": [ { "code": "string" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.resourceTrigger.queryCriteria.current", "comment": "The rules are search criteria (without the [base] part). Like Bundle.entry.request.url, it has no leading slash character (`/`).", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.resourceTrigger.queryCriteria.current" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.queryCriteria.resultForDelete", "min": 0, "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).", "isModifier": false, "short": "test-passes | test-fails", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/subscriptiontopic-cr-behavior|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "CriteriaNotExistsBehavior" } ], "description": "Behavior a server can exhibit when a criteria state does not exist (e.g., state prior to a create or after a delete)." }, "max": "1", "id": "SubscriptionTopic.resourceTrigger.queryCriteria.resultForDelete", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.resourceTrigger.queryCriteria.resultForDelete" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.queryCriteria.requireBoth", "min": 0, "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`.", "isModifier": false, "short": "Both must be true flag", "type": [ { "code": "boolean" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.resourceTrigger.queryCriteria.requireBoth", "comment": "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.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.resourceTrigger.queryCriteria.requireBoth" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.resourceTrigger.fhirPathCriteria", "min": 0, "definition": "The FHIRPath based rules that the server should use to determine when to trigger a notification for this topic.", "isModifier": false, "short": "FHIRPath based trigger rule", "type": [ { "code": "string" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.resourceTrigger.fhirPathCriteria", "comment": "FHIRPath expression with %previous and %current vars.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.resourceTrigger.fhirPathCriteria" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.eventTrigger", "min": 1, "definition": "Event definition which can be used to trigger the SubscriptionTopic.", "isModifier": false, "short": "Event definitions the SubscriptionTopic", "mapping": [ { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "mustSupport": true, "max": "*", "id": "SubscriptionTopic.eventTrigger", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.eventTrigger" }, "isSummary": true }, { "path": "SubscriptionTopic.eventTrigger.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "SubscriptionTopic.eventTrigger.id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.eventTrigger.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "SubscriptionTopic.eventTrigger.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.eventTrigger.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "SubscriptionTopic.eventTrigger.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.eventTrigger.description", "min": 0, "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).", "isModifier": false, "short": "Text representation of the event trigger", "type": [ { "code": "markdown" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.eventTrigger.description", "comment": "Implementation of particular subscription topics might not use a computable definition and instead base their design on the definition.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.eventTrigger.description" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.eventTrigger.event", "min": 1, "definition": "A well-defined event which can be used to trigger notifications from the SubscriptionTopic.", "isModifier": false, "short": "Event which can trigger a notification from the SubscriptionTopic", "type": [ { "code": "CodeableConcept" } ], "mustSupport": true, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/uv/rtls/ValueSet/rtlsSubscriptionTopicEvents" }, "max": "1", "id": "SubscriptionTopic.eventTrigger.event", "base": { "max": "1", "min": 1, "path": "SubscriptionTopic.eventTrigger.event" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.eventTrigger.resource", "min": 1, "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 ElementDefinition.type.code.", "isModifier": false, "short": "Data Type or Resource (reference to definition) for this trigger definition", "type": [ { "code": "uri" } ], "mustSupport": false, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/subscription-types", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "FHIRTypes" } ], "additional": [ { "purpose": "ui", "valueSet": "http://hl7.org/fhir/ValueSet/all-resource-types" } ], "description": "A type of resource, or a Reference (from all versions)" }, "max": "1", "id": "SubscriptionTopic.eventTrigger.resource", "base": { "max": "1", "min": 1, "path": "SubscriptionTopic.eventTrigger.resource" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.canFilterBy", "min": 0, "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).", "isModifier": false, "short": "Properties by which a Subscription can filter notifications from the SubscriptionTopic", "type": [ { "code": "BackboneElement" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.canFilterBy", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.canFilterBy" }, "isSummary": true }, { "path": "SubscriptionTopic.canFilterBy.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "SubscriptionTopic.canFilterBy.id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.canFilterBy.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "SubscriptionTopic.canFilterBy.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.canFilterBy.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "SubscriptionTopic.canFilterBy.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.canFilterBy.description", "min": 0, "definition": "Description of how this filtering parameter is intended to be used.", "isModifier": false, "short": "Description of this filter parameter", "type": [ { "code": "markdown" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.canFilterBy.description", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.canFilterBy.description" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.canFilterBy.resource", "min": 0, "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.", "isModifier": false, "short": "URL of the triggering Resource that this filter applies to", "type": [ { "code": "uri" } ], "mustSupport": false, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/subscription-types", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "FHIRTypes" } ], "additional": [ { "purpose": "ui", "valueSet": "http://hl7.org/fhir/ValueSet/all-resource-types" } ], "description": "A type of resource, or a Reference (from all versions)" }, "max": "1", "id": "SubscriptionTopic.canFilterBy.resource", "comment": "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 ElementDefinition.type.code.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.canFilterBy.resource" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.canFilterBy.filterParameter", "min": 1, "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.", "isModifier": false, "short": "Human-readable and computation-friendly name for a filter parameter usable by subscriptions on this topic, via Subscription.filterBy.filterParameter", "type": [ { "code": "string" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.canFilterBy.filterParameter", "comment": "Chained parameters are allowed (like \"patient.gender\") - but can not use colons or modifiers.", "base": { "max": "1", "min": 1, "path": "SubscriptionTopic.canFilterBy.filterParameter" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.canFilterBy.filterDefinition", "min": 0, "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\").", "isModifier": false, "short": "Canonical URL for a filterParameter definition", "type": [ { "code": "uri" } ], "mustSupport": false, "max": "1", "id": "SubscriptionTopic.canFilterBy.filterDefinition", "comment": "Chained parameters are allowed (like \"patient.gender\") - but can not use colons or modifiers.", "base": { "max": "1", "min": 0, "path": "SubscriptionTopic.canFilterBy.filterDefinition" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.canFilterBy.comparator", "min": 0, "definition": "Comparators allowed for the filter parameter.", "isModifier": false, "short": "eq | ne | gt | lt | ge | le | sa | eb | ap", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/search-comparator|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "SearchComparator" } ], "description": "Search Comparator Codes supported in this filter." }, "max": "*", "id": "SubscriptionTopic.canFilterBy.comparator", "comment": "If no comparators are listed, clients should not expect servers to support any comparators.", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.canFilterBy.comparator" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.canFilterBy.modifier", "min": 0, "definition": "Modifiers allowed for the filter parameter.", "isModifier": false, "short": "missing | exact | contains | not | text | in | not-in | below | above | type | identifier | of-type | code-text | text-advanced | iterate", "type": [ { "code": "code" } ], "mustSupport": false, "binding": { "strength": "required", "valueSet": "http://hl7.org/fhir/ValueSet/search-modifier-code|5.0.0", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "SearchModifierCode" } ], "description": "Search Modifier Codes supported in this filter." }, "max": "*", "id": "SubscriptionTopic.canFilterBy.modifier", "comment": "If no modifiers are listed, clients should not expect servers to support any modifiers.", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.canFilterBy.modifier" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.notificationShape", "min": 0, "definition": "List of properties to describe the shape (e.g., resources) included in notifications from this Subscription Topic.", "isModifier": false, "short": "Properties for describing the shape of notifications generated by this topic", "mapping": [ { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "BackboneElement" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.notificationShape", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.notificationShape" }, "isSummary": true }, { "path": "SubscriptionTopic.notificationShape.id", "min": 0, "definition": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.", "isModifier": false, "short": "Unique id for inter-element referencing", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "http://hl7.org/fhirpath/System.String", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type", "valueUrl": "string" } ] } ], "representation": [ "xmlAttr" ], "max": "1", "id": "SubscriptionTopic.notificationShape.id", "condition": [ "ele-1" ], "base": { "max": "1", "min": 0, "path": "Element.id" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.notificationShape.extension", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.", "isModifier": false, "short": "Additional content defined by implementations", "mapping": [ { "map": "n/a", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content" ], "max": "*", "id": "SubscriptionTopic.notificationShape.extension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "Element.extension" }, "isSummary": false }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" }, { "key": "ext-1", "human": "Must have either extensions or value[x], not both", "source": "http://hl7.org/fhir/StructureDefinition/Extension", "severity": "error", "expression": "extension.exists() != value.exists()" } ], "path": "SubscriptionTopic.notificationShape.modifierExtension", "requirements": "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R5/extensibility.html#modifierExtension).", "min": 0, "definition": "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).", "isModifier": true, "short": "Extensions that cannot be ignored even if unrecognized", "mapping": [ { "map": "N/A", "identity": "rim" } ], "type": [ { "code": "Extension" } ], "alias": [ "extensions", "user content", "modifiers" ], "max": "*", "id": "SubscriptionTopic.notificationShape.modifierExtension", "comment": "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.", "base": { "max": "*", "min": 0, "path": "BackboneElement.modifierExtension" }, "isModifierReason": "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them", "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.notificationShape.resource", "min": 1, "definition": "URL of the Resource 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 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.", "isModifier": false, "short": "URL of the Resource that is the focus (main) resource in a notification shape", "mapping": [ { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "uri" } ], "mustSupport": false, "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/ValueSet/subscription-types", "extension": [ { "url": "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName", "valueString": "FHIRTypes" } ], "additional": [ { "purpose": "ui", "valueSet": "http://hl7.org/fhir/ValueSet/all-resource-types" } ], "description": "A type of resource, or a Reference (from all versions)" }, "max": "1", "id": "SubscriptionTopic.notificationShape.resource", "comment": "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 ElementDefinition.type.code.", "base": { "max": "1", "min": 1, "path": "SubscriptionTopic.notificationShape.resource" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.notificationShape.include", "min": 0, "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.", "isModifier": false, "short": "Include directives, rooted in the resource for this shape", "mapping": [ { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.notificationShape.include", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.notificationShape.include" }, "isSummary": true }, { "constraint": [ { "key": "ele-1", "human": "All FHIR elements must have a @value or children", "source": "http://hl7.org/fhir/StructureDefinition/Element", "severity": "error", "expression": "hasValue() or (children().count() > id.count())" } ], "path": "SubscriptionTopic.notificationShape.revInclude", "min": 0, "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.", "isModifier": false, "short": "Reverse include directives, rooted in the resource for this shape", "mapping": [ { "map": "N/A (to add?)", "identity": "rim" } ], "type": [ { "code": "string" } ], "mustSupport": false, "max": "*", "id": "SubscriptionTopic.notificationShape.revInclude", "base": { "max": "*", "min": 0, "path": "SubscriptionTopic.notificationShape.revInclude" }, "isSummary": true } ] }, "status": "draft", "id": "233807c8-1184-4351-898f-1e88876db165", "kind": "resource", "url": "http://hl7.org/fhir/uv/rtls/StructureDefinition/rtlsSubscriptionTopic", "version": "1.0.0-ballot", "differential": { "element": [ { "id": "SubscriptionTopic", "path": "SubscriptionTopic" }, { "id": "SubscriptionTopic.url", "path": "SubscriptionTopic.url", "mustSupport": true }, { "id": "SubscriptionTopic.status", "path": "SubscriptionTopic.status", "mustSupport": true }, { "id": "SubscriptionTopic.effectivePeriod", "path": "SubscriptionTopic.effectivePeriod", "mustSupport": true }, { "id": "SubscriptionTopic.eventTrigger", "min": 1, "path": "SubscriptionTopic.eventTrigger", "mustSupport": true }, { "id": "SubscriptionTopic.eventTrigger.event", "path": "SubscriptionTopic.eventTrigger.event", "binding": { "strength": "extensible", "valueSet": "http://hl7.org/fhir/uv/rtls/ValueSet/rtlsSubscriptionTopicEvents" }, "mustSupport": true } ] }, "contact": [ { "telecom": [ { "value": "http://hl7.org/Special/committees/pafm", "system": "url" } ] } ], "baseDefinition": "http://hl7.org/fhir/StructureDefinition/SubscriptionTopic" }