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

Creating a new patient during OPD check-in, resulting visit page not quite right #836

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

Comments

@mnorbeck
Copy link

mnorbeck commented Dec 5, 2016

Expected behavior:

When checking in a new patient on the "Todays Outpatient" page, the new patient record record is to be created and a new open visit of type "clinic" is to be created. That visit looks and behaves the same as any other visit.

Actual behavior:

The resulting visit page is not titled "Edit Visit" it is titled "Patient CheckIn", and it has a "Check-in" button.

Patient is created properly, and if you navigate to the patient, the new visit is there, but it is the same as above; it does not look like a regular Edit Visit page.

Also, when creating the visit and new patient, there is a dialog pop-up message on the visit being created, but not for the patient being created.

Steps to reproduce:

  1. navigate to Patients > Outpatient
  2. Click Patient Check-in
  3. Enter a brand new patient
  4. Enter the patient data on the new patient dialog, click the add to add the new patient.

Screenshots (if applicable):

screen shot 2016-12-05 at 3 48 20 pm

OS and Browser:

OSX 10.10.5, Chrome 55.0.2883.75 (64-bit)

@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 6, 2016
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
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