This repository has been archived by the owner on Dec 22, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathFacilities.js
156 lines (154 loc) · 6.35 KB
/
Facilities.js
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
const facilities = [
{
id: 1,
name: 'A GSA Facility',
image: 'https://www.gsa.gov/sites/gsa.gov/templates/resources/images/nav-logo.png',
image_desc: 'GSA',
header_color: '#204F81',
header_text_color: '#ffffff',
created_by: 'System',
created_on: '06/12/2020',
effective_from: '06/12/2020',
effective_till: '06/12/2021',
flow_enabled: true,
address: 'Any',
gps_coord: "",
sms_number: "",
flow_id: 1
},
{
id: 2,
name: 'VA Facility (Not Active Screening)',
image: 'https://prod-va-gov-assets.s3-us-gov-west-1.amazonaws.com/img/header-logo.png',
image_desc: 'Veterans Affairs',
header_color: '#112e51',
header_text_color: '#ffffff',
created_by: 'Mrs Smith',
created_on: '05/20/2020',
effective_from: '05/25/2020',
effective_till: '05/25/2020',
flow_enabled: true,
address: 'Any',
gps_coord: "",
sms_number: "",
flow_id: 4
},
{
id: 3,
name: 'VA Facility (Complex Flow)',
image: 'https://prod-va-gov-assets.s3-us-gov-west-1.amazonaws.com/img/header-logo.png',
image_desc: 'Veterans Affairs',
header_color: '#112e51',
header_text_color: '#ffffff',
created_by: 'Mrs Smith',
created_on: '05/20/2020',
effective_from: '05/25/2020',
effective_till: '05/25/2021',
flow_enabled: true,
address: 'Any',
gps_coord: "",
sms_number: "",
flow_id: 2
},
{
id: 4,
name: 'SSA Covid-19 Screening Tool',
image: 'https://www.ssa.gov/framework/images/logo.svg',
image_desc: 'SSA',
header_color: '#112e51',
header_text_color: '#ffffff',
created_by: 'Mrs Smith',
created_on: '05/20/2020',
effective_from: '05/25/2020',
effective_till: '05/25/2021',
flow_enabled: true,
address: 'Any',
gps_coord: "",
sms_number: "",
flow_id: 2
},
{
id: 5,
name: 'CDC Facility Entrance Protocol',
image: '/assets/img/cdc.png',
image_desc: 'CDC',
header_color: '#ffffff',
header_text_color: '#000000',
created_by: 'Cheryl Prigodich',
created_on: '06/17/2020',
effective_from: '06/17/2020',
effective_till: '06/17/2031',
flow_enabled: true,
address: 'Any',
gps_coord: "",
weekday_background_color_array: ['#ffffff','#ead9d9','#e1ead9','#ead9e7','#deead9','#d9e0ea','#ead9d9'],
weekday_text_color_array: ['#080808','#080808','#080808','#080808','#080808','#080808','#080808 '],
weekday_card_bg_color_array: ['#00ff00','#0000ff','#ffeb3b','#9c27b0','#00bcd4','#8bc34a','#795548'],
weekday_card_text_color_array: ['#ffffff','#ffffff','#080808','#ffffff','#000000','#000000','#ffffff '],
sms_number: "",
flow_id: 5
},
{
id: 6, // each facility has its unique ID
name: 'VA Facility Entrance Protocol For VACO',
generate_site: false, // if set to true, the site generator creates an id.flow_id.html file from this config
image: 'https://prod-va-gov-assets.s3-us-gov-west-1.amazonaws.com/img/header-logo.png',
image_desc: 'Veterans Affairs',
header_color: '#112e51',
header_text_color: '#ffffff', //TODO
created_by: 'Joseph Nassar', // For record
created_on: '06/23/2020', // For record
effective_from: '06/20/2020', // Work after this date
effective_till: '06/19/2021', // Work before this date
flow_enabled: true, // overall control
address: 'Any', // TODO
gps_coord: "", // TODO
sms_number: "", // TODO
flow_id: 6 // ID of the FlowChart
// to use for this facility
},
{
id: 7, // each facility has its unique ID
name: 'VA Non-Medical Facility Entrance Protocol',
default: false, // if set to true, the site generator script creates an index.html file from this config
generate_site: true, // if set to true, the site generator creates an id.flow_id.html file from this config
image: 'https://prod-va-gov-assets.s3-us-gov-west-1.amazonaws.com/img/header-logo.png',
image_desc: 'Veterans Affairs',
header_color: '#112e51',
header_text_color: '#ffffff',
created_by: 'Bradly Armstrong', // For record
created_on: '06/25/2020', // For record
effective_from: '07/1/2020', // Work after this date
effective_till: '06/30/2022', // Work before this date
flow_enabled: true, // overall control
address: 'Any', // TODO
gps_coord: "", // TODO
sms_number: "", // TODO
flow_id: 7 // ID of the FlowChart
// to use for this facility
},
{
id: 8, // each facility has its unique ID
name: 'VA Non-Medical Facility Entrance Protocol',
default: true, // if set to true, the site generator script creates an index.html file from this config
generate_site: true, // if set to true, the site generator creates an id.flow_id.html file from this config
image: 'https://prod-va-gov-assets.s3-us-gov-west-1.amazonaws.com/img/header-logo.png',
image_desc: 'Veterans Affairs',
header_color: '#112e51',
header_text_color: '#ffffff',
created_by: 'Bradly Armstrong', // For record
created_on: '06/25/2020', // For record
effective_from: '02/12/2021', // Work after this date
effective_till: '06/30/2023', // Work before this date
flow_enabled: true, // overall control
address: 'Any', // TODO
gps_coord: "", // TODO
sms_number: "", // TODO
flow_id: 8 // ID of the FlowChart
// to use for this facility
},
];
function is_valid_facility_id(id) {
return(facilities.some(facility => facility.id == id));
}
module.exports = facilities;