Skip to content

Commit

Permalink
order folders
Browse files Browse the repository at this point in the history
  • Loading branch information
jabahum committed Jul 9, 2024
1 parent a9629fb commit b9cd903
Show file tree
Hide file tree
Showing 36 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
TableRow,
} from "@carbon/react";
import styles from "./approved-list.scss";
import { usePatientQueuesList } from "../tests-ordered/tests-ordered-list.resource";
import { usePatientQueuesList } from "../ordered-orders/tests-ordered-list.resource";

const ApprovedList: React.FC = () => {
const { t } = useTranslation();
Expand Down
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import rootComponent from "./root.component";
import laboratoryReferralWorkspaceComponent from "./patient-chart/laboratory-workspaces/laboratory-referral.workspace.component";
import laboratory from "./laboratory.component";
import laboratoryOrder from "./patient-chart/patient-laboratory-order-results.component";
import addToWorklist from "./tests-ordered/lab-dialogs/add-to-worklist-dialog.component";
import addToWorklist from "./ordered-orders/lab-dialogs/add-to-worklist-dialog.component";
import sendEmail from "./patient-chart/results-summary/send-email-dialog.component";
import reviewItemDialogComponent from "./review-list/dialog/review-item.component";
import reviewItemDialogComponent from "./reviewed-orders/dialog/review-item.component";
import rejectOrderDialogComponent from "./reject-order/reject-order-dialog.component";
import approvedTabComponent from "./lab-tabs/approved-tab.component";
import referredTestTabComponent from "./lab-tabs/referred-tab.component";
import worklistTabComponent from "./lab-tabs/work-list-tab.component";
import reveiwTabComponent from "./lab-tabs/review-tab.component";
import pickLabRequestButtonComponent from "./tests-ordered/pick-lab-request-menu.component";
import pickLabRequestButtonComponent from "./ordered-orders/pick-lab-request-menu.component";
import rejectOrderButtonComponent from "./order-actions/reject-order.component";
import worklistTile from "./lab-tiles/worklist-tile.component";
import referredTile from "./lab-tiles/referred-tile.component";
Expand Down
2 changes: 1 addition & 1 deletion src/lab-tabs/approved-tab.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import ApprovedList from "../approved-list/approved-list.component";
import ApprovedList from "../approved-orders/approved-list.component";

const ApprovedComponent = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/lab-tabs/review-tab.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import ReviewList from "../review-list/review-list.component";
import ReviewList from "../reviewed-orders/review-list.component";

const ReviewComponent = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/lab-tabs/work-list-tab.component.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import WorkList from "../work-list/work-list.component";
import WorkList from "../worklist-orders/work-list.component";

const WorkListComponent = () => {
return (
Expand Down
2 changes: 1 addition & 1 deletion src/lab-tiles/tests-ordered-tile.component.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { useTranslation } from "react-i18next";
import SummaryTile from "../summary-tiles/summary-tile.component";
import { useGetOrdersWorklist } from "../work-list/work-list.resource";
import { useGetOrdersWorklist } from "../worklist-orders/work-list.resource";
import { useOrderDate } from "../utils/functions";

const TestsOrderedTileComponent = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/laboratory.component.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from "react";
import { LaboratoryHeader } from "./header/laboratory-header.component";
import LaboratorySummaryTiles from "./summary-tiles/laboratory-summary-tiles.component";
import LaboratoryOrdersList from "./tests-ordered/laboratory-tabs.component";
import LaboratoryOrdersList from "./ordered-orders/laboratory-tabs.component";
import Overlay from "./components/overlay/overlay.component";

const Laboratory: React.FC = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/order-actions/reject-order.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useCallback } from "react";
import { OverflowMenuItem, OverflowMenu } from "@carbon/react";
import { useTranslation } from "react-i18next";
import { showModal } from "@openmrs/esm-framework";
import { Result } from "../work-list/work-list.resource";
import { Result } from "../worklist-orders/work-list.resource";

interface RejectOrderOverflowMenuItemProps {
order: Result;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 @@ -24,7 +24,7 @@ import {
} from "@carbon/react";
import { getStatusColor } from "../utils/functions";
import styles from "./referred-orders.scss";
import { usePatientQueuesList } from "../tests-ordered/tests-ordered-list.resource";
import { usePatientQueuesList } from "../ordered-orders/tests-ordered-list.resource";

const ReferredList: React.FC = () => {
const { t } = useTranslation();
Expand Down
2 changes: 1 addition & 1 deletion src/reject-order/reject-order-dialog.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from "@carbon/react";
import { useTranslation } from "react-i18next";
import styles from "./reject-order-dialog.scss";
import { Result } from "../work-list/work-list.resource";
import { Result } from "../worklist-orders/work-list.resource";
import { RejectOrder } from "./reject-order-dialog.resource";
import { showNotification, showSnackbar } from "@openmrs/esm-framework";
import { extractErrorMessagesFromResponse } from "../utils/functions";
Expand Down
2 changes: 1 addition & 1 deletion src/reject-order/rejected-tests-list.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import {
import { useTranslation } from "react-i18next";
import { formatDate, parseDate, usePagination } from "@openmrs/esm-framework";
import styles from "../tests-ordered/laboratory-queue.scss";
import { useGetOrdersWorklist } from "../work-list/work-list.resource";
import { useGetOrdersWorklist } from "../worklist-orders/work-list.resource";
import { useOrderDate } from "../utils/functions";

const RejectedTestsList: React.FC = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/results/result-form.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
useGetOrderConceptByUuid,
UpdateOrderResult,
} from "./result-form.resource";
import { Result } from "../work-list/work-list.resource";
import { Result } from "../worklist-orders/work-list.resource";
import ResultFormField from "./result-form-field.component";
import { useForm } from "react-hook-form";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import {
import { useGetConceptById } from "../../patient-chart/results-summary/results-summary.resource";
import { ApproverOrder } from "./review-item.resource";
import { showNotification, showSnackbar } from "@openmrs/esm-framework";
import { Result } from "../../work-list/work-list.resource";
import { Result } from "../../worklist-orders/work-list.resource";
import { extractErrorMessagesFromResponse } from "../../utils/functions";

interface ReviewItemDialogProps {
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { useMemo, useState } from "react";
import { useTranslation } from "react-i18next";
import { useGetOrdersWorklist } from "../work-list/work-list.resource";
import { useGetOrdersWorklist } from "../worklist-orders/work-list.resource";
import {
formatDate,
parseDate,
Expand All @@ -22,7 +22,7 @@ import {
import styles from "./review-list.scss";
import { getStatusColor, useOrderDate } from "../utils/functions";
import { REFERINSTRUCTIONS } from "../constants";
import { usePatientQueuesList } from "../tests-ordered/tests-ordered-list.resource";
import { usePatientQueuesList } from "../ordered-orders/tests-ordered-list.resource";

const ReviewList: React.FC = () => {
const { t } = useTranslation();
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/summary-tiles/laboratory-summary.resource.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
useConfig,
} from "@openmrs/esm-framework";

import { Result } from "../work-list/work-list.resource";
import { Result } from "../worklist-orders/work-list.resource";

export function useMetrics() {
const metrics = {
Expand Down
2 changes: 1 addition & 1 deletion src/types/patient-queues.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Concept } from "../work-list/work-list.resource";
import { Concept } from "../worklist-orders/work-list.resource";

export interface PatientQueue {
uuid: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import {
usePagination,
useSession,
} from "@openmrs/esm-framework";
import { usePatientQueuesList } from "../tests-ordered/tests-ordered-list.resource";
import { usePatientQueuesList } from "../ordered-orders/tests-ordered-list.resource";

const WorkList: React.FC = () => {
const { t } = useTranslation();
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit b9cd903

Please sign in to comment.