-
Notifications
You must be signed in to change notification settings - Fork 249
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
03 1168: Add ability to cancel (void
) active visit
#608
Conversation
File size impactMerging 03-1168 into master impact files as follow: @openmrs/esm-form-entry-app (+8.03%)
@openmrs/esm-generic-patient-widgets-app (+0%)
@openmrs/esm-patient-allergies-app (+0%)
@openmrs/esm-patient-appointments-app (+0%)
@openmrs/esm-patient-attachments-app (+0%)
@openmrs/esm-patient-banner-app (no impact)
@openmrs/esm-patient-biometrics-app (+0%)
@openmrs/esm-patient-chart-app (+3.68%)
@openmrs/esm-patient-clinical-view-app (+0%)
@openmrs/esm-patient-common-lib (no impact)No file in @openmrs/esm-patient-common-lib group (see config below). {
"./packages/esm-patient-common-lib/dist/*.js": true,
"./packages/esm-patient-common-lib/dist/*.css": true,
"./packages/esm-patient-common-lib/dist/*.map": false,
"./packages/esm-patient-common-lib/dist/*.txt": false,
"./packages/esm-patient-common-lib/dist/*.json": false
} @openmrs/esm-patient-conditions-app (+0%)
@openmrs/esm-patient-forms-app (+0%)
@openmrs/esm-patient-immunizations-app (+0%)
@openmrs/esm-patient-medications-app (+0%)
@openmrs/esm-patient-notes-app (+0%)
@openmrs/esm-patient-programs-app (+0%)
@openmrs/esm-patient-test-results-app (+0%)
@openmrs/esm-patient-vitals-app (+0%)
|
@donaldkibet won't you need to write tests for the added code? |
packages/esm-patient-chart-app/src/actions-buttons/cancel-visit.component.tsx
Show resolved
Hide resolved
packages/esm-patient-chart-app/src/visit/visit-dialog.component.tsx
Outdated
Show resolved
Hide resolved
showToast: jest.fn(), | ||
showNotification: jest.fn(), | ||
updateVisit: jest.fn(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add mocks for these to core if they don't already exist
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few nits, but generally looks good!
Requirements
Summary
start-visit-form
where if the time is 12 noon, it converts the time to the next day date. e.g15-march-2022 12:03 PM
converted to `16-march-2022 00:03 AM'Screenshots
Related Issue
https://issues.openmrs.org/projects/O3/issues/O3-1168?filter=myopenissues
Other