IBDEI3II ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.4,1422,0)
;;=DOMICILIARY NEW PATIENT^13^137
;;^UTILITY(U,$J,358.4,1423,0)
;;=HOME VISITS EST PATIENT^14^137
;;^UTILITY(U,$J,358.4,1424,0)
;;=HOME VISITS NEW PATIENT^15^137
;;^UTILITY(U,$J,358.4,1425,0)
;;=ABUSE AND NEGLECT^1^138
;;^UTILITY(U,$J,358.4,1426,0)
;;=ANXIETY DISORDERS^3^138
;;^UTILITY(U,$J,358.4,1427,0)
;;=BIPOLAR DISORDERS^4^138
;;^UTILITY(U,$J,358.4,1428,0)
;;=DELIRIUM^7^138
;;^UTILITY(U,$J,358.4,1429,0)
;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^138
;;^UTILITY(U,$J,358.4,1430,0)
;;=DEPRESSIVE DISORDERS^9^138
;;^UTILITY(U,$J,358.4,1431,0)
;;=DISSOCIATIVE DISORDERS ^10^138
;;^UTILITY(U,$J,358.4,1432,0)
;;=EATING DISORDERS^11^138
;;^UTILITY(U,$J,358.4,1433,0)
;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^138
;;^UTILITY(U,$J,358.4,1434,0)
;;=GENDER DYSPHORIA^13^138
;;^UTILITY(U,$J,358.4,1435,0)
;;=HOUSING/ECONOMIC PROBLEMS^14^138
;;^UTILITY(U,$J,358.4,1436,0)
;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^138
;;^UTILITY(U,$J,358.4,1437,0)
;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^138
;;^UTILITY(U,$J,358.4,1438,0)
;;=ORGANIC DISORDERS^18^138
;;^UTILITY(U,$J,358.4,1439,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^138
;;^UTILITY(U,$J,358.4,1440,0)
;;=ADHD^2^138
;;^UTILITY(U,$J,358.4,1441,0)
;;=COUNSELING/MED ADVICE^5^138
;;^UTILITY(U,$J,358.4,1442,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^28^138
;;^UTILITY(U,$J,358.4,1443,0)
;;=PARAPHILIC DISORDERS^19^138
;;^UTILITY(U,$J,358.4,1444,0)
;;=PERSONALITY DISORDERS^21^138
;;^UTILITY(U,$J,358.4,1445,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^6^138
;;^UTILITY(U,$J,358.4,1446,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^138
;;^UTILITY(U,$J,358.4,1447,0)
;;=RELATIONAL PROBLEMS^23^138
;;^UTILITY(U,$J,358.4,1448,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^138
;;^UTILITY(U,$J,358.4,1449,0)
;;=SEXUAL DYSFUNCTION^26^138
;;^UTILITY(U,$J,358.4,1450,0)
;;=SLEEP DISORDERS^27^138
;;^UTILITY(U,$J,358.4,1451,0)
;;=SUBSTANCE ABUSE-ALCOHOL^30^138
;;^UTILITY(U,$J,358.4,1452,0)
;;=SUBSTANCE ABUSE-AMPHETAMINE^31^138
;;^UTILITY(U,$J,358.4,1453,0)
;;=SUBSTANCE ABUSE-CANNABIS^32^138
;;^UTILITY(U,$J,358.4,1454,0)
;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^138
;;^UTILITY(U,$J,358.4,1455,0)
;;=SUBSTANCE ABUSE-OPIOID^36^138
;;^UTILITY(U,$J,358.4,1456,0)
;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^138
;;^UTILITY(U,$J,358.4,1457,0)
;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^138
;;^UTILITY(U,$J,358.4,1458,0)
;;=SUBSTANCE ABUSE-TOBACCO^39^138
;;^UTILITY(U,$J,358.4,1459,0)
;;=SUBSTANCE ABUSE-COCAINE^33^138
;;^UTILITY(U,$J,358.4,1460,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^138
;;^UTILITY(U,$J,358.4,1461,0)
;;=SUBSTANCE ABUSE-INHALANT^35^138
;;^UTILITY(U,$J,358.4,1462,0)
;;=INTELLECTUAL DISABILITIES^15^138
;;^UTILITY(U,$J,358.4,1463,0)
;;=RESEARCH^24^138
;;^UTILITY(U,$J,358.4,1464,0)
;;=SOMATOFORM DISORDERS^29^138
;;^UTILITY(U,$J,358.4,1465,0)
;;=GROUP PSYCHOTHERAPY/INTERVENTION^2^139
;;^UTILITY(U,$J,358.4,1466,0)
;;=OTHER^8^139
;;^UTILITY(U,$J,358.4,1467,0)
;;=TEAM CONFERENCE^7^139
;;^UTILITY(U,$J,358.4,1468,0)
;;=SUBSTANCE ABUSE^6^139
;;^UTILITY(U,$J,358.4,1469,0)
;;=CASE MANAGEMENT^1^139
;;^UTILITY(U,$J,358.4,1470,0)
;;=INJECTION ADMINISTRATION^4^139
;;^UTILITY(U,$J,358.4,1471,0)
;;=INJECTIONS/MEDS^5^139
;;^UTILITY(U,$J,358.4,1472,0)
;;=IN-HOME BEHAVIOR/HEALTH ASSESSMENT^3^139
;;^UTILITY(U,$J,358.4,1473,0)
;;=ESTABLISHED PATIENT^1^140
;;^UTILITY(U,$J,358.4,1474,0)
;;=ABUSE AND NEGLECT^1^141
;;^UTILITY(U,$J,358.4,1475,0)
;;=ANXIETY DISORDERS^3^141
;;^UTILITY(U,$J,358.4,1476,0)
;;=BIPOLAR DISORDERS^4^141
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3II 3948 printed Dec 13, 2024@02:49:26 Page 2
IBDEI3II ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+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,99)
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,1422,0)
+2 ;;=DOMICILIARY NEW PATIENT^13^137
+3 ;;^UTILITY(U,$J,358.4,1423,0)
+4 ;;=HOME VISITS EST PATIENT^14^137
+5 ;;^UTILITY(U,$J,358.4,1424,0)
+6 ;;=HOME VISITS NEW PATIENT^15^137
+7 ;;^UTILITY(U,$J,358.4,1425,0)
+8 ;;=ABUSE AND NEGLECT^1^138
+9 ;;^UTILITY(U,$J,358.4,1426,0)
+10 ;;=ANXIETY DISORDERS^3^138
+11 ;;^UTILITY(U,$J,358.4,1427,0)
+12 ;;=BIPOLAR DISORDERS^4^138
+13 ;;^UTILITY(U,$J,358.4,1428,0)
+14 ;;=DELIRIUM^7^138
+15 ;;^UTILITY(U,$J,358.4,1429,0)
+16 ;;=DEMENTIA/NEUROCOGNITIVE DISORDERS^8^138
+17 ;;^UTILITY(U,$J,358.4,1430,0)
+18 ;;=DEPRESSIVE DISORDERS^9^138
+19 ;;^UTILITY(U,$J,358.4,1431,0)
+20 ;;=DISSOCIATIVE DISORDERS ^10^138
+21 ;;^UTILITY(U,$J,358.4,1432,0)
+22 ;;=EATING DISORDERS^11^138
+23 ;;^UTILITY(U,$J,358.4,1433,0)
+24 ;;=EDUCATIONAL/OCCUPATIONAL PROBLEMS^12^138
+25 ;;^UTILITY(U,$J,358.4,1434,0)
+26 ;;=GENDER DYSPHORIA^13^138
+27 ;;^UTILITY(U,$J,358.4,1435,0)
+28 ;;=HOUSING/ECONOMIC PROBLEMS^14^138
+29 ;;^UTILITY(U,$J,358.4,1436,0)
+30 ;;=MEDICATION-INDUCED MOVEMENT DISORDERS^16^138
+31 ;;^UTILITY(U,$J,358.4,1437,0)
+32 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^17^138
+33 ;;^UTILITY(U,$J,358.4,1438,0)
+34 ;;=ORGANIC DISORDERS^18^138
+35 ;;^UTILITY(U,$J,358.4,1439,0)
+36 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^138
+37 ;;^UTILITY(U,$J,358.4,1440,0)
+38 ;;=ADHD^2^138
+39 ;;^UTILITY(U,$J,358.4,1441,0)
+40 ;;=COUNSELING/MED ADVICE^5^138
+41 ;;^UTILITY(U,$J,358.4,1442,0)
+42 ;;=SOCIAL ENVIRONMENT PROBLEMS^28^138
+43 ;;^UTILITY(U,$J,358.4,1443,0)
+44 ;;=PARAPHILIC DISORDERS^19^138
+45 ;;^UTILITY(U,$J,358.4,1444,0)
+46 ;;=PERSONALITY DISORDERS^21^138
+47 ;;^UTILITY(U,$J,358.4,1445,0)
+48 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^138
+49 ;;^UTILITY(U,$J,358.4,1446,0)
+50 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^138
+51 ;;^UTILITY(U,$J,358.4,1447,0)
+52 ;;=RELATIONAL PROBLEMS^23^138
+53 ;;^UTILITY(U,$J,358.4,1448,0)
+54 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^138
+55 ;;^UTILITY(U,$J,358.4,1449,0)
+56 ;;=SEXUAL DYSFUNCTION^26^138
+57 ;;^UTILITY(U,$J,358.4,1450,0)
+58 ;;=SLEEP DISORDERS^27^138
+59 ;;^UTILITY(U,$J,358.4,1451,0)
+60 ;;=SUBSTANCE ABUSE-ALCOHOL^30^138
+61 ;;^UTILITY(U,$J,358.4,1452,0)
+62 ;;=SUBSTANCE ABUSE-AMPHETAMINE^31^138
+63 ;;^UTILITY(U,$J,358.4,1453,0)
+64 ;;=SUBSTANCE ABUSE-CANNABIS^32^138
+65 ;;^UTILITY(U,$J,358.4,1454,0)
+66 ;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^138
+67 ;;^UTILITY(U,$J,358.4,1455,0)
+68 ;;=SUBSTANCE ABUSE-OPIOID^36^138
+69 ;;^UTILITY(U,$J,358.4,1456,0)
+70 ;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^138
+71 ;;^UTILITY(U,$J,358.4,1457,0)
+72 ;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^138
+73 ;;^UTILITY(U,$J,358.4,1458,0)
+74 ;;=SUBSTANCE ABUSE-TOBACCO^39^138
+75 ;;^UTILITY(U,$J,358.4,1459,0)
+76 ;;=SUBSTANCE ABUSE-COCAINE^33^138
+77 ;;^UTILITY(U,$J,358.4,1460,0)
+78 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^138
+79 ;;^UTILITY(U,$J,358.4,1461,0)
+80 ;;=SUBSTANCE ABUSE-INHALANT^35^138
+81 ;;^UTILITY(U,$J,358.4,1462,0)
+82 ;;=INTELLECTUAL DISABILITIES^15^138
+83 ;;^UTILITY(U,$J,358.4,1463,0)
+84 ;;=RESEARCH^24^138
+85 ;;^UTILITY(U,$J,358.4,1464,0)
+86 ;;=SOMATOFORM DISORDERS^29^138
+87 ;;^UTILITY(U,$J,358.4,1465,0)
+88 ;;=GROUP PSYCHOTHERAPY/INTERVENTION^2^139
+89 ;;^UTILITY(U,$J,358.4,1466,0)
+90 ;;=OTHER^8^139
+91 ;;^UTILITY(U,$J,358.4,1467,0)
+92 ;;=TEAM CONFERENCE^7^139
+93 ;;^UTILITY(U,$J,358.4,1468,0)
+94 ;;=SUBSTANCE ABUSE^6^139
+95 ;;^UTILITY(U,$J,358.4,1469,0)
+96 ;;=CASE MANAGEMENT^1^139
+97 ;;^UTILITY(U,$J,358.4,1470,0)
+98 ;;=INJECTION ADMINISTRATION^4^139
+99 ;;^UTILITY(U,$J,358.4,1471,0)
+100 ;;=INJECTIONS/MEDS^5^139
+101 ;;^UTILITY(U,$J,358.4,1472,0)
+102 ;;=IN-HOME BEHAVIOR/HEALTH ASSESSMENT^3^139
+103 ;;^UTILITY(U,$J,358.4,1473,0)
+104 ;;=ESTABLISHED PATIENT^1^140
+105 ;;^UTILITY(U,$J,358.4,1474,0)
+106 ;;=ABUSE AND NEGLECT^1^141
+107 ;;^UTILITY(U,$J,358.4,1475,0)
+108 ;;=ANXIETY DISORDERS^3^141
+109 ;;^UTILITY(U,$J,358.4,1476,0)
+110 ;;=BIPOLAR DISORDERS^4^141