source: WorldVistAEHR/trunk/r/CLINICAL_REMINDERS-PXRM/PXRMGECY.m@ 836

Last change on this file since 836 was 613, checked in by George Lilly, 15 years ago

initial load of WorldVistAEHR

File size: 8.5 KB
Line 
1PXRMGECY ;SLC/JVS - GEC Debug Utilities#2 ;08/21/2003 08:55
2 ;;2.0;CLINICAL REMINDERS;;Feb 04, 2005
3 ;
4 Q
5MATCHB ;Build tmp global with origingal health factor names from PXRMGECY
6 ;
7 N GECNA,I,GECDA
8 S CNT=0
9 S GECNA=""
10 F I=1:1:300 S GECNA=$P($TEXT(MATCH+I),";",4) S CNT=CNT+1 Q:GECNA="" D
11 .S GECDA=$P($TEXT(MATCH+I),";",3)
12 .S ^TMP("PXRMGEC",$J,"MATCH",GECNA,$S(GECDA="":0,1:$P($T(MATCH+I),";",3)))=""
13 ;
14 Q
15 ;
16MATCH ;MATCH AGINST
17 ;;334;GEC REFERRAL ADDITIONAL INFO
18 ;;97;GEC ADVANCE DIRECTIVE-NO
19 ;;98;GEC ADVANCE DIRECTIVE-YES
20 ;;126;GEC BETTER OTHER LIVING ENVIRONMENT-NO
21 ;;127;GEC BETTER OTHER LIVING ENVIRONMENT-YES
22 ;;167;GEC DIFFICULT TO ENTER/LEAVE HOME-NO
23 ;;168;GEC DIFFICULT TO ENTER/LEAVE HOME-YES
24 ;;192;GEC DPOA FINANCIAL
25 ;;193;GEC DPOA HEALTH CARE
26 ;;205;GEC FIDUCIARY/CONSERVATOR
27 ;;221;GEC GUARDIAN
28 ;;257;GEC LEFT ALONE LAST 7D-NO
29 ;;258;GEC LEFT ALONE LAST 7D-YES
30 ;;307;GEC OTHERS MOVED IN W/PT LAST 90D-NO
31 ;;308;GEC OTHERS MOVED IN W/PT LAST 90D-YES
32 ;;321;GEC PHYSICAL ACTIVITY 2HRS LAST 7D-NO
33 ;;322;GEC PHYSICAL ACTIVITY 2HRS LAST 7D-YES
34 ;;346;GEC REFERRAL HOMEBOUND STATUS
35 ;;229;GEC HOMEBOUND-NO
36 ;;230;GEC HOMEBOUND-YES
37 ;;348;GEC REFERRAL IADL
38 ;;169;GEC DIFFICULT TRANSPORTATION/LAST 7D-NO
39 ;;170;GEC DIFFICULT TRANSPORTATION/LAST 7D-YES
40 ;;171;GEC DIFFICULTY MANAGING MEDS/LAST 7D-NO
41 ;;172;GEC DIFFICULTY MANAGING MEDS/LAST 7D-YES
42 ;;173;GEC DIFFICULTY MNG FINANCES/LAST 7D-NO
43 ;;174;GEC DIFFICULTY MNG FINANCES/LAST 7D-YES
44 ;;175;GEC DIFFICULTY PREPARE MEALS/LAST 7D-NO
45 ;;176;GEC DIFFICULTY PREPARE MEALS/LAST 7D-YES
46 ;;177;GEC DIFFICULTY USING PHONE/LAST 7D-NO
47 ;;178;GEC DIFFICULTY USING PHONE/LAST 7D-YES
48 ;;179;GEC DIFFICULTY W/ HOUSEWORK/LAST 7D-NO
49 ;;180;GEC DIFFICULTY W/ HOUSEWORK/LAST 7D-YES
50 ;;181;GEC DIFFICULTY WITH SHOPPING/LAST 7D-NO
51 ;;182;GEC DIFFICULTY WITH SHOPPING/LAST 7D-YES
52 ;;266;GEC MEALS PREPARED BY OTHERS/LAST 7D-NO
53 ;;267;GEC MEALS PREPARED BY OTHERS/LAST 7D-YES
54 ;;332;GEC RECENT CHANGE IN IADL FX-YES
55 ;;331;GEC RECENT CHANGE IN IADL RX-NO
56 ;;349;GEC REFERRAL LANGUAGE
57 ;;202;GEC ENGLISH
58 ;;292;GEC OTHER LANGUAGE
59 ;;382;GEC SPANISH
60 ;;350;GEC REFERRAL LIVING SITUATION
61 ;;128;GEC BOARD AND CARE/ASSISTED LIVING
62 ;;184;GEC DOMICILIARY
63 ;;237;GEC HOMELESS
64 ;;238;GEC HOMELESS SHELTER
65 ;;261;GEC LIVES WHERE-OTHER
66 ;;278;GEC NURSING HOME
67 ;;325;GEC PRIVATE HOME/APT
68 ;;351;GEC REFERRAL LIVING SITUATION-WITH WHO
69 ;;101;GEC ALONE
70 ;;145;GEC CHILD (NOT SPOUSE)
71 ;;220;GEC GROUP SETTING WITH NON-RELATIVES
72 ;;262;GEC LIVES WITH SPOUSE & OTHERS
73 ;;306;GEC OTHERS (NOT SPOUSE OR CHILDREN)
74 ;;386;GEC SPOUSE ONLY
75 ;;355;GEC REFERRAL PRIMARY UNPAID CAREGIVER
76 ;;90;GEC ACCESSIBLE TO PT-NO
77 ;;91;GEC ACCESSIBLE TO PT-YES
78 ;;94;GEC ADL HELP
79 ;;99;GEC ADVICE/EMOTIONAL SUPPORT
80 ;;136;GEC CAREGIVER CITY
81 ;;137;GEC CAREGIVER FIRST NAME
82 ;;138;GEC CAREGIVER LAST NAME
83 ;;139;GEC CAREGIVER LIVES WITH PT-NO
84 ;;140;GEC CAREGIVER LIVES WITH PT-YES
85 ;;141;GEC CAREGIVER PHONE
86 ;;142;GEC CAREGIVER STATE
87 ;;143;GEC CAREGIVER STREET ADDRESS
88 ;;144;GEC CAREGIVER ZIPCODE
89 ;;146;GEC CHILD/CHILD-IN-LAW
90 ;;208;GEC FRIEND/NEIGHBOR
91 ;;249;GEC IADL HELP
92 ;;274;GEC NO CAREGIVER
93 ;;302;GEC OTHER RELATIVE
94 ;;385;GEC SPOUSE
95 ;;433;GEC WILLING/ABLE TO INCREASE HELP-NO
96 ;;434;GEC WILLING/ABLE TO INCREASE HELP-YES
97 ;;359;GEC REFERRAL SERVICES IN THE HOME
98 ;;227;GEC HOME HEALTH AIDE/LAST 14D-NO
99 ;;228;GEC HOME HEALTH AIDE/LAST 14D-YES
100 ;;372;GEC RN HOME VISIT(T+/-30D)-NO
101 ;;373;GEC RN HOME VISIT(T+/-30D)-YES
102 ;;380;GEC SOCIAL WORK ASSISTANCE/LAST 14D-NO
103 ;;381;GEC SOCIAL WORK ASSISTANCE/LAST 14D-YES
104 ;;362;GEC REFERRAL SOURCE OF REFERRAL
105 ;;150;GEC COMMUNITY NRSNG HOME (REFERRED FROM)
106 ;;224;GEC HOME BASED PR. CARE (REFERRED FROM
107 ;;246;GEC HOSPITAL < 7 DAYS
108 ;;247;GEC HOSPITAL > 6 DAYS
109 ;;301;GEC OTHER REFERRAL SOURCE
110 ;;309;GEC OUTPATIENT CLINIC
111 ;;416;GEC VA DOMICILIARY (REFERRED FROM)
112 ;;424;GEC VA NURSING HOME
113 ;;335;GEC REFERRAL BASIC ADL
114 ;;119;GEC BATHING HELP/SUPERVISION LAST 7D-NO
115 ;;120;GEC BATHING HELP/SUPERVISION LAST 7D-YES
116 ;;121;GEC BATHING PHYS ASST NEEDED LAST 7D-NO
117 ;;122;GEC BATHING PHYS ASST NEEDED LAST 7D-YES
118 ;;123;GEC BED POSITIONING HELP LAST 7D-NO
119 ;;124;GEC BED POSITIONING HELP LAST 7D-YES
120 ;;194;GEC DRESS HELP/SUPERVISION LAST 7D-NO
121 ;;195;GEC DRESS HELP/SUPERVISION LAST 7D-YES
122 ;;198;GEC EATING HELP/SUPERVISION LAST 7D-NO
123 ;;199;GEC EATING HELP/SUPERVISION LAST 7D-YES
124 ;;252;GEC INDEPENDENT IN WC LAST 7D-NO
125 ;;253;GEC INDEPENDENT IN WC LAST 7D-YES
126 ;;272;GEC MOVING AROUND INDOORS LAST 7D-NO
127 ;;273;GEC MOVING AROUND INDOORS LAST 7D-YES
128 ;;329;GEC RECENT CHANGE IN ADL FX-NO
129 ;;330;GEC RECENT CHANGE IN ADL FX-YES
130 ;;402;GEC TOILET HELP/SUPERVISION LAST 7D-NO
131 ;;403;GEC TOILET HELP/SUPERVISION LAST 7D-YES
132 ;;406;GEC TRANSFERS HELP/SPRVISION LAST 7D-NO
133 ;;407;GEC TRANSFERS HELP/SPRVISION LAST 7D-YES
134 ;;336;GEC REFERRAL COGNITIVE STATUS
135 ;;129;GEC CAN BE UNDERSTOOD LAST 7D-NO
136 ;;130;GEC CAN BE UNDERSTOOD LAST 7D-YES
137 ;;200;GEC ENDANGERED SAFETY LAST 90D-NO
138 ;;201;GEC ENDANGERED SAFETY LAST 90D-YES
139 ;;264;GEC MADE REASONABLE DECISION LAST 7D-YES
140 ;;265;GEC MADE REASONABLE DECISIONS LAST 7D-NO
141 ;;338;GEC REFERRAL CONTINENCE
142 ;;389;GEC STOOL INCONTINENT-NO
143 ;;390;GEC STOOL INCONTINENT-YES
144 ;;413;GEC URINE INCONTINENT-NO
145 ;;414;GEC URINE INCONTINENT-YES
146 ;;339;GEC REFERRAL DIET
147 ;;270;GEC MODIFIED DIET
148 ;;365;GEC REGULAR DIET
149 ;;341;GEC REFERRAL EQUIPMENT/PROSTHETICS
150 ;;93;GEC ADL EQUIPMENT
151 ;;131;GEC CANE
152 ;;248;GEC HOSPITAL BED
153 ;;288;GEC ORTHOTIC/SPLINT
154 ;;291;GEC OTHER EQUIPMENT
155 ;;383;GEC SPECIAL MATTRESS
156 ;;408;GEC TRAPEZE
157 ;;429;GEC WALKER/ASSISTIVE DEVICE
158 ;;432;GEC WHEELCHAIR
159 ;;354;GEC REFERRAL PATIENT BEHAVIORS/SYMPTOM
160 ;;222;GEC HALLUCINATIONS/DELUSIONS LAST 7D-NO
161 ;;223;GEC HALLUCINATIONS/DELUSIONS LAST 7D-YES
162 ;;323;GEC PHYSICALLY ABUSIVE LAST 7D-NO
163 ;;324;GEC PHYSICALLY ABUSIVE LAST 7D-YES
164 ;;368;GEC RESISTS CARE LAST 7D-NO
165 ;;369;GEC RESISTS CARE LAST 7D-YES
166 ;;426;GEC VERBALLY ABUSIVE LAST 7D-NO
167 ;;427;GEC VERBALLY ABUSIVE LAST 7D-YES
168 ;;430;GEC WANDERING LAST 7D-NO
169 ;;431;GEC WANDERING LAST 7D-YES
170 ;;356;GEC REFERRAL PROGNOSIS
171 ;;132;GEC CAPABLE INCREASED INDEPENDENCE-YES
172 ;;133;GEC CAPABLE INCREASED INDEPENDENCE-NO
173 ;;203;GEC EXACERBATION CHR ILLNESS LAST 7D-YES
174 ;;204;GEC EXACERBATION CHR ILLNESS LAST 7D-NO
175 ;;259;GEC LIFE EXPECTANCY < 6MO-NO
176 ;;260;GEC LIFE EXPECTANCY < 6MO-YES
177 ;;360;GEC REFERRAL SKILLED CARE
178 ;;154;GEC CPAP/BIPAP/VENT-NO
179 ;;155;GEC CPAP/BIPAP/VENT-YES
180 ;;157;GEC PRESSURE ULCER CARE-NO
181 ;;158;GEC PRESSURE ULCER CARE-YES
182 ;;159;GEC PRESSURE ULCER-STAGE 1
183 ;;160;GEC PRESSURE ULCER-STAGE 2
184 ;;161;GEC PRESSURE ULCER-STAGE 3
185 ;;162;GEC PRESSURE ULCER-STAGE 4
186 ;;163;GEC DIALYSIS (CENTER-BASED)-NO
187 ;;164;GEC DIALYSIS (CENTER-BASED)-YES
188 ;;165;GEC DIALYSIS (HOME-BASED)-NO
189 ;;166;GEC DIALYSIS (HOME-BASED)-YES
190 ;;196;GEC DYSPHAGIA DIET-NO
191 ;;197;GEC DYSPHAGIA DIET-YES
192 ;;206;GEC FREQ RN OBSERVATION >QWEEK-NO
193 ;;207;GEC FREQ RN OBSERVATION >QWEEK-YES
194 ;;255;GEC IV INFUSIONS-NO
195 ;;256;GEC IV INFUSIONS-YES
196 ;;268;GEC MEDICATIONS BY INJECTION-NO
197 ;;269;GEC MEDICATIONS BY INJECTION-YES
198 ;;289;GEC OSTOMY CARE (NOT TRACH)-NO
199 ;;290;GEC OSTOMY CARE (NOT TRACH)-YES
200 ;;303;GEC OTHER SKILLED CARE-1
201 ;;304;GEC OTHER SKILLED CARE-2
202 ;;310;GEC OXYGEN-NO
203 ;;311;GEC OXYGEN-YES
204 ;;314;GEC PARENTERAL FEEDING-NO
205 ;;315;GEC PARENTERAL FEEDING-YES
206 ;;327;GEC PT/OT/SPEECH/KIN-NO
207 ;;328;GEC PT/OT/SPEECH/KIN-YES
208 ;;397;GEC SUBSTANCE ABUSE TX-NO
209 ;;398;GEC SUBSTANCE ABUSE TX-YES
210 ;;399;GEC SUCTIONING-NO
211 ;;400;GEC SUCTIONING-YES
212 ;;404;GEC TRACH CARE-NO
213 ;;405;GEC TRACH CARE-YES
214 ;;409;GEC TUBEFEEDING-NO
215 ;;410;GEC TUBEFEEDING-YES
216 ;;411;GEC URINARY CATHETER CARE-NO
217 ;;412;GEC URINARY CATHETER CARE-YES
218 ;;435;GEC WOUND CARE (NON-PRESSURE ULCER)-NO
219 ;;436;GEC WOUND CARE (NON-PRESSURE ULCER)-YES
220 ;;361;GEC REFERRAL SKIN
221 ;;377;GEC SKIN PROBLEMS LAST 30D-NO
222 ;;378;GEC SKIN PROBLEMS LAST 30D-YES
223 ;;364;GEC REFERRAL WEIGHT BEARING
224 ;;209;GEC FULL WEIGHT BEARING
225 ;;275;GEC NON WEIGHTBEARING
226 ;;316;GEC PARTIAL WEIGHT BEARING
227 ;;342;GEC REFERRAL EST. DURATION OF SERVICES
228 ;;87;GEC 2-3 MONTHS
229 ;;88;GEC 2-3 WEEKS
230 ;;89;GEC 4-6 MONTHS
231 ;;251;GEC INDEFINITE
232 ;;286;GEC ONE MONTH
233 ;;287;GEC ONE WEEK OR LESS
234 ;;344;GEC REFERRAL GOALS OF CARE
235 ;;125;GEC BEHAVIOR STABILIZATION
236 ;;250;GEC IMPROVE COMPLIANCE MEDS/TREATMENTS
237 ;;271;GEC MONITORING TO AVOID COMPLICATIONS
238 ;;312;GEC PALLIATIVE/END OF LIFE CARE
239 ;;319;GEC PATIENT/FAMILY EDUCATION
240 ;;333;GEC REDUCE ER VISITS/HOSPITALIZATIONS
241 ;;366;GEC REHABILITATION/IMPROVED FX
242 ;;371;GEC RESPITE FOR CAREGIVER
243 ;;376;GEC SKILLED NURSING CARE
244 ;;401;GEC SUPERVISED/SUPPORTIVE LVNG SITUATION
245 ;;358;GEC REFERRAL REFERRING TO
246 ;;92;GEC ADL ASSISTANCE IN HOME
247 ;;96;GEC ADULT DAY HEALTH CARE (REFERRING TO
Note: See TracBrowser for help on using the repository browser.