HospitalRun / hospitalrun-server

Backend for HospitalRun
https://hospitalrun.io
MIT License
876 stars 641 forks source link

Intercepting a medication request based on business rules #19

Closed tangollama closed 5 years ago

tangollama commented 8 years ago

This issue is further / better explained in #21

Concept: Physicians need to just enter a medication request, lab request, imaging request. The system on the other hand needs to (potentially) process the workflow for those requests differently depending on whether a request is tied to an outpatient or inpatient visit.

Therefore, for the labs, medication, and imaging queues, the system should:

1) Allow for a configuration of the each of those queues to use the following workflow / business rules management 2) If configured to do so, an outpatient request for (for instance) medication should first examine the visit type. If outpatient, place the medication request in a "Pending Payment" status and create a Bill for the cashier to process. 3) Once paid, the request should show up in the pharmacy queue. 4) For in-patient, no workflow is needed

Eventually, we want even more flexibility in each of these queues, so the notion of creating (or implementing) a Node library for workflow management would be wise.

stale[bot] commented 5 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.