generated from openmrs/openmrs-esm-template-app
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat) adding PMTCT menus for mother and child
- Loading branch information
Showing
9 changed files
with
94 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 7 additions & 7 deletions
14
src/pages/pmtct/pmtct.component.tsx → ...ges/pmtct/child/pmtct-child.component.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
/* 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 PMTCTRegistrationEncounterList from "../child/tabs/pmtct-child-registration.component"; | ||
import PMTCTImmunizationEncounterList from "../child/tabs/pmtct-child-immunization.component"; | ||
import PMTCTFollowupEncounterList from "../child/tabs/pmtct-child-followup.component"; | ||
|
||
const ChildHealth: React.FC<{ patientUuid: string }> = ({ patientUuid }) => { | ||
return ( | ||
<div className={styles.tabContainer}> | ||
<Tabs> | ||
<TabList contained aria-label={""}> | ||
<Tab>Mother's Initial Registration</Tab> | ||
<Tab>Mother's Followup</Tab> | ||
<Tab>Mother's Discharge Information</Tab> | ||
</TabList> | ||
<TabPanels> | ||
<TabPanel> | ||
<PMTCTRegistrationEncounterList patientUuid={patientUuid} /> | ||
</TabPanel> | ||
<TabPanel> | ||
<PMTCTImmunizationEncounterList patientUuid={patientUuid} /> | ||
</TabPanel> | ||
<TabPanel> | ||
<PMTCTFollowupEncounterList patientUuid={patientUuid} /> | ||
</TabPanel> | ||
</TabPanels> | ||
</Tabs> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ChildHealth; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters