Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jabahum committed Apr 15, 2024
1 parent 7bcd9b1 commit 3c70f58
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/lab-tiles/referred-tile.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion src/lab-tiles/worklist-tile.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/referred-orders/referred-orders.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/review-list/review-list.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ const ReviewList: React.FC<ReviewlistProps> = ({ 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];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const AddToWorklistDialog: React.FC<AddToWorklistDialogProps> = ({
specimenSourceId: specimenType,
unProcessedOrders: "",
patientQueueId: queueId,
referenceLab: extractCapitalLetters(selectedReferral),
referenceLab: extractCapitalLetters(selectedReferral).toLowerCase(),
};

UpdateOrder(order.uuid, body).then(
Expand Down
2 changes: 1 addition & 1 deletion src/work-list/work-list.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const WorkList: React.FC<WorklistProps> = ({ fulfillerStatus }) => {
item?.fulfillerStatus === "IN_PROGRESS" &&
item?.accessionNumber !== null &&
item?.dateStopped === null &&
item?.instructions !== "REFER TO CPHL"
item?.instructions !== "REFER TO cphl"
);

const {
Expand Down

0 comments on commit 3c70f58

Please sign in to comment.