## Profile: Subscription Subscription ... ### LEGEND * ~~strikethrough~~ indicates the the element is not included in this profile * `red` indicates that the field is likely useful in a future iteration of the specification

| Name | Card | Type | Comments | |---|---|---|---| | status | 1..1 | code | requested / active / error / off, [SubscriptionStatus ValueSet](https://hl7.org/fhir/2018May/valueset-subscription-status.html) | | ~~contact~~ | ~~0..*~~ | ~~ContactPoint~~ | Contact details for source (e.g. troubleshooting) | ~~end~~ | ~~0..1~~ | ~~instant~~ | When to automatically delete the subscription | ~~reason~~ | ~~1..1~~ | ~~string~~ | Description of why this subscription was created | criteria | 1..1 | string | Rule for server push | error | 1..1 | string | Latest error note | channel | 1..1 | BackboneElement | he channel on which to report matches to the criteria | channel.type | 1..1 | code | rest-hook / ~~websocket~~ / ~~email~~ / ~~sms~~ / message (SubscriptionChannelType Valueset) | contact.endpoint | 0..1 | url | Where the channel points to | | contact.payload | 0..1 | string | MIME type to send, or omit for no payload | | contact.header |0..* | string | Usage depends on the channel type | | ~~tag~~ | ~~0..*~~ | ~~coding~~ | A tag to add to matching resources |