{
"description": "Aidbox trigger resource for executing SQL on resource create, update, or delete events.",
"_filename": "StructureDefinition-AidboxTrigger.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "AidboxTrigger",
"abstract": false,
"type": "AidboxTrigger",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "68636e28-de48-452f-a51b-1f9bde596765",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/AidboxTrigger",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "AidboxTrigger",
"max": "*",
"min": 0,
"path": "AidboxTrigger",
"constraint": [ {
"key": "allow-actions",
"human": "action shall be one of: create, update, delete",
"severity": "error",
"expression": "action.all(subsetOf('create' | 'update' | 'delete'))"
} ]
}, {
"id": "AidboxTrigger.resource",
"max": "1",
"min": 1,
"path": "AidboxTrigger.resource",
"type": [ {
"code": "string"
} ]
}, {
"id": "AidboxTrigger.action",
"max": "*",
"min": 1,
"path": "AidboxTrigger.action",
"type": [ {
"code": "code"
} ]
}, {
"id": "AidboxTrigger.sql",
"max": "1",
"min": 1,
"path": "AidboxTrigger.sql",
"type": [ {
"code": "string"
} ]
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}