@careevolution/mydatahelps-ui 2.16.0 → 2.16.1-StandaloneHW.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.
Files changed (130) hide show
  1. package/dist/cjs/index.js +9 -9
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/container/AllergiesList/AllergiesList.d.ts +2 -2
  4. package/dist/cjs/types/components/container/AllergiesList/AllergiesList.stories.d.ts +3 -3
  5. package/dist/cjs/types/components/container/ConditionsList/ConditionsList.d.ts +2 -2
  6. package/dist/cjs/types/components/container/ConditionsList/ConditionsList.stories.d.ts +3 -3
  7. package/dist/cjs/types/components/container/ConnectDevice/ConnectDevice.d.ts +2 -1
  8. package/dist/cjs/types/components/container/ConnectFitbit/ConnectFitbit.d.ts +2 -1
  9. package/dist/cjs/types/components/container/ConnectGarmin/ConnectGarmin.d.ts +2 -1
  10. package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.d.ts +10 -3
  11. package/dist/cjs/types/components/container/DailyDataChart/DailyDataChart.stories.d.ts +20 -0
  12. package/dist/cjs/types/components/container/DailyDataChart/index.d.ts +1 -1
  13. package/dist/cjs/types/components/container/EhrNewsFeed/EhrNewsFeed.d.ts +15 -0
  14. package/dist/cjs/types/components/container/EhrNewsFeed/EhrNewsFeed.stories.d.ts +62 -0
  15. package/dist/cjs/types/components/container/EhrNewsFeed/index.d.ts +1 -0
  16. package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.d.ts +11 -0
  17. package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.stories.d.ts +34 -0
  18. package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/index.d.ts +1 -0
  19. package/dist/cjs/types/components/container/ExternalAccountList/ExternalAccountList.d.ts +3 -3
  20. package/dist/cjs/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.d.ts +1 -0
  21. package/dist/cjs/types/components/container/ExternalAccountsPreview/ExternalAccountsPreview.d.ts +2 -1
  22. package/dist/cjs/types/components/container/LabResultsSummary/LabResultsSummary.d.ts +2 -2
  23. package/dist/cjs/types/components/container/MedicationsList/MedicationsList.d.ts +2 -2
  24. package/dist/cjs/types/components/container/MedicationsList/MedicationsList.stories.d.ts +3 -3
  25. package/dist/cjs/types/components/container/ProviderSearch/ProviderSearch.d.ts +2 -1
  26. package/dist/cjs/types/components/container/TermInformation/TermInformation.d.ts +15 -0
  27. package/dist/cjs/types/components/container/TermInformation/TermInformation.previewData.d.ts +3 -0
  28. package/dist/cjs/types/components/container/TermInformation/TermInformation.stories.d.ts +27 -0
  29. package/dist/cjs/types/components/container/TermInformation/index.d.ts +1 -0
  30. package/dist/cjs/types/components/container/index.d.ts +4 -1
  31. package/dist/cjs/types/components/presentational/DateRangeCoordinator/DateRangeCoordinator.d.ts +2 -2
  32. package/dist/cjs/types/components/presentational/DateRangeCoordinator/DateRangeCoordinator.stories.d.ts +9 -0
  33. package/dist/cjs/types/components/presentational/DateRangeNavigator/DateRangeNavigator.d.ts +1 -1
  34. package/dist/cjs/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts +3 -3
  35. package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +3 -1
  36. package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +9 -0
  37. package/dist/cjs/types/components/presentational/ReportContent/ReportContent.d.ts +8 -0
  38. package/dist/cjs/types/components/presentational/ReportContent/ReportContent.previewData.d.ts +3 -0
  39. package/dist/cjs/types/components/presentational/ReportContent/ReportContent.stories.d.ts +34 -0
  40. package/dist/cjs/types/components/presentational/StatBlock/StatBlock.d.ts +15 -0
  41. package/dist/cjs/types/components/presentational/StatBlock/StatBlock.stories.d.ts +37 -0
  42. package/dist/cjs/types/components/presentational/StatBlock/index.d.ts +1 -0
  43. package/dist/cjs/types/components/view/AllergiesView/AllergiesView.d.ts +4 -0
  44. package/dist/cjs/types/components/view/ConditionsView/ConditionsView.d.ts +4 -0
  45. package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.d.ts +14 -0
  46. package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.stories.d.ts +38 -0
  47. package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/index.d.ts +1 -0
  48. package/dist/cjs/types/components/view/EhrNewsFeedView/EhrNewsFeedView.d.ts +13 -0
  49. package/dist/cjs/types/components/view/EhrNewsFeedView/EhrNewsFeedView.stories.d.ts +42 -0
  50. package/dist/cjs/types/components/view/EhrNewsFeedView/index.d.ts +1 -0
  51. package/dist/cjs/types/components/view/ExternalAccountsView/ExternalAccountsView.d.ts +5 -1
  52. package/dist/cjs/types/components/view/HealthAndWellnessView/HealthAndWellnessView.d.ts +9 -2
  53. package/dist/cjs/types/components/view/MedicationsView/MedicationsView.d.ts +4 -0
  54. package/dist/cjs/types/components/view/ReportView/ReportView.d.ts +14 -0
  55. package/dist/cjs/types/components/view/ReportView/ReportView.stories.d.ts +22 -0
  56. package/dist/cjs/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.d.ts +8 -0
  57. package/dist/cjs/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.stories.d.ts +25 -0
  58. package/dist/cjs/types/components/view/TermInformationView/TermInformationView.d.ts +12 -0
  59. package/dist/cjs/types/components/view/TermInformationView/TermInformationView.stories.d.ts +20 -0
  60. package/dist/cjs/types/components/view/index.d.ts +2 -0
  61. package/dist/cjs/types/helpers/news-feed/data.d.ts +2 -0
  62. package/dist/cjs/types/helpers/news-feed/eventTypeDefinitions.d.ts +12 -0
  63. package/dist/cjs/types/helpers/news-feed/previewData.d.ts +8 -0
  64. package/dist/cjs/types/helpers/news-feed/types.d.ts +211 -0
  65. package/dist/esm/index.js +7 -7
  66. package/dist/esm/index.js.map +1 -1
  67. package/dist/esm/types/components/container/AllergiesList/AllergiesList.d.ts +2 -2
  68. package/dist/esm/types/components/container/AllergiesList/AllergiesList.stories.d.ts +3 -3
  69. package/dist/esm/types/components/container/ConditionsList/ConditionsList.d.ts +2 -2
  70. package/dist/esm/types/components/container/ConditionsList/ConditionsList.stories.d.ts +3 -3
  71. package/dist/esm/types/components/container/ConnectDevice/ConnectDevice.d.ts +2 -1
  72. package/dist/esm/types/components/container/ConnectFitbit/ConnectFitbit.d.ts +2 -1
  73. package/dist/esm/types/components/container/ConnectGarmin/ConnectGarmin.d.ts +2 -1
  74. package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.d.ts +10 -3
  75. package/dist/esm/types/components/container/DailyDataChart/DailyDataChart.stories.d.ts +20 -0
  76. package/dist/esm/types/components/container/DailyDataChart/index.d.ts +1 -1
  77. package/dist/esm/types/components/container/EhrNewsFeed/EhrNewsFeed.d.ts +15 -0
  78. package/dist/esm/types/components/container/EhrNewsFeed/EhrNewsFeed.stories.d.ts +62 -0
  79. package/dist/esm/types/components/container/EhrNewsFeed/index.d.ts +1 -0
  80. package/dist/esm/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.d.ts +11 -0
  81. package/dist/esm/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.stories.d.ts +34 -0
  82. package/dist/esm/types/components/container/EhrNewsFeedEventDetail/index.d.ts +1 -0
  83. package/dist/esm/types/components/container/ExternalAccountList/ExternalAccountList.d.ts +3 -3
  84. package/dist/esm/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.d.ts +1 -0
  85. package/dist/esm/types/components/container/ExternalAccountsPreview/ExternalAccountsPreview.d.ts +2 -1
  86. package/dist/esm/types/components/container/LabResultsSummary/LabResultsSummary.d.ts +2 -2
  87. package/dist/esm/types/components/container/MedicationsList/MedicationsList.d.ts +2 -2
  88. package/dist/esm/types/components/container/MedicationsList/MedicationsList.stories.d.ts +3 -3
  89. package/dist/esm/types/components/container/ProviderSearch/ProviderSearch.d.ts +2 -1
  90. package/dist/esm/types/components/container/TermInformation/TermInformation.d.ts +15 -0
  91. package/dist/esm/types/components/container/TermInformation/TermInformation.previewData.d.ts +3 -0
  92. package/dist/esm/types/components/container/TermInformation/TermInformation.stories.d.ts +27 -0
  93. package/dist/esm/types/components/container/TermInformation/index.d.ts +1 -0
  94. package/dist/esm/types/components/container/index.d.ts +4 -1
  95. package/dist/esm/types/components/presentational/DateRangeCoordinator/DateRangeCoordinator.d.ts +2 -2
  96. package/dist/esm/types/components/presentational/DateRangeCoordinator/DateRangeCoordinator.stories.d.ts +9 -0
  97. package/dist/esm/types/components/presentational/DateRangeNavigator/DateRangeNavigator.d.ts +1 -1
  98. package/dist/esm/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts +3 -3
  99. package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +3 -1
  100. package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +9 -0
  101. package/dist/esm/types/components/presentational/ReportContent/ReportContent.d.ts +8 -0
  102. package/dist/esm/types/components/presentational/ReportContent/ReportContent.previewData.d.ts +3 -0
  103. package/dist/esm/types/components/presentational/ReportContent/ReportContent.stories.d.ts +34 -0
  104. package/dist/esm/types/components/presentational/StatBlock/StatBlock.d.ts +15 -0
  105. package/dist/esm/types/components/presentational/StatBlock/StatBlock.stories.d.ts +37 -0
  106. package/dist/esm/types/components/presentational/StatBlock/index.d.ts +1 -0
  107. package/dist/esm/types/components/view/AllergiesView/AllergiesView.d.ts +4 -0
  108. package/dist/esm/types/components/view/ConditionsView/ConditionsView.d.ts +4 -0
  109. package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.d.ts +14 -0
  110. package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.stories.d.ts +38 -0
  111. package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/index.d.ts +1 -0
  112. package/dist/esm/types/components/view/EhrNewsFeedView/EhrNewsFeedView.d.ts +13 -0
  113. package/dist/esm/types/components/view/EhrNewsFeedView/EhrNewsFeedView.stories.d.ts +42 -0
  114. package/dist/esm/types/components/view/EhrNewsFeedView/index.d.ts +1 -0
  115. package/dist/esm/types/components/view/ExternalAccountsView/ExternalAccountsView.d.ts +5 -1
  116. package/dist/esm/types/components/view/HealthAndWellnessView/HealthAndWellnessView.d.ts +9 -2
  117. package/dist/esm/types/components/view/MedicationsView/MedicationsView.d.ts +4 -0
  118. package/dist/esm/types/components/view/ReportView/ReportView.d.ts +14 -0
  119. package/dist/esm/types/components/view/ReportView/ReportView.stories.d.ts +22 -0
  120. package/dist/esm/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.d.ts +8 -0
  121. package/dist/esm/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.stories.d.ts +25 -0
  122. package/dist/esm/types/components/view/TermInformationView/TermInformationView.d.ts +12 -0
  123. package/dist/esm/types/components/view/TermInformationView/TermInformationView.stories.d.ts +20 -0
  124. package/dist/esm/types/components/view/index.d.ts +2 -0
  125. package/dist/esm/types/helpers/news-feed/data.d.ts +2 -0
  126. package/dist/esm/types/helpers/news-feed/eventTypeDefinitions.d.ts +12 -0
  127. package/dist/esm/types/helpers/news-feed/previewData.d.ts +8 -0
  128. package/dist/esm/types/helpers/news-feed/types.d.ts +211 -0
  129. package/dist/index.d.ts +244 -156
  130. package/package.json +1 -1
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- import { TermInformation } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
2
+ import { TermInformationReference } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
3
3
  export interface AllergiesListProps {
4
4
  previewState?: "default";
5
- onViewTermInfo(termInfo: TermInformation): void;
5
+ onViewTermInfo(termInfo: TermInformationReference): void;
6
6
  innerRef?: React.Ref<HTMLDivElement>;
7
7
  }
