Skip to content

Commit

Permalink
rehouse files
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed Oct 31, 2024
1 parent 545d9c1 commit bb879cb
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion query-connector/e2e/alternate_queries.spec.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { test, expect } from "@playwright/test";
import { TEST_URL } from "../playwright-setup";
import { PAGE_TITLES } from "@/app/query/stepIndicator/StepIndicator";
import { PAGE_TITLES } from "@/app/query/components/stepIndicator/StepIndicator";

import { TEST_PATIENT, TEST_PATIENT_NAME } from "./constants";

Expand Down
6 changes: 3 additions & 3 deletions query-connector/e2e/customize_query.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { test, expect } from "@playwright/test";
import { TEST_URL } from "../playwright-setup";
import { PAGE_TITLES } from "@/app/query/stepIndicator/StepIndicator";
import { PAGE_TITLES } from "@/app/query/components/stepIndicator/StepIndicator";

import { TEST_PATIENT, TEST_PATIENT_NAME } from "./constants";

Expand Down Expand Up @@ -182,8 +182,8 @@ test.describe("querying with the Query Connector", () => {
for (let i = 1; i < 6; i++) {
const row = obsRows.nth(i);
const typeText = await row.locator("td").nth(1).textContent();
const presentKey = acceptableSdohKeywords.find((key) =>
typeText?.toLowerCase().includes(key),
const presentKey = acceptableSdohKeywords.find(
(key) => typeText?.toLowerCase().includes(key),
);
expect(presentKey).toBeDefined();
expect(typeText?.includes("chlamydia")).toBeFalsy();
Expand Down
2 changes: 1 addition & 1 deletion query-connector/e2e/query_workflow.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { test, expect } from "@playwright/test";
import { TEST_URL } from "../playwright-setup";
import { PAGE_TITLES } from "@/app/query/stepIndicator/StepIndicator";
import { PAGE_TITLES } from "@/app/query/components/stepIndicator/StepIndicator";
import {
CONTACT_US_DISCLAIMER_EMAIL,
CONTACT_US_DISCLAIMER_TEXT,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import {
countDibbsConceptTypeToVsMapItems,
} from "./customizeQuery/customizeQueryUtils";
import Backlink from "./backLink/Backlink";
import { RETURN_LABEL } from "../stepIndicator/StepIndicator";
import { RETURN_LABEL } from "./stepIndicator/StepIndicator";

interface CustomizeQueryProps {
useCaseQueryResponse: UseCaseQueryResponse;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Mode } from "@/app/constants";
import Backlink from "./backLink/Backlink";
import PatientSearchResultsTable from "./patientSearchResults/PatientSearchResultsTable";
import NoPatientsFound from "./patientSearchResults/NoPatientsFound";
import { RETURN_LABEL } from "@/app/query/stepIndicator/StepIndicator";
import { RETURN_LABEL } from "@/app/query/components/stepIndicator/StepIndicator";

/**
* The props for the PatientSearchResults component.
Expand Down
2 changes: 1 addition & 1 deletion query-connector/src/app/query/components/ResultsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { USE_CASES, demoQueryValToLabelMap } from "@/app/constants";
import {
PAGE_TITLES,
RETURN_LABEL,
} from "@/app/query/stepIndicator/StepIndicator";
} from "@/app/query/components/stepIndicator/StepIndicator";

type ResultsViewProps = {
useCaseQueryResponse: UseCaseQueryResponse;
Expand Down
2 changes: 1 addition & 1 deletion query-connector/src/app/query/components/SearchForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { UseCaseQueryResponse, UseCaseQuery } from "@/app/query-service";
import { fhirServers } from "@/app/fhir-servers";
import styles from "./searchForm/searchForm.module.scss";
import { FormatPhoneAsDigits } from "@/app/format-service";
import { PAGE_TITLES } from "@/app/query/stepIndicator/StepIndicator";
import { PAGE_TITLES } from "@/app/query/components/stepIndicator/StepIndicator";

interface SearchFormProps {
useCase: USE_CASES;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
formatMRN,
formatName,
} from "@/app/format-service";
import { PAGE_TITLES } from "@/app/query/stepIndicator/StepIndicator";
import { PAGE_TITLES } from "@/app/query/components/stepIndicator/StepIndicator";

type PatientSeacrchResultsTableProps = {
patients: Patient[];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { useState } from "react";
import {
PAGE_TITLES,
RETURN_LABEL,
} from "@/app/query/stepIndicator/StepIndicator";
} from "@/app/query/components/stepIndicator/StepIndicator";

type SelectSavedQueryProps = {
selectedQuery: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@use "../../../styles/_variables" as *;
@use "../../../../styles/_variables" as *;

.container > ol {
justify-content: space-between;
Expand Down
2 changes: 1 addition & 1 deletion query-connector/src/app/query/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { ToastContainer } from "react-toastify";
import "react-toastify/dist/ReactToastify.min.css";
import StepIndicator, {
CUSTOMIZE_QUERY_STEPS,
} from "./stepIndicator/StepIndicator";
} from "./components/stepIndicator/StepIndicator";
import SiteAlert from "./designSystem/SiteAlert";
import { Patient } from "fhir/r4";

Expand Down

0 comments on commit bb879cb

Please sign in to comment.