This repository has been archived by the owner on Sep 19, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
/
substanceUse.js
145 lines (128 loc) · 3.88 KB
/
substanceUse.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
import * as sections from 'constants/sections'
import { i18n } from 'config'
export const SUBSTANCE_USE = {
key: sections.SUBSTANCE_USE,
name: 'substance',
path: 'substance',
store: 'Substance',
label: i18n.t('substance.section.name'),
}
export const SUBSTANCE_USE_INTRO = {
key: sections.SUBSTANCE_USE_INTRO,
name: 'intro',
path: 'intro',
label: i18n.t('substance.subsection.intro'),
}
export const SUBSTANCE_USE_DRUGS = {
key: sections.SUBSTANCE_USE_DRUGS,
name: 'drugs',
path: 'drugs',
label: i18n.t('substance.subsection.drugs.label'),
}
export const SUBSTANCE_USE_DRUGS_USAGE = {
key: sections.SUBSTANCE_USE_DRUGS_USAGE,
name: 'drugs/usage',
path: 'usage',
storeKey: 'DrugUses',
label: i18n.t('substance.subsection.drugs.usage'),
}
export const SUBSTANCE_USE_DRUGS_PURCHASE = {
key: sections.SUBSTANCE_USE_DRUGS_PURCHASE,
name: 'drugs/purchase',
path: 'purchase',
storeKey: 'DrugInvolvements',
label: i18n.t('substance.subsection.drugs.purchase'),
}
export const SUBSTANCE_USE_DRUGS_CLEARANCE = {
key: sections.SUBSTANCE_USE_DRUGS_CLEARANCE,
name: 'drugs/clearance',
path: 'clearance',
storeKey: 'DrugClearanceUses',
label: i18n.t('substance.subsection.drugs.clearance'),
}
export const SUBSTANCE_USE_DRUGS_PUBLIC_SAFETY = {
key: sections.SUBSTANCE_USE_DRUGS_PUBLIC_SAFETY,
name: 'drugs/publicsafety',
path: 'publicsafety',
storeKey: 'DrugPublicSafetyUses',
label: i18n.t('substance.subsection.drugs.publicsafety'),
}
export const SUBSTANCE_USE_DRUGS_MISUSE = {
key: sections.SUBSTANCE_USE_DRUGS_MISUSE,
name: 'drugs/misuse',
path: 'misuse',
storeKey: 'PrescriptionUses',
label: i18n.t('substance.subsection.drugs.misuse'),
}
export const SUBSTANCE_USE_DRUGS_ORDERED = {
key: sections.SUBSTANCE_USE_DRUGS_ORDERED,
name: 'drugs/ordered',
path: 'ordered',
storeKey: 'OrderedTreatments',
label: i18n.t('substance.subsection.drugs.ordered'),
}
export const SUBSTANCE_USE_DRUGS_VOLUNTARY = {
key: sections.SUBSTANCE_USE_DRUGS_VOLUNTARY,
name: 'drugs/voluntary',
path: 'voluntary',
storeKey: 'VoluntaryTreatments',
label: i18n.t('substance.subsection.drugs.voluntary'),
}
export const SUBSTANCE_USE_ALCOHOL = {
key: sections.SUBSTANCE_USE_ALCOHOL,
name: 'alcohol',
path: 'alcohol',
label: i18n.t('substance.subsection.alcohol.label'),
}
export const SUBSTANCE_USE_ALCOHOL_NEGATIVE = {
key: sections.SUBSTANCE_USE_ALCOHOL_NEGATIVE,
name: 'alcohol/negative',
path: 'negative',
storeKey: 'NegativeImpacts',
label: i18n.t('substance.subsection.alcohol.negative'),
}
export const SUBSTANCE_USE_ALCOHOL_ORDERED = {
key: sections.SUBSTANCE_USE_ALCOHOL_ORDERED,
name: 'alcohol/ordered',
path: 'ordered',
storeKey: 'OrderedCounselings',
label: i18n.t('substance.subsection.alcohol.ordered'),
}
export const SUBSTANCE_USE_ALCOHOL_VOLUNTARY = {
key: sections.SUBSTANCE_USE_ALCOHOL_VOLUNTARY,
name: 'alcohol/voluntary',
path: 'voluntary',
storeKey: 'VoluntaryCounselings',
label: i18n.t('substance.subsection.alcohol.voluntary'),
}
export const SUBSTANCE_USE_ALCOHOL_ADDITIONAL = {
key: sections.SUBSTANCE_USE_ALCOHOL_ADDITIONAL,
name: 'alcohol/additional',
path: 'additional',
storeKey: 'ReceivedCounselings',
label: i18n.t('substance.subsection.alcohol.additional'),
}
export const SUBSTANCE_USE_REVIEW = {
key: sections.SUBSTANCE_USE_REVIEW,
name: 'review',
path: 'review',
label: i18n.t('substance.subsection.review'),
}
export default {
SUBSTANCE_USE,
SUBSTANCE_USE_INTRO,
SUBSTANCE_USE_DRUGS,
SUBSTANCE_USE_DRUGS_USAGE,
SUBSTANCE_USE_DRUGS_PURCHASE,
SUBSTANCE_USE_DRUGS_CLEARANCE,
SUBSTANCE_USE_DRUGS_PUBLIC_SAFETY,
SUBSTANCE_USE_DRUGS_MISUSE,
SUBSTANCE_USE_DRUGS_ORDERED,
SUBSTANCE_USE_DRUGS_VOLUNTARY,
SUBSTANCE_USE_ALCOHOL,
SUBSTANCE_USE_ALCOHOL_NEGATIVE,
SUBSTANCE_USE_ALCOHOL_ORDERED,
SUBSTANCE_USE_ALCOHOL_VOLUNTARY,
SUBSTANCE_USE_ALCOHOL_ADDITIONAL,
SUBSTANCE_USE_REVIEW,
}