description: Topic-based subscription resource for event notifications. package_name: io.health-samurai.core.r5 derivation: specialization name: SubsSubscription type: SubsSubscription elements: _source: {type: string, short: System Property. DO NOT USE IT., index: 0} status: type: code short: Current status of the subscription. constraint: enum-50: {human: 'Status must be one of: active, off', severity: error, expression: '%context.subsetOf(''active'' | ''off'')'} index: 1 identifier: {type: Identifier, short: Business identifiers for the subscription., array: true, index: 2} trigger: {short: Events that trigger this subscription., index: 3} channel: type: BackboneElement short: Channel configuration for delivering notifications. index: 4 elements: type: type: code short: Type of channel for notifications. constraint: enum-49: {human: 'Channel type must be: rest-hook', severity: error, expression: '%context.subsetOf(''rest-hook'')'} index: 5 endpoint: {type: url, short: URL endpoint where notifications are sent., index: 6} timeout: {type: integer, short: Timeout in milliseconds for notification delivery., index: 7} heartbeatPeriod: {type: integer, short: Period in milliseconds for sending heartbeat notifications., index: 8} headers: {short: HTTP headers to include with notifications., index: 9} payload: type: BackboneElement short: Content to be sent in the notification. index: 10 elements: content: type: code short: Content type for payload. constraint: payload-content: {human: 'Payload content must be one of: id-only, full-resource', severity: error, expression: '%context.subsetOf(''id-only'' | ''full-resource'')'} index: 11 contentType: type: code short: MIME type of the payload. constraint: payload-contenttype: {human: 'Payload content type must be one of: json, fhir+json', severity: error, expression: '%context.subsetOf(''json'' | ''fhir+json'')'} index: 12 context: {short: Additional context for the payload., index: 13} required: [type, endpoint] package_version: 0.2601.0 class: resource kind: resource url: http://health-samurai.io/fhir/core/StructureDefinition/SubsSubscription base: http://hl7.org/fhir/StructureDefinition/DomainResource version: 0.2601.0 required: [channel]