IBDEI3BE ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
Q:'DIFQR(358.4) F I=1:2 S X=$T(Q+I) Q:X="" S Y=$E($T(Q+I+1),4,999),X=$E(X,4,999) S:$A(Y)=126 I=I+1,Y=$E(Y,2,999)_$E($T(Q+I+1),5,999) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.4,1261,0)
;;=PREVENTIVE MEDICINE-NEW PT^17^108
;;^UTILITY(U,$J,358.4,1262,0)
;;=CATEGORY III CODES^5^108
;;^UTILITY(U,$J,358.4,1263,0)
;;=TEAM CONFERENCE^20^108
;;^UTILITY(U,$J,358.4,1264,0)
;;=HOME HEALTH PROCEDURES^6^108
;;^UTILITY(U,$J,358.4,1265,0)
;;=INJECTION ADMINISTRATION^7^108
;;^UTILITY(U,$J,358.4,1266,0)
;;=ADAPTIVE BEHAVIOR ASSESSMENT^1^108
;;^UTILITY(U,$J,358.4,1267,0)
;;=ADAPTIVE BEHAVIOR TREATMENT^2^108
;;^UTILITY(U,$J,358.4,1268,0)
;;=ESTABLISHED PATIENT^1^109
;;^UTILITY(U,$J,358.4,1269,0)
;;=CONSULTATIONS-OUTPATIENT^3^109
;;^UTILITY(U,$J,358.4,1270,0)
;;=NEW PATIENT^2^109
;;^UTILITY(U,$J,358.4,1271,0)
;;=CONSULTATIONS-INPATIENT^4^109
;;^UTILITY(U,$J,358.4,1272,0)
;;=INITIAL HOSPITAL CARE^5^109
;;^UTILITY(U,$J,358.4,1273,0)
;;=HOSPITAL CARE DISCHARGE^7^109
;;^UTILITY(U,$J,358.4,1274,0)
;;=INITIAL OBSERVATION CARE^8^109
;;^UTILITY(U,$J,358.4,1275,0)
;;=OBSERVATION CARE DISCHARGE SERVICES^10^109
;;^UTILITY(U,$J,358.4,1276,0)
;;=INPT or ADMIT & DISCHARGE SAME DAY^11^109
;;^UTILITY(U,$J,358.4,1277,0)
;;=SUBSEQUENT HOSPITAL CARE^6^109
;;^UTILITY(U,$J,358.4,1278,0)
;;=OBSERVATION SUBSEQUENT CARE^9^109
;;^UTILITY(U,$J,358.4,1279,0)
;;=DOMICILIARY EST PATIENT^12^109
;;^UTILITY(U,$J,358.4,1280,0)
;;=DOMICILIARY NEW PATIENT^13^109
;;^UTILITY(U,$J,358.4,1281,0)
;;=HOME VISITS EST PATIENT^14^109
;;^UTILITY(U,$J,358.4,1282,0)
;;=HOME VISITS NEW PATIENT^15^109
;;^UTILITY(U,$J,358.4,1283,0)
;;=ABUSE,NEGLECT, & VIOLENCE^1^110
;;^UTILITY(U,$J,358.4,1284,0)
;;=ANXIETY DISORDERS^2^110
;;^UTILITY(U,$J,358.4,1285,0)
;;=BIPOLAR & RELATED DISORDERS^3^110
;;^UTILITY(U,$J,358.4,1286,0)
;;=NEUROCOGNITIVE DISORDERS^17^110
;;^UTILITY(U,$J,358.4,1287,0)
;;=DEPRESSIVE DISORDERS^7^110
;;^UTILITY(U,$J,358.4,1288,0)
;;=DISSOCIATIVE DISORDERS ^9^110
;;^UTILITY(U,$J,358.4,1289,0)
;;=FEEDING & EATING DISORDERS^12^110
;;^UTILITY(U,$J,358.4,1290,0)
;;=EDUC/OCCUPATIONAL PROBLEMS^10^110
;;^UTILITY(U,$J,358.4,1291,0)
;;=GENDER DYSPHORIA^14^110
;;^UTILITY(U,$J,358.4,1292,0)
;;=HOUSING/ECONOMIC PROBLEMS^15^110
;;^UTILITY(U,$J,358.4,1293,0)
;;=MEDICATION ADVERSE EFFECTS^16^110
;;^UTILITY(U,$J,358.4,1294,0)
;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^19^110
;;^UTILITY(U,$J,358.4,1295,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^22^110
;;^UTILITY(U,$J,358.4,1296,0)
;;=COUNSELING/MEDICAL ADVICE^5^110
;;^UTILITY(U,$J,358.4,1297,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^29^110
;;^UTILITY(U,$J,358.4,1298,0)
;;=PARAPHILIC DISORDERS^21^110
;;^UTILITY(U,$J,358.4,1299,0)
;;=PERSONALITY DISORDERS^23^110
;;^UTILITY(U,$J,358.4,1300,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^6^110
;;^UTILITY(U,$J,358.4,1301,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^24^110
;;^UTILITY(U,$J,358.4,1302,0)
;;=RELATIONAL PROBLEMS^25^110
;;^UTILITY(U,$J,358.4,1303,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^26^110
;;^UTILITY(U,$J,358.4,1304,0)
;;=SEXUAL DYSFUNCTIONS^27^110
;;^UTILITY(U,$J,358.4,1305,0)
;;=SLEEP-WAKE DISORDERS^28^110
;;^UTILITY(U,$J,358.4,1306,0)
;;=SUBSTANCE DISORDER-ALCOHOL^31^110
;;^UTILITY(U,$J,358.4,1307,0)
;;=SUBSTANCE DISORDER-CANNABIS^33^110
;;^UTILITY(U,$J,358.4,1308,0)
;;=SUBSTANCE DISORDER-HALLUCINOGEN^34^110
;;^UTILITY(U,$J,358.4,1309,0)
;;=SUBSTANCE DISORDER-OPIOID^36^110
;;^UTILITY(U,$J,358.4,1310,0)
;;=SUBSTANCE DISORDER-SEDATIVE/HYPNOTIC^37^110
;;^UTILITY(U,$J,358.4,1311,0)
;;=SUBSTANCE DISORDER-TOBACCO^39^110
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3BE 3798 printed Oct 16, 2024@18:46:15 Page 2
IBDEI3BE ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+2 if 'DIFQR(358.4)
QUIT
FOR I=1:2
SET X=$TEXT(Q+I)
if X=""
QUIT
SET Y=$EXTRACT($TEXT(Q+I+1),4,999)
SET X=$EXTRACT(X,4,999)
if $ASCII(Y)=126
SET I=I+1
SET Y=$EXTRACT(Y,2,999)_$EXTRACT($TEXT(Q+I+1),5,999)
if $ASCII(Y)=61
SET Y=$EXTRACT(Y,2,999)
XECUTE NO
IF '$TEST
SET @X=Y
Q QUIT
+1 ;;^UTILITY(U,$J,358.4,1261,0)
+2 ;;=PREVENTIVE MEDICINE-NEW PT^17^108
+3 ;;^UTILITY(U,$J,358.4,1262,0)
+4 ;;=CATEGORY III CODES^5^108
+5 ;;^UTILITY(U,$J,358.4,1263,0)
+6 ;;=TEAM CONFERENCE^20^108
+7 ;;^UTILITY(U,$J,358.4,1264,0)
+8 ;;=HOME HEALTH PROCEDURES^6^108
+9 ;;^UTILITY(U,$J,358.4,1265,0)
+10 ;;=INJECTION ADMINISTRATION^7^108
+11 ;;^UTILITY(U,$J,358.4,1266,0)
+12 ;;=ADAPTIVE BEHAVIOR ASSESSMENT^1^108
+13 ;;^UTILITY(U,$J,358.4,1267,0)
+14 ;;=ADAPTIVE BEHAVIOR TREATMENT^2^108
+15 ;;^UTILITY(U,$J,358.4,1268,0)
+16 ;;=ESTABLISHED PATIENT^1^109
+17 ;;^UTILITY(U,$J,358.4,1269,0)
+18 ;;=CONSULTATIONS-OUTPATIENT^3^109
+19 ;;^UTILITY(U,$J,358.4,1270,0)
+20 ;;=NEW PATIENT^2^109
+21 ;;^UTILITY(U,$J,358.4,1271,0)
+22 ;;=CONSULTATIONS-INPATIENT^4^109
+23 ;;^UTILITY(U,$J,358.4,1272,0)
+24 ;;=INITIAL HOSPITAL CARE^5^109
+25 ;;^UTILITY(U,$J,358.4,1273,0)
+26 ;;=HOSPITAL CARE DISCHARGE^7^109
+27 ;;^UTILITY(U,$J,358.4,1274,0)
+28 ;;=INITIAL OBSERVATION CARE^8^109
+29 ;;^UTILITY(U,$J,358.4,1275,0)
+30 ;;=OBSERVATION CARE DISCHARGE SERVICES^10^109
+31 ;;^UTILITY(U,$J,358.4,1276,0)
+32 ;;=INPT or ADMIT & DISCHARGE SAME DAY^11^109
+33 ;;^UTILITY(U,$J,358.4,1277,0)
+34 ;;=SUBSEQUENT HOSPITAL CARE^6^109
+35 ;;^UTILITY(U,$J,358.4,1278,0)
+36 ;;=OBSERVATION SUBSEQUENT CARE^9^109
+37 ;;^UTILITY(U,$J,358.4,1279,0)
+38 ;;=DOMICILIARY EST PATIENT^12^109
+39 ;;^UTILITY(U,$J,358.4,1280,0)
+40 ;;=DOMICILIARY NEW PATIENT^13^109
+41 ;;^UTILITY(U,$J,358.4,1281,0)
+42 ;;=HOME VISITS EST PATIENT^14^109
+43 ;;^UTILITY(U,$J,358.4,1282,0)
+44 ;;=HOME VISITS NEW PATIENT^15^109
+45 ;;^UTILITY(U,$J,358.4,1283,0)
+46 ;;=ABUSE,NEGLECT, & VIOLENCE^1^110
+47 ;;^UTILITY(U,$J,358.4,1284,0)
+48 ;;=ANXIETY DISORDERS^2^110
+49 ;;^UTILITY(U,$J,358.4,1285,0)
+50 ;;=BIPOLAR & RELATED DISORDERS^3^110
+51 ;;^UTILITY(U,$J,358.4,1286,0)
+52 ;;=NEUROCOGNITIVE DISORDERS^17^110
+53 ;;^UTILITY(U,$J,358.4,1287,0)
+54 ;;=DEPRESSIVE DISORDERS^7^110
+55 ;;^UTILITY(U,$J,358.4,1288,0)
+56 ;;=DISSOCIATIVE DISORDERS ^9^110
+57 ;;^UTILITY(U,$J,358.4,1289,0)
+58 ;;=FEEDING & EATING DISORDERS^12^110
+59 ;;^UTILITY(U,$J,358.4,1290,0)
+60 ;;=EDUC/OCCUPATIONAL PROBLEMS^10^110
+61 ;;^UTILITY(U,$J,358.4,1291,0)
+62 ;;=GENDER DYSPHORIA^14^110
+63 ;;^UTILITY(U,$J,358.4,1292,0)
+64 ;;=HOUSING/ECONOMIC PROBLEMS^15^110
+65 ;;^UTILITY(U,$J,358.4,1293,0)
+66 ;;=MEDICATION ADVERSE EFFECTS^16^110
+67 ;;^UTILITY(U,$J,358.4,1294,0)
+68 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^19^110
+69 ;;^UTILITY(U,$J,358.4,1295,0)
+70 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^22^110
+71 ;;^UTILITY(U,$J,358.4,1296,0)
+72 ;;=COUNSELING/MEDICAL ADVICE^5^110
+73 ;;^UTILITY(U,$J,358.4,1297,0)
+74 ;;=SOCIAL ENVIRONMENT PROBLEMS^29^110
+75 ;;^UTILITY(U,$J,358.4,1298,0)
+76 ;;=PARAPHILIC DISORDERS^21^110
+77 ;;^UTILITY(U,$J,358.4,1299,0)
+78 ;;=PERSONALITY DISORDERS^23^110
+79 ;;^UTILITY(U,$J,358.4,1300,0)
+80 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^110
+81 ;;^UTILITY(U,$J,358.4,1301,0)
+82 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^24^110
+83 ;;^UTILITY(U,$J,358.4,1302,0)
+84 ;;=RELATIONAL PROBLEMS^25^110
+85 ;;^UTILITY(U,$J,358.4,1303,0)
+86 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^26^110
+87 ;;^UTILITY(U,$J,358.4,1304,0)
+88 ;;=SEXUAL DYSFUNCTIONS^27^110
+89 ;;^UTILITY(U,$J,358.4,1305,0)
+90 ;;=SLEEP-WAKE DISORDERS^28^110
+91 ;;^UTILITY(U,$J,358.4,1306,0)
+92 ;;=SUBSTANCE DISORDER-ALCOHOL^31^110
+93 ;;^UTILITY(U,$J,358.4,1307,0)
+94 ;;=SUBSTANCE DISORDER-CANNABIS^33^110
+95 ;;^UTILITY(U,$J,358.4,1308,0)
+96 ;;=SUBSTANCE DISORDER-HALLUCINOGEN^34^110
+97 ;;^UTILITY(U,$J,358.4,1309,0)
+98 ;;=SUBSTANCE DISORDER-OPIOID^36^110
+99 ;;^UTILITY(U,$J,358.4,1310,0)
+100 ;;=SUBSTANCE DISORDER-SEDATIVE/HYPNOTIC^37^110
+101 ;;^UTILITY(U,$J,358.4,1311,0)
+102 ;;=SUBSTANCE DISORDER-TOBACCO^39^110