Skip to content

Commit

Permalink
change some copy
Browse files Browse the repository at this point in the history
  • Loading branch information
fzhao99 committed Oct 16, 2024
1 parent a8aff18 commit d911d19
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion query-connector/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ const CustomizeQuery: React.FC<CustomizeQueryProps> = ({
return (
<div>
<div className="padding-top-3">
<Backlink onClick={goBack} label="Return to patient search" />
<Backlink onClick={goBack} label="Return to Select query" />
</div>
<LoadingView loading={!useCaseQueryResponse} />
<h1 className="font-sans-2xl text-bold margin-top-205">
Expand Down
8 changes: 6 additions & 2 deletions query-connector/src/app/query/components/ResultsView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ import EncounterTable from "./resultsView/tableComponents/EncounterTable";
import MedicationRequestTable from "./resultsView/tableComponents/MedicationRequestTable";
import ObservationTable from "./resultsView/tableComponents/ObservationTable";
import Backlink from "./backLink/Backlink";
import { USE_CASES, UseCaseToQueryName } from "@/app/constants";
import {
USE_CASES,
UseCaseToQueryName,
demoQueryValToLabelMap,
} from "@/app/constants";

type ResultsViewProps = {
useCaseQueryResponse: UseCaseQueryResponse;
Expand Down Expand Up @@ -80,7 +84,7 @@ const ResultsView: React.FC<ResultsViewProps> = ({
<h3>
Query:{" "}
<span className="text-normal display-inline-block">
{UseCaseToQueryName[selectedQuery]}
{demoQueryValToLabelMap[selectedQuery]}
</span>
</h3>
</div>
Expand Down

0 comments on commit d911d19

Please sign in to comment.