-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add lab results to lab results encounter #77
base: main
Are you sure you want to change the base?
Conversation
obsPayload: any, | ||
orderPayload: any, | ||
encounterPostData: any | ||
) { | ||
const abortController = new AbortController(); | ||
|
||
const patientVisits = await openmrsFetch( |
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.
Instead of fetching all visits and looping through them, it is possible to use the order's encounter and fetch the associated visit?
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 couldn't figure out a way to do that unfortunately.
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.
@CynthiaKamau @arodidev could you be of assistance to @reagan-meant
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.
@reagan-meant It should just be: encounters/${encounter.uuid}?v=custom:(visit:(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.
I couldn't figure out a way to do that unfortunately.
Perhaps you can try exploring that through custom representation
Also kindly address the conflicts
@reagan-meant For all changes, we must have a conventional commit (fix / feat / BREAKING / etc.) and a ticket. |
Requirements
Summary
https://openmrs.atlassian.net/browse/O3-3565
Screenshots
Related Issue
Other