@careevolution/mydatahelps-ui 2.23.1-HackDocs.0 → 2.23.1-HackDocs.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/AllergiesList/AllergiesList.d.ts +6 -1
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +9 -1
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +1 -0
- package/dist/cjs/types/components/container/ConditionsList/ConditionsList.d.ts +5 -0
- package/dist/cjs/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.d.ts +8 -0
- package/dist/cjs/types/components/container/ConnectEhr/ConnectEhr.d.ts +12 -0
- package/dist/cjs/types/components/container/NotificationList/NotificationList.d.ts +1 -14
- package/dist/cjs/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +8 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/AllergiesList/AllergiesList.d.ts +6 -1
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +9 -1
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.stories.d.ts +1 -0
- package/dist/esm/types/components/container/ConditionsList/ConditionsList.d.ts +5 -0
- package/dist/esm/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.d.ts +8 -0
- package/dist/esm/types/components/container/ConnectEhr/ConnectEhr.d.ts +12 -0
- package/dist/esm/types/components/container/NotificationList/NotificationList.d.ts +1 -14
- package/dist/esm/types/components/container/SeverityCalendar/SeverityCalendar.d.ts +8 -0
- package/dist/index.d.ts +114 -80
- package/package.json +1 -1
|
@@ -5,4 +5,9 @@ export interface AllergiesListProps {
|
|
|
5
5
|
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
6
6
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
7
|
}
|
|
8
|
-
|
|
8
|
+
/** Allergy List. Displays a list of participant allergies derived from EHR Data
|
|
9
|
+
*
|
|
10
|
+
* @param {AllergiesListProps} props - Property object for the component.
|
|
11
|
+
* @param {event} props.onViewTermInfo - A function that is called when the user clicks on the term information
|
|
12
|
+
*/
|
|
13
|
+
export default function AllergiesList(props: AllergiesListProps): React.JSX.Element;
|
|
@@ -10,4 +10,12 @@ export interface BloodPressureVisualizationProps {
|
|
|
10
10
|
deviceDataSource?: BloodPressureDeviceDataSource[];
|
|
11
11
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
12
12
|
}
|
|
13
|
-
|
|
13
|
+
/** Blood Pressure Visualization. Displays daily systolic and diastolic blood pressure readings in a dumbbell chart. Most ofen used with a DateRangeCoordinator to navigate through time.
|
|
14
|
+
*
|
|
15
|
+
* @param {BloodPressureVisualizationProps} props - Property object for the component. Configure to use survey and/or device data
|
|
16
|
+
* @param {string} props.surveyDataSource - The survey that is the source of data. Required fields are surveyName, dateResultIdentifier, systolicResultIdentifier, and diastolicResultIdentifier
|
|
17
|
+
* @param {string} props.weekStartsOn - The weekday name that the chart should start on. Default is Monday
|
|
18
|
+
* @param {string} props.deviceDataSource - An array of supported devices. AppleHealth, GoogleFit, and Omron are supported
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
export default function BloodPressureVisualization(props: BloodPressureVisualizationProps): React.JSX.Element;
|
|
@@ -3,6 +3,7 @@ import BloodPressureVisualization, { BloodPressureVisualizationProps } from "./B
|
|
|
3
3
|
import { SurveyBloodPressureDataParameters } from "../../../helpers/blood-pressure-data-providers/survey-blood-pressure-data-provider";
|
|
4
4
|
declare const _default: {
|
|
5
5
|
title: string;
|
|
6
|
+
tags: string[];
|
|
6
7
|
component: typeof BloodPressureVisualization;
|
|
7
8
|
parameters: {
|
|
8
9
|
layout: string;
|
|
@@ -5,4 +5,9 @@ export interface ConditionsListProps {
|
|
|
5
5
|
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
6
6
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
7
|
}
|
|
8
|
+
/** Conditions List. Displays a list of participant conditions derived from EHR Data
|
|
9
|
+
*
|
|
10
|
+
* @param {ConditionsListProps} props - Property object for the component. Configure to use survey and/or device data
|
|
11
|
+
* @param {event} props.onViewTermInfo - A function that is called when the user clicks on the condition
|
|
12
|
+
*/
|
|
8
13
|
export default function (props: ConditionsListProps): React.JSX.Element;
|
|
@@ -11,4 +11,12 @@ export interface ConnectDevicesMenuProps {
|
|
|
11
11
|
headerVariant?: "large" | "medium";
|
|
12
12
|
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
13
13
|
}
|
|
14
|
+
/** Connect Devices Menu. Allows the user to establish connections for sharing data from wearables, apps, and other devices.
|
|
15
|
+
*
|
|
16
|
+
* @param {ConnectDevicesMenuProps} props - Property object for the component.
|
|
17
|
+
* @param {string[]} props.accountTypes - One or more of the following account types. Fitbit, Garmin, AppleHealth, GoogleFit, "Omron
|
|
18
|
+
* @param {string} props.title - A title for the component
|
|
19
|
+
* @param {string} props.text - Text that shows under the title
|
|
20
|
+
* @param {string} props.headerVariant - The size of the title. "large" or "medium"
|
|
21
|
+
*/
|
|
14
22
|
export default function (props: ConnectDevicesMenuProps): React.JSX.Element | null;
|
|
@@ -17,4 +17,16 @@ export interface ConnectEhrProps {
|
|
|
17
17
|
onClick?: () => void;
|
|
18
18
|
}
|
|
19
19
|
export type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
20
|
+
/** Connect EHR Menu. Allows the user to establish connections to their EHR.
|
|
21
|
+
*
|
|
22
|
+
* @param {ConnectEhrProps} props - Property object for the component.
|
|
23
|
+
* @param {string} props.applicationUrl - The url that the user will be directed to when they click the Connect Provider button. Use as an alternative to onClick
|
|
24
|
+
* @param {event} props.onClick - A custom onClick event for the Connect Provider button. Use as an alternative to applicationUrl
|
|
25
|
+
* @param {string} props.disabledBehavior - Use 'hide' or 'displayError' to determine how the component behaves when EHR is not enabled
|
|
26
|
+
* @param {string} props.title - Text to show as the Title of the component
|
|
27
|
+
* @param {string} props.variant - The size of the presentation. 'large' | 'medium' | 'small'
|
|
28
|
+
* @param {string} props.notConnectedText - Customize the text displayed when the user is not connected to an EHR
|
|
29
|
+
* @param {string} props.connectedText - Customize the text displayed when the user is connected to an EHR
|
|
30
|
+
* @param {boolean} props.hideWhenConnected - Boolean value. Hides the component when the state is connected
|
|
31
|
+
*/
|
|
20
32
|
export default function (props: ConnectEhrProps): React.JSX.Element | null;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { NotificationType } from "@careevolution/mydatahelps-js";
|
|
3
|
-
import PropTypes from 'prop-types';
|
|
4
3
|
export interface NotificationListProps {
|
|
5
4
|
notificationType?: NotificationType;
|
|
6
5
|
previewState?: NotificationListPreviewState;
|
|
@@ -15,16 +14,4 @@ export type NotificationListPreviewState = "Default" | "NoData";
|
|
|
15
14
|
* @param {React.Ref<HTMLDivElement>} props.innerRef - Reference to the div element
|
|
16
15
|
*
|
|
17
16
|
*/
|
|
18
|
-
|
|
19
|
-
(props: NotificationListProps): React.JSX.Element;
|
|
20
|
-
propTypes: {
|
|
21
|
-
/**
|
|
22
|
-
* Type of notification to filter by. Leave undefined to show all notifications
|
|
23
|
-
*/
|
|
24
|
-
NotificationType: PropTypes.Validator<string>;
|
|
25
|
-
};
|
|
26
|
-
defaultProps: {
|
|
27
|
-
NotificationType: undefined;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
export default NotificationList;
|
|
17
|
+
export default function NotificationList(props: NotificationListProps): React.JSX.Element;
|
|
@@ -9,4 +9,12 @@ export interface SeverityCalendarProps {
|
|
|
9
9
|
previewState?: SeverityCalendarPreviewState;
|
|
10
10
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
11
11
|
}
|
|
12
|
+
/** Severity Calendar. A calendar that color codes a survey step response to reflects Mild/Moderate/Severe.
|
|
13
|
+
*
|
|
14
|
+
* @param {SeverityCalendarProps} props - Property object for the component.
|
|
15
|
+
* @param {string} props.surveyName - The name of the survey
|
|
16
|
+
* @param {string} props.dateRecordedResultIdentifier - The identifier for the date recorded result. If not provided, the date the survey was submitted will be used.
|
|
17
|
+
* @param {string} props.severityResultIdentifier - The identifier for the result that contains the severity value. Defaults are Mild, Moderate, Severe though any values can be mapped to these categories.
|
|
18
|
+
* @param {date} props.intervalStart - The start date for the calendar. If used with a DateRangeCoordinator, this value can be left undefined.
|
|
19
|
+
*/
|
|
12
20
|
export default function (props: SeverityCalendarProps): React.JSX.Element;
|