# HeyDonto FHIR R4 API - Workflow The workflow module focuses on the coordination of activities within and across systems. This includes three primary aspects: * How do we ask for another person, device or system to do something? * How do we track the linkages and dependencies between activities - actions to their authorizations, complex activities to individual steps, protocols to plans to orders, etc.? * How do we define what activities are possible and the expected order and dependencies of the steps within those activities? I.e. process/orchestration definition --- ## Index **Infrastructure:** * Start here: [Overview](https://hl7.org/fhir/R4/workflow.html) * Resource: [Task](https://hl7.org/fhir/R4/task.html) * Patterns: [Definition](https://hl7.org/fhir/R4/definition.html), [Request](https://hl7.org/fhir/R4/request.html), [Event](https://hl7.org/fhir/R4/event.html) * Documentation: [Communication Patterns](https://hl7.org/fhir/R4/workflow-communications.html), [Ad-Hoc Patterns](https://hl7.org/fhir/R4/workflow-ad-hoc.html), [Management Patterns](https://hl7.org/fhir/R4/workflow-management.html) & [Examples](https://hl7.org/fhir/R4/workflow-examples.html) **Scheduling:** * Appointments: [Appointment](https://hl7.org/fhir/R4/appointment.html) / [AppointmentResponse](https://hl7.org/fhir/R4/appointmentresponse.html) * Availability: [Schedule](https://hl7.org/fhir/R4/schedule.html) / [Slot](https://hl7.org/fhir/R4/slot.html) **Clinical Process:** * Referrals: [ServiceRequest](https://hl7.org/fhir/R4/servicerequest.html) * Orders: [NutritionOrder](https://hl7.org/fhir/R4/nutritionorder.html), [VisionPrescription](https://hl7.org/fhir/R4/visionprescription.html) * Definitions: [ActivityDefinition](https://hl7.org/fhir/R4/activitydefinition.html), [PlanDefinition](https://hl7.org/fhir/R4/plandefinition.html) * Miscellaneous: [DeviceRequest](https://hl7.org/fhir/R4/devicerequest.html) & [DeviceUseStatement](https://hl7.org/fhir/R4/deviceusestatement.html), [SupplyRequest](https://hl7.org/fhir/R4/supplyrequest.html) & [SupplyDelivery](https://hl7.org/fhir/R4/supplydelivery.html) --- ## Introduction Workflows can be performed through direct posting of resources to a target server (combined with a specific tag), by using the [Task](https://hl7.org/fhir/R4/task.html) resource, through the use of [messaging](https://hl7.org/fhir/R4/messaging.html) or via FHIR [services](https://hl7.org/fhir/R4/services.html). This specification includes a [workflow](https://hl7.org/fhir/R4/workflow.html) page that describes the concepts underlying the discussion of workflows, and points to a number of different communication and architectural [workflow patterns](https://hl7.org/fhir/R4/workflow-communications.html). In addition to the [Task](https://hl7.org/fhir/R4/task.html) resource, this specification defines three logical models - [Definition](https://hl7.org/fhir/R4/definition.html), [Request](https://hl7.org/fhir/R4/request.html) and [Event](https://hl7.org/fhir/R4/event.html) that define the patterns for resources that are typically involved in workflow. These patterns include elements defining common attributes of each type of resource as well as relationships between them. These relationships are summarized on the [workflow](https://hl7.org/fhir/R4/workflow.html#relationships) page, along with a complete [list](https://hl7.org/fhir/R4/workflow.html#list) of resources that follow (or are hoped to soon follow) the request and event patterns. Finally the [PlanDefinition](https://hl7.org/fhir/R4/plandefinition.html) and [ActivityDefinition](https://hl7.org/fhir/R4/activitydefinition.html) resources combine to support the creation of protocols, orders sets, guidelines and other workflow definitions by describing the types of activities that can occur and setting rules about their composition, sequencing, interdependencies and flow. --- ## Common Use Cases Workflow manifests in many places in the healthcare environment: * Creating a [lab order](https://hl7.org/fhir/R4/servicerequest.html), [drug prescription](https://hl7.org/fhir/R4/medicationrequest.html), or other clinical order or an [insurance claim](https://hl7.org/fhir/R4/claim.html), [enrollment request](https://hl7.org/fhir/R4/enrollmentrequest.html), [Appointment](https://hl7.org/fhir/R4/appointment.html) or similar administrative request and asking for it to be actioned by a specific organization or practitioner * Negotiating a fulfillment process, such as requesting further information before accepting a claim or referral or proposing an alternative therapy when processing an order * Letting an ordering physician know what the current progress is in fulfilling an order (e.g. blood has been drawn, sample is being processed, preliminary results are in, etc.) * Defining a [plan](https://hl7.org/fhir/R4/careplan.html) or recommendation for a set of clinical and/or administrative activities to manage a patient's care and then tracking how those plans and recommendations are (or are not) acted upon over time * Communicating a state change to a request or order (e.g. suspension, update, cancellation, etc.) to a fulfilling system so that they can take appropriate action * Asking for a state change, requesting the merge of a couple of patients or the invoking of some operation or decision support in an asynchronous manner - for example, one where human intervention is required * Designing or adhering to a study protocol, chemotherapy protocol, instantiating an order set or other [plan definition](https://hl7.org/fhir/R4/plandefinition.html) FHIR provides multiple ways to enable these scenarios (and many others). Common mechanisms, along with their pros and cons can be found in the workflow sections on [patterns](https://hl7.org/fhir/R4/workflow-communications.html#commpatternslist). --- ## Security and Privacy Resources related to workflow need to adhere to the same [security and privacy guidelines](https://hl7.org/fhir/R4/security.html) that apply to all FHIR resources, including specific considerations for those that may contain personally-identifying information. There are a couple of additional security and privacy considerations specific to workflow: 1. Some workflows are ad-hoc without pre-defined participants or flows. These can be challenging for security and privacy processes to manage appropriately 2. Workflow can drive automated behavior. I.e. The mere existence of an electronic record can cause information to flow, procedures to be performed, records to be changed and money to be transferred, potentially without any intervention, oversight or sanity checking by a human being. As such, even greater care must be taken to ensure that: * Constraints are placed on what systems (and users) can initiate workflow processes * Requests for action are appropriately authenticated before action is taken * Patient consents and other relevant policies are enforced either by the system storing the request or the system acting upon it (and that if enforcement is not performed by the actor, that they are confident that relevant policies have been enforced on the request prior to action) For more general considerations, see [the Security and Privacy module](https://hl7.org/fhir/R4/secpriv-module.html). --- ## Developmental Roadmap Initial work has taken place on aligning most (though not yet all) resources with the [Definition](https://hl7.org/fhir/R4/definition.html), [Request](https://hl7.org/fhir/R4/request.html) and [Event](https://hl7.org/fhir/R4/event.html) patterns. In the lead-up to R5, we'll be moving the alignment checks into the build process and more formally documenting (and potentially reporting) on variations along with their justifications. Further alignment is also possible (where beneficial to implementers). We'll also be examining the potential for exposing alignment with the patterns in a computably useful manner (e.g. as interfaces). Work will continue on the workflow patterns, including vetting the patterns against various clinical scenarios and enhancing pattern documentation. We also hope to examine both messaging and services in more detail with further guidance about when and how such mechanisms should be used for workflow and how they relate to the [Task](https://hl7.org/fhir/R4/task.html) resource. As well, we'll examine the possibility for developing "standardized" workflows for certain domains and how such patterns might be documented, particularly through the use of the [ExampleScenario](https://hl7.org/fhir/R4/examplescenario.html) resource. We will look for implementer feedback to guide this work. The [PlanDefinition](https://hl7.org/fhir/R4/plandefinition.html) and [ActivityDefinition](https://hl7.org/fhir/R4/activitydefinition.html) resources will continue to evolve based on feedback from the implementer community. We'll explore using them in a variety of ways, including clinical order sets, medication protocols, workflow protocols, clinical pathways, administrative protocols, etc. We hope to develop several example workflow protocols. Additional topics for future work include: * The initial effort to align with workflow patterns has been a bit over-zealous for some resources, resulting in the loss of domain-specific context or occasionally the introduction of elements that might be more properly represented as extensions. In R5, we'll continue to work on improving the balance, ensuring that consistency with patterns does not overshadow the essential requirements for implementer intuitiveness and simplicity * Resolving the overlap between the [SupplyRequest](https://hl7.org/fhir/R4/supplyrequest.html), [DeviceRequest](https://hl7.org/fhir/R4/devicerequest.html) and [VisionPrescription](https://hl7.org/fhir/R4/visionprescription.html) resources * Improving mapping and alignment of the elements and status codes of the [Task](https://hl7.org/fhir/R4/task.html) resource with the WS-HumanTask specification * Creating "best practice" guides for how to implement workflow for different business patterns * Examining how workflow is used for [compensating actions](https://en.wikipedia.org/wiki/Compensating_transaction) E.g. account transactions and reversals Version: 1.0 ## Servers Sandbox ``` https://api-staging.heydonto.com ``` Production ``` https://api.heydonto.com ``` ## Security ### bearer Type: http Scheme: bearer Bearer Format: JWT ## Download OpenAPI description [HeyDonto FHIR R4 API - Workflow](https://docs.heydonto.com/_bundle/apis/fhir/workflow.yaml) ## ActivityDefinition ### Get FHIR r4 activity definitions - [GET /site/{siteId}/fhir/activity-definition](https://docs.heydonto.com/apis/fhir/workflow/activitydefinition/fhiractivitydefinitioncontroller_getactivitydefinitions.md) ### Create FHIR r4 activity definition - [POST /site/{siteId}/fhir/activity-definition](https://docs.heydonto.com/apis/fhir/workflow/activitydefinition/fhiractivitydefinitioncontroller_createactivitydefinition.md) ### Get FHIR r4 activity definition by ID - [GET /site/{siteId}/fhir/activity-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/activitydefinition/fhiractivitydefinitioncontroller_getactivitydefinition.md) ### Update FHIR r4 activity definition - [PUT /site/{siteId}/fhir/activity-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/activitydefinition/fhiractivitydefinitioncontroller_updateactivitydefinition.md) ### Delete FHIR r4 activity definition - [DELETE /site/{siteId}/fhir/activity-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/activitydefinition/fhiractivitydefinitioncontroller_deleteactivitydefinition.md) ### Get FHIR r4 activity definition history by ID - [GET /site/{siteId}/fhir/activity-definition/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/activitydefinition/fhiractivitydefinitioncontroller_getactivitydefinitionhistory.md) ## Appointment ### Get FHIR r4 appointments - [GET /site/{siteId}/fhir/appointment](https://docs.heydonto.com/apis/fhir/workflow/appointment/fhirappointmentcontroller_getappointments.md) ### Create FHIR r4 appointment - [POST /site/{siteId}/fhir/appointment](https://docs.heydonto.com/apis/fhir/workflow/appointment/fhirappointmentcontroller_createappointment.md) ### Get FHIR r4 appointment by ID - [GET /site/{siteId}/fhir/appointment/{id}](https://docs.heydonto.com/apis/fhir/workflow/appointment/fhirappointmentcontroller_getappointment.md) ### Update FHIR r4 appointment - [PUT /site/{siteId}/fhir/appointment/{id}](https://docs.heydonto.com/apis/fhir/workflow/appointment/fhirappointmentcontroller_updateappointment.md) ### Delete FHIR r4 appointment - [DELETE /site/{siteId}/fhir/appointment/{id}](https://docs.heydonto.com/apis/fhir/workflow/appointment/fhirappointmentcontroller_deleteappointment.md) ### Get FHIR r4 appointment history by ID - [GET /site/{siteId}/fhir/appointment/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/appointment/fhirappointmentcontroller_getappointmenthistory.md) ## AppointmentResponse ### Get FHIR r4 appointment responses - [GET /site/{siteId}/fhir/appointment-response](https://docs.heydonto.com/apis/fhir/workflow/appointmentresponse/fhirappointmentresponsecontroller_getappointmentresponses.md) ### Create FHIR r4 appointment response - [POST /site/{siteId}/fhir/appointment-response](https://docs.heydonto.com/apis/fhir/workflow/appointmentresponse/fhirappointmentresponsecontroller_createappointmentresponse.md) ### Get FHIR r4 appointment response by ID - [GET /site/{siteId}/fhir/appointment-response/{id}](https://docs.heydonto.com/apis/fhir/workflow/appointmentresponse/fhirappointmentresponsecontroller_getappointmentresponse.md) ### Update FHIR r4 appointment response - [PUT /site/{siteId}/fhir/appointment-response/{id}](https://docs.heydonto.com/apis/fhir/workflow/appointmentresponse/fhirappointmentresponsecontroller_updateappointmentresponse.md) ### Delete FHIR r4 appointment response - [DELETE /site/{siteId}/fhir/appointment-response/{id}](https://docs.heydonto.com/apis/fhir/workflow/appointmentresponse/fhirappointmentresponsecontroller_deleteappointmentresponse.md) ### Get FHIR r4 appointment response history by ID - [GET /site/{siteId}/fhir/appointment-response/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/appointmentresponse/fhirappointmentresponsecontroller_getappointmentresponsehistory.md) ## DeviceRequest ### Get FHIR r4 device requests - [GET /site/{siteId}/fhir/device-request](https://docs.heydonto.com/apis/fhir/workflow/devicerequest/fhirdevicerequestcontroller_getdevicerequests.md) ### Create FHIR r4 device request - [POST /site/{siteId}/fhir/device-request](https://docs.heydonto.com/apis/fhir/workflow/devicerequest/fhirdevicerequestcontroller_createdevicerequest.md) ### Get FHIR r4 device request by ID - [GET /site/{siteId}/fhir/device-request/{id}](https://docs.heydonto.com/apis/fhir/workflow/devicerequest/fhirdevicerequestcontroller_getdevicerequest.md) ### Update FHIR r4 device request - [PUT /site/{siteId}/fhir/device-request/{id}](https://docs.heydonto.com/apis/fhir/workflow/devicerequest/fhirdevicerequestcontroller_updatedevicerequest.md) ### Delete FHIR r4 device request - [DELETE /site/{siteId}/fhir/device-request/{id}](https://docs.heydonto.com/apis/fhir/workflow/devicerequest/fhirdevicerequestcontroller_deletedevicerequest.md) ### Get FHIR r4 device request history by ID - [GET /site/{siteId}/fhir/device-request/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/devicerequest/fhirdevicerequestcontroller_getdevicerequesthistory.md) ## DeviceUseStatement ### Get FHIR r4 device use statements - [GET /site/{siteId}/fhir/device-use-statement](https://docs.heydonto.com/apis/fhir/workflow/deviceusestatement/fhirdeviceusestatementcontroller_getdeviceusestatements.md) ### Create FHIR r4 device use statement - [POST /site/{siteId}/fhir/device-use-statement](https://docs.heydonto.com/apis/fhir/workflow/deviceusestatement/fhirdeviceusestatementcontroller_createdeviceusestatement.md) ### Get FHIR r4 device use statement by ID - [GET /site/{siteId}/fhir/device-use-statement/{id}](https://docs.heydonto.com/apis/fhir/workflow/deviceusestatement/fhirdeviceusestatementcontroller_getdeviceusestatement.md) ### Update FHIR r4 device use statement - [PUT /site/{siteId}/fhir/device-use-statement/{id}](https://docs.heydonto.com/apis/fhir/workflow/deviceusestatement/fhirdeviceusestatementcontroller_updatedeviceusestatement.md) ### Delete FHIR r4 device use statement - [DELETE /site/{siteId}/fhir/device-use-statement/{id}](https://docs.heydonto.com/apis/fhir/workflow/deviceusestatement/fhirdeviceusestatementcontroller_deletedeviceusestatement.md) ### Get FHIR r4 device use statement history by ID - [GET /site/{siteId}/fhir/device-use-statement/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/deviceusestatement/fhirdeviceusestatementcontroller_getdeviceusestatementhistory.md) ## Encounter ### Get FHIR r4 encounters - [GET /site/{siteId}/fhir/encounter](https://docs.heydonto.com/apis/fhir/workflow/encounter/fhirencountercontroller_getencounters.md) ### Create FHIR r4 encounter - [POST /site/{siteId}/fhir/encounter](https://docs.heydonto.com/apis/fhir/workflow/encounter/fhirencountercontroller_createencounter.md) ### Get FHIR r4 encounter by ID - [GET /site/{siteId}/fhir/encounter/{id}](https://docs.heydonto.com/apis/fhir/workflow/encounter/fhirencountercontroller_getencounter.md) ### Update FHIR r4 encounter - [PUT /site/{siteId}/fhir/encounter/{id}](https://docs.heydonto.com/apis/fhir/workflow/encounter/fhirencountercontroller_updateencounter.md) ### Delete FHIR r4 encounter - [DELETE /site/{siteId}/fhir/encounter/{id}](https://docs.heydonto.com/apis/fhir/workflow/encounter/fhirencountercontroller_deleteencounter.md) ### Get FHIR r4 encounter history by ID - [GET /site/{siteId}/fhir/encounter/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/encounter/fhirencountercontroller_getencounterhistory.md) ## EpisodeOfCare ### Get FHIR r4 episode of cares - [GET /site/{siteId}/fhir/episode-of-care](https://docs.heydonto.com/apis/fhir/workflow/episodeofcare/fhirepisodeofcarecontroller_getepisodeofcares.md) ### Create FHIR r4 episode of care - [POST /site/{siteId}/fhir/episode-of-care](https://docs.heydonto.com/apis/fhir/workflow/episodeofcare/fhirepisodeofcarecontroller_createepisodeofcare.md) ### Get FHIR r4 episode of care by ID - [GET /site/{siteId}/fhir/episode-of-care/{id}](https://docs.heydonto.com/apis/fhir/workflow/episodeofcare/fhirepisodeofcarecontroller_getepisodeofcare.md) ### Update FHIR r4 episode of care - [PUT /site/{siteId}/fhir/episode-of-care/{id}](https://docs.heydonto.com/apis/fhir/workflow/episodeofcare/fhirepisodeofcarecontroller_updateepisodeofcare.md) ### Delete FHIR r4 episode of care - [DELETE /site/{siteId}/fhir/episode-of-care/{id}](https://docs.heydonto.com/apis/fhir/workflow/episodeofcare/fhirepisodeofcarecontroller_deleteepisodeofcare.md) ### Get FHIR r4 episode of care history by ID - [GET /site/{siteId}/fhir/episode-of-care/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/episodeofcare/fhirepisodeofcarecontroller_getepisodeofcarehistory.md) ## EventDefinition ### Get FHIR r4 event definitions - [GET /site/{siteId}/fhir/event-definition](https://docs.heydonto.com/apis/fhir/workflow/eventdefinition/fhireventdefinitioncontroller_geteventdefinitions.md) ### Create FHIR r4 event definition - [POST /site/{siteId}/fhir/event-definition](https://docs.heydonto.com/apis/fhir/workflow/eventdefinition/fhireventdefinitioncontroller_createeventdefinition.md) ### Get FHIR r4 event definition by ID - [GET /site/{siteId}/fhir/event-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/eventdefinition/fhireventdefinitioncontroller_geteventdefinition.md) ### Update FHIR r4 event definition - [PUT /site/{siteId}/fhir/event-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/eventdefinition/fhireventdefinitioncontroller_updateeventdefinition.md) ### Delete FHIR r4 event definition - [DELETE /site/{siteId}/fhir/event-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/eventdefinition/fhireventdefinitioncontroller_deleteeventdefinition.md) ### Get FHIR r4 event definition history by ID - [GET /site/{siteId}/fhir/event-definition/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/eventdefinition/fhireventdefinitioncontroller_geteventdefinitionhistory.md) ## Flag ### Get FHIR r4 flags - [GET /site/{siteId}/fhir/flag](https://docs.heydonto.com/apis/fhir/workflow/flag/fhirflagcontroller_getflags.md) ### Create FHIR r4 flag - [POST /site/{siteId}/fhir/flag](https://docs.heydonto.com/apis/fhir/workflow/flag/fhirflagcontroller_createflag.md) ### Get FHIR r4 flag by ID - [GET /site/{siteId}/fhir/flag/{id}](https://docs.heydonto.com/apis/fhir/workflow/flag/fhirflagcontroller_getflag.md) ### Update FHIR r4 flag - [PUT /site/{siteId}/fhir/flag/{id}](https://docs.heydonto.com/apis/fhir/workflow/flag/fhirflagcontroller_updateflag.md) ### Delete FHIR r4 flag - [DELETE /site/{siteId}/fhir/flag/{id}](https://docs.heydonto.com/apis/fhir/workflow/flag/fhirflagcontroller_deleteflag.md) ### Get FHIR r4 flag history by ID - [GET /site/{siteId}/fhir/flag/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/flag/fhirflagcontroller_getflaghistory.md) ## GuidanceResponse ### Get FHIR r4 guidance responses - [GET /site/{siteId}/fhir/guidance-response](https://docs.heydonto.com/apis/fhir/workflow/guidanceresponse/fhirguidanceresponsecontroller_getguidanceresponses.md) ### Create FHIR r4 guidance response - [POST /site/{siteId}/fhir/guidance-response](https://docs.heydonto.com/apis/fhir/workflow/guidanceresponse/fhirguidanceresponsecontroller_createguidanceresponse.md) ### Get FHIR r4 guidance response by ID - [GET /site/{siteId}/fhir/guidance-response/{id}](https://docs.heydonto.com/apis/fhir/workflow/guidanceresponse/fhirguidanceresponsecontroller_getguidanceresponse.md) ### Update FHIR r4 guidance response - [PUT /site/{siteId}/fhir/guidance-response/{id}](https://docs.heydonto.com/apis/fhir/workflow/guidanceresponse/fhirguidanceresponsecontroller_updateguidanceresponse.md) ### Delete FHIR r4 guidance response - [DELETE /site/{siteId}/fhir/guidance-response/{id}](https://docs.heydonto.com/apis/fhir/workflow/guidanceresponse/fhirguidanceresponsecontroller_deleteguidanceresponse.md) ### Get FHIR r4 guidance response history by ID - [GET /site/{siteId}/fhir/guidance-response/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/guidanceresponse/fhirguidanceresponsecontroller_getguidanceresponsehistory.md) ## Library ### Get FHIR r4 librarys - [GET /site/{siteId}/fhir/library](https://docs.heydonto.com/apis/fhir/workflow/library/fhirlibrarycontroller_getlibrarys.md) ### Create FHIR r4 library - [POST /site/{siteId}/fhir/library](https://docs.heydonto.com/apis/fhir/workflow/library/fhirlibrarycontroller_createlibrary.md) ### Get FHIR r4 library by ID - [GET /site/{siteId}/fhir/library/{id}](https://docs.heydonto.com/apis/fhir/workflow/library/fhirlibrarycontroller_getlibrary.md) ### Update FHIR r4 library - [PUT /site/{siteId}/fhir/library/{id}](https://docs.heydonto.com/apis/fhir/workflow/library/fhirlibrarycontroller_updatelibrary.md) ### Delete FHIR r4 library - [DELETE /site/{siteId}/fhir/library/{id}](https://docs.heydonto.com/apis/fhir/workflow/library/fhirlibrarycontroller_deletelibrary.md) ### Get FHIR r4 library history by ID - [GET /site/{siteId}/fhir/library/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/library/fhirlibrarycontroller_getlibraryhistory.md) ## PlanDefinition ### Get FHIR r4 plan definitions - [GET /site/{siteId}/fhir/plan-definition](https://docs.heydonto.com/apis/fhir/workflow/plandefinition/fhirplandefinitioncontroller_getplandefinitions.md) ### Create FHIR r4 plan definition - [POST /site/{siteId}/fhir/plan-definition](https://docs.heydonto.com/apis/fhir/workflow/plandefinition/fhirplandefinitioncontroller_createplandefinition.md) ### Get FHIR r4 plan definition by ID - [GET /site/{siteId}/fhir/plan-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/plandefinition/fhirplandefinitioncontroller_getplandefinition.md) ### Update FHIR r4 plan definition - [PUT /site/{siteId}/fhir/plan-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/plandefinition/fhirplandefinitioncontroller_updateplandefinition.md) ### Delete FHIR r4 plan definition - [DELETE /site/{siteId}/fhir/plan-definition/{id}](https://docs.heydonto.com/apis/fhir/workflow/plandefinition/fhirplandefinitioncontroller_deleteplandefinition.md) ### Get FHIR r4 plan definition history by ID - [GET /site/{siteId}/fhir/plan-definition/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/plandefinition/fhirplandefinitioncontroller_getplandefinitionhistory.md) ## Schedule ### Get FHIR r4 schedules - [GET /site/{siteId}/fhir/schedule](https://docs.heydonto.com/apis/fhir/workflow/schedule/fhirschedulecontroller_getschedules.md) ### Create FHIR r4 schedule - [POST /site/{siteId}/fhir/schedule](https://docs.heydonto.com/apis/fhir/workflow/schedule/fhirschedulecontroller_createschedule.md) ### Get FHIR r4 schedule by ID - [GET /site/{siteId}/fhir/schedule/{id}](https://docs.heydonto.com/apis/fhir/workflow/schedule/fhirschedulecontroller_getschedule.md) ### Update FHIR r4 schedule - [PUT /site/{siteId}/fhir/schedule/{id}](https://docs.heydonto.com/apis/fhir/workflow/schedule/fhirschedulecontroller_updateschedule.md) ### Delete FHIR r4 schedule - [DELETE /site/{siteId}/fhir/schedule/{id}](https://docs.heydonto.com/apis/fhir/workflow/schedule/fhirschedulecontroller_deleteschedule.md) ### Get FHIR r4 schedule history by ID - [GET /site/{siteId}/fhir/schedule/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/schedule/fhirschedulecontroller_getschedulehistory.md) ## Slot ### Get FHIR r4 slots - [GET /site/{siteId}/fhir/slot](https://docs.heydonto.com/apis/fhir/workflow/slot/fhirslotcontroller_getslots.md) ### Create FHIR r4 slot - [POST /site/{siteId}/fhir/slot](https://docs.heydonto.com/apis/fhir/workflow/slot/fhirslotcontroller_createslot.md) ### Get FHIR r4 slot by ID - [GET /site/{siteId}/fhir/slot/{id}](https://docs.heydonto.com/apis/fhir/workflow/slot/fhirslotcontroller_getslot.md) ### Update FHIR r4 slot - [PUT /site/{siteId}/fhir/slot/{id}](https://docs.heydonto.com/apis/fhir/workflow/slot/fhirslotcontroller_updateslot.md) ### Delete FHIR r4 slot - [DELETE /site/{siteId}/fhir/slot/{id}](https://docs.heydonto.com/apis/fhir/workflow/slot/fhirslotcontroller_deleteslot.md) ### Get FHIR r4 slot history by ID - [GET /site/{siteId}/fhir/slot/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/slot/fhirslotcontroller_getslothistory.md) ## SupplyDelivery ### Get FHIR r4 supply deliverys - [GET /site/{siteId}/fhir/supply-delivery](https://docs.heydonto.com/apis/fhir/workflow/supplydelivery/fhirsupplydeliverycontroller_getsupplydeliverys.md) ### Create FHIR r4 supply delivery - [POST /site/{siteId}/fhir/supply-delivery](https://docs.heydonto.com/apis/fhir/workflow/supplydelivery/fhirsupplydeliverycontroller_createsupplydelivery.md) ### Get FHIR r4 supply delivery by ID - [GET /site/{siteId}/fhir/supply-delivery/{id}](https://docs.heydonto.com/apis/fhir/workflow/supplydelivery/fhirsupplydeliverycontroller_getsupplydelivery.md) ### Update FHIR r4 supply delivery - [PUT /site/{siteId}/fhir/supply-delivery/{id}](https://docs.heydonto.com/apis/fhir/workflow/supplydelivery/fhirsupplydeliverycontroller_updatesupplydelivery.md) ### Delete FHIR r4 supply delivery - [DELETE /site/{siteId}/fhir/supply-delivery/{id}](https://docs.heydonto.com/apis/fhir/workflow/supplydelivery/fhirsupplydeliverycontroller_deletesupplydelivery.md) ### Get FHIR r4 supply delivery history by ID - [GET /site/{siteId}/fhir/supply-delivery/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/supplydelivery/fhirsupplydeliverycontroller_getsupplydeliveryhistory.md) ## SupplyRequest ### Get FHIR r4 supply requests - [GET /site/{siteId}/fhir/supply-request](https://docs.heydonto.com/apis/fhir/workflow/supplyrequest/fhirsupplyrequestcontroller_getsupplyrequests.md) ### Create FHIR r4 supply request - [POST /site/{siteId}/fhir/supply-request](https://docs.heydonto.com/apis/fhir/workflow/supplyrequest/fhirsupplyrequestcontroller_createsupplyrequest.md) ### Get FHIR r4 supply request by ID - [GET /site/{siteId}/fhir/supply-request/{id}](https://docs.heydonto.com/apis/fhir/workflow/supplyrequest/fhirsupplyrequestcontroller_getsupplyrequest.md) ### Update FHIR r4 supply request - [PUT /site/{siteId}/fhir/supply-request/{id}](https://docs.heydonto.com/apis/fhir/workflow/supplyrequest/fhirsupplyrequestcontroller_updatesupplyrequest.md) ### Delete FHIR r4 supply request - [DELETE /site/{siteId}/fhir/supply-request/{id}](https://docs.heydonto.com/apis/fhir/workflow/supplyrequest/fhirsupplyrequestcontroller_deletesupplyrequest.md) ### Get FHIR r4 supply request history by ID - [GET /site/{siteId}/fhir/supply-request/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/supplyrequest/fhirsupplyrequestcontroller_getsupplyrequesthistory.md) ## Task ### Get FHIR r4 tasks - [GET /site/{siteId}/fhir/task](https://docs.heydonto.com/apis/fhir/workflow/task/fhirtaskcontroller_gettasks.md) ### Create FHIR r4 task - [POST /site/{siteId}/fhir/task](https://docs.heydonto.com/apis/fhir/workflow/task/fhirtaskcontroller_createtask.md) ### Get FHIR r4 task by ID - [GET /site/{siteId}/fhir/task/{id}](https://docs.heydonto.com/apis/fhir/workflow/task/fhirtaskcontroller_gettask.md) ### Update FHIR r4 task - [PUT /site/{siteId}/fhir/task/{id}](https://docs.heydonto.com/apis/fhir/workflow/task/fhirtaskcontroller_updatetask.md) ### Delete FHIR r4 task - [DELETE /site/{siteId}/fhir/task/{id}](https://docs.heydonto.com/apis/fhir/workflow/task/fhirtaskcontroller_deletetask.md) ### Get FHIR r4 task history by ID - [GET /site/{siteId}/fhir/task/{id}/history](https://docs.heydonto.com/apis/fhir/workflow/task/fhirtaskcontroller_gettaskhistory.md)