diff --git a/packages/esm-patient-chart-app/src/visit/visit-form/visit-form.component.tsx b/packages/esm-patient-chart-app/src/visit/visit-form/visit-form.component.tsx index a6d9ef3ea..1e6788a32 100644 --- a/packages/esm-patient-chart-app/src/visit/visit-form/visit-form.component.tsx +++ b/packages/esm-patient-chart-app/src/visit/visit-form/visit-form.component.tsx @@ -464,7 +464,7 @@ const StartVisitForm: React.FC = ({ .subscribe({ next: (response) => { if (response.status === 201) { - if (config.showServiceQueueFields) { + if (config.showServiceQueueFields && queueLocation && service && priority) { // retrieve values from the queue extension setVisitUuid(response.data.uuid); @@ -823,10 +823,9 @@ const StartVisitForm: React.FC = ({