diff --git a/src/lab-tiles/referred-tile.component.tsx b/src/lab-tiles/referred-tile.component.tsx index 1bf90f3..d0b2bea 100644 --- a/src/lab-tiles/referred-tile.component.tsx +++ b/src/lab-tiles/referred-tile.component.tsx @@ -13,7 +13,7 @@ const ReferredTileComponent = () => { item?.fulfillerStatus === "IN_PROGRESS" && item?.accessionNumber !== null && item?.dateStopped === null && - item?.instructions === "REFER TO CPHL" + item?.instructions === "REFER TO cphl" ); return ( diff --git a/src/lab-tiles/worklist-tile.component.tsx b/src/lab-tiles/worklist-tile.component.tsx index 68c4d86..fdb8ee4 100644 --- a/src/lab-tiles/worklist-tile.component.tsx +++ b/src/lab-tiles/worklist-tile.component.tsx @@ -13,7 +13,7 @@ const WorklistTileComponent = () => { item?.fulfillerStatus === "IN_PROGRESS" && item?.accessionNumber !== null && item?.dateStopped === null && - item?.instructions !== "REFER TO CPHL" + item?.instructions !== "REFER TO cphl" ); return ( diff --git a/src/patient-chart/laboratory-order-referals/laboratory-order-referals.component.tsx b/src/patient-chart/laboratory-order-referals/laboratory-order-referals.component.tsx index 17dd000..3a4b2b0 100644 --- a/src/patient-chart/laboratory-order-referals/laboratory-order-referals.component.tsx +++ b/src/patient-chart/laboratory-order-referals/laboratory-order-referals.component.tsx @@ -118,7 +118,7 @@ const LaboratoryOrderReferalResults: React.FC< (item) => (item?.encounterType?.uuid === laboratoryEncounterTypeUuid || item?.encounterType?.uuid === artCardEncounterTypeUuid) && - item?.orders?.filter((item) => item?.instructions === "REFER TO CPHL") + item?.orders?.filter((item) => item?.instructions === "REFER TO cphl") ) ?.sort((a, b) => { const dateA = new Date(a.encounterDatetime); diff --git a/src/referred-orders/referred-orders.component.tsx b/src/referred-orders/referred-orders.component.tsx index b3a08cf..3e36c8b 100644 --- a/src/referred-orders/referred-orders.component.tsx +++ b/src/referred-orders/referred-orders.component.tsx @@ -40,7 +40,7 @@ const ReferredOrdersList: React.FC = () => { item?.fulfillerStatus === "IN_PROGRESS" && item?.accessionNumber !== null && item?.dateStopped === null && - item?.instructions === "REFER TO CPHL" + item?.instructions === "REFER TO cphl" ); const { diff --git a/src/review-list/review-list.component.tsx b/src/review-list/review-list.component.tsx index c3ecacd..08f56a3 100644 --- a/src/review-list/review-list.component.tsx +++ b/src/review-list/review-list.component.tsx @@ -74,7 +74,7 @@ const ReviewList: React.FC = ({ fulfillerStatus }) => { item?.action === "REVISE" && item?.fulfillerStatus === "IN_PROGRESS" && item?.dateStopped !== null && - item?.instructions !== "REFER TO CPHL" + item?.instructions !== "REFER TO cphl" ); const pageSizes = [10, 20, 30, 40, 50]; diff --git a/src/tests-ordered/lab-dialogs/add-to-worklist-dialog.component.tsx b/src/tests-ordered/lab-dialogs/add-to-worklist-dialog.component.tsx index a7a052b..715570e 100644 --- a/src/tests-ordered/lab-dialogs/add-to-worklist-dialog.component.tsx +++ b/src/tests-ordered/lab-dialogs/add-to-worklist-dialog.component.tsx @@ -68,7 +68,7 @@ const AddToWorklistDialog: React.FC = ({ specimenSourceId: specimenType, unProcessedOrders: "", patientQueueId: queueId, - referenceLab: extractCapitalLetters(selectedReferral), + referenceLab: extractCapitalLetters(selectedReferral).toLowerCase(), }; UpdateOrder(order.uuid, body).then( diff --git a/src/work-list/work-list.component.tsx b/src/work-list/work-list.component.tsx index 52e1366..e2cd72e 100644 --- a/src/work-list/work-list.component.tsx +++ b/src/work-list/work-list.component.tsx @@ -64,7 +64,7 @@ const WorkList: React.FC = ({ fulfillerStatus }) => { item?.fulfillerStatus === "IN_PROGRESS" && item?.accessionNumber !== null && item?.dateStopped === null && - item?.instructions !== "REFER TO CPHL" + item?.instructions !== "REFER TO cphl" ); const {