CH EPR mHealth (R4)
0.2.0 - DSTU 1 Informative Ballot

This page is part of the CH EPR mHealth (R4) (v0.2.0: DSTU 1) based on FHIR R4. . For a full list of available versions, see the Directory of published versions

Resource Profile: IHE PMIR Subscription request

Defining URL:http://ihe.net/fhir/StructureDefinition/IHE.PMIR.Subscription.request
Version:0.2.0
Name:IHE_PMIR_Subscription_request
Title:IHE PMIR Subscription request
Status:Draft as of 2019-12-04
Definition:

See https://wiki.ihe.net/index.php/Patient_Master_Identity_Registry_(PMIR)

Publisher:eHealth Suisse
Copyright:

CC-BY-SA-4.0

Source Resource:XML / JSON / Turtle

The official URL for this profile is:

http://ihe.net/fhir/StructureDefinition/IHE.PMIR.Subscription.request

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

This structure is derived from IHE_PMIR_Subscription

Summary

Fixed Value: 1 element

This structure is derived from IHE_PMIR_Subscription

NameFlagsCard.TypeDescription & Constraintsdoco
.. Subscription 0..*IHE_PMIR_SubscriptionServer push subscription criteria
... status 1..1coderequested | active | error | off
Fixed Value: requested

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Subscription 0..*IHE_PMIR_SubscriptionServer push subscription criteria
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1coderequested | active | error | off
Binding: SubscriptionStatus (required): The status of a subscription.


Fixed Value: requested
... contact Σ0..*ContactPointContact details for source (e.g. troubleshooting)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system ΣI1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value Σ1..1stringThe actual contact point details
.... use ?!Σ0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.

.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
.... period Σ0..1PeriodTime period when the contact point was/is in use
... end Σ0..1instantWhen to automatically delete the subscription
... reason Σ1..1stringDescription of why this subscription was created
... criteria Σ1..1stringRule for server push
... error Σ0..1stringLatest error note
... channel Σ1..1BackboneElementThe channel on which to report matches to the criteria
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... type Σ1..1coderest-hook | websocket | email | sms | message
Binding: SubscriptionChannelType (required): The type of method used to execute a subscription.


Fixed Value: message
.... endpoint Σ1..1urlWhere the channel points to
.... payload Σ1..1codeMIME type to send, or omit for no payload
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.

.... header Σ0..*stringUsage depends on the channel type

doco Documentation for this format

This structure is derived from IHE_PMIR_Subscription

Summary

Fixed Value: 1 element

Differential View

This structure is derived from IHE_PMIR_Subscription

NameFlagsCard.TypeDescription & Constraintsdoco
.. Subscription 0..*IHE_PMIR_SubscriptionServer push subscription criteria
... status 1..1coderequested | active | error | off
Fixed Value: requested

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Subscription 0..*IHE_PMIR_SubscriptionServer push subscription criteria
... id Σ0..1stringLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... extension 0..*ExtensionAdditional content defined by implementations
... modifierExtension ?!0..*ExtensionExtensions that cannot be ignored
... status ?!Σ1..1coderequested | active | error | off
Binding: SubscriptionStatus (required): The status of a subscription.


Fixed Value: requested
... contact Σ0..*ContactPointContact details for source (e.g. troubleshooting)
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... system ΣI1..1codephone | fax | email | pager | url | sms | other
Binding: ContactPointSystem (required): Telecommunications form for contact point.

.... value Σ1..1stringThe actual contact point details
.... use ?!Σ0..1codehome | work | temp | old | mobile - purpose of this contact point
Binding: ContactPointUse (required): Use of contact point.

.... rank Σ0..1positiveIntSpecify preferred order of use (1 = highest)
.... period Σ0..1PeriodTime period when the contact point was/is in use
... end Σ0..1instantWhen to automatically delete the subscription
... reason Σ1..1stringDescription of why this subscription was created
... criteria Σ1..1stringRule for server push
... error Σ0..1stringLatest error note
... channel Σ1..1BackboneElementThe channel on which to report matches to the criteria
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... type Σ1..1coderest-hook | websocket | email | sms | message
Binding: SubscriptionChannelType (required): The type of method used to execute a subscription.


Fixed Value: message
.... endpoint Σ1..1urlWhere the channel points to
.... payload Σ1..1codeMIME type to send, or omit for no payload
Binding: Mime Types (required): The mime type of an attachment. Any valid mime type is allowed.

.... header Σ0..*stringUsage depends on the channel type

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Terminology Bindings

PathConformanceValueSet / Code
Subscription.languagepreferredCommonLanguages
Max Binding: AllLanguages
Subscription.statusrequiredFixed Value: requested
Subscription.contact.systemrequiredContactPointSystem
Subscription.contact.userequiredContactPointUse
Subscription.channel.typerequiredFixed Value: message
Subscription.channel.payloadrequiredMime Types

Constraints

IdPathDetailsRequirements
dom-2SubscriptionIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3SubscriptionIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4SubscriptionIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5SubscriptionIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6SubscriptionA resource should have narrative for robust management
: text.`div`.exists()
ele-1Subscription.metaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.implicitRulesAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.languageAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.textAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Subscription.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Subscription.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Subscription.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Subscription.statusAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.contactAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.contact.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Subscription.contact.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Subscription.contact.systemAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.contact.valueAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.contact.useAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.contact.rankAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.contact.periodAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.endAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.reasonAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.criteriaAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.errorAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.channelAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.channel.extensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Subscription.channel.extensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Subscription.channel.modifierExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1Subscription.channel.modifierExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1Subscription.channel.typeAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.channel.endpointAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.channel.payloadAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1Subscription.channel.headerAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())