@careevolution/mydatahelps-ui 2.21.0 → 2.21.2-FixDailyDataTypeDefinitionLookup.0
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 +10 -10
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/container/AllergiesList/AllergiesList.d.ts +2 -2
- package/dist/cjs/types/components/container/AllergiesList/AllergiesList.stories.d.ts +3 -3
- package/dist/cjs/types/components/container/ConditionsList/ConditionsList.d.ts +2 -2
- package/dist/cjs/types/components/container/ConditionsList/ConditionsList.stories.d.ts +3 -3
- package/dist/cjs/types/components/container/ConnectDevice/ConnectDevice.d.ts +2 -1
- package/dist/cjs/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.d.ts +2 -0
- package/dist/cjs/types/components/container/ConnectEhr/ConnectEhr.d.ts +2 -2
- package/dist/cjs/types/components/container/ConnectEhr/ConnectEhr.stories.d.ts +6 -6
- package/dist/cjs/types/components/container/ConnectFitbit/ConnectFitbit.d.ts +2 -1
- package/dist/cjs/types/components/container/ConnectGarmin/ConnectGarmin.d.ts +2 -1
- package/dist/cjs/types/components/container/EhrNewsFeed/EhrNewsFeed.d.ts +15 -0
- package/dist/cjs/types/components/container/EhrNewsFeed/EhrNewsFeed.stories.d.ts +62 -0
- package/dist/cjs/types/components/container/EhrNewsFeed/index.d.ts +1 -0
- package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.d.ts +11 -0
- package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.stories.d.ts +35 -0
- package/dist/cjs/types/components/container/EhrNewsFeedEventDetail/index.d.ts +1 -0
- package/dist/cjs/types/components/container/ExternalAccountConnectionAlert/ExternalAccountConnectionAlert.d.ts +9 -0
- package/dist/cjs/types/components/container/ExternalAccountConnectionAlert/ExternalAccountConnectionAlert.stories.d.ts +22 -0
- package/dist/cjs/types/components/container/ExternalAccountConnectionAlert/index.d.ts +1 -0
- package/dist/cjs/types/components/container/ExternalAccountList/ExternalAccountList.d.ts +3 -3
- package/dist/cjs/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.d.ts +1 -0
- package/dist/cjs/types/components/container/ExternalAccountsPreview/ExternalAccountsPreview.d.ts +2 -2
- package/dist/cjs/types/components/container/LabResultsSummary/LabResultsSummary.d.ts +2 -2
- package/dist/cjs/types/components/container/MedicationsList/MedicationsList.d.ts +2 -2
- package/dist/cjs/types/components/container/MedicationsList/MedicationsList.stories.d.ts +3 -3
- package/dist/cjs/types/components/container/ProviderSearch/ProviderSearch.d.ts +2 -1
- package/dist/cjs/types/components/container/TermInformation/TermInformation.d.ts +19 -0
- package/dist/cjs/types/components/container/TermInformation/TermInformation.previewData.d.ts +3 -0
- package/dist/cjs/types/components/container/TermInformation/TermInformation.stories.d.ts +27 -0
- package/dist/cjs/types/components/container/TermInformation/index.d.ts +1 -0
- package/dist/cjs/types/components/container/index.d.ts +4 -0
- package/dist/cjs/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts +3 -7
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -1
- package/dist/cjs/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +9 -0
- package/dist/cjs/types/components/presentational/ReportContent/ReportContent.d.ts +8 -0
- package/dist/cjs/types/components/presentational/ReportContent/ReportContent.previewData.d.ts +3 -0
- package/dist/cjs/types/components/presentational/ReportContent/ReportContent.stories.d.ts +34 -0
- package/dist/cjs/types/components/presentational/StatBlock/StatBlock.d.ts +15 -0
- package/dist/cjs/types/components/presentational/StatBlock/StatBlock.stories.d.ts +37 -0
- package/dist/cjs/types/components/presentational/StatBlock/index.d.ts +1 -0
- package/dist/cjs/types/components/view/AllergiesView/AllergiesView.d.ts +2 -0
- package/dist/cjs/types/components/view/ConditionsView/ConditionsView.d.ts +2 -0
- package/dist/cjs/types/components/view/ConnectEhrView/ConnectEhrView.d.ts +1 -2
- package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.d.ts +12 -0
- package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.stories.d.ts +38 -0
- package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/EhrNewsFeedView/EhrNewsFeedView.d.ts +11 -0
- package/dist/cjs/types/components/view/EhrNewsFeedView/EhrNewsFeedView.stories.d.ts +42 -0
- package/dist/cjs/types/components/view/EhrNewsFeedView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/ExternalAccountsView/ExternalAccountsView.d.ts +5 -1
- package/dist/cjs/types/components/view/HomeView/HomeView.d.ts +1 -2
- package/dist/cjs/types/components/view/MedicationsView/MedicationsView.d.ts +2 -0
- package/dist/cjs/types/components/view/ReportView/ReportView.d.ts +13 -0
- package/dist/cjs/types/components/view/ReportView/ReportView.stories.d.ts +22 -0
- package/dist/cjs/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.d.ts +8 -0
- package/dist/cjs/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.stories.d.ts +25 -0
- package/dist/cjs/types/components/view/StandaloneHealthAndWellnessView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/TermInformationView/TermInformationView.d.ts +10 -0
- package/dist/cjs/types/components/view/TermInformationView/TermInformationView.stories.d.ts +20 -0
- package/dist/cjs/types/components/view/TermInformationView/index.d.ts +1 -0
- package/dist/cjs/types/components/view/index.d.ts +4 -0
- package/dist/cjs/types/helpers/news-feed/data.d.ts +2 -0
- package/dist/cjs/types/helpers/news-feed/eventTypeDefinitions.d.ts +12 -0
- package/dist/cjs/types/helpers/news-feed/previewData.d.ts +8 -0
- package/dist/cjs/types/helpers/news-feed/types.d.ts +211 -0
- package/dist/esm/index.js +11 -11
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/container/AllergiesList/AllergiesList.d.ts +2 -2
- package/dist/esm/types/components/container/AllergiesList/AllergiesList.stories.d.ts +3 -3
- package/dist/esm/types/components/container/ConditionsList/ConditionsList.d.ts +2 -2
- package/dist/esm/types/components/container/ConditionsList/ConditionsList.stories.d.ts +3 -3
- package/dist/esm/types/components/container/ConnectDevice/ConnectDevice.d.ts +2 -1
- package/dist/esm/types/components/container/ConnectDevicesMenu/ConnectDevicesMenu.d.ts +2 -0
- package/dist/esm/types/components/container/ConnectEhr/ConnectEhr.d.ts +2 -2
- package/dist/esm/types/components/container/ConnectEhr/ConnectEhr.stories.d.ts +6 -6
- package/dist/esm/types/components/container/ConnectFitbit/ConnectFitbit.d.ts +2 -1
- package/dist/esm/types/components/container/ConnectGarmin/ConnectGarmin.d.ts +2 -1
- package/dist/esm/types/components/container/EhrNewsFeed/EhrNewsFeed.d.ts +15 -0
- package/dist/esm/types/components/container/EhrNewsFeed/EhrNewsFeed.stories.d.ts +62 -0
- package/dist/esm/types/components/container/EhrNewsFeed/index.d.ts +1 -0
- package/dist/esm/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.d.ts +11 -0
- package/dist/esm/types/components/container/EhrNewsFeedEventDetail/EhrNewsFeedEventDetail.stories.d.ts +35 -0
- package/dist/esm/types/components/container/EhrNewsFeedEventDetail/index.d.ts +1 -0
- package/dist/esm/types/components/container/ExternalAccountConnectionAlert/ExternalAccountConnectionAlert.d.ts +9 -0
- package/dist/esm/types/components/container/ExternalAccountConnectionAlert/ExternalAccountConnectionAlert.stories.d.ts +22 -0
- package/dist/esm/types/components/container/ExternalAccountConnectionAlert/index.d.ts +1 -0
- package/dist/esm/types/components/container/ExternalAccountList/ExternalAccountList.d.ts +3 -3
- package/dist/esm/types/components/container/ExternalAccountsLoadingIndicator/ExternalAccountsLoadingIndicator.d.ts +1 -0
- package/dist/esm/types/components/container/ExternalAccountsPreview/ExternalAccountsPreview.d.ts +2 -2
- package/dist/esm/types/components/container/LabResultsSummary/LabResultsSummary.d.ts +2 -2
- package/dist/esm/types/components/container/MedicationsList/MedicationsList.d.ts +2 -2
- package/dist/esm/types/components/container/MedicationsList/MedicationsList.stories.d.ts +3 -3
- package/dist/esm/types/components/container/ProviderSearch/ProviderSearch.d.ts +2 -1
- package/dist/esm/types/components/container/TermInformation/TermInformation.d.ts +19 -0
- package/dist/esm/types/components/container/TermInformation/TermInformation.previewData.d.ts +3 -0
- package/dist/esm/types/components/container/TermInformation/TermInformation.stories.d.ts +27 -0
- package/dist/esm/types/components/container/TermInformation/index.d.ts +1 -0
- package/dist/esm/types/components/container/index.d.ts +4 -0
- package/dist/esm/types/components/presentational/LabResultWithSparkline/LabResultWithSparkline.d.ts +3 -7
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.d.ts +1 -1
- package/dist/esm/types/components/presentational/NavigationBar/NavigationBar.stories.d.ts +9 -0
- package/dist/esm/types/components/presentational/ReportContent/ReportContent.d.ts +8 -0
- package/dist/esm/types/components/presentational/ReportContent/ReportContent.previewData.d.ts +3 -0
- package/dist/esm/types/components/presentational/ReportContent/ReportContent.stories.d.ts +34 -0
- package/dist/esm/types/components/presentational/StatBlock/StatBlock.d.ts +15 -0
- package/dist/esm/types/components/presentational/StatBlock/StatBlock.stories.d.ts +37 -0
- package/dist/esm/types/components/presentational/StatBlock/index.d.ts +1 -0
- package/dist/esm/types/components/view/AllergiesView/AllergiesView.d.ts +2 -0
- package/dist/esm/types/components/view/ConditionsView/ConditionsView.d.ts +2 -0
- package/dist/esm/types/components/view/ConnectEhrView/ConnectEhrView.d.ts +1 -2
- package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.d.ts +12 -0
- package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.stories.d.ts +38 -0
- package/dist/esm/types/components/view/EhrNewsFeedEventDetailView/index.d.ts +1 -0
- package/dist/esm/types/components/view/EhrNewsFeedView/EhrNewsFeedView.d.ts +11 -0
- package/dist/esm/types/components/view/EhrNewsFeedView/EhrNewsFeedView.stories.d.ts +42 -0
- package/dist/esm/types/components/view/EhrNewsFeedView/index.d.ts +1 -0
- package/dist/esm/types/components/view/ExternalAccountsView/ExternalAccountsView.d.ts +5 -1
- package/dist/esm/types/components/view/HomeView/HomeView.d.ts +1 -2
- package/dist/esm/types/components/view/MedicationsView/MedicationsView.d.ts +2 -0
- package/dist/esm/types/components/view/ReportView/ReportView.d.ts +13 -0
- package/dist/esm/types/components/view/ReportView/ReportView.stories.d.ts +22 -0
- package/dist/esm/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.d.ts +8 -0
- package/dist/esm/types/components/view/StandaloneHealthAndWellnessView/StandaloneHealthAndWellnessView.stories.d.ts +25 -0
- package/dist/esm/types/components/view/StandaloneHealthAndWellnessView/index.d.ts +1 -0
- package/dist/esm/types/components/view/TermInformationView/TermInformationView.d.ts +10 -0
- package/dist/esm/types/components/view/TermInformationView/TermInformationView.stories.d.ts +20 -0
- package/dist/esm/types/components/view/TermInformationView/index.d.ts +1 -0
- package/dist/esm/types/components/view/index.d.ts +4 -0
- package/dist/esm/types/helpers/news-feed/data.d.ts +2 -0
- package/dist/esm/types/helpers/news-feed/eventTypeDefinitions.d.ts +12 -0
- package/dist/esm/types/helpers/news-feed/previewData.d.ts +8 -0
- package/dist/esm/types/helpers/news-feed/types.d.ts +211 -0
- package/dist/index.d.ts +257 -168
- package/package.json +1 -1
|
@@ -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
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React, { ReactNode } from "react";
|
|
2
|
+
import "./StatBlock.css";
|
|
3
|
+
export interface StatBlockProps {
|
|
4
|
+
labelWidth?: string;
|
|
5
|
+
stats: Stat[];
|
|
6
|
+
defaultMargin?: boolean;
|
|
7
|
+
size?: "sm" | "lg";
|
|
8
|
+
alternating?: boolean;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
}
|
|
11
|
+
export interface Stat {
|
|
12
|
+
label: string;
|
|
13
|
+
value: ReactNode;
|
|
14
|
+
}
|
|
15
|
+
export default function (props: StatBlockProps): React.JSX.Element | null;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import StatBlock, { StatBlockProps } from './StatBlock';
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof StatBlock;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
stats: ({
|
|
14
|
+
label: string;
|
|
15
|
+
value: string;
|
|
16
|
+
} | {
|
|
17
|
+
label: string;
|
|
18
|
+
value: React.JSX.Element;
|
|
19
|
+
})[];
|
|
20
|
+
defaultMargin: boolean;
|
|
21
|
+
};
|
|
22
|
+
render: (args: StatBlockProps) => React.JSX.Element;
|
|
23
|
+
};
|
|
24
|
+
export declare const Alternating: {
|
|
25
|
+
args: {
|
|
26
|
+
stats: ({
|
|
27
|
+
label: string;
|
|
28
|
+
value: string;
|
|
29
|
+
} | {
|
|
30
|
+
label: string;
|
|
31
|
+
value: React.JSX.Element;
|
|
32
|
+
})[];
|
|
33
|
+
defaultMargin: boolean;
|
|
34
|
+
alternating: boolean;
|
|
35
|
+
};
|
|
36
|
+
render: (args: StatBlockProps) => React.JSX.Element;
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StatBlock";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { TermInformationReference } from "../../container/TermInformation/TermInformation";
|
|
2
3
|
export interface AllergiesViewProps {
|
|
3
4
|
presentation?: "Push" | "Modal";
|
|
4
5
|
previewState?: "default";
|
|
6
|
+
onViewTermInfo?(termInfo: TermInformationReference): void;
|
|
5
7
|
}
|
|
6
8
|
export default function (props: AllergiesViewProps): React.JSX.Element;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { TermInformationReference } from "../../container/TermInformation/TermInformation";
|
|
2
3
|
export interface ConditionsViewProps {
|
|
3
4
|
presentation?: "Push" | "Modal";
|
|
4
5
|
previewState?: "default";
|
|
6
|
+
onViewTermInfo?(termInfo: TermInformationReference): void;
|
|
5
7
|
}
|
|
6
8
|
export default function (props: ConditionsViewProps): React.JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ExternalAccountsApplicationUrl } from "../../container/ExternalAccountsPreview/ExternalAccountsPreview";
|
|
3
2
|
export interface ConnectEhrViewProps {
|
|
4
|
-
externalAccountsApplicationUrl:
|
|
3
|
+
externalAccountsApplicationUrl: string;
|
|
5
4
|
excludeProviders?: boolean;
|
|
6
5
|
excludeHealthPlans?: boolean;
|
|
7
6
|
presentation?: ViewPresentationType;
|
package/dist/cjs/types/components/view/EhrNewsFeedEventDetailView/EhrNewsFeedEventDetailView.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { EhrNewsFeedEventType, EhrNewsFeedType } from "../../../helpers/news-feed/types";
|
|
3
|
+
export interface EhrNewsFeedEventDetailViewProps {
|
|
4
|
+
feed: EhrNewsFeedType;
|
|
5
|
+
pageId?: string;
|
|
6
|
+
pageDate?: string;
|
|
7
|
+
previewState?: EhrNewsFeedEventType;
|
|
8
|
+
onViewLabObservationTermInfo(labObservationID: string): void;
|
|
9
|
+
presentation?: "Push" | "Modal";
|
|
10
|
+
colorScheme?: "auto" | "light" | "dark";
|
|
11
|
+
}
|
|
12
|
+
export default function (props: EhrNewsFeedEventDetailViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import EhrNewsFeedEventDetailView, { EhrNewsFeedEventDetailViewProps } from "./EhrNewsFeedEventDetailView";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof EhrNewsFeedEventDetailView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const ProcedureGroup: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
presentation: string;
|
|
15
|
+
};
|
|
16
|
+
render: (args: EhrNewsFeedEventDetailViewProps) => React.JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
export declare const LabReport: {
|
|
19
|
+
args: {
|
|
20
|
+
previewState: string;
|
|
21
|
+
presentation: string;
|
|
22
|
+
};
|
|
23
|
+
render: (args: EhrNewsFeedEventDetailViewProps) => React.JSX.Element;
|
|
24
|
+
};
|
|
25
|
+
export declare const ClaimServiceGroup: {
|
|
26
|
+
args: {
|
|
27
|
+
previewState: string;
|
|
28
|
+
presentation: string;
|
|
29
|
+
};
|
|
30
|
+
render: (args: EhrNewsFeedEventDetailViewProps) => React.JSX.Element;
|
|
31
|
+
};
|
|
32
|
+
export declare const ClaimProcedureGroup: {
|
|
33
|
+
args: {
|
|
34
|
+
previewState: string;
|
|
35
|
+
presentation: string;
|
|
36
|
+
};
|
|
37
|
+
render: (args: EhrNewsFeedEventDetailViewProps) => React.JSX.Element;
|
|
38
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./EhrNewsFeedEventDetailView";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { EhrNewsFeedEventReference } from "../../container/EhrNewsFeed/EhrNewsFeed";
|
|
3
|
+
export interface EhrNewsFeedViewProps {
|
|
4
|
+
feed: "Procedures" | "Reports" | "LabReports" | "Immunizations";
|
|
5
|
+
previewState?: "default";
|
|
6
|
+
presentation?: "Push" | "Modal";
|
|
7
|
+
colorScheme?: "auto" | "light" | "dark";
|
|
8
|
+
onEventSelected(eventReference: EhrNewsFeedEventReference): void;
|
|
9
|
+
onReportSelected(reportID: string): void;
|
|
10
|
+
}
|
|
11
|
+
export default function (props: EhrNewsFeedViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import EhrNewsFeedView, { EhrNewsFeedViewProps } from "./EhrNewsFeedView";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof EhrNewsFeedView;
|
|
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
|
+
presentation: string;
|
|
16
|
+
};
|
|
17
|
+
render: (args: EhrNewsFeedViewProps) => React.JSX.Element;
|
|
18
|
+
};
|
|
19
|
+
export declare const Immunizations: {
|
|
20
|
+
args: {
|
|
21
|
+
previewState: string;
|
|
22
|
+
feed: string;
|
|
23
|
+
presentation: string;
|
|
24
|
+
};
|
|
25
|
+
render: (args: EhrNewsFeedViewProps) => React.JSX.Element;
|
|
26
|
+
};
|
|
27
|
+
export declare const Reports: {
|
|
28
|
+
args: {
|
|
29
|
+
previewState: string;
|
|
30
|
+
feed: string;
|
|
31
|
+
presentation: string;
|
|
32
|
+
};
|
|
33
|
+
render: (args: EhrNewsFeedViewProps) => React.JSX.Element;
|
|
34
|
+
};
|
|
35
|
+
export declare const LabReports: {
|
|
36
|
+
args: {
|
|
37
|
+
previewState: string;
|
|
38
|
+
feed: string;
|
|
39
|
+
presentation: string;
|
|
40
|
+
};
|
|
41
|
+
render: (args: EhrNewsFeedViewProps) => React.JSX.Element;
|
|
42
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./EhrNewsFeedView";
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { ConnectExternalAccountOptions } from "@careevolution/mydatahelps-js";
|
|
2
3
|
export interface ExternalAccountsViewProps {
|
|
3
4
|
excludeProviders?: boolean;
|
|
4
5
|
excludeHealthPlans?: boolean;
|
|
5
6
|
excludeDeviceManufacturers?: boolean;
|
|
6
7
|
presentation?: ViewPresentationType;
|
|
7
|
-
|
|
8
|
+
previewState?: "default";
|
|
8
9
|
colorScheme?: "auto" | "light" | "dark";
|
|
10
|
+
onBack?(): void;
|
|
11
|
+
onClose?(): void;
|
|
12
|
+
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
9
13
|
}
|
|
10
14
|
export type ViewPresentationType = "Modal" | "Push";
|
|
11
15
|
export default function (props: ExternalAccountsViewProps): React.JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { ConnectEhrApplicationUrl } from "../../container/ConnectEhr/ConnectEhr";
|
|
3
2
|
export interface HomeViewProps {
|
|
4
3
|
/**
|
|
5
4
|
* Notification Type to display for the most recent notification
|
|
@@ -11,7 +10,7 @@ export interface HomeViewProps {
|
|
|
11
10
|
/** Hide the task due date on displayed tasks */
|
|
12
11
|
hideTaskDueDate?: boolean;
|
|
13
12
|
/** When present, causes the EHR connect widget to display. */
|
|
14
|
-
ehrConnectApplicationUrl?:
|
|
13
|
+
ehrConnectApplicationUrl?: string;
|
|
15
14
|
notificationsViewUrl?: string;
|
|
16
15
|
tasksViewUrl?: string;
|
|
17
16
|
preview?: boolean;
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { TermInformationReference } from "../../container/TermInformation/TermInformation";
|
|
2
3
|
export interface MedicationsViewProps {
|
|
3
4
|
presentation?: "Push" | "Modal";
|
|
4
5
|
previewState?: "default";
|
|
6
|
+
onViewTermInfo?(termInfo: TermInformationReference): void;
|
|
5
7
|
}
|
|
6
8
|
export default function (props: MedicationsViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import "./ReportView.css";
|
|
3
|
+
export interface ReportViewProps {
|
|
4
|
+
reportId: string;
|
|
5
|
+
previewState?: "html" | "pdf";
|
|
6
|
+
}
|
|
7
|
+
export interface ReportContent {
|
|
8
|
+
Summary: string;
|
|
9
|
+
Type: string;
|
|
10
|
+
Content: string;
|
|
11
|
+
ContentType: string;
|
|
12
|
+
}
|
|
13
|
+
export default function (props: ReportViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import ReportView, { ReportViewProps } from "./ReportView";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof ReportView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Html: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
};
|
|
15
|
+
render: (args: ReportViewProps) => React.JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export declare const Pdf: {
|
|
18
|
+
args: {
|
|
19
|
+
previewState: string;
|
|
20
|
+
};
|
|
21
|
+
render: (args: ReportViewProps) => React.JSX.Element;
|
|
22
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ConnectExternalAccountOptions } from '@careevolution/mydatahelps-js';
|
|
3
|
+
export interface StandaloneHealthAndWellnessViewProps {
|
|
4
|
+
previewState?: "default";
|
|
5
|
+
colorScheme?: "auto" | "light" | "dark";
|
|
6
|
+
connectExternalAccountOptions?: ConnectExternalAccountOptions;
|
|
7
|
+
}
|
|
8
|
+
export default function (props: StandaloneHealthAndWellnessViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import StandaloneHealthAndWellnessView, { StandaloneHealthAndWellnessViewProps } from "./StandaloneHealthAndWellnessView";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof StandaloneHealthAndWellnessView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
};
|
|
15
|
+
render: (args: StandaloneHealthAndWellnessViewProps) => React.JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export declare const Live: {
|
|
18
|
+
args: {
|
|
19
|
+
connectExternalAccountOptions: {
|
|
20
|
+
openNewWindow: boolean;
|
|
21
|
+
standaloneModeFinalRedirectPath: string;
|
|
22
|
+
};
|
|
23
|
+
render: (args: StandaloneHealthAndWellnessViewProps) => React.JSX.Element;
|
|
24
|
+
};
|
|
25
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./StandaloneHealthAndWellnessView";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TermInformationReference } from "../../container/TermInformation/TermInformation";
|
|
3
|
+
export interface TermInformationViewProps {
|
|
4
|
+
presentation?: "Push" | "Modal";
|
|
5
|
+
previewState?: "default" | "noData";
|
|
6
|
+
term?: TermInformationReference;
|
|
7
|
+
labObservationID?: string;
|
|
8
|
+
openLinksInNewWindow?: boolean;
|
|
9
|
+
}
|
|
10
|
+
export default function (props: TermInformationViewProps): React.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import TermInformationView, { TermInformationViewProps } from "./TermInformationView";
|
|
3
|
+
declare const _default: {
|
|
4
|
+
title: string;
|
|
5
|
+
component: typeof TermInformationView;
|
|
6
|
+
parameters: {
|
|
7
|
+
layout: string;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export default _default;
|
|
11
|
+
export declare const Default: {
|
|
12
|
+
args: {
|
|
13
|
+
previewState: string;
|
|
14
|
+
};
|
|
15
|
+
render: (args: TermInformationViewProps) => React.JSX.Element;
|
|
16
|
+
};
|
|
17
|
+
export declare const Live: {
|
|
18
|
+
args: {};
|
|
19
|
+
render: (args: TermInformationViewProps) => React.JSX.Element;
|
|
20
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from "./TermInformationView";
|
|
@@ -3,6 +3,8 @@ export { default as BlankView } from "./BlankView";
|
|
|
3
3
|
export { default as ConditionsView } from "./ConditionsView";
|
|
4
4
|
export { default as ConnectEhrView } from "./ConnectEhrView";
|
|
5
5
|
export { default as DeviceDataView } from "./DeviceDataView";
|
|
6
|
+
export { default as EhrNewsFeedView } from "./EhrNewsFeedView";
|
|
7
|
+
export { default as EhrNewsFeedEventDetailView } from "./EhrNewsFeedEventDetailView";
|
|
6
8
|
export { default as ExternalAccountsView } from "./ExternalAccountsView";
|
|
7
9
|
export { default as FitbitView } from "./FitbitView";
|
|
8
10
|
export { default as GarminView } from "./GarminView";
|
|
@@ -16,3 +18,5 @@ export { default as InboxView } from "./InboxView";
|
|
|
16
18
|
export { default as InboxHistoryView } from "./InboxHistoryView";
|
|
17
19
|
export { default as InboxMessageView } from "./InboxMessageView";
|
|
18
20
|
export { default as ResourceListView } from "./ResourceListView";
|
|
21
|
+
export { default as StandaloneHealthAndWellnessView } from "./StandaloneHealthAndWellnessView";
|
|
22
|
+
export { default as TermInformationView } from "./TermInformationView";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ReactNode } from "react";
|
|
2
|
+
import { EhrNewsFeedEventModel, EhrNewsFeedEventType } from "./types";
|
|
3
|
+
export interface EventTypeDefinition {
|
|
4
|
+
getTitleItems(event: EhrNewsFeedEventModel): string[];
|
|
5
|
+
getPreview?(event: EhrNewsFeedEventModel): ReactNode;
|
|
6
|
+
getKeywords(event: EhrNewsFeedEventModel): string[];
|
|
7
|
+
getDetailTitle?(event: EhrNewsFeedEventModel): string;
|
|
8
|
+
getPreviewEvent(): EhrNewsFeedEventModel;
|
|
9
|
+
hasDetail?: boolean;
|
|
10
|
+
icon: any;
|
|
11
|
+
}
|
|
12
|
+
export declare const eventTypeDefinitions: Record<EhrNewsFeedEventType, EventTypeDefinition>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { EhrNewsFeedEventModel } from "./types";
|
|
2
|
+
export declare const procedureGroupEvent: EhrNewsFeedEventModel;
|
|
3
|
+
export declare const claimServiceGroupEvent: EhrNewsFeedEventModel;
|
|
4
|
+
export declare const claimProcedureGroupEvent: EhrNewsFeedEventModel;
|
|
5
|
+
export declare const labReportEvent: EhrNewsFeedEventModel;
|
|
6
|
+
export declare const reportEvent: EhrNewsFeedEventModel;
|
|
7
|
+
export declare const immunizationEvent: EhrNewsFeedEventModel;
|
|
8
|
+
export declare const previewFeed: EhrNewsFeedEventModel[];
|
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
export type EhrNewsFeedType = "Immunizations" | "LabReports" | "Procedures" | "Reports";
|
|
2
|
+
export interface EhrNewsFeedPageModel {
|
|
3
|
+
NextPageID?: string;
|
|
4
|
+
NextPageDate?: string;
|
|
5
|
+
Events: EhrNewsFeedEventModel[];
|
|
6
|
+
}
|
|
7
|
+
export type EhrNewsFeedEvent = EhrNewsFeedImmunizationModel | EhrNewsFeedReportModel | EhrNewsFeedProcedureModel[] | EhrNewsFeedLabReportModel | EhrNewsFeedClaimProcedureModel[] | EhrNewsFeedClaimServiceModel[];
|
|
8
|
+
export type EhrNewsFeedEventType = "ProcedureGroup" | "Report" | "Immunization" | "LabReport" | "ClaimProcedureGroup" | "ClaimServiceGroup";
|
|
9
|
+
export interface EhrNewsFeedEventModel {
|
|
10
|
+
Type: EhrNewsFeedEventType;
|
|
11
|
+
Category?: string;
|
|
12
|
+
ID: string;
|
|
13
|
+
Date: string;
|
|
14
|
+
Event: EhrNewsFeedEvent;
|
|
15
|
+
Patient: EhrNewsFeedPatientModel;
|
|
16
|
+
}
|
|
17
|
+
export interface EhrNewsFeedPatientModel {
|
|
18
|
+
PatientID: string;
|
|
19
|
+
PersonID: string;
|
|
20
|
+
PatientName: string;
|
|
21
|
+
RecordAuthority: string;
|
|
22
|
+
}
|
|
23
|
+
export interface EhrNewsFeedCaregiverModel {
|
|
24
|
+
ID: string;
|
|
25
|
+
CaregiverName?: string;
|
|
26
|
+
Specialty?: string;
|
|
27
|
+
Addresses: EhrNewsFeedCaregiverAddressModel[];
|
|
28
|
+
ContactInfos: EhrNewsFeedCaregiverContactInfoModel[];
|
|
29
|
+
Pcp: boolean;
|
|
30
|
+
}
|
|
31
|
+
export interface EhrNewsFeedCaregiverAddressModel {
|
|
32
|
+
Type?: string;
|
|
33
|
+
Street1?: string;
|
|
34
|
+
Street2?: string;
|
|
35
|
+
Street3?: string;
|
|
36
|
+
City?: string;
|
|
37
|
+
County?: string;
|
|
38
|
+
State?: string;
|
|
39
|
+
Zip?: string;
|
|
40
|
+
Country?: string;
|
|
41
|
+
}
|
|
42
|
+
export interface EhrNewsFeedCaregiverContactInfoModel {
|
|
43
|
+
Type?: string;
|
|
44
|
+
Info?: string;
|
|
45
|
+
}
|
|
46
|
+
export interface EhrNewsFeedTermInformationModel {
|
|
47
|
+
TermName: string;
|
|
48
|
+
TermCode: string;
|
|
49
|
+
TermNamespace: string;
|
|
50
|
+
TermFamily: string;
|
|
51
|
+
}
|
|
52
|
+
export interface EhrNewsFeedLabReportModel {
|
|
53
|
+
ID: string;
|
|
54
|
+
ObservationDate: string;
|
|
55
|
+
PlacerOrderNumber?: string;
|
|
56
|
+
FillerOrderNumber?: string;
|
|
57
|
+
AccessionNumber?: string;
|
|
58
|
+
EncounterID?: string;
|
|
59
|
+
LabObservations: EhrNewsFeedLabObservationModel[];
|
|
60
|
+
ReportStatusDate?: string;
|
|
61
|
+
ReportStatus?: string;
|
|
62
|
+
Service: string;
|
|
63
|
+
Comment?: string;
|
|
64
|
+
OrderingCaregiver?: EhrNewsFeedCaregiverModel;
|
|
65
|
+
Location?: string;
|
|
66
|
+
ServiceDefinition?: string;
|
|
67
|
+
}
|
|
68
|
+
export interface EhrNewsFeedLabObservationModel {
|
|
69
|
+
ID: string;
|
|
70
|
+
Type: string;
|
|
71
|
+
Value: string;
|
|
72
|
+
Units?: string;
|
|
73
|
+
Acuity?: string;
|
|
74
|
+
NormalRange?: string;
|
|
75
|
+
Comment?: string;
|
|
76
|
+
AcuityHighlight?: string;
|
|
77
|
+
ObservationDate?: string;
|
|
78
|
+
ObservationResultStatus?: string;
|
|
79
|
+
ObservationResultStatusDate?: string;
|
|
80
|
+
TrendAvailable?: boolean;
|
|
81
|
+
TypeDefinition?: string;
|
|
82
|
+
}
|
|
83
|
+
export interface EhrNewsFeedProcedureModel {
|
|
84
|
+
ID: string;
|
|
85
|
+
Date?: string;
|
|
86
|
+
Procedure: string;
|
|
87
|
+
Type?: string;
|
|
88
|
+
Description?: string;
|
|
89
|
+
Location?: string;
|
|
90
|
+
PerformedByCaregiver?: EhrNewsFeedCaregiverModel;
|
|
91
|
+
VerifiedByCaregiver?: EhrNewsFeedCaregiverModel;
|
|
92
|
+
}
|
|
93
|
+
export interface EhrNewsFeedConditionModel {
|
|
94
|
+
ID: string;
|
|
95
|
+
Problem?: string;
|
|
96
|
+
Description?: string;
|
|
97
|
+
Date?: string;
|
|
98
|
+
StopDate?: string;
|
|
99
|
+
Type?: string;
|
|
100
|
+
Status?: string;
|
|
101
|
+
Term?: EhrNewsFeedTermInformationModel;
|
|
102
|
+
VerifiedByCaregiver?: EhrNewsFeedCaregiverModel;
|
|
103
|
+
}
|
|
104
|
+
export interface EhrNewsFeedMedicationModel {
|
|
105
|
+
ID: string;
|
|
106
|
+
Medication?: string;
|
|
107
|
+
PrescribedDate?: string;
|
|
108
|
+
Dose?: string;
|
|
109
|
+
Status?: string;
|
|
110
|
+
Quantity?: string;
|
|
111
|
+
Units?: string;
|
|
112
|
+
DoseUnits?: string;
|
|
113
|
+
RefillNumber?: string;
|
|
114
|
+
DaysSupplied?: string;
|
|
115
|
+
Comment?: string;
|
|
116
|
+
Prescriber?: EhrNewsFeedCaregiverModel;
|
|
117
|
+
Pharmacy?: EhrNewsFeedCaregiverModel;
|
|
118
|
+
Frequency?: string;
|
|
119
|
+
TherapeuticClass?: string;
|
|
120
|
+
}
|
|
121
|
+
export interface EhrNewsFeedPharmacyOrderModel {
|
|
122
|
+
ID: string;
|
|
123
|
+
OrderItem?: string;
|
|
124
|
+
StartDate?: string;
|
|
125
|
+
StopDate?: string;
|
|
126
|
+
Indication?: string;
|
|
127
|
+
Status?: string;
|
|
128
|
+
Route?: string;
|
|
129
|
+
Strength?: string;
|
|
130
|
+
OrderDate?: string;
|
|
131
|
+
OrderText?: string;
|
|
132
|
+
OrderingCaregiver?: EhrNewsFeedCaregiverModel;
|
|
133
|
+
}
|
|
134
|
+
export interface EhrNewsFeedReportModel {
|
|
135
|
+
ID: string;
|
|
136
|
+
Type: string;
|
|
137
|
+
Format?: string;
|
|
138
|
+
Summary?: string;
|
|
139
|
+
DictatedByCaregiver?: EhrNewsFeedCaregiverModel;
|
|
140
|
+
Content?: string;
|
|
141
|
+
Location?: string;
|
|
142
|
+
}
|
|
143
|
+
export interface EhrNewsFeedEncounterModel {
|
|
144
|
+
ID: string;
|
|
145
|
+
AdmitDate?: string;
|
|
146
|
+
DischargeDate?: string;
|
|
147
|
+
AdmissionType?: string;
|
|
148
|
+
PatientClass?: string;
|
|
149
|
+
PrimaryDiagnosis?: string;
|
|
150
|
+
PrimaryLocation?: string;
|
|
151
|
+
PrimaryCaregiver?: EhrNewsFeedCaregiverRelationshipModel;
|
|
152
|
+
OtherCaregivers?: EhrNewsFeedCaregiverRelationshipModel[];
|
|
153
|
+
DisplayMode?: string;
|
|
154
|
+
}
|
|
155
|
+
export interface EhrNewsFeedCaregiverRelationshipModel {
|
|
156
|
+
Caregiver: EhrNewsFeedCaregiverModel;
|
|
157
|
+
RelationshipTypes?: string[];
|
|
158
|
+
}
|
|
159
|
+
export interface EhrNewsFeedClaimModel {
|
|
160
|
+
ID: string;
|
|
161
|
+
Type?: string;
|
|
162
|
+
ClaimNumber?: string;
|
|
163
|
+
CaregiverRelationships?: EhrNewsFeedCaregiverRelationshipModel[];
|
|
164
|
+
StartDate?: string;
|
|
165
|
+
EndDate?: string;
|
|
166
|
+
Problems?: EhrNewsFeedClaimConditionModel[];
|
|
167
|
+
Procedures?: EhrNewsFeedClaimProcedureModel[];
|
|
168
|
+
Services?: EhrNewsFeedClaimServiceModel[];
|
|
169
|
+
Medications?: EhrNewsFeedClaimMedicationModel[];
|
|
170
|
+
Status?: string;
|
|
171
|
+
TotalCharges?: string;
|
|
172
|
+
TotalPaid?: string;
|
|
173
|
+
}
|
|
174
|
+
export interface EhrNewsFeedClaimServiceModel {
|
|
175
|
+
ID: string;
|
|
176
|
+
Service: string;
|
|
177
|
+
AmountClaimed?: string;
|
|
178
|
+
AmountPaid?: string;
|
|
179
|
+
EndDate?: string;
|
|
180
|
+
StartDate?: string;
|
|
181
|
+
Status?: string;
|
|
182
|
+
}
|
|
183
|
+
export interface EhrNewsFeedClaimMedicationModel {
|
|
184
|
+
ID: string;
|
|
185
|
+
Date?: string;
|
|
186
|
+
Medication?: string;
|
|
187
|
+
Quantity?: string;
|
|
188
|
+
RefillNumber?: string;
|
|
189
|
+
DaysSupplied?: string;
|
|
190
|
+
AmountPaid?: string;
|
|
191
|
+
AmountBilled?: string;
|
|
192
|
+
Status?: string;
|
|
193
|
+
}
|
|
194
|
+
export interface EhrNewsFeedClaimConditionModel {
|
|
195
|
+
ID: string;
|
|
196
|
+
Date?: string;
|
|
197
|
+
Problem?: string;
|
|
198
|
+
Type?: string;
|
|
199
|
+
Term?: EhrNewsFeedTermInformationModel;
|
|
200
|
+
}
|
|
201
|
+
export interface EhrNewsFeedClaimProcedureModel {
|
|
202
|
+
ID: string;
|
|
203
|
+
Date?: string;
|
|
204
|
+
Procedure: string;
|
|
205
|
+
Type?: string;
|
|
206
|
+
}
|
|
207
|
+
export interface EhrNewsFeedImmunizationModel {
|
|
208
|
+
ID: string;
|
|
209
|
+
Date?: string;
|
|
210
|
+
MedicationName: string;
|
|
211
|
+
}
|