8
8
  export default function (props: AllergiesListProps): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import AllergiesList, { AllergiesListProps } from "./AllergiesList";
3
- import { TermInformation } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
3
+ import { TermInformationReference } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
4
4
  declare const _default: {
5
5
  title: string;
6
6
  component: typeof AllergiesList;
@@ -12,13 +12,13 @@ export default _default;
12
12
  export declare const Default: {
13
13
  args: {
14
14
  previewState: string;
15
- onViewTermInfo: (termInfo: TermInformation) => void;
15
+ onViewTermInfo: (termInfo: TermInformationReference) => void;
16
16
  };
17
17
  render: (args: AllergiesListProps) => React.JSX.Element;
18
18
  };
19
19
  export declare const Live: {
20
20
  args: {
21
- onViewTermInfo: (termInfo: TermInformation) => void;
21
+ onViewTermInfo: (termInfo: TermInformationReference) => void;
22
22
  };
23
23
  render: (args: AllergiesListProps) => React.JSX.Element;
24
24
  };
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- import { TermInformation } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
2
+ import { TermInformationReference } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
3
3
  export interface ConditionsListProps {
4
4
  previewState?: "default";
5
- onViewTermInfo(termInfo: TermInformation): void;
5
+ onViewTermInfo(termInfo: TermInformationReference): void;
6
6
  innerRef?: React.Ref<HTMLDivElement>;
7
7
  }
8
8
  export default function (props: ConditionsListProps): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import ConditionsList, { ConditionsListProps } from "./ConditionsList";
3
- import { TermInformation } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
3
+ import { TermInformationReference } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
4
4
  declare const _default: {
5
5
  title: string;
6
6
  component: typeof ConditionsList;
@@ -12,13 +12,13 @@ export default _default;
12
12
  export declare const Default: {
13
13
  args: {
14
14
  previewState: string;
15
- onViewTermInfo: (termInfo: TermInformation) => void;
15
+ onViewTermInfo: (termInfo: TermInformationReference) => void;
16
16
  };
17
17
  render: (args: ConditionsListProps) => React.JSX.Element;
18
18
  };
19
19
  export declare const Live: {
20
20
  args: {
21
- onViewTermInfo: (termInfo: TermInformation) => void;
21
+ onViewTermInfo: (termInfo: TermInformationReference) => void;
22
22
  };
23
23
  render: (args: ConditionsListProps) => React.JSX.Element;
24
24
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ExternalAccountStatus } from "@careevolution/mydatahelps-js";
2
+ import { ConnectExternalAccountOptions, ExternalAccountStatus } from "@careevolution/mydatahelps-js";
3
3
  import "./ConnectDevice.css";
4
4
  export interface ConnectDeviceProps {
5
5
  title: string;
@@ -11,6 +11,7 @@ export interface ConnectDeviceProps {
11
11
  innerRef?: React.Ref<HTMLDivElement>;
12
12
  titleImage: React.ReactNode;
13
13
  hideWhenConnected?: boolean;
14
+ connectExternalAccountOptions?: ConnectExternalAccountOptions;
14
15
  }
15
16
  export type ConnectDevicePreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
16
17
  export default function (props: ConnectDeviceProps): React.JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import { ExternalAccountStatus } from "@careevolution/mydatahelps-js";
1
+ import { ConnectExternalAccountOptions, ExternalAccountStatus } from "@careevolution/mydatahelps-js";
2
2
  import React from "react";
3
3
  export interface ConnectFitbitProps {
4
4
  title?: string;
@@ -7,6 +7,7 @@ export interface ConnectFitbitProps {
7
7
  disabledBehavior?: 'hide' | 'displayError';
8
8
  innerRef?: React.Ref<HTMLDivElement>;
9
9
  hideWhenConnected?: boolean;
10
+ connectExternalAccountOptions?: ConnectExternalAccountOptions;
10
11
  }
11
12
  export type ConnectFitbitPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
12
13
  export default function (props: ConnectFitbitProps): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ExternalAccountStatus } from "@careevolution/mydatahelps-js";
2
+ import { ConnectExternalAccountOptions, ExternalAccountStatus } from "@careevolution/mydatahelps-js";
3
3
  export interface ConnectGarminProps {
4
4
  title?: string;
5
5
  garminProviderID?: number;
@@ -7,6 +7,7 @@ export interface ConnectGarminProps {
7
7
  disabledBehavior?: 'hide' | 'displayError';
8
8
  innerRef?: React.Ref<HTMLDivElement>;
9
9
  hideWhenConnected?: boolean;
10
+ connectExternalAccountOptions?: ConnectExternalAccountOptions;
10
11
  }
11
12
  export type ConnectGarminPreviewState = ExternalAccountStatus | "notConnected" | "notEnabled";
12
13
  export default function (props: ConnectGarminProps): React.JSX.Element;
@@ -2,6 +2,7 @@ import React from 'react';
2
2
  import { DailyDataProvider } from '../../../helpers/query-daily-data';
3
3
  import "./DailyDataChart.css";
4
4
  import { WeekStartsOn } from '../../../helpers/get-interval-start';
5
+ import { ColorDefinition } from '../../../helpers/colors';
5
6
  export interface DailyDataChartProps {
6
7
  title?: string;
7
8
  intervalType?: "Week" | "Month";
@@ -20,10 +21,16 @@ export interface LineChartOptions {
20
21
  domainMin?: number | "Auto";
21
22
  }
22
23
  export interface BarChartOptions {
23
- barColor?: string;
24
+ barColor?: ColorDefinition;
25
+ thresholds?: BarChartThreshold[];
26
+ }
27
+ export interface BarChartThreshold {
28
+ value: number;
29
+ referenceLineColor?: ColorDefinition;
30
+ overThresholdBarColor?: ColorDefinition;
24
31
  }
25
32
  export interface AreaChartOptions {
26
- lineColor?: string;
27
- areaColor?: string;
33
+ lineColor?: ColorDefinition;
34
+ areaColor?: ColorDefinition;
28
35
  }
29
36
  export default function DailyDataChart(props: DailyDataChartProps): React.JSX.Element | null;
@@ -38,6 +38,26 @@ export declare const stepsBarChart: {
38
38
  };
39
39
  render: (args: DailyDataChartProps) => React.JSX.Element;
40
40
  };
41
+ export declare const stepsBarWithThresholdsChart: {
42
+ args: {
43
+ title: string;
44
+ options: {
45
+ thresholds: {
46
+ value: number;
47
+ referenceLineColor: string;
48
+ overThresholdBarColor: string;
49
+ }[];
50
+ barColor: string;
51
+ };
52
+ intervalType: string;
53
+ weekStartsOn: string;
54
+ dailyDataType: DailyDataType;
55
+ valueFormatter: (value: number) => string;
56
+ chartType: string;
57
+ previewDataProvider: (start: Date, end: Date) => Promise<DailyDataQueryResult>;
58
+ };
59
+ render: (args: DailyDataChartProps) => React.JSX.Element;
60
+ };
41
61
  export declare const stepsLiveBarChart: {
42
62
  args: {
43
63
  title: string;
@@ -1 +1 @@
1
- export { default, LineChartOptions, BarChartOptions, AreaChartOptions } from "./DailyDataChart";
1
+ export { default, LineChartOptions, BarChartOptions, AreaChartOptions, BarChartThreshold } from "./DailyDataChart";
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import "./EhrNewsFeed.css";
3
+ import { EhrNewsFeedFeed } from '../../../helpers/news-feed/types';
4
+ export interface EhrNewsFeedProps {
5
+ previewState?: "default" | "procedures" | "labReports" | "immunizations" | "reports";
6
+ onEventSelected(eventReference: EhrNewsFeedEventReference): void;
7
+ feed: EhrNewsFeedFeed;
8
+ onReportSelected(reportID: string): void;
9
+ }
10
+ export interface EhrNewsFeedEventReference {
11
+ feed: EhrNewsFeedFeed;
12
+ pageId?: string;
13
+ pageDate?: string;
14
+ }
15
+ export default function (props: EhrNewsFeedProps): React.JSX.Element;
@@ -0,0 +1,62 @@
1
+ import React from "react";
2
+ import EhrNewsFeed, { EhrNewsFeedProps } from "./EhrNewsFeed";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof EhrNewsFeed;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Procedures: {
12
+ args: {
13
+ previewState: string;
14
+ feed: string;
15
+ };
16
+ render: (args: EhrNewsFeedProps) => React.JSX.Element;
17
+ };
18
+ export declare const Immunizations: {
19
+ args: {
20
+ previewState: string;
21
+ feed: string;
22
+ };
23
+ render: (args: EhrNewsFeedProps) => React.JSX.Element;
24
+ };
25
+ export declare const LabReports: {
26
+ args: {
27
+ previewState: string;
28
+ feed: string;
29
+ };
30
+ render: (args: EhrNewsFeedProps) => React.JSX.Element;
31
+ };
32
+ export declare const Reports: {
33
+ args: {
34
+ previewState: string;
35
+ feed: string;
36
+ };
37
+ render: (args: EhrNewsFeedProps) => React.JSX.Element;
38
+ };
39
+ export declare const LiveProcedures: {
40
+ args: {
41
+ feed: string;
42
+ };
43
+ render: (args: EhrNewsFeedProps) => React.JSX.Element;
44
+ };
45
+ export declare const LiveImmunizations: {
46
+ args: {
47
+ feed: string;
48
+ };
49
+ render: (args: EhrNewsFeedProps) => React.JSX.Element;
50
+ };
51
+ export declare const LiveReports: {
52
+ args: {
53
+ feed: string;
54
+ };
55
+ render: (args: EhrNewsFeedProps) => React.JSX.Element;
56
+ };
57
+ export declare const LiveLabReports: {
58
+ args: {
59
+ feed: string;
60
+ };
61
+ render: (args: EhrNewsFeedProps) => React.JSX.Element;
62
+ };
@@ -0,0 +1 @@
1
+ export { default } from "./EhrNewsFeed";
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { EhrNewsFeedEventType, EhrNewsFeedFeed } from '../../../helpers/news-feed/types';
3
+ import "./EhrNewsFeedEventDetail.css";
4
+ export interface EhrNewsFeedEventDetailProps {
5
+ feed: EhrNewsFeedFeed;
6
+ pageId?: string;
7
+ pageDate?: string;
8
+ previewState?: EhrNewsFeedEventType;
9
+ onViewLabObservationTermInfo(labObservationID: string): void;
10
+ }
11
+ export default function (props: EhrNewsFeedEventDetailProps): React.JSX.Element;
@@ -0,0 +1,34 @@
1
+ import React from "react";
2
+ import EhrNewsFeedEventDetail, { EhrNewsFeedEventDetailProps } from "./EhrNewsFeedEventDetail";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof EhrNewsFeedEventDetail;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const ProcedureGroup: {
12
+ args: {
13
+ previewState: string;
14
+ };
15
+ render: (args: EhrNewsFeedEventDetailProps) => React.JSX.Element;
16
+ };
17
+ export declare const LabReport: {
18
+ args: {
19
+ previewState: string;
20
+ };
21
+ render: (args: EhrNewsFeedEventDetailProps) => React.JSX.Element;
22
+ };
23
+ export declare const ClaimServiceGroup: {
24
+ args: {
25
+ previewState: string;
26
+ };
27
+ render: (args: EhrNewsFeedEventDetailProps) => React.JSX.Element;
28
+ };
29
+ export declare const ClaimProcedureGroup: {
30
+ args: {
31
+ previewState: string;
32
+ };
33
+ render: (args: EhrNewsFeedEventDetailProps) => React.JSX.Element;
34
+ };
@@ -0,0 +1 @@
1
+ export { default } from "./EhrNewsFeedEventDetail";
@@ -1,10 +1,10 @@
1
1
  import React from 'react';
2
- import { ExternalAccount } from '@careevolution/mydatahelps-js';
2
+ import { ConnectExternalAccountOptions, ExternalAccount } from '@careevolution/mydatahelps-js';
3
3
  export interface ExternalAccountListProps {
4
4
  externalAccountProviderCategories?: string[];
5
- previewState?: NotificationListPreviewState;
5
+ previewState?: "default";
6
6
  onExternalAccountsLoaded?: (accounts: ExternalAccount[]) => void;
7
7
  innerRef?: React.Ref<HTMLDivElement>;
8
+ connectExternalAccountOptions?: ConnectExternalAccountOptions;
8
9
  }
9
- export type NotificationListPreviewState = "Default";
10
10
  export default function (props: ExternalAccountListProps): React.JSX.Element;
@@ -4,5 +4,6 @@ export interface ExternalAccountsLoadingIndicatorProps {
4
4
  previewState?: "externalAccountsFetchingData" | "externalAccountsLoaded";
5
5
  externalAccountCategories?: string[];
6
6
  innerRef?: React.Ref<HTMLDivElement>;
7
+ triggerWebExternalAccountSyncComplete?: boolean;
7
8
  }
8
9
  export default function (props: ExternalAccountsLoadingIndicatorProps): React.JSX.Element | null;
@@ -4,9 +4,10 @@ export interface ExternalAccountsPreviewProps {
4
4
  excludeProviders?: boolean;
5
5
  excludeHealthPlans?: boolean;
6
6
  excludeDeviceManufacturers?: boolean;
7
- applicationUrl: ExternalAccountsApplicationUrl;
7
+ applicationUrl?: ExternalAccountsApplicationUrl;
8
8
  previewState?: ExternalAccountsPreviewPreviewState;
9
9
  innerRef?: React.Ref<HTMLDivElement>;
10
+ onClick?: () => void;
10
11
  }
11
12
  export type ExternalAccountsApplicationUrl = "preview" | string;
12
13
  export type ExternalAccountsPreviewPreviewState = "Default";
@@ -1,11 +1,11 @@
1
1
  import React from "react";
2
2
  import "./LabResultsSummary.css";
3
3
  import "../HealthPreviewSection/HealthPreviewSection.css";
4
- import { TermInformation } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
4
+ import { TermInformationReference } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
5
5
  export interface LabResultsSummaryProps {
6
6
  previewState?: "ImportantLabs" | "RecentLabs" | "NoData";
7
7
  onClick(): void;
8
- onViewTermInfo(termInfo: TermInformation): void;
8
+ onViewTermInfo(termInfo: TermInformationReference): void;
9
9
  innerRef?: React.Ref<HTMLDivElement>;
10
10
  }
11
11
  export default function (props: LabResultsSummaryProps): React.JSX.Element | null;
@@ -1,8 +1,8 @@
1
1
  import React from "react";
2
- import { TermInformation } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
2
+ import { TermInformationReference } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
3
3
  export interface MedicationsListProps {
4
4
  previewState?: "default";
5
- onViewTermInfo(termInfo: TermInformation): void;
5
+ onViewTermInfo(termInfo: TermInformationReference): void;
6
6
  innerRef?: React.Ref<HTMLDivElement>;
7
7
  }
8
8
  export default function (props: MedicationsListProps): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
  import MedicationsList, { MedicationsListProps } from "./MedicationsList";
3
- import { TermInformation } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
3
+ import { TermInformationReference } from "../../presentational/LabResultWithSparkline/LabResultWithSparkline";
4
4
  declare const _default: {
5
5
  title: string;
6
6
  component: typeof MedicationsList;
@@ -12,13 +12,13 @@ export default _default;
12
12
  export declare const Default: {
13
13
  args: {
14
14
  previewState: string;
15
- onViewTermInfo: (termInfo: TermInformation) => void;
15
+ onViewTermInfo: (termInfo: TermInformationReference) => void;
16
16
  };
17
17
  render: (args: MedicationsListProps) => React.JSX.Element;
18
18
  };
19
19
  export declare const Live: {
20
20
  args: {
21
- onViewTermInfo: (termInfo: TermInformation) => void;
21
+ onViewTermInfo: (termInfo: TermInformationReference) => void;
22
22
  };
23
23
  render: (args: MedicationsListProps) => React.JSX.Element;
24
24
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { ExternalAccountProvider } from "@careevolution/mydatahelps-js";
2
+ import { ConnectExternalAccountOptions, ExternalAccountProvider } from "@careevolution/mydatahelps-js";
3
3
  import "./ProviderSearch.css";
4
4
  import '@fortawesome/fontawesome-svg-core/styles.css';
5
5
  export interface ProviderSearchProps {
@@ -7,6 +7,7 @@ export interface ProviderSearchProps {
7
7
  providerCategories?: string[];
8
8
  onProviderConnected?: (provider: ExternalAccountProvider) => void;
9
9
  innerRef?: React.Ref<HTMLDivElement>;
10
+ connectExternalAccountOptions?: ConnectExternalAccountOptions;
10
11
  }
11
12
  export type ProviderSearchPreviewState = "Default";
12
13
  export default function (props: ProviderSearchProps): React.JSX.Element;
@@ -0,0 +1,15 @@
1
+ import React from 'react';
2
+ import { TermInformationReference } from '../../presentational/LabResultWithSparkline/LabResultWithSparkline';
3
+ import "./TermInformation.css";
4
+ export interface TermInformationProps {
5
+ previewState?: "default" | "noData";
6
+ term?: TermInformationReference;
7
+ labObservationID?: string;
8
+ openLinksInNewWindow?: boolean;
9
+ }
10
+ export interface TermInformationResult {
11
+ Title: string;
12
+ Link: string;
13
+ Summary: string;
14
+ }
15
+ export default function (props: TermInformationProps): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { TermInformationResult } from "./TermInformation";
2
+ declare let termInformationPreviewData: TermInformationResult[];
3
+ export default termInformationPreviewData;
@@ -0,0 +1,27 @@
1
+ import React from "react";
2
+ import TermInformation, { TermInformationProps } from "./TermInformation";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof TermInformation;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Default: {
12
+ args: {
13
+ previewState: string;
14
+ openLinksInNewWindow: boolean;
15
+ };
16
+ render: (args: TermInformationProps) => React.JSX.Element;
17
+ };
18
+ export declare const NoData: {
19
+ args: {
20
+ previewState: string;
21
+ };
22
+ render: (args: TermInformationProps) => React.JSX.Element;
23
+ };
24
+ export declare const Live: {
25
+ args: {};
26
+ render: (args: TermInformationProps) => React.JSX.Element;
27
+ };
@@ -0,0 +1 @@
1
+ export { default } from "./TermInformation";
@@ -6,9 +6,11 @@ export { default as ConnectDevicesMenu } from "./ConnectDevicesMenu";
6
6
  export { default as ConnectEhr } from "./ConnectEhr";
7
7
  export { default as ConnectFitbit } from "./ConnectFitbit";
8
8
  export { default as ConnectGarmin } from "./ConnectGarmin";
9
- export { default as DailyDataChart, LineChartOptions, BarChartOptions, AreaChartOptions } from "./DailyDataChart";
9
+ export { default as DailyDataChart, LineChartOptions, BarChartOptions, AreaChartOptions, BarChartThreshold } from "./DailyDataChart";
10
10
  export { default as DeviceDataMonthChart, DeviceDataChartLine } from "./DeviceDataMonthChart";
11
11
  export { default as DeviceDataMonthCharts } from "./DeviceDataMonthCharts";
12
+ export { default as EhrNewsFeed } from "./EhrNewsFeed";
13
+ export { default as EhrNewsFeedEventDetail } from "./EhrNewsFeedEventDetail";
12
14
  export { default as ExternalAccountList } from "./ExternalAccountList";
13
15
  export { default as ExternalAccountsLoadingIndicator } from "./ExternalAccountsLoadingIndicator";
14
16
  export { default as ExternalAccountsPreview } from "./ExternalAccountsPreview";
@@ -31,6 +33,7 @@ export { default as RelativeActivityToday } from "./RelativeActivityToday";
31
33
  export { default as RestingHeartRateCalendar } from "./RestingHeartRateCalendar";
32
34
  export { default as SurveyTaskList } from "./SurveyTaskList";
33
35
  export { default as SeverityCalendar } from "./SeverityCalendar";
36
+ export { default as TermInformation } from "./TermInformation";
34
37
  export { default as ViewEhr } from "./ViewEhr";
35
38
  export { default as InboxItemList } from "./InboxItemList";
36
39
  export { default as InboxItemListCoordinator } from "./InboxItemListCoordinator";
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import { WeekStartsOn } from "../../../helpers/get-interval-start";
3
3
  export interface DateRangeCoordinatorProps {
4
4
  initialIntervalStart?: Date;
5
- intervalType: "Week" | "Month";
5
+ intervalType: "Day" | "Week" | "Month";
6
6
  weekStartsOn?: WeekStartsOn;
7
7
  variant?: "default" | "rounded";
8
8
  children: React.ReactNode;
@@ -10,7 +10,7 @@ export interface DateRangeCoordinatorProps {
10
10
  sticky?: boolean;
11
11
  }
12
12
  export interface DateRangeContext {
13
- intervalType: "Week" | "Month";
13
+ intervalType: "Day" | "Week" | "Month";
14
14
  intervalStart: Date;
15
15
  }
16
16
  export declare const DateRangeContext: React.Context<DateRangeContext | null>;
@@ -8,6 +8,15 @@ declare const _default: {
8
8
  };
9
9
  };
10
10
  export default _default;
11
+ export declare const day: {
12
+ args: {
13
+ variant: string;
14
+ initialIntervalStart: Date;
15
+ intervalType: string;
16
+ children: React.JSX.Element;
17
+ };
18
+ render: (args: DateRangeCoordinatorProps) => React.JSX.Element;
19
+ };
11
20
  export declare const month: {
12
21
  args: {
13
22
  variant: string;
@@ -2,7 +2,7 @@ import '@fortawesome/fontawesome-svg-core/styles.css';
2
2
  import React from 'react';
3
3
  import "./DateRangeNavigator.css";
4
4
  export interface DateRangeNavigatorProps {
5
- intervalType: "Week" | "Month";
5
+ intervalType: "Day" | "Week" | "Month";
6
6
  intervalStart: Date;
7
7
  variant?: "default" | "rounded";
8
8
  onIntervalChange(newIntervalStart: Date, newIntervalEnd: Date): void;
@@ -8,20 +8,20 @@ export interface LabResultValue {
8
8
  NormalRangeTopY: number;
9
9
  NormalRangeBottomY: number;
10
10
  SparklinePoints: SparklinePoint[];
11
- TermInformation?: TermInformation;
11
+ TermInformation?: TermInformationReference;
12
12
  }
13
13
  export interface SparklinePoint {
14
14
  X: number;
15
15
  Y: number;
16
16
  }
17
- export interface TermInformation {
17
+ export interface TermInformationReference {
18
18
  TermFamily: string;
19
19
  TermNamespace: string;
20
20
  TermCode: string;
21
21
  }
22
22
  export interface LabResultWithSparklineProps {
23
23
  labResultValue: LabResultValue;
24
- onViewTermInfo(termInfo: TermInformation): void;
24
+ onViewTermInfo(termInfo: TermInformationReference): void;
25
25
  innerRef?: React.Ref<HTMLDivElement>;
26
26
  }
27
27
  export default function (props: LabResultWithSparklineProps): React.JSX.Element;
@@ -7,11 +7,13 @@ export interface NavigationBarProps {
7
7
  subtitle?: string;
8
8
  showBackButton?: boolean;
9
9
  showCloseButton?: boolean;
10
+ onBack?: () => void;
11
+ onClose?: () => void;
10
12
  children?: React.ReactNode;
11
13
  closeButtonText?: string;
12
14
  backButtonText?: string;
13
15
  className?: string;
14
- variant?: 'default' | 'compressed';
16
+ variant?: "default" | "compressed" | "compressedModal";
15
17
  titleColor?: ColorDefinition;
16
18
  subtitleColor?: ColorDefinition;
17
19
  buttonColor?: ColorDefinition;
@@ -65,6 +65,15 @@ export declare const CompressedWithSubtitle: {
65
65
  };
66
66
  render: (args: NavigationBarProps) => React.JSX.Element;
67
67
  };
68
+ export declare const CompressedModal: {
69
+ args: {
70
+ title: string;
71
+ showCloseButton: boolean;
72
+ showBackButton: boolean;
73
+ variant: string;
74
+ };
75
+ render: (args: NavigationBarProps) => React.JSX.Element;
76
+ };
68
77
  export declare const WithDateRangeNavigator: {
69
78
  args: {
70
79
  title: string;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ import "./ReportContent.css";
3
+ export interface ReportContentProps {
4
+ content: string;
5
+ contentType: string;
6
+ type: string;
7
+ }
8
+ export default function (props: ReportContentProps): React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare let xssHtml: string;
2
+ export declare let previewReportHtml: string;
3
+ export declare let previewReportPdf: string;
@@ -0,0 +1,34 @@
1
+ import React from "react";
2
+ import ReportContent, { ReportContentProps } from "./ReportContent";
3
+ declare const _default: {
4
+ title: string;
5
+ component: typeof ReportContent;
6
+ parameters: {
7
+ layout: string;
8
+ };
9
+ };
10
+ export default _default;
11
+ export declare const Html: {
12
+ args: {
13
+ type: string;
14
+ content: string;
15
+ contentType: string;
16
+ };
17
+ render: (args: ReportContentProps) => React.JSX.Element;
18
+ };
19
+ export declare const Xss: {
20
+ args: {
21
+ type: string;
22
+ content: string;
23
+ contentType: string;
24
+ };
25
+ render: (args: ReportContentProps) => React.JSX.Element;
26
+ };
27
+ export declare const Pdf: {
28
+ args: {
29
+ type: string;
30
+ content: string;
31
+ contentType: string;
32
+ };
33
+ render: (args: ReportContentProps) => React.JSX.Element;
34
+ };