{
"description": "Aidbox Job resource for scheduling and executing periodic tasks.",
"_filename": "StructureDefinition-aidbox-job.json",
"package_name": "io.health-samurai.core.r4",
"date": null,
"derivation": "specialization",
"publisher": null,
"fhirVersion": "4.0.1",
"name": "AidboxJob",
"abstract": false,
"type": "AidboxJob",
"experimental": null,
"resourceType": "StructureDefinition",
"title": null,
"package_version": "0.2601.0",
"status": "active",
"id": "988a1a3c-b9d1-41a5-810f-4d222423274c",
"kind": "resource",
"url": "http://health-samurai.io/fhir/core/StructureDefinition/AidboxJob",
"version": "0.2601.0",
"differential": {
"element": [ {
"id": "AidboxJob",
"max": "*",
"min": 0,
"path": "AidboxJob"
}, {
"id": "AidboxJob._source",
"max": "1",
"min": 0,
"path": "AidboxJob._source",
"type": [ {
"code": "string"
} ],
"short": "System Property. DO NOT USE IT."
}, {
"id": "AidboxJob.every",
"max": "1",
"min": 0,
"path": "AidboxJob.every",
"type": [ {
"code": "integer"
} ],
"short": "Frequency in seconds at which the job should run."
}, {
"id": "AidboxJob.status",
"max": "1",
"min": 0,
"path": "AidboxJob.status",
"short": "Current status information for the job.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "AidboxJob.module",
"max": "1",
"min": 0,
"path": "AidboxJob.module",
"type": [ {
"code": "string"
} ],
"short": "Module that this job belongs to."
}, {
"id": "AidboxJob.text",
"max": "1",
"min": 0,
"path": "AidboxJob.text",
"type": [ {
"code": "string"
} ],
"short": "Human-readable description of the job."
}, {
"id": "AidboxJob.action",
"max": "1",
"min": 0,
"path": "AidboxJob.action",
"short": "Action to be performed when the job runs.",
"extension": [ {
"url": "http://health-samurai.io/fhir/core/StructureDefinition/additional-properties-custom-type",
"valueCode": "any"
} ]
}, {
"id": "AidboxJob.type",
"max": "1",
"min": 0,
"path": "AidboxJob.type",
"type": [ {
"code": "string"
} ],
"short": "Type of job scheduling pattern.",
"constraint": [ {
"key": "enum-19",
"human": "Job type must be one of: periodic, each-day",
"severity": "error",
"expression": "%context.subsetOf('periodic' | 'each-day')"
} ]
}, {
"id": "AidboxJob.at",
"max": "1",
"min": 0,
"path": "AidboxJob.at",
"type": [ {
"code": "string"
} ],
"short": "Time of day when the job should run (for each-day type)."
} ]
},
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/DomainResource"
}