From a97eb944bd22829210324ea4f243974784d1a8bb Mon Sep 17 00:00:00 2001 From: Chi Bong Ho Date: Tue, 12 Nov 2024 15:55:49 -0500 Subject: [PATCH] do not wrap obs in a disposition set --- .../cancel-admission-request.workspace.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/packages/esm-ward-app/src/ward-workspace/cancel-admission-request-workspace/cancel-admission-request.workspace.tsx b/packages/esm-ward-app/src/ward-workspace/cancel-admission-request-workspace/cancel-admission-request.workspace.tsx index 37156da8c..19665b031 100644 --- a/packages/esm-ward-app/src/ward-workspace/cancel-admission-request-workspace/cancel-admission-request.workspace.tsx +++ b/packages/esm-ward-app/src/ward-workspace/cancel-admission-request-workspace/cancel-admission-request.workspace.tsx @@ -77,12 +77,7 @@ export default function CancelAdmissionRequestWorkspace({ }, ]; - createEncounter(patient, emrConfiguration?.cancelADTRequestEncounterType, [ - { - concept: emrConfiguration?.dispositionDescriptor?.dispositionSetConcept?.uuid, - groupMembers: obs, - }, - ]) + createEncounter(patient, emrConfiguration?.cancelADTRequestEncounterType, obs) .then(() => { showSnackbar({ title: t('admissionRequestCancelled', 'Admission request cancelled.'),