Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Upgrade Diagnoses #816

Closed
mnorbeck opened this issue Nov 17, 2016 · 3 comments
Closed

Upgrade Diagnoses #816

mnorbeck opened this issue Nov 17, 2016 · 3 comments
Assignees

Comments

@mnorbeck
Copy link

mnorbeck commented Nov 17, 2016

The existing functionality around diagnostics needs to be updated. The desired behavior would be:

  1. When entering a diagnosis, either directly at the patient level, or in a visit, the doctor needs to be able to add and delete one or more primary and secondary diagnoses. Further, any diagnoses can be made inactive (i.e. the condition was treated, and is no longer present).

  2. Currently diagnoses can only be entered / updated within a visit. This needs to be changed to allow Doctors to go to the patient object and update diagnoses there.

  3. However, any diagnoses entered during previous visits needs to be retained.

  4. The patient record would always show the current list of active primary and secondary diagnoses. More or less the same as it does now. When a new visit is created, it is pre-populated with the current list of diagnoses. If during the visit that list of current diagnoses is added to, the patient object would also show the additions. However, no other visits (or other objects) are to be updated, they would still show the list in effect when they were last modified. In this way, the patient record is always up-to-date, BUT visits retain the record of what diagnoses were in effect at the time of the visit.

  5. If a diagnosis is deleted from a visit, the patient associated diagnosis would NOT be changed. The clinician would need to go to the patient record and make the deletion. (at least for v1.0 of HospitalRun)

  6. Doctors do need to be able to view the list of inactive diagnoses from the patient record, perhaps as a popup.

  7. The terminology of Admitting Diagnoses can drop. The UX/UI should simply present Primary and Secondary Diagnoses. Billing Diagnoses, seen only by Billing role, remains unchanged at this time.

@mnorbeck
Copy link
Author

@jkleinsc can you please review and critique?

@mnorbeck mnorbeck changed the title Upgrade Diagnostics Upgrade Diagnoses Nov 17, 2016
@jkleinsc jkleinsc self-assigned this Nov 17, 2016
@mnorbeck
Copy link
Author

@jkleinsc if this is good to go, do we need to label it for 1.0, and put it on the project board?

jkleinsc added a commit that referenced this issue Nov 22, 2016
Allow adding of diagnosis directly from patient.
For issue #816
@jkleinsc
Copy link
Member

jkleinsc commented Dec 5, 2016

@mnorbeck this is done in the outpatient branch.

@jkleinsc jkleinsc closed this as completed Dec 5, 2016
jkleinsc added a commit that referenced this issue Dec 27, 2016
* 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 #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 #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 #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 #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 #835

* Fixed validation when patient is already selected for checkin

* Visit checkin from appointment now updates appointment

For issue #835

* Cleaned up unused data values.

* Add reason for visit

Resolves #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 # #878

* Fixed deleting orders/sorting/filtering

Fixes #886

* Added filters to outpatient screen

Resolves #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 #895

* Normalize how checkin/admission works across the app

Resolves #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 #898

* Added create new patient checkbox for visit

Resolves #899

* Changed layout to inline search button

* Merge branch 'master' into outpatient

* Fixed diagnosis not displaying properly after update

Fixes #903

* Fix for getMinPouchId

* Added tests for outpatient.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants