-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add explanationary widget to dashboard
- Loading branch information
Showing
5 changed files
with
70 additions
and
3 deletions.
There are no files selected for viewing
36 changes: 36 additions & 0 deletions
36
src/containers/PatientDetails/Dashboard/ExplanatoryTextWidget.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,36 @@ | ||
import { Trans } from '@lingui/macro'; | ||
|
||
import { Text } from '@beda.software/emr/components'; | ||
|
||
import { S } from './styles'; | ||
|
||
export function ExplanatoryTextWidget() { | ||
return ( | ||
<S.Content> | ||
<Text style={{ fontWeight: 500 }}> | ||
<Trans> | ||
With over 40,000,000 mammograms run annually in the US, there are psychological consequences of | ||
breast cancer imaging that are well documented among patients such as stress and anxiety from | ||
largely false positive or indeterminant readings by radiologists. | ||
</Trans> | ||
</Text> | ||
<br /> | ||
<br /> | ||
<Text style={{ fontWeight: 500 }}> | ||
<Trans>The research purpose of this | ||
project is to determine how we may develop Artificial Intelligence (AI) models of breast imaging | ||
that facilitate new ways of detecting and treating disease and improve patient outcomes by | ||
assembling a de-identified breast cancer radiographic imaging repository. | ||
</Trans> | ||
</Text> | ||
<br /> | ||
<br /> | ||
<Text style={{ fontWeight: 500 }}> | ||
<Trans>This project also aims to | ||
document how patients may use a trusted social health or wellness network to better understand their | ||
imaging. | ||
</Trans> | ||
</Text> | ||
</S.Content> | ||
); | ||
} |
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,11 @@ | ||
import styled from 'styled-components'; | ||
|
||
export const S = { | ||
Content: styled.div` | ||
border-radius: 10px; | ||
background-color: ${({ theme }) => theme.neutralPalette.gray_2}; | ||
color: ${({ theme }) => theme.neutralPalette.gray_13}; | ||
border: 1px solid ${({ theme }) => theme.antdTheme?.colorBorderSecondary}; | ||
padding: 10px 16px; | ||
`, | ||
}; |
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