{
"description": "Aidbox subscription resource for event-driven workflows.",
"_filename": "StructureDefinition-aidbox-subscription.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "AidboxSubscription",
"abstract": false,
"type": "AidboxSubscription",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "ae749669-56c1-4e21-b99f-3de38576100d",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/AidboxSubscription",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "AidboxSubscription",
"max": "*",
"min": 0,
"path": "AidboxSubscription"
}, {
"id": "AidboxSubscription._source",
"max": "1",
"min": 0,
"path": "AidboxSubscription._source",
"type": [ {
"code": "string"
} ],
"short": "System Property. DO NOT USE IT."
}, {
"id": "AidboxSubscription.module",
"max": "1",
"min": 0,
"path": "AidboxSubscription.module",
"type": [ {
"code": "string"
} ],
"short": "Module that this subscription belongs to."
}, {
"id": "AidboxSubscription.action",
"max": "1",
"min": 0,
"path": "AidboxSubscription.action",
"short": "Action to be performed when the subscription is triggered.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "AidboxSubscription.type",
"max": "1",
"min": 0,
"path": "AidboxSubscription.type",
"type": [ {
"code": "string"
} ],
"short": "Type of subscription execution model.",
"constraint": [ {
"key": "enum-92",
"human": "Type must be one of: sync, async",
"severity": "error",
"expression": "%context.subsetOf('sync' | 'async')"
} ]
}, {
"id": "AidboxSubscription.resources",
"max": "*",
"min": 0,
"path": "AidboxSubscription.resources",
"type": [ {
"code": "string"
} ],
"short": "List of resource types this subscription applies to."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}