Skip to content

Commit

Permalink
Add prescription request key in patient summary fragment result listener
Browse files Browse the repository at this point in the history
  • Loading branch information
msasikanth committed Jun 10, 2024
1 parent 8f05acc commit 3c591c3
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,12 @@ class PatientSummaryScreen :

override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setFragmentResultListener(ScreenRequest.ScheduleAppointmentSheet, ScreenRequest.SelectFacility, ScreenRequest.ReassignPatientWarningSheet) { requestKey, result ->
setFragmentResultListener(
ScreenRequest.ScheduleAppointmentSheet,
ScreenRequest.SelectFacility,
ScreenRequest.ReassignPatientWarningSheet,
DrugSummaryView.PrescriptionsRequest
) { requestKey, result ->
if (result is Succeeded) {
handleScreenResult(requestKey, result)
}
Expand Down

0 comments on commit 3c591c3

Please sign in to comment.