IBDEI3IK ; ; 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,1531,0)
;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^143
;;^UTILITY(U,$J,358.4,1532,0)
;;=ADHD^2^143
;;^UTILITY(U,$J,358.4,1533,0)
;;=COUNSELING/MED ADVICE^5^143
;;^UTILITY(U,$J,358.4,1534,0)
;;=SOCIAL ENVIRONMENT PROBLEMS^28^143
;;^UTILITY(U,$J,358.4,1535,0)
;;=PARAPHILIC DISORDERS^19^143
;;^UTILITY(U,$J,358.4,1536,0)
;;=PERSONALITY DISORDERS^21^143
;;^UTILITY(U,$J,358.4,1537,0)
;;=CRIME/LEGAL SYSTEM PROBLEMS^6^143
;;^UTILITY(U,$J,358.4,1538,0)
;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^143
;;^UTILITY(U,$J,358.4,1539,0)
;;=RELATIONAL PROBLEMS^23^143
;;^UTILITY(U,$J,358.4,1540,0)
;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^143
;;^UTILITY(U,$J,358.4,1541,0)
;;=SEXUAL DYSFUNCTION^26^143
;;^UTILITY(U,$J,358.4,1542,0)
;;=SLEEP DISORDERS^27^143
;;^UTILITY(U,$J,358.4,1543,0)
;;=SUBSTANCE ABUSE-ALCOHOL^30^143
;;^UTILITY(U,$J,358.4,1544,0)
;;=SUBSTANCE ABUSE-AMPHETAMINE^31^143
;;^UTILITY(U,$J,358.4,1545,0)
;;=SUBSTANCE ABUSE-CANNABIS^32^143
;;^UTILITY(U,$J,358.4,1546,0)
;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^143
;;^UTILITY(U,$J,358.4,1547,0)
;;=SUBSTANCE ABUSE-OPIOID^36^143
;;^UTILITY(U,$J,358.4,1548,0)
;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^143
;;^UTILITY(U,$J,358.4,1549,0)
;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^143
;;^UTILITY(U,$J,358.4,1550,0)
;;=SUBSTANCE ABUSE-TOBACCO^39^143
;;^UTILITY(U,$J,358.4,1551,0)
;;=SUBSTANCE ABUSE-COCAINE^33^143
;;^UTILITY(U,$J,358.4,1552,0)
;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^143
;;^UTILITY(U,$J,358.4,1553,0)
;;=SUBSTANCE ABUSE-INHALANT^35^143
;;^UTILITY(U,$J,358.4,1554,0)
;;=INTELLECTUAL DISABILITIES^15^143
;;^UTILITY(U,$J,358.4,1555,0)
;;=RESEARCH^24^143
;;^UTILITY(U,$J,358.4,1556,0)
;;=SOMATOFORM DISORDERS^29^143
;;^UTILITY(U,$J,358.4,1557,0)
;;=PRESCRIBER CODES^2^144
;;^UTILITY(U,$J,358.4,1558,0)
;;=PSYCHOTHERAPY (INPT OR OUTPT)^3^144
;;^UTILITY(U,$J,358.4,1559,0)
;;=OTHER CODES^6^144
;;^UTILITY(U,$J,358.4,1560,0)
;;=BEHAVIOR ASSESSMENT/INTERVENTION^4^144
;;^UTILITY(U,$J,358.4,1561,0)
;;=TEAM CONFERENCE^12^144
;;^UTILITY(U,$J,358.4,1562,0)
;;=INTERACTIVE COMPLEXITY ADD-ON^5^144
;;^UTILITY(U,$J,358.4,1563,0)
;;=PSYCHIATRIC DIAGNOSTIC EVALUATION^1^144
;;^UTILITY(U,$J,358.4,1564,0)
;;=PSYCHOTHERAPY FOR CRISIS^9^144
;;^UTILITY(U,$J,358.4,1565,0)
;;=PROLONGED SERVICES ADD-ON^8^144
;;^UTILITY(U,$J,358.4,1566,0)
;;=SUBSTANCE ABUSE^11^144
;;^UTILITY(U,$J,358.4,1567,0)
;;=PREVENTIVE MED COUNSELING^7^144
;;^UTILITY(U,$J,358.4,1568,0)
;;=ESTABLISHED PATIENT^1^145
;;^UTILITY(U,$J,358.4,1569,0)
;;=OUTPATIENT CONSULTATIONS^3^145
;;^UTILITY(U,$J,358.4,1570,0)
;;=NEW PATIENT^2^145
;;^UTILITY(U,$J,358.4,1571,0)
;;=INPATIENT CONSULTATIONS^4^145
;;^UTILITY(U,$J,358.4,1572,0)
;;=INITIAL HOSPITAL CARE^5^145
;;^UTILITY(U,$J,358.4,1573,0)
;;=HOSPITAL CARE DISCHARGE SERVICES^7^145
;;^UTILITY(U,$J,358.4,1574,0)
;;=INITIAL OBSERVATION CARE^8^145
;;^UTILITY(U,$J,358.4,1575,0)
;;=OBSERVATION CARE DISCHARGE SERVICES^10^145
;;^UTILITY(U,$J,358.4,1576,0)
;;=INPT/OBS ADMIT/DISCHARGE SAME DATE^11^145
;;^UTILITY(U,$J,358.4,1577,0)
;;=SUBSEQUENT HOSPITAL CARE^6^145
;;^UTILITY(U,$J,358.4,1578,0)
;;=OBSERVATION SUBSEQUENT CARE^9^145
;;^UTILITY(U,$J,358.4,1579,0)
;;=DOMICILIARY EST PATIENT^12^145
;;^UTILITY(U,$J,358.4,1580,0)
;;=DOMICILIARY NEW PATIENT^13^145
;;^UTILITY(U,$J,358.4,1581,0)
;;=ABUSE AND NEGLECT^1^146
;;^UTILITY(U,$J,358.4,1582,0)
;;=ANXIETY DISORDERS^3^146
;;^UTILITY(U,$J,358.4,1583,0)
;;=BIPOLAR DISORDERS^4^146
;;^UTILITY(U,$J,358.4,1584,0)
;;=DELIRIUM^7^146
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3IK 3919 printed Dec 13, 2024@02:49:28 Page 2
IBDEI3IK ; ; 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,1531,0)
+2 ;;=PERSONAL HX & CURRENT CIRCUMSTANCES^20^143
+3 ;;^UTILITY(U,$J,358.4,1532,0)
+4 ;;=ADHD^2^143
+5 ;;^UTILITY(U,$J,358.4,1533,0)
+6 ;;=COUNSELING/MED ADVICE^5^143
+7 ;;^UTILITY(U,$J,358.4,1534,0)
+8 ;;=SOCIAL ENVIRONMENT PROBLEMS^28^143
+9 ;;^UTILITY(U,$J,358.4,1535,0)
+10 ;;=PARAPHILIC DISORDERS^19^143
+11 ;;^UTILITY(U,$J,358.4,1536,0)
+12 ;;=PERSONALITY DISORDERS^21^143
+13 ;;^UTILITY(U,$J,358.4,1537,0)
+14 ;;=CRIME/LEGAL SYSTEM PROBLEMS^6^143
+15 ;;^UTILITY(U,$J,358.4,1538,0)
+16 ;;=PSYCHOSOCIAL/PERSONAL/ENVIRONMENTAL^22^143
+17 ;;^UTILITY(U,$J,358.4,1539,0)
+18 ;;=RELATIONAL PROBLEMS^23^143
+19 ;;^UTILITY(U,$J,358.4,1540,0)
+20 ;;=SCHIZOPHRENIA/OTH PSYCHOTIC DISORDERS^25^143
+21 ;;^UTILITY(U,$J,358.4,1541,0)
+22 ;;=SEXUAL DYSFUNCTION^26^143
+23 ;;^UTILITY(U,$J,358.4,1542,0)
+24 ;;=SLEEP DISORDERS^27^143
+25 ;;^UTILITY(U,$J,358.4,1543,0)
+26 ;;=SUBSTANCE ABUSE-ALCOHOL^30^143
+27 ;;^UTILITY(U,$J,358.4,1544,0)
+28 ;;=SUBSTANCE ABUSE-AMPHETAMINE^31^143
+29 ;;^UTILITY(U,$J,358.4,1545,0)
+30 ;;=SUBSTANCE ABUSE-CANNABIS^32^143
+31 ;;^UTILITY(U,$J,358.4,1546,0)
+32 ;;=SUBSTANCE ABUSE-HALLUCINOGEN^34^143
+33 ;;^UTILITY(U,$J,358.4,1547,0)
+34 ;;=SUBSTANCE ABUSE-OPIOID^36^143
+35 ;;^UTILITY(U,$J,358.4,1548,0)
+36 ;;=SUBSTANCE ABUSE-PSYCHOACTIVE DRUGS^37^143
+37 ;;^UTILITY(U,$J,358.4,1549,0)
+38 ;;=SUBSTANCE ABUSE-SEDATIVE/HYPNOTIC^38^143
+39 ;;^UTILITY(U,$J,358.4,1550,0)
+40 ;;=SUBSTANCE ABUSE-TOBACCO^39^143
+41 ;;^UTILITY(U,$J,358.4,1551,0)
+42 ;;=SUBSTANCE ABUSE-COCAINE^33^143
+43 ;;^UTILITY(U,$J,358.4,1552,0)
+44 ;;=TRAUMA/STRESSOR-RELATED DISORDERS^40^143
+45 ;;^UTILITY(U,$J,358.4,1553,0)
+46 ;;=SUBSTANCE ABUSE-INHALANT^35^143
+47 ;;^UTILITY(U,$J,358.4,1554,0)
+48 ;;=INTELLECTUAL DISABILITIES^15^143
+49 ;;^UTILITY(U,$J,358.4,1555,0)
+50 ;;=RESEARCH^24^143
+51 ;;^UTILITY(U,$J,358.4,1556,0)
+52 ;;=SOMATOFORM DISORDERS^29^143
+53 ;;^UTILITY(U,$J,358.4,1557,0)
+54 ;;=PRESCRIBER CODES^2^144
+55 ;;^UTILITY(U,$J,358.4,1558,0)
+56 ;;=PSYCHOTHERAPY (INPT OR OUTPT)^3^144
+57 ;;^UTILITY(U,$J,358.4,1559,0)
+58 ;;=OTHER CODES^6^144
+59 ;;^UTILITY(U,$J,358.4,1560,0)
+60 ;;=BEHAVIOR ASSESSMENT/INTERVENTION^4^144
+61 ;;^UTILITY(U,$J,358.4,1561,0)
+62 ;;=TEAM CONFERENCE^12^144
+63 ;;^UTILITY(U,$J,358.4,1562,0)
+64 ;;=INTERACTIVE COMPLEXITY ADD-ON^5^144
+65 ;;^UTILITY(U,$J,358.4,1563,0)
+66 ;;=PSYCHIATRIC DIAGNOSTIC EVALUATION^1^144
+67 ;;^UTILITY(U,$J,358.4,1564,0)
+68 ;;=PSYCHOTHERAPY FOR CRISIS^9^144
+69 ;;^UTILITY(U,$J,358.4,1565,0)
+70 ;;=PROLONGED SERVICES ADD-ON^8^144
+71 ;;^UTILITY(U,$J,358.4,1566,0)
+72 ;;=SUBSTANCE ABUSE^11^144
+73 ;;^UTILITY(U,$J,358.4,1567,0)
+74 ;;=PREVENTIVE MED COUNSELING^7^144
+75 ;;^UTILITY(U,$J,358.4,1568,0)
+76 ;;=ESTABLISHED PATIENT^1^145
+77 ;;^UTILITY(U,$J,358.4,1569,0)
+78 ;;=OUTPATIENT CONSULTATIONS^3^145
+79 ;;^UTILITY(U,$J,358.4,1570,0)
+80 ;;=NEW PATIENT^2^145
+81 ;;^UTILITY(U,$J,358.4,1571,0)
+82 ;;=INPATIENT CONSULTATIONS^4^145
+83 ;;^UTILITY(U,$J,358.4,1572,0)
+84 ;;=INITIAL HOSPITAL CARE^5^145
+85 ;;^UTILITY(U,$J,358.4,1573,0)
+86 ;;=HOSPITAL CARE DISCHARGE SERVICES^7^145
+87 ;;^UTILITY(U,$J,358.4,1574,0)
+88 ;;=INITIAL OBSERVATION CARE^8^145
+89 ;;^UTILITY(U,$J,358.4,1575,0)
+90 ;;=OBSERVATION CARE DISCHARGE SERVICES^10^145
+91 ;;^UTILITY(U,$J,358.4,1576,0)
+92 ;;=INPT/OBS ADMIT/DISCHARGE SAME DATE^11^145
+93 ;;^UTILITY(U,$J,358.4,1577,0)
+94 ;;=SUBSEQUENT HOSPITAL CARE^6^145
+95 ;;^UTILITY(U,$J,358.4,1578,0)
+96 ;;=OBSERVATION SUBSEQUENT CARE^9^145
+97 ;;^UTILITY(U,$J,358.4,1579,0)
+98 ;;=DOMICILIARY EST PATIENT^12^145
+99 ;;^UTILITY(U,$J,358.4,1580,0)
+100 ;;=DOMICILIARY NEW PATIENT^13^145
+101 ;;^UTILITY(U,$J,358.4,1581,0)
+102 ;;=ABUSE AND NEGLECT^1^146
+103 ;;^UTILITY(U,$J,358.4,1582,0)
+104 ;;=ANXIETY DISORDERS^3^146
+105 ;;^UTILITY(U,$J,358.4,1583,0)
+106 ;;=BIPOLAR DISORDERS^4^146
+107 ;;^UTILITY(U,$J,358.4,1584,0)
+108 ;;=DELIRIUM^7^146