-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMHAC_Strings.ahk
129 lines (124 loc) · 5.54 KB
/
MHAC_Strings.ahk
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
#SingleInstance Force
TXTSolutionListPsychiatry(boolPtIsMinor, txtScreening)
{
If boolReferralExistsPsychiatry() ; Dont load unless pt has a referral
{
If (boolPtIsMinor = 0)
{
If (txtScreening = "PtUnavailable") ;Pt is 18+ and the caller is a different person. Please address and handle!
{
Return "Not Requested|Magellan (*Recommended)|EDS|IDS|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Mild" or txtScreening = "Routine") ;Mild or Routine
{
Return "Not Requested|Magellan (*Recommended)|EDS|IDS|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Moderate") ;Moderate
{
Return "Not Requested|Magellan (*w/ Moderate Therapy)|EDS|IDS (*w/ High-Priority Wait List)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Emergent") ;Emergent
{
Return "Not Requested|Magellan|EDS|IDS|MHCC Warm Transfer (*Emergent)"
}
Else Return "Not Requested|Magellan|EDS|IDS|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
If (boolPtIsMinor = 1)
{
If (txtScreening = "Mild" or txtScreening = "Routine") ;Mild or Routine
{
Return "Not Requested|Magellan|EDS|IDS (*Recommended)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Moderate" or txtScreening = "Emergent") ;Moderate or Emergent
{
Return "Not Requested|Magellan|EDS|IDS|MHCC Warm Transfer (*Emergent)"
}
Else Return "Not Requested|Magellan|EDS|IDS (*Recommended)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
}
Else
{
If (txtScreening = "Emergent") ;Emergent
Return "Not Requested (*referral required)|Magellan|EDS|IDS|PCAC Cold Transfer|MHCC Warm Transfer (*Emergent)|MHCC Cold Transfer|MHCC CRM"
Else Return "Not Requested (*referral required)|Magellan|EDS|IDS|PCAC Cold Transfer (*Recommended)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
}
TXTSolutionListTherapy(boolPtIsMinor, txtScreening)
{
If (boolPtIsMinor = 0)
{
If (txtScreening = "PtUnavailable") ;Pt is 18+ and the caller is a different person. Please address and handle!
{
Return "Not Requested|Magellan|EDS|IDS|MHCC Intake (*Recommended)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Mild") ;Mild
{
Return "Not Requested|Magellan (*Recommended)|EDS|MHCC Intake|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Routine") ;Routine
{
Return "Not Requested|Magellan (*Recommended)|EDS|MHCC Intake|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Moderate") ;Moderate
{
Return "Not Requested|Magellan (*w/ Moderate Psychiatry)|EDS|MHCC Intake (*Recommended)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Emergent") ;Emergent
{
Return "Not Requested|Magellan|EDS|MHCC Intake|MHCC Warm Transfer (*Emergent)"
}
Else Return "Not Requested|Magellan|EDS|MHCC Intake|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
If (boolPtIsMinor = 1)
{
If (txtScreening = "NoROI") ;Pt is <18 and the caller does not have ROI. Please address and handle!
{
Return "Not Requested|Magellan (*Recommended)|EDS|IDS|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Mild" or txtScreening = "Routine") ;Mild or Routine
{
;Return "Not Requested|Magellan|EDS|IDS < 30 days (*Recommended)"
Return "Not Requested|Magellan|EDS|IDS < 30 days or EDS (*Recommended)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM" ; causing issue with EDS in it
}
Else If (txtScreening = "Moderate" or txtScreening = "Emergent") ;Moderate or Emergent
{
Return "Not Requested|Magellan|EDS|IDS|MHCC Warm Transfer (*Emergent)"
}
Else Return "Not Requested|Magellan|EDS|IDS|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
}
TXTSolutionListPsychology(boolPtIsMinor, txtScreening) ;Need to add a note about Bariatric scheduling.
{
If (boolPtIsMinor = 0)
{
If (txtScreening = "ThirdParty") ;Court, DUI, VA, CPS
{
Return "Not Requested|Magellan|EDS|IDS|Cold transfer MHCC (*Recommended)|MHCC CRM"
}
Else If (txtScreening = "Mild" or txtScreening = "Routine" or txtScreening = "Moderate") ;Moderate
{
Return "Not Requested|Magellan|EDS|IDS (*Recommended)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Emergent") ;Emergent
{
Return "Not Requested|Magellan|EDS|IDS (*PsyD Never Urgent)|MHCC Warm Transfer (*Emergent)"
}
Else Return "Not Requested|Magellan|EDS|IDS|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
If (boolPtIsMinor = 1) ; If no referral PCP must put in a referral.
{
If (txtScreening = "Mild" or txtScreening = "Routine") ;Normal
{
Return "Not Requested|Magellan|EDS|IDS (*Recommended)|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
Else If (txtScreening = "Moderate" or txtScreening = "Emergent") ;Alert
{
Return "Not Requested|Magellan|EDS|IDS (*PsyD Never Urgent)|MHCC Warm Transfer (*Emergent)"
}
Else Return "Not Requested|Magellan|EDS|IDS|MHCC Warm Transfer|MHCC Cold Transfer|MHCC CRM"
}
}
TXTSolutionListOther()
{
Return "SUD|MH IOP|Eating Disorder|Gender Health|3rd Party"
}