diff --git a/src/index.ts b/src/index.ts index d945f18f..98df9a0b 100644 --- a/src/index.ts +++ b/src/index.ts @@ -172,3 +172,8 @@ export const indexCaseTestingMenu = getSyncLifecycle( }), options ); +export const indexCaseTestingChart = getAsyncLifecycle( + () => + import("./pages/ict/ict.component"), + options +); diff --git a/src/pages/ict/ict.component.tsx b/src/pages/ict/ict.component.tsx new file mode 100644 index 00000000..cff43a82 --- /dev/null +++ b/src/pages/ict/ict.component.tsx @@ -0,0 +1,29 @@ +/* eslint-disable prettier/prettier */ +import { Tab, Tabs, TabList, TabPanels, TabPanel } from "@carbon/react"; +import React from "react"; +import styles from "../program-management/program-management.scss"; +import ICTGeneral from "./tabs/ict-general.component"; +import IndexContactFollowup from "./tabs/index-contact-followup.component"; + +const ICT: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { + return ( +
+ + + HEI Enrollment + HEI Followup + + + + + + + + + + +
+ ); +}; + +export default ICT; diff --git a/src/pages/ict/tabs/ict-general.component.tsx b/src/pages/ict/tabs/ict-general.component.tsx new file mode 100644 index 00000000..f647a2bc --- /dev/null +++ b/src/pages/ict/tabs/ict-general.component.tsx @@ -0,0 +1,13 @@ +/* eslint-disable prettier/prettier */ +import React from "react"; +import { EmptyStateComingSoon } from "@ohri/openmrs-esm-ohri-commons-lib"; + +const ICTGeneral: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { + const pageTitle = "ICT Summary"; + + return ( + + ); +}; + +export default ICTGeneral; diff --git a/src/pages/ict/tabs/index-contact-followup.component.tsx b/src/pages/ict/tabs/index-contact-followup.component.tsx new file mode 100644 index 00000000..085127bf --- /dev/null +++ b/src/pages/ict/tabs/index-contact-followup.component.tsx @@ -0,0 +1,13 @@ +/* eslint-disable prettier/prettier */ +import React from "react"; +import { EmptyStateComingSoon } from "@ohri/openmrs-esm-ohri-commons-lib"; + +const IndexContactFollowup: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { + const pageTitle = "ICT Summary"; + + return ( + + ); +}; + +export default IndexContactFollowup; diff --git a/src/routes.json b/src/routes.json index 36286257..d3749081 100644 --- a/src/routes.json +++ b/src/routes.json @@ -180,6 +180,11 @@ "path": "index-case-testing", "columns": 1 } + }, + { + "name": "index-case-testing-ext", + "slot": "index-case-testing-slot", + "component": "indexCaseTestingChart" } ] } \ No newline at end of file