-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
89ed2f2
commit 7560749
Showing
4 changed files
with
20 additions
and
8 deletions.
There are no files selected for viewing
10 changes: 8 additions & 2 deletions
10
packages/esm-tb-app/src/tb/program-management/tb-program-management.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
import React from 'react'; | ||
import { TabsComponent } from '@ohri/openmrs-esm-ohri-commons-lib'; | ||
import { EncounterListTabsComponent } from '@ohri/openmrs-esm-ohri-commons-lib'; | ||
import { useConfig } from '@openmrs/esm-framework'; | ||
import { type PatientChartProps } from '@ohri/openmrs-esm-ohri-commons-lib'; | ||
import tptProgramManagemetConfigSchema from './tb-program-management-config.json'; | ||
|
||
const ProgramManagementSummary: React.FC<PatientChartProps> = ({ patientUuid }) => { | ||
const config = useConfig(); | ||
|
||
return <TabsComponent patientUuid={patientUuid} configSchema={tptProgramManagemetConfigSchema} config={config} />; | ||
return ( | ||
<EncounterListTabsComponent | ||
patientUuid={patientUuid} | ||
configSchema={tptProgramManagemetConfigSchema} | ||
config={config} | ||
/> | ||
); | ||
}; | ||
|
||
export default ProgramManagementSummary; |
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