Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Outpatient (OPD) Module (HospitalRun#904)
* Initial functionality to display visits and checkin patients. * Don't show age if it isn't set * Only show today's outpatients. * Added visit reason * Fixed visit edit and changed age display * Fixed return to outpatient * Set end date on outpatient check in. * Added tabbed navigation to visits. * Fix adding imaging and lab requests from visit. * New component to show patient orders combines labs, imaging and medication into one table. * Added filtering to sortable columns * Fixed missing translations * Added sorting and started filtering. * Fixed filter display * Created typeahead filter. * Fix issue with idb.filesystem Fixes Expected an identifier but found \'IDB_SUPPORTS_BLOB\' instead * Added clear for typeahead filter * Fixed menu translation * Moved filterList to mixin * Added filtering to outpatient list. * Put back history fields Also renamed reason for visit to chief complaint. * Don't show charges header on visit * Fix failing tests. * Starting changes to show different fields per visit type. * Starting work on customizing forms per visit type. * Added time to lab, imaging, and medication requests. * Fixed sorting on outpatient list. * Added short display name * Added hasAppointment and hasDoneOrders * Change to record check in time * Added check in time, has appointment, done orders and stubbed out checkout button. * Fixed deprecation warning. * Cleaning up layout * Set hasAppointment on visit checkin Resolves HospitalRun#754 * Starting work on custom forms editor. * Working on custom form editor. * Changed to work with new custom-form model. * Added preview and ordering. * Fix error when there are no fields. * Fixed colspan layout. * Fixed column layout Updated for live preview. Fix for empty fields. * Added formType and column validation * Added index page to list custom forms. * Added Custom Forms to navigation. * Fixed custom form delete * Updates for testing. * Finished custom form editor tests Closes HospitalRun#788 * Added capability to run store query for additional models. * Added custom-form-manager component Allows adding custom forms to screens. * Fixed patientVisits computed property Fixed issue when findPatientVisits is false. * Added logic to track modifications made to customForms on an object. * Added custom forms to visit. * Fixed breaking test * Updated to use npm uuid * Moving diagnosis to its own model Allow adding of diagnosis directly from patient. For issue HospitalRun#816 * Added logic to edit and delete diagnoses. * Changed to disable changing diagnosis on existing record. * Added logic to copy diagnosis from patient when creating a new visit * Diagnosis list should be tied to diagnosis model * Added primaryDiagnoses CP to visit. primaryDiagnoses should be used instead of primaryDiagnosis which is a deprecated property. * Prod build for testing * Fix for model test * Replaced observers from patient-submodule mixing. * Make sure New Patient button shows on patient index page. * Fix visit edit to only show checkin on checkin Checkin verbiage was sticking on visit screen after checking patient in. Also save messages on visit were not accurate when checking a patient in. Fixes HospitalRun#836 * Fixed error on patient index. * Fixed checkout action on outpatient. * Made diagnosis async = false Makes sure diagnosis is resolved when creating new visits for a patient. * Fixed return to patient from visit * Fix return to outpatient from visit. * Changes to make sure visit screen works properly for admissions as well as checkins. * Allow patient checkin from appointment Partially addresses HospitalRun#835 * Fixed validation when patient is already selected for checkin * Visit checkin from appointment now updates appointment For issue HospitalRun#835 * Cleaned up unused data values. * Add reason for visit Resolves HospitalRun#835 * Set admitted status on admission. * Only show check in button if patient isn't already checked in. * Close modal on diagnosis delete Also, make sure diagnosis gets deleted. * Fixed broken tests * Build for testing purposes only. * Merging in master * Fix sex lookup list for patient quick add Fixes # HospitalRun#878 * Fixed deleting orders/sorting/filtering Fixes HospitalRun#886 * Added filters to outpatient screen Resolves HospitalRun#860 Also, fixed outpatient screen to no longer display admission type visits. * New build for testing * Updated allergies/procedures to match with diagnosis layout. * Updated tests to include diagnosis. * Add updateButtonIcon option to edit panel component. * Add description of dateSetAction * Fixes return from visit under certain circumstances * Show visit status and discharge/checkout time when applicable. Resolves HospitalRun#895 * Normalize how checkin/admission works across the app Resolves HospitalRun#893 * Fixed issue when deleting visits. * Fixed disabled update button when model isn't valid. * Make sure visitType isn't set to Admission when checking in from outpatient. * Add phone and address to patient quick add Resolves HospitalRun#898 * Added create new patient checkbox for visit Resolves HospitalRun#899 * Changed layout to inline search button * Merge branch 'master' into outpatient * Fixed diagnosis not displaying properly after update Fixes HospitalRun#903 * Fix for getMinPouchId * Added tests for outpatient.
- Loading branch information