This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B
FHIR Infrastructure Work Group | Maturity Level: N/A | Standards Status: Informative | Compartments: No defined compartments |
Raw Turtle (+ also see Turtle/RDF Format Specification)
StructureDefinition for subscriptionstatus
@prefix fhir: <http://hl7.org/fhir/> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . # - resource ------------------------------------------------------------------- [] a fhir:StructureDefinition ; fhir:id [ fhir:v "SubscriptionStatus"] ; fhir:meta [ fhir:lastUpdated [ fhir:v "2023-03-26T15:21:02.749+11:00" ] ] ; fhir:text [ fhir:status [ fhir:v "generated" ] ] ; fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-category" ] ; fhir:value [ fhir:v "Foundation.Other" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-standards-status" ] ; fhir:value [ fhir:v "trial-use" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fmm" ] ; fhir:value [ fhir:v "2" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-security-category" ] ; fhir:value [ fhir:v "business" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-wg" ] ; fhir:value [ fhir:v "fhir" ] ] ) ; fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/SubscriptionStatus"], [ fhir:v "http://hl7.org/fhir/StructureDefinition/SubscriptionStatus"] ; fhir:version [ fhir:v "5.0.0"], [ fhir:v "5.0.0"] ; fhir:name [ fhir:v "SubscriptionStatus"], [ fhir:v "SubscriptionStatus"] ; fhir:status [ fhir:v "draft"], [ fhir:v "draft"] ; fhir:experimental [ fhir:v "false"], [ fhir:v "false"] ; fhir:date [ fhir:v "2023-03-26T15:21:02+11:00"], [ fhir:v "2023-03-26T15:21:02+11:00"] ; fhir:publisher [ fhir:v "Health Level Seven International (FHIR Infrastructure)"], [ fhir:v "Health Level Seven International (FHIR Infrastructure)"] ; fhir:contact ( [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg/index.cfm" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://hl7.org/fhir" ] ] ) ] [ fhir:telecom ( [ fhir:system [ fhir:v "url" ] ; fhir:value [ fhir:v "http://www.hl7.org/Special/committees/fiwg/index.cfm" ] ] ) ] ) ; fhir:description [ fhir:v "The SubscriptionStatus resource describes the state of a Subscription during notifications. It is not persisted."], [ fhir:v "The SubscriptionStatus resource describes the state of a Subscription during notifications. It is not persisted."] ; fhir:jurisdiction ( [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] [ fhir:coding ( [ fhir:system [ fhir:v "http://unstats.un.org/unsd/methods/m49/m49.htm" ] ; fhir:code [ fhir:v "001" ] ; fhir:display [ fhir:v "World" ] ] ) ] ) ; fhir:fhirVersion [ fhir:v "5.0.0"] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:uri [ fhir:v "http://hl7.org/fhir/fivews" ] ; fhir:name [ fhir:v "FiveWs Pattern Mapping" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:uri [ fhir:v "http://hl7.org/v3" ] ; fhir:name [ fhir:v "RIM Mapping" ] ] ) ; fhir:kind [ fhir:v "resource"] ; fhir:abstract [ fhir:v "false"] ; fhir:type [ fhir:v "SubscriptionStatus"] ; fhir:baseDefinition [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource"] ; fhir:derivation [ fhir:v "specialization"] ; fhir:snapshot [ fhir:element ( [ fhir:id [ fhir:v "SubscriptionStatus" ] ; fhir:path [ fhir:v "SubscriptionStatus" ] ; fhir:short [ fhir:v "Status information about a Subscription provided during event notification" ] ; fhir:definition [ fhir:v "The SubscriptionStatus resource describes the state of a Subscription during notifications." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:constraint ( [ fhir:key [ fhir:v "dom-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ; fhir:expression [ fhir:v "contained.contained.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:key [ fhir:v "dom-3" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource" ] ; fhir:expression [ fhir:v "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:key [ fhir:v "dom-4" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ; fhir:expression [ fhir:v "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:key [ fhir:v "dom-5" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "If a resource is contained in another resource, it SHALL NOT have a security label" ] ; fhir:expression [ fhir:v "contained.meta.security.empty()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ] ; fhir:value [ fhir:v "true" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ] ; fhir:value [ fhir:v "When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time." ] ] ) ; fhir:key [ fhir:v "dom-6" ] ; fhir:severity [ fhir:v "warning" ] ; fhir:human [ fhir:v "A resource should have narrative for robust management" ] ; fhir:expression [ fhir:v "text.`div`.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/DomainResource" ] ] [ fhir:key [ fhir:v "sst-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Event notifications must contain events" ] ; fhir:expression [ fhir:v "(type = 'event-notification' or type = 'query-event') implies notificationEvent.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/SubscriptionStatus" ] ] [ fhir:key [ fhir:v "sst-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Status messages must contain status" ] ; fhir:expression [ fhir:v "type = 'query-status' implies status.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/SubscriptionStatus" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Entity, Role, or Act,N/A" ] ] [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "infrastructure.exchange" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.id" ] ; fhir:path [ fhir:v "SubscriptionStatus.id" ] ; fhir:short [ fhir:v "Logical id of this artifact" ] ; fhir:definition [ fhir:v "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.id" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:value [ fhir:v "id" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.meta" ] ; fhir:path [ fhir:v "SubscriptionStatus.meta" ] ; fhir:short [ fhir:v "Metadata about the resource" ] ; fhir:definition [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.meta" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Meta" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.implicitRules" ] ; fhir:path [ fhir:v "SubscriptionStatus.implicitRules" ] ; fhir:short [ fhir:v "A set of rules under which this content was created" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.implicitRules" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "uri" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies its meaning or interpretation" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.language" ] ; fhir:path [ fhir:v "SubscriptionStatus.language" ] ; fhir:short [ fhir:v "Language of the resource content" ] ; fhir:definition [ fhir:v "The base language in which the resource is written." ] ; fhir:comment [ fhir:v "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)." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Resource.language" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "Language" ] ] [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-isCommonBinding" ] ; fhir:value [ fhir:v "true" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "IETF language tag for a human language" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/all-languages|5.0.0" ] ; fhir:additional ( [ fhir:purpose [ fhir:v "starter" ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/languages" ] ] ) ] ] [ fhir:id [ fhir:v "SubscriptionStatus.text" ] ; fhir:path [ fhir:v "SubscriptionStatus.text" ] ; fhir:short [ fhir:v "Text summary of the resource, for human interpretation" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:alias ( [ fhir:v "narrative" ] [ fhir:v "html" ] [ fhir:v "xhtml" ] [ fhir:v "display" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.text" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Narrative" ] ] ) ; fhir:condition ( [ fhir:v "dom-6" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "Act.text?" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.contained" ] ; fhir:path [ fhir:v "SubscriptionStatus.contained" ] ; fhir:short [ fhir:v "Contained, inline Resources" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:alias ( [ fhir:v "inline resources" ] [ fhir:v "anonymous resources" ] [ fhir:v "contained resources" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.contained" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Resource" ] ] ) ; fhir:condition ( [ fhir:v "dom-2" ] [ fhir:v "dom-4" ] [ fhir:v "dom-3" ] [ fhir:v "dom-5" ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.extension" ] ; fhir:path [ fhir:v "SubscriptionStatus.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.extension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.modifierExtension" ] ; fhir:path [ fhir:v "SubscriptionStatus.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored" ] ; fhir:definition [ fhir:v "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)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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](extensibility.html#modifierExtension)." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "DomainResource.modifierExtension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.status" ] ; fhir:path [ fhir:v "SubscriptionStatus.status" ] ; fhir:short [ fhir:v "requested | active | error | off | entered-in-error" ] ; fhir:definition [ fhir:v "The status of the subscription, which marks the server state for managing the subscription." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.status" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:condition ( [ fhir:v "sst-2" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "SubscriptionStatus" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The status of a subscription at the time this notification was generated." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/subscription-status|5.0.0" ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.status" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.type" ] ; fhir:path [ fhir:v "SubscriptionStatus.type" ] ; fhir:short [ fhir:v "handshake | heartbeat | event-notification | query-status | query-event" ] ; fhir:definition [ fhir:v "The type of event being conveyed with this notification." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.type" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:condition ( [ fhir:v "sst-1" ] [ fhir:v "sst-2" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "Not known why this is labelled a modifier" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "SubscriptionNotificationType" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The type of notification represented by the status message." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/subscription-notification-type|5.0.0" ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.what[x]" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.eventsSinceSubscriptionStart" ] ; fhir:path [ fhir:v "SubscriptionStatus.eventsSinceSubscriptionStart" ] ; fhir:short [ fhir:v "Events since the Subscription was created" ] ; fhir:definition [ fhir:v "The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.eventsSinceSubscriptionStart" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "integer64" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent" ] ; fhir:short [ fhir:v "Detailed information about any events relevant to this notification" ] ; fhir:definition [ fhir:v "Detailed information about events relevant to this subscription notification." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.notificationEvent" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "BackboneElement" ] ] ) ; fhir:condition ( [ fhir:v "sst-1" ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.id" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.id" ] ; fhir:representation ( [ fhir:v "xmlAttr" ] ) ; fhir:short [ fhir:v "Unique id for inter-element referencing" ] ; fhir:definition [ fhir:v "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "Element.id" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:value [ fhir:v "string" ] ] ) ; fhir:code [ fhir:v "http://hl7.org/fhirpath/System.String" ] ] ) ; fhir:condition ( [ fhir:v "ele-1" ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.extension" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.extension" ] ; fhir:short [ fhir:v "Additional content defined by implementations" ] ; fhir:definition [ fhir:v "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." ] ; fhir:comment [ fhir:v "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." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "Element.extension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "n/a" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.modifierExtension" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.modifierExtension" ] ; fhir:short [ fhir:v "Extensions that cannot be ignored even if unrecognized" ] ; fhir:definition [ fhir:v "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)." ] ; fhir:comment [ fhir:v "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." ] ; fhir:requirements [ fhir:v "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](extensibility.html#modifierExtension)." ] ; fhir:alias ( [ fhir:v "extensions" ] [ fhir:v "user content" ] [ fhir:v "modifiers" ] ) ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "BackboneElement.modifierExtension" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Extension" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] [ fhir:key [ fhir:v "ext-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Must have either extensions or value[x], not both" ] ; fhir:expression [ fhir:v "extension.exists() != value.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Extension" ] ] ) ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.eventNumber" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.eventNumber" ] ; fhir:short [ fhir:v "Sequencing index of this event" ] ; fhir:definition [ fhir:v "Either the sequential number of this event in this subscription context or a relative event number for this notification." ] ; fhir:comment [ fhir:v "In subscriptions where delivery of notifications IS NOT guaranteed (e.g., REST-Hook), this number is a unique and monotonically-increasing event number for a subscription. In channels where delivery of notifications IS guaranteed, this number is a relative index for the events present in the notification (e.g., 1, 2, etc.)." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.eventNumber" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "integer64" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.timestamp" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.timestamp" ] ; fhir:short [ fhir:v "The instant this event occurred" ] ; fhir:definition [ fhir:v "The actual time this event occurred on the server." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.timestamp" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "instant" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.focus" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.focus" ] ; fhir:short [ fhir:v "Reference to the primary resource or information of this event" ] ; fhir:definition [ fhir:v "The focus of this event. While this will usually be a reference to the focus resource of the event, it MAY contain a reference to a non-FHIR object." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.focus" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Resource" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.additionalContext" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.additionalContext" ] ; fhir:short [ fhir:v "References related to the focus resource and/or context of this event" ] ; fhir:definition [ fhir:v "Additional context information for this event. Generally, this will contain references to additional resources included with the event (e.g., the Patient relevant to an Encounter), however it MAY refer to non-FHIR objects." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.additionalContext" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Resource" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.subscription" ] ; fhir:path [ fhir:v "SubscriptionStatus.subscription" ] ; fhir:short [ fhir:v "Reference to the Subscription responsible for this notification" ] ; fhir:definition [ fhir:v "The reference to the Subscription which generated this notification." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.subscription" ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Subscription" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.why[x]" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.topic" ] ; fhir:path [ fhir:v "SubscriptionStatus.topic" ] ; fhir:short [ fhir:v "Reference to the SubscriptionTopic this notification relates to" ] ; fhir:definition [ fhir:v "The reference to the SubscriptionTopic for the Subscription which generated this notification." ] ; fhir:comment [ fhir:v "This value SHOULD NOT be present when using `empty` payloads, MAY be present when using `id-only` payloads, and SHOULD be present when using `full-resource` payloads." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.topic" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ] ; fhir:type ( [ fhir:code [ fhir:v "canonical" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SubscriptionTopic" ] ) ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.error" ] ; fhir:path [ fhir:v "SubscriptionStatus.error" ] ; fhir:short [ fhir:v "List of errors on the subscription" ] ; fhir:definition [ fhir:v "A record of errors that occurred when the server processed a notification." ] ; fhir:comment [ fhir:v "Recommended practice: clear errors when status is updated." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:base [ fhir:path [ fhir:v "SubscriptionStatus.error" ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:constraint ( [ fhir:key [ fhir:v "ele-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "All FHIR elements must have a @value or children" ] ; fhir:expression [ fhir:v "hasValue() or (children().count() > id.count())" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/Element" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "SubscriptionError" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes to represent subscription error details." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/subscription-error" ] ] ] ) ] ; fhir:differential [ fhir:element ( [ fhir:id [ fhir:v "SubscriptionStatus" ] ; fhir:path [ fhir:v "SubscriptionStatus" ] ; fhir:short [ fhir:v "Status information about a Subscription provided during event notification" ] ; fhir:definition [ fhir:v "The SubscriptionStatus resource describes the state of a Subscription during notifications." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:constraint ( [ fhir:key [ fhir:v "sst-1" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Event notifications must contain events" ] ; fhir:expression [ fhir:v "(type = 'event-notification' or type = 'query-event') implies notificationEvent.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/SubscriptionStatus" ] ] [ fhir:key [ fhir:v "sst-2" ] ; fhir:severity [ fhir:v "error" ] ; fhir:human [ fhir:v "Status messages must contain status" ] ; fhir:expression [ fhir:v "type = 'query-status' implies status.exists()" ] ; fhir:source [ fhir:v "http://hl7.org/fhir/StructureDefinition/SubscriptionStatus" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "infrastructure.exchange" ] ] [ fhir:identity [ fhir:v "rim" ] ; fhir:map [ fhir:v "N/A" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.status" ] ; fhir:path [ fhir:v "SubscriptionStatus.status" ] ; fhir:short [ fhir:v "requested | active | error | off | entered-in-error" ] ; fhir:definition [ fhir:v "The status of the subscription, which marks the server state for managing the subscription." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:condition ( [ fhir:v "sst-2" ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "SubscriptionStatus" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The status of a subscription at the time this notification was generated." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/subscription-status|5.0.0" ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.status" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.type" ] ; fhir:path [ fhir:v "SubscriptionStatus.type" ] ; fhir:short [ fhir:v "handshake | heartbeat | event-notification | query-status | query-event" ] ; fhir:definition [ fhir:v "The type of event being conveyed with this notification." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "code" ] ] ) ; fhir:condition ( [ fhir:v "sst-1" ] [ fhir:v "sst-2" ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "true" ] ; fhir:isModifierReason [ fhir:v "Not known why this is labelled a modifier" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "SubscriptionNotificationType" ] ] ) ; fhir:strength [ fhir:v "required" ] ; fhir:description [ fhir:v "The type of notification represented by the status message." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/subscription-notification-type|5.0.0" ] ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.what[x]" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.eventsSinceSubscriptionStart" ] ; fhir:path [ fhir:v "SubscriptionStatus.eventsSinceSubscriptionStart" ] ; fhir:short [ fhir:v "Events since the Subscription was created" ] ; fhir:definition [ fhir:v "The total number of actual events which have been generated since the Subscription was created (inclusive of this notification) - regardless of how many have been successfully communicated. This number is NOT incremented for handshake and heartbeat notifications." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "integer64" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent" ] ; fhir:short [ fhir:v "Detailed information about any events relevant to this notification" ] ; fhir:definition [ fhir:v "Detailed information about events relevant to this subscription notification." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "BackboneElement" ] ] ) ; fhir:condition ( [ fhir:v "sst-1" ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.eventNumber" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.eventNumber" ] ; fhir:short [ fhir:v "Sequencing index of this event" ] ; fhir:definition [ fhir:v "Either the sequential number of this event in this subscription context or a relative event number for this notification." ] ; fhir:comment [ fhir:v "In subscriptions where delivery of notifications IS NOT guaranteed (e.g., REST-Hook), this number is a unique and monotonically-increasing event number for a subscription. In channels where delivery of notifications IS guaranteed, this number is a relative index for the events present in the notification (e.g., 1, 2, etc.)." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "integer64" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.timestamp" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.timestamp" ] ; fhir:short [ fhir:v "The instant this event occurred" ] ; fhir:definition [ fhir:v "The actual time this event occurred on the server." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "instant" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.focus" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.focus" ] ; fhir:short [ fhir:v "Reference to the primary resource or information of this event" ] ; fhir:definition [ fhir:v "The focus of this event. While this will usually be a reference to the focus resource of the event, it MAY contain a reference to a non-FHIR object." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Resource" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.notificationEvent.additionalContext" ] ; fhir:path [ fhir:v "SubscriptionStatus.notificationEvent.additionalContext" ] ; fhir:short [ fhir:v "References related to the focus resource and/or context of this event" ] ; fhir:definition [ fhir:v "Additional context information for this event. Generally, this will contain references to additional resources included with the event (e.g., the Patient relevant to an Encounter), however it MAY refer to non-FHIR objects." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Resource" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "false" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.subscription" ] ; fhir:path [ fhir:v "SubscriptionStatus.subscription" ] ; fhir:short [ fhir:v "Reference to the Subscription responsible for this notification" ] ; fhir:definition [ fhir:v "The reference to the Subscription which generated this notification." ] ; fhir:min [ fhir:v "1" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "Reference" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/Subscription" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:mapping ( [ fhir:identity [ fhir:v "w5" ] ; fhir:map [ fhir:v "FiveWs.why[x]" ] ] ) ] [ fhir:id [ fhir:v "SubscriptionStatus.topic" ] ; fhir:path [ fhir:v "SubscriptionStatus.topic" ] ; fhir:short [ fhir:v "Reference to the SubscriptionTopic this notification relates to" ] ; fhir:definition [ fhir:v "The reference to the SubscriptionTopic for the Subscription which generated this notification." ] ; fhir:comment [ fhir:v "This value SHOULD NOT be present when using `empty` payloads, MAY be present when using `id-only` payloads, and SHOULD be present when using `full-resource` payloads." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "1" ] ; fhir:type ( [ fhir:code [ fhir:v "canonical" ] ; fhir:targetProfile ( [ fhir:v "http://hl7.org/fhir/StructureDefinition/SubscriptionTopic" ] ) ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ] [ fhir:id [ fhir:v "SubscriptionStatus.error" ] ; fhir:path [ fhir:v "SubscriptionStatus.error" ] ; fhir:short [ fhir:v "List of errors on the subscription" ] ; fhir:definition [ fhir:v "A record of errors that occurred when the server processed a notification." ] ; fhir:comment [ fhir:v "Recommended practice: clear errors when status is updated." ] ; fhir:min [ fhir:v "0" ] ; fhir:max [ fhir:v "*" ] ; fhir:type ( [ fhir:code [ fhir:v "CodeableConcept" ] ] ) ; fhir:mustSupport [ fhir:v "false" ] ; fhir:isModifier [ fhir:v "false" ] ; fhir:isSummary [ fhir:v "true" ] ; fhir:binding [ fhir:extension ( [ fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:value [ fhir:v "SubscriptionError" ] ] ) ; fhir:strength [ fhir:v "example" ] ; fhir:description [ fhir:v "Codes to represent subscription error details." ] ; fhir:valueSet [ fhir:v "http://hl7.org/fhir/ValueSet/subscription-error" ] ] ] ) ] . # -------------------------------------------------------------------------------------
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.
FHIR ®© HL7.org 2011+. FHIR R5 hl7.fhir.core#5.0.0 generated on Sun, Mar 26, 2023 15:26+1100.
Links: Search |
Version History |
Contents |
Glossary |
QA |
Compare to R4 |
Compare to R4B |
|
Propose a change