diff --git a/packages/esm-patient-labs-app/src/lab-orders/add-lab-order/test-type-search.tsx b/packages/esm-patient-labs-app/src/lab-orders/add-lab-order/test-type-search.tsx index 44ce4986ef..28c002d491 100644 --- a/packages/esm-patient-labs-app/src/lab-orders/add-lab-order/test-type-search.tsx +++ b/packages/esm-patient-labs-app/src/lab-orders/add-lab-order/test-type-search.tsx @@ -146,7 +146,7 @@ const TestTypeSearchResultItem: React.FC = ({ tes const createLabOrder = useCallback( (testType: TestType) => { - return createEmptyLabOrder(testType, session.currentProvider.uuid); + return createEmptyLabOrder(testType, session.currentProvider?.uuid); }, [session.currentProvider.uuid], );