{
"description": "Subscription notification tracking resource.",
"_filename": "StructureDefinition-subs-notification.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "SubsNotification",
"abstract": false,
"type": "SubsNotification",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "23a7da47-8acb-4d2e-b160-b2dd109d6f23",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/SubsNotification",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "SubsNotification",
"max": "*",
"min": 0,
"path": "SubsNotification"
}, {
"id": "SubsNotification._source",
"max": "1",
"min": 0,
"path": "SubsNotification._source",
"type": [ {
"code": "string"
} ],
"short": "System Property. DO NOT USE IT."
}, {
"id": "SubsNotification.status",
"max": "1",
"min": 0,
"path": "SubsNotification.status",
"type": [ {
"code": "code"
} ],
"short": "Status of the notification delivery.",
"constraint": [ {
"key": "enum-39",
"human": "Status must be one of: success, failed",
"severity": "error",
"expression": "%context.subsetOf('success' | 'failed')"
} ]
}, {
"id": "SubsNotification.subscription",
"max": "1",
"min": 0,
"path": "SubsNotification.subscription",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/SubsSubscription" ]
} ],
"short": "Reference to the subscription that generated this notification."
}, {
"id": "SubsNotification.retried",
"max": "1",
"min": 0,
"path": "SubsNotification.retried",
"type": [ {
"code": "boolean"
} ],
"short": "Whether this notification is a retry."
}, {
"id": "SubsNotification.retryOf",
"max": "1",
"min": 0,
"path": "SubsNotification.retryOf",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/SubsSubscription" ]
} ],
"short": "Reference to the original notification this is retrying."
}, {
"id": "SubsNotification.retries",
"max": "*",
"min": 0,
"path": "SubsNotification.retries",
"type": [ {
"code": "Reference",
"targetProfile": [ "http://health-samurai.io/fhir/core/StructureDefinition/SubsSubscription" ]
} ],
"short": "References to retry notifications."
}, {
"id": "SubsNotification.duration",
"max": "1",
"min": 0,
"path": "SubsNotification.duration",
"type": [ {
"code": "integer"
} ],
"short": "Duration of the notification processing in milliseconds."
}, {
"id": "SubsNotification.response",
"max": "1",
"min": 0,
"path": "SubsNotification.response",
"short": "Response received from the notification endpoint.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "SubsNotification.notification",
"max": "1",
"min": 0,
"path": "SubsNotification.notification",
"short": "Content of the notification that was sent.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}