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

Appointment to visit workflow (OPD) - fulfill appointment, field changes #835

Closed
mnorbeck opened this issue Dec 5, 2016 · 1 comment
Closed
Assignees

Comments

@mnorbeck
Copy link

mnorbeck commented Dec 5, 2016

Expected behavior:

  1. On any appointment listing page, change the button on the appointment line from "Add Visit" to "Check-in".
  2. After pressing "Check-in", on the resulting New Visit page, the final/billing diagnosis field can be dropped from that page.
  3. Instead add a new field "Reason for visit". Short text box. Optional.
  4. After clicking add on the New Visit page
    4.1 Return to the Appointments listing page whence you came.
    4.2 Update the corresponding Appointment to Status = Attended. i.e. the appointment was fulfilled, and now an open visit is active.
    4.3 The visit should have the Appointment flag set to "y"

Actual behavior:

  1. appointment is not updated, and you can repeatedly "Add visits", which does not needed.
  2. the resulting new visit does not have the "Appointment" flag set to "y"

** steps to reproduce: **

  1. Create an appointment for a patient, for today, type clinic, save it.
  2. Navigate to the Todays or This Week appointments listing page.
  3. Click on the "Add visit"
  4. Click on the "Add"
@mnorbeck
Copy link
Author

mnorbeck commented Dec 5, 2016

@jkleinsc

@jkleinsc jkleinsc self-assigned this Dec 6, 2016
jkleinsc added a commit that referenced this issue Dec 9, 2016
jkleinsc added a commit that referenced this issue Dec 14, 2016
jkleinsc added a commit that referenced this issue Dec 14, 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