-
Notifications
You must be signed in to change notification settings - Fork 230
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
(feat) O3-4194 Ward App - add ability to cancel pending admit / trans… #1368
Conversation
Size Change: +419 B (+0.01%) Total Size: 6.67 MB ℹ️ View Unchanged
|
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.
Generally looks good @chibongho but see my comment about the structure of the deny admission obs... it's just a stand-alone question and answer, not a disposition.
|
||
createEncounter(patient, emrConfiguration?.cancelADTRequestEncounterType, [ | ||
{ | ||
concept: emrConfiguration?.dispositionDescriptor?.dispositionSetConcept?.uuid, |
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.
This actually doesn't belong with an disposition set. The obs can just be stored directly on on the encounter.
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.
Wait... I think that's what I'm doing? This array is an array of obs for the encounter.
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.
nvm... I think I know what you mean now. It should be just obs
instead.
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.
Just a couple of thoughts
...-app/src/ward-workspace/cancel-admission-request-workspace/cancel-admission-request.test.tsx
Outdated
Show resolved
Hide resolved
packages/esm-ward-app/src/ward-patient-card/row-elements/ward-patient-pending-transfer.tsx
Outdated
Show resolved
Hide resolved
…est-workspace/cancel-admission-request.test.tsx Co-authored-by: Dennis Kigen <[email protected]>
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.
LGTM, but I defer to @mogoodrich on the deny admission obs stuff.
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.
I didn't re-review the whole thing, but the change I commented on now looks correct, thanks!
}, | ||
]; | ||
|
||
createEncounter(patient, emrConfiguration?.cancelADTRequestEncounterType, obs) |
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.
Yep, exactly!
…fer requests
Requirements
Summary
This PR adds the ability for us to cancel pending admit or transfer requests of a patient.
Screenshots
Related Issue
https://openmrs.atlassian.net/browse/O3-4194
Other