@careevolution/mydatahelps-ui 2.23.1-HackDocs.1 → 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.map +1 -1
- package/dist/cjs/types/components/container/AllergiesList/AllergiesList.d.ts +3 -5
- package/dist/cjs/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +5 -4
- 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/SeverityCalendar/SeverityCalendar.d.ts +8 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/AllergiesList/AllergiesList.d.ts +3 -5
- package/dist/esm/types/components/container/BloodPressureVisualization/BloodPressureVisualization.d.ts +5 -4
- 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/SeverityCalendar/SeverityCalendar.d.ts +8 -0
- package/dist/index.d.ts +41 -9
- package/package.json +1 -1
|
@@ -5,11 +5,9 @@ export interface AllergiesListProps {
|
|
|
5
5
|
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
6
6
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
7
7
|
}
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @component
|
|
11
|
-
* @param {AllergiesListProps} properties for the component
|
|
12
|
-
* @returns {JSX.Element}
|
|
8
|
+
/** Allergy List. Displays a list of participant allergies derived from EHR Data
|
|
13
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
|
|
14
12
|
*/
|
|
15
13
|
export default function AllergiesList(props: AllergiesListProps): React.JSX.Element;
|
|
@@ -10,11 +10,12 @@ export interface BloodPressureVisualizationProps {
|
|
|
10
10
|
deviceDataSource?: BloodPressureDeviceDataSource[];
|
|
11
11
|
innerRef?: React.Ref<HTMLDivElement>;
|
|
12
12
|
}
|
|
13
|
-
/** Blood Pressure Visualization. Displays daily systolic and diastolic blood pressure readings in a dumbbell chart
|
|
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
14
|
*
|
|
15
|
-
* @component
|
|
16
|
-
* @param {
|
|
17
|
-
* @
|
|
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
|
|
18
19
|
*
|
|
19
20
|
*/
|
|
20
21
|
export default function BloodPressureVisualization(props: BloodPressureVisualizationProps): React.JSX.Element;
|
|
@@ -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;
|
|
@@ -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;
|
package/dist/index.d.ts
CHANGED
|
@@ -894,12 +894,10 @@ interface AllergiesListProps {
|
|
|
894
894
|
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
895
895
|
innerRef?: React$1.Ref<HTMLDivElement>;
|
|
896
896
|
}
|
|
897
|
-
/**
|
|
898
|
-
*
|
|
899
|
-
* @component
|
|
900
|
-
* @param {AllergiesListProps} properties for the component
|
|
901
|
-
* @returns {JSX.Element}
|
|
897
|
+
/** Allergy List. Displays a list of participant allergies derived from EHR Data
|
|
902
898
|
*
|
|
899
|
+
* @param {AllergiesListProps} props - Property object for the component.
|
|
900
|
+
* @param {event} props.onViewTermInfo - A function that is called when the user clicks on the term information
|
|
903
901
|
*/
|
|
904
902
|
declare function AllergiesList(props: AllergiesListProps): React$1.JSX.Element;
|
|
905
903
|
|
|
@@ -935,11 +933,12 @@ interface BloodPressureVisualizationProps {
|
|
|
935
933
|
deviceDataSource?: BloodPressureDeviceDataSource[];
|
|
936
934
|
innerRef?: React$1.Ref<HTMLDivElement>;
|
|
937
935
|
}
|
|
938
|
-
/** Blood Pressure Visualization. Displays daily systolic and diastolic blood pressure readings in a dumbbell chart
|
|
936
|
+
/** 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.
|
|
939
937
|
*
|
|
940
|
-
* @component
|
|
941
|
-
* @param {
|
|
942
|
-
* @
|
|
938
|
+
* @param {BloodPressureVisualizationProps} props - Property object for the component. Configure to use survey and/or device data
|
|
939
|
+
* @param {string} props.surveyDataSource - The survey that is the source of data. Required fields are surveyName, dateResultIdentifier, systolicResultIdentifier, and diastolicResultIdentifier
|
|
940
|
+
* @param {string} props.weekStartsOn - The weekday name that the chart should start on. Default is Monday
|
|
941
|
+
* @param {string} props.deviceDataSource - An array of supported devices. AppleHealth, GoogleFit, and Omron are supported
|
|
943
942
|
*
|
|
944
943
|
*/
|
|
945
944
|
declare function BloodPressureVisualization(props: BloodPressureVisualizationProps): React$1.JSX.Element;
|
|
@@ -949,6 +948,11 @@ interface ConditionsListProps {
|
|
|
949
948
|
onViewTermInfo(termInfo: TermInformationReference): void;
|
|
950
949
|
innerRef?: React$1.Ref<HTMLDivElement>;
|
|
951
950
|
}
|
|
951
|
+
/** Conditions List. Displays a list of participant conditions derived from EHR Data
|
|
952
|
+
*
|
|
953
|
+
* @param {ConditionsListProps} props - Property object for the component. Configure to use survey and/or device data
|
|
954
|
+
* @param {event} props.onViewTermInfo - A function that is called when the user clicks on the condition
|
|
955
|
+
*/
|
|
952
956
|
declare function export_default$1s(props: ConditionsListProps): React$1.JSX.Element;
|
|
953
957
|
|
|
954
958
|
type DeviceAccountType = "Fitbit" | "Garmin" | "AppleHealth" | "GoogleFit" | "Omron";
|
|
@@ -961,6 +965,14 @@ interface ConnectDevicesMenuProps {
|
|
|
961
965
|
headerVariant?: "large" | "medium";
|
|
962
966
|
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
963
967
|
}
|
|
968
|
+
/** Connect Devices Menu. Allows the user to establish connections for sharing data from wearables, apps, and other devices.
|
|
969
|
+
*
|
|
970
|
+
* @param {ConnectDevicesMenuProps} props - Property object for the component.
|
|
971
|
+
* @param {string[]} props.accountTypes - One or more of the following account types. Fitbit, Garmin, AppleHealth, GoogleFit, "Omron
|
|
972
|
+
* @param {string} props.title - A title for the component
|
|
973
|
+
* @param {string} props.text - Text that shows under the title
|
|
974
|
+
* @param {string} props.headerVariant - The size of the title. "large" or "medium"
|
|
975
|
+
*/
|
|
964
976
|
declare function export_default$1r(props: ConnectDevicesMenuProps): React$1.JSX.Element | null;
|
|
965
977
|
|
|
966
978
|
interface ConnectEhrProps {
|
|
@@ -978,6 +990,18 @@ interface ConnectEhrProps {
|
|
|
978
990
|
onClick?: () => void;
|
|
979
991
|
}
|
|
980
992
|
type ConnectEhrPreviewState = "notEnabled" | "enabled" | "enabledConnected" | "enabledNeedsAttention";
|
|
993
|
+
/** Connect EHR Menu. Allows the user to establish connections to their EHR.
|
|
994
|
+
*
|
|
995
|
+
* @param {ConnectEhrProps} props - Property object for the component.
|
|
996
|
+
* @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
|
|
997
|
+
* @param {event} props.onClick - A custom onClick event for the Connect Provider button. Use as an alternative to applicationUrl
|
|
998
|
+
* @param {string} props.disabledBehavior - Use 'hide' or 'displayError' to determine how the component behaves when EHR is not enabled
|
|
999
|
+
* @param {string} props.title - Text to show as the Title of the component
|
|
1000
|
+
* @param {string} props.variant - The size of the presentation. 'large' | 'medium' | 'small'
|
|
1001
|
+
* @param {string} props.notConnectedText - Customize the text displayed when the user is not connected to an EHR
|
|
1002
|
+
* @param {string} props.connectedText - Customize the text displayed when the user is connected to an EHR
|
|
1003
|
+
* @param {boolean} props.hideWhenConnected - Boolean value. Hides the component when the state is connected
|
|
1004
|
+
*/
|
|
981
1005
|
declare function export_default$1q(props: ConnectEhrProps): React$1.JSX.Element | null;
|
|
982
1006
|
|
|
983
1007
|
interface ConnectFitbitProps {
|
|
@@ -1461,6 +1485,14 @@ interface SeverityCalendarProps {
|
|
|
1461
1485
|
previewState?: SeverityCalendarPreviewState;
|
|
1462
1486
|
innerRef?: React$1.Ref<HTMLDivElement>;
|
|
1463
1487
|
}
|
|
1488
|
+
/** Severity Calendar. A calendar that color codes a survey step response to reflects Mild/Moderate/Severe.
|
|
1489
|
+
*
|
|
1490
|
+
* @param {SeverityCalendarProps} props - Property object for the component.
|
|
1491
|
+
* @param {string} props.surveyName - The name of the survey
|
|
1492
|
+
* @param {string} props.dateRecordedResultIdentifier - The identifier for the date recorded result. If not provided, the date the survey was submitted will be used.
|
|
1493
|
+
* @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.
|
|
1494
|
+
* @param {date} props.intervalStart - The start date for the calendar. If used with a DateRangeCoordinator, this value can be left undefined.
|
|
1495
|
+
*/
|
|
1464
1496
|
declare function export_default$Y(props: SeverityCalendarProps): React$1.JSX.Element;
|
|
1465
1497
|
|
|
1466
1498
|
interface ViewEhrProps {
|