IBDEI3BI ; ; 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,1463,0)
;;=BIPOLAR & RELATED DISORDERS^3^118
;;^UTILITY(U,$J,358.4,1464,0)
;;=NEUROCOGNITIVE DISORDERS^17^118
;;^UTILITY(U,$J,358.4,1465,0)
;;=DEPRESSIVE DISORDERS^7^118
;;^UTILITY(U,$J,358.4,1466,0)
;;=DISSOCIATIVE DISORDERS ^9^118
;;^UTILITY(U,$J,358.4,1467,0)
;;=FEEDING & EATING DISORDERS^12^118
;;^UTILITY(U,$J,358.4,1468,0)
;;=EDUC/OCCUPATIONAL PROBLEMS^10^118
;;^UTILITY(U,$J,358.4,1469,0)
;;=GENDER DYSPHORIA^14^118
;;^UTILITY(U,$J,358.4,1470,0)
;;=HOUSING/ECONOMIC PROBLEMS^15^118
;;^UTILITY(U,$J,358.4,1471,0)
;;=MEDICATION ADVERSE EFFECTS^16^118
;;^UTILITY(U,$J,358.4,1472,0)
;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^19^118
;;^UTILITY(U,$J,358.4,1473,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^22^118
;;^UTILITY(U,$J,358.4,1474,0)
;;=COUNSELING/MEDICAL ADVICE^5^118
;;^UTILITY(U,$J,358.4,1475,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^29^118
;;^UTILITY(U,$J,358.4,1476,0)
;;=PARAPHILIC DISORDERS^21^118
;;^UTILITY(U,$J,358.4,1477,0)
;;=PERSONALITY DISORDERS^23^118
;;^UTILITY(U,$J,358.4,1478,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^6^118
;;^UTILITY(U,$J,358.4,1479,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^24^118
;;^UTILITY(U,$J,358.4,1480,0)
;;=RELATIONAL PROBLEMS^25^118
;;^UTILITY(U,$J,358.4,1481,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^26^118
;;^UTILITY(U,$J,358.4,1482,0)
;;=SEXUAL DYSFUNCTIONS^27^118
;;^UTILITY(U,$J,358.4,1483,0)
;;=SLEEP-WAKE DISORDERS^28^118
;;^UTILITY(U,$J,358.4,1484,0)
;;=SUBSTANCE DISORDER-ALCOHOL^31^118
;;^UTILITY(U,$J,358.4,1485,0)
;;=SUBSTANCE DISORDER-CANNABIS^33^118
;;^UTILITY(U,$J,358.4,1486,0)
;;=SUBSTANCE DISORDER-HALLUCINOGEN^34^118
;;^UTILITY(U,$J,358.4,1487,0)
;;=SUBSTANCE DISORDER-OPIOID^36^118
;;^UTILITY(U,$J,358.4,1488,0)
;;=SUBSTANCE DISORDER-SEDATIVE/HYPNOTIC^37^118
;;^UTILITY(U,$J,358.4,1489,0)
;;=SUBSTANCE DISORDER-TOBACCO^39^118
;;^UTILITY(U,$J,358.4,1490,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^42^118
;;^UTILITY(U,$J,358.4,1491,0)
;;=SUBSTANCE DISORDER-INHALANT^35^118
;;^UTILITY(U,$J,358.4,1492,0)
;;=CLINICAL RESEARCH PROGRAM^4^118
;;^UTILITY(U,$J,358.4,1493,0)
;;=SOMATIC SYMPTOM & RELATED DISORDERS^30^118
;;^UTILITY(U,$J,358.4,1494,0)
;;=DISRUPTIVE,IMPULSE,CONDUCT D/O^8^118
;;^UTILITY(U,$J,358.4,1495,0)
;;=ELIMINATION DISORDERS^11^118
;;^UTILITY(U,$J,358.4,1496,0)
;;=GAMBLING DISORDER^13^118
;;^UTILITY(U,$J,358.4,1497,0)
;;=OTHER MENTAL DISORDERS^20^118
;;^UTILITY(U,$J,358.4,1498,0)
;;=NEURODEVELOPMENTAL DISORDERS^18^118
;;^UTILITY(U,$J,358.4,1499,0)
;;=SUBSTANCE DISORDER-CAFFEINE^32^118
;;^UTILITY(U,$J,358.4,1500,0)
;;=SUICIDAL IDEATIONS/ATTEMPTS^41^118
;;^UTILITY(U,$J,358.4,1501,0)
;;=SUBSTANCE DISORDER-UNKNOWN SUBSTANCE^40^118
;;^UTILITY(U,$J,358.4,1502,0)
;;=SUBSTANCE DISORDER-STIMULANTS^38^118
;;^UTILITY(U,$J,358.4,1503,0)
;;=UNDERDOSING OF MEDICATION REGIMEN^43^118
;;^UTILITY(U,$J,358.4,1504,0)
;;=PSYCHOTHERAPY (INPT OR OUTPT)^7^119
;;^UTILITY(U,$J,358.4,1505,0)
;;=PSYCHOTHERAPY FOR CRISIS^8^119
;;^UTILITY(U,$J,358.4,1506,0)
;;=OTHER CODES^4^119
;;^UTILITY(U,$J,358.4,1507,0)
;;=HEALTH/BEHAVIOR ASSESSMENT/INTERVENTION^1^119
;;^UTILITY(U,$J,358.4,1508,0)
;;=TEAM CONFERENCE^10^119
;;^UTILITY(U,$J,358.4,1509,0)
;;=INTERACTIVE COMPLEXITY ADD-ON^2^119
;;^UTILITY(U,$J,358.4,1510,0)
;;=SUBSTANCE USE^9^119
;;^UTILITY(U,$J,358.4,1511,0)
;;=PSYCHIATRIC DIAGNOSTIC EVALUATION^6^119
;;^UTILITY(U,$J,358.4,1512,0)
;;=PROLONGED SERVICE^5^119
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3BI 3800 printed Dec 13, 2024@02:45:32 Page 2
IBDEI3BI ; ; 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,1463,0)
+2 ;;=BIPOLAR & RELATED DISORDERS^3^118
+3 ;;^UTILITY(U,$J,358.4,1464,0)
+4 ;;=NEUROCOGNITIVE DISORDERS^17^118
+5 ;;^UTILITY(U,$J,358.4,1465,0)
+6 ;;=DEPRESSIVE DISORDERS^7^118
+7 ;;^UTILITY(U,$J,358.4,1466,0)
+8 ;;=DISSOCIATIVE DISORDERS ^9^118
+9 ;;^UTILITY(U,$J,358.4,1467,0)
+10 ;;=FEEDING & EATING DISORDERS^12^118
+11 ;;^UTILITY(U,$J,358.4,1468,0)
+12 ;;=EDUC/OCCUPATIONAL PROBLEMS^10^118
+13 ;;^UTILITY(U,$J,358.4,1469,0)
+14 ;;=GENDER DYSPHORIA^14^118
+15 ;;^UTILITY(U,$J,358.4,1470,0)
+16 ;;=HOUSING/ECONOMIC PROBLEMS^15^118
+17 ;;^UTILITY(U,$J,358.4,1471,0)
+18 ;;=MEDICATION ADVERSE EFFECTS^16^118
+19 ;;^UTILITY(U,$J,358.4,1472,0)
+20 ;;=OBSESSIVE-COMPULSIVE & RELATED DISORDERS^19^118
+21 ;;^UTILITY(U,$J,358.4,1473,0)
+22 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^22^118
+23 ;;^UTILITY(U,$J,358.4,1474,0)
+24 ;;=COUNSELING/MEDICAL ADVICE^5^118
+25 ;;^UTILITY(U,$J,358.4,1475,0)
+26 ;;=SOCIAL ENVIRONMENT PROBLEMS^29^118
+27 ;;^UTILITY(U,$J,358.4,1476,0)
+28 ;;=PARAPHILIC DISORDERS^21^118
+29 ;;^UTILITY(U,$J,358.4,1477,0)
+30 ;;=PERSONALITY DISORDERS^23^118
+31 ;;^UTILITY(U,$J,358.4,1478,0)
+32 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^118
+33 ;;^UTILITY(U,$J,358.4,1479,0)
+34 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^24^118
+35 ;;^UTILITY(U,$J,358.4,1480,0)
+36 ;;=RELATIONAL PROBLEMS^25^118
+37 ;;^UTILITY(U,$J,358.4,1481,0)
+38 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^26^118
+39 ;;^UTILITY(U,$J,358.4,1482,0)
+40 ;;=SEXUAL DYSFUNCTIONS^27^118
+41 ;;^UTILITY(U,$J,358.4,1483,0)
+42 ;;=SLEEP-WAKE DISORDERS^28^118
+43 ;;^UTILITY(U,$J,358.4,1484,0)
+44 ;;=SUBSTANCE DISORDER-ALCOHOL^31^118
+45 ;;^UTILITY(U,$J,358.4,1485,0)
+46 ;;=SUBSTANCE DISORDER-CANNABIS^33^118
+47 ;;^UTILITY(U,$J,358.4,1486,0)
+48 ;;=SUBSTANCE DISORDER-HALLUCINOGEN^34^118
+49 ;;^UTILITY(U,$J,358.4,1487,0)
+50 ;;=SUBSTANCE DISORDER-OPIOID^36^118
+51 ;;^UTILITY(U,$J,358.4,1488,0)
+52 ;;=SUBSTANCE DISORDER-SEDATIVE/HYPNOTIC^37^118
+53 ;;^UTILITY(U,$J,358.4,1489,0)
+54 ;;=SUBSTANCE DISORDER-TOBACCO^39^118
+55 ;;^UTILITY(U,$J,358.4,1490,0)
+56 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^42^118
+57 ;;^UTILITY(U,$J,358.4,1491,0)
+58 ;;=SUBSTANCE DISORDER-INHALANT^35^118
+59 ;;^UTILITY(U,$J,358.4,1492,0)
+60 ;;=CLINICAL RESEARCH PROGRAM^4^118
+61 ;;^UTILITY(U,$J,358.4,1493,0)
+62 ;;=SOMATIC SYMPTOM & RELATED DISORDERS^30^118
+63 ;;^UTILITY(U,$J,358.4,1494,0)
+64 ;;=DISRUPTIVE,IMPULSE,CONDUCT D/O^8^118
+65 ;;^UTILITY(U,$J,358.4,1495,0)
+66 ;;=ELIMINATION DISORDERS^11^118
+67 ;;^UTILITY(U,$J,358.4,1496,0)
+68 ;;=GAMBLING DISORDER^13^118
+69 ;;^UTILITY(U,$J,358.4,1497,0)
+70 ;;=OTHER MENTAL DISORDERS^20^118
+71 ;;^UTILITY(U,$J,358.4,1498,0)
+72 ;;=NEURODEVELOPMENTAL DISORDERS^18^118
+73 ;;^UTILITY(U,$J,358.4,1499,0)
+74 ;;=SUBSTANCE DISORDER-CAFFEINE^32^118
+75 ;;^UTILITY(U,$J,358.4,1500,0)
+76 ;;=SUICIDAL IDEATIONS/ATTEMPTS^41^118
+77 ;;^UTILITY(U,$J,358.4,1501,0)
+78 ;;=SUBSTANCE DISORDER-UNKNOWN SUBSTANCE^40^118
+79 ;;^UTILITY(U,$J,358.4,1502,0)
+80 ;;=SUBSTANCE DISORDER-STIMULANTS^38^118
+81 ;;^UTILITY(U,$J,358.4,1503,0)
+82 ;;=UNDERDOSING OF MEDICATION REGIMEN^43^118
+83 ;;^UTILITY(U,$J,358.4,1504,0)
+84 ;;=PSYCHOTHERAPY (INPT OR OUTPT)^7^119
+85 ;;^UTILITY(U,$J,358.4,1505,0)
+86 ;;=PSYCHOTHERAPY FOR CRISIS^8^119
+87 ;;^UTILITY(U,$J,358.4,1506,0)
+88 ;;=OTHER CODES^4^119
+89 ;;^UTILITY(U,$J,358.4,1507,0)
+90 ;;=HEALTH/BEHAVIOR ASSESSMENT/INTERVENTION^1^119
+91 ;;^UTILITY(U,$J,358.4,1508,0)
+92 ;;=TEAM CONFERENCE^10^119
+93 ;;^UTILITY(U,$J,358.4,1509,0)
+94 ;;=INTERACTIVE COMPLEXITY ADD-ON^2^119
+95 ;;^UTILITY(U,$J,358.4,1510,0)
+96 ;;=SUBSTANCE USE^9^119
+97 ;;^UTILITY(U,$J,358.4,1511,0)
+98 ;;=PSYCHIATRIC DIAGNOSTIC EVALUATION^6^119
+99 ;;^UTILITY(U,$J,358.4,1512,0)
+100 ;;=PROLONGED SERVICE^5^119