forked from symptomatic/covid19-on-fhir
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.jsx
115 lines (95 loc) · 2.35 KB
/
index.jsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
import React from 'react';
import CovidQueryPage from './client/CovidQueryPage';
import AboutDialog from './client/AboutDialog';
import PrivacyPage from './client/PrivacyPage';
import TermsAndConditionsPage from './client/TermsAndConditionsPage';
import ConformanceCheck from './client/ConformanceCheck';
import CovidLaunchPage from './client/CovidLaunchPage';
import PopupRedirectPage from './client/PopupRedirectPage';
import {
FetchButtons,
SampleDialogComponent
} from './client/FooterButtons';
import PatientChartWorkflowTabs from './client/PatientChartWorkflowTabs';
import CovidWorkflowTabs from './client/CovidWorkflowTabs';
let DynamicRoutes = [{
'name': 'CovidOnFhirAppPage',
'path': '/bulk-data-query',
'component': CovidQueryPage
}, {
'name': 'CovidQueryPage',
'path': '/query-fhir-provider',
'component': CovidQueryPage
}, {
'name': 'BulkDataFetch',
'path': '/bulk-data-fetch',
'component': CovidQueryPage
}, {
'name': 'AboutDialog',
'path': '/info',
'component': AboutDialog
}, {
'name': 'PrivacyPage',
'path': '/privacy',
'component': PrivacyPage
}, {
'name': 'TermsAndConditionsPage',
'path': '/terms-and-conditions',
'component': TermsAndConditionsPage
}];
let DialogComponents = [{
name: "SampleDialogComponent",
component: <SampleDialogComponent />
}, {
name: "ConformanceCheck",
component: <ConformanceCheck />
}, {
name: "AboutDialog",
component: <AboutDialog />
}]
let FooterButtons = [{
pathname: '/query-fhir-provider',
component: <FetchButtons />
}, {
pathname: '/bulk-data-fetch',
component: <FetchButtons />
}];
let SidebarWorkflows = [{
primaryText: 'Bulk Data Fetch',
to: '/bulk-data-fetch',
iconName: 'fire',
workflowTabs: "default"
}, {
primaryText: 'Patient Chart',
to: '/patient-chart',
iconName: 'user',
workflowTabs: "patientchart"
}, {
primaryText: 'Quick Chart',
to: '/patient-quickchart',
iconName: 'user'
}];
let WorkflowTabs = [{
name: "CovidWorkflowTabs",
component: <CovidWorkflowTabs />,
matchingPaths: [
"/bulk-data-fetch",
"/geocoding",
"/map",
"/reporting"
]
}]
// let MainPage = CovidQueryPage;
let LaunchPage = CovidLaunchPage;
export {
DynamicRoutes,
CovidQueryPage,
PatientChartWorkflowTabs,
CovidWorkflowTabs,
FooterButtons,
SidebarElements,
DialogComponents,
SidebarWorkflows,
WorkflowTabs,
LaunchPage
};