-
Notifications
You must be signed in to change notification settings - Fork 248
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
O3-3660 Show trend results in a modal
- Loading branch information
1 parent
0280655
commit 53f0d0f
Showing
7 changed files
with
77 additions
and
5 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
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
27 changes: 27 additions & 0 deletions
27
packages/esm-patient-labs-app/src/test-results/panel-timeline/results-dialog.comoponent.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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from 'react'; | ||
import { ModalHeader } from '@carbon/react'; | ||
import { ModalBody } from '@carbon/react'; | ||
import Trendline from '../trendline/trendline.component'; | ||
import { basePath } from '@openmrs/esm-patient-chart-app/src/constants'; | ||
|
||
interface ResultsModalProps { | ||
closeDeleteModal: () => void; | ||
patientUuid: string; | ||
title: string; | ||
testUuid: string; | ||
range: any; | ||
units: any; | ||
} | ||
|
||
const ResultsModal: React.FC<ResultsModalProps> = ({ closeDeleteModal, patientUuid, testUuid }) => { | ||
return ( | ||
<div> | ||
<ModalHeader title="Trendline" closeModal={closeDeleteModal} /> | ||
<ModalBody> | ||
<Trendline patientUuid={patientUuid} conceptUuid={testUuid} basePath={basePath} /> | ||
</ModalBody> | ||
</div> | ||
); | ||
}; | ||
|
||
export default ResultsModal; |
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