IBDEI32G ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
Q:'DIFQR(358.3) 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.3,48962,0)
;;=T81.89XD^^185^2428^27
;;^UTILITY(U,$J,358.3,48962,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48962,1,3,0)
;;=3^Complications of Procedures,Subsequent Encntr,NEC
;;^UTILITY(U,$J,358.3,48962,1,4,0)
;;=4^T81.89XD
;;^UTILITY(U,$J,358.3,48962,2)
;;=^5054663
;;^UTILITY(U,$J,358.3,48963,0)
;;=T81.89XS^^185^2428^26
;;^UTILITY(U,$J,358.3,48963,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48963,1,3,0)
;;=3^Complications of Procedures,Sequela,NEC
;;^UTILITY(U,$J,358.3,48963,1,4,0)
;;=4^T81.89XS
;;^UTILITY(U,$J,358.3,48963,2)
;;=^5054664
;;^UTILITY(U,$J,358.3,48964,0)
;;=Z71.42^^185^2428^31
;;^UTILITY(U,$J,358.3,48964,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48964,1,3,0)
;;=3^Counseling,Family Member of Alcoholic
;;^UTILITY(U,$J,358.3,48964,1,4,0)
;;=4^Z71.42
;;^UTILITY(U,$J,358.3,48964,2)
;;=^5063247
;;^UTILITY(U,$J,358.3,48965,0)
;;=Z71.52^^185^2428^32
;;^UTILITY(U,$J,358.3,48965,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48965,1,3,0)
;;=3^Counseling,Family Member of Drug Abuser
;;^UTILITY(U,$J,358.3,48965,1,4,0)
;;=4^Z71.52
;;^UTILITY(U,$J,358.3,48965,2)
;;=^5063249
;;^UTILITY(U,$J,358.3,48966,0)
;;=Z71.7^^185^2428^33
;;^UTILITY(U,$J,358.3,48966,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48966,1,3,0)
;;=3^Counseling,HIV
;;^UTILITY(U,$J,358.3,48966,1,4,0)
;;=4^Z71.7
;;^UTILITY(U,$J,358.3,48966,2)
;;=^5063251
;;^UTILITY(U,$J,358.3,48967,0)
;;=Z71.6^^185^2428^35
;;^UTILITY(U,$J,358.3,48967,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48967,1,3,0)
;;=3^Counseling,Tobacco Abuse
;;^UTILITY(U,$J,358.3,48967,1,4,0)
;;=4^Z71.6
;;^UTILITY(U,$J,358.3,48967,2)
;;=^5063250
;;^UTILITY(U,$J,358.3,48968,0)
;;=Z71.41^^185^2428^28
;;^UTILITY(U,$J,358.3,48968,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48968,1,3,0)
;;=3^Counseling,Alcohol Abuse
;;^UTILITY(U,$J,358.3,48968,1,4,0)
;;=4^Z71.41
;;^UTILITY(U,$J,358.3,48968,2)
;;=^5063246
;;^UTILITY(U,$J,358.3,48969,0)
;;=Z71.51^^185^2428^30
;;^UTILITY(U,$J,358.3,48969,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48969,1,3,0)
;;=3^Counseling,Drug Abuser
;;^UTILITY(U,$J,358.3,48969,1,4,0)
;;=4^Z71.51
;;^UTILITY(U,$J,358.3,48969,2)
;;=^5063248
;;^UTILITY(U,$J,358.3,48970,0)
;;=Z71.3^^185^2428^29
;;^UTILITY(U,$J,358.3,48970,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48970,1,3,0)
;;=3^Counseling,Dietary
;;^UTILITY(U,$J,358.3,48970,1,4,0)
;;=4^Z71.3
;;^UTILITY(U,$J,358.3,48970,2)
;;=^5063245
;;^UTILITY(U,$J,358.3,48971,0)
;;=Z71.81^^185^2428^34
;;^UTILITY(U,$J,358.3,48971,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48971,1,3,0)
;;=3^Counseling,Spiritual/Religious
;;^UTILITY(U,$J,358.3,48971,1,4,0)
;;=4^Z71.81
;;^UTILITY(U,$J,358.3,48971,2)
;;=^5063252
;;^UTILITY(U,$J,358.3,48972,0)
;;=Z71.9^^185^2428^36
;;^UTILITY(U,$J,358.3,48972,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48972,1,3,0)
;;=3^Counseling,Unspec
;;^UTILITY(U,$J,358.3,48972,1,4,0)
;;=4^Z71.9
;;^UTILITY(U,$J,358.3,48972,2)
;;=^5063254
;;^UTILITY(U,$J,358.3,48973,0)
;;=F05.^^185^2428^37
;;^UTILITY(U,$J,358.3,48973,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,48973,1,3,0)
;;=3^Delirium d/t Physiological Condition
;;^UTILITY(U,$J,358.3,48973,1,4,0)
;;=4^F05.
;;^UTILITY(U,$J,358.3,48973,2)
;;=^5003052
;;^UTILITY(U,$J,358.3,48974,0)
;;=Z97.2^^185^2428^38
;;^UTILITY(U,$J,358.3,48974,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI32G 3772 printed Dec 13, 2024@02:40:30 Page 2
IBDEI32G ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+2 if 'DIFQR(358.3)
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.3,48962,0)
+2 ;;=T81.89XD^^185^2428^27
+3 ;;^UTILITY(U,$J,358.3,48962,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,48962,1,3,0)
+6 ;;=3^Complications of Procedures,Subsequent Encntr,NEC
+7 ;;^UTILITY(U,$J,358.3,48962,1,4,0)
+8 ;;=4^T81.89XD
+9 ;;^UTILITY(U,$J,358.3,48962,2)
+10 ;;=^5054663
+11 ;;^UTILITY(U,$J,358.3,48963,0)
+12 ;;=T81.89XS^^185^2428^26
+13 ;;^UTILITY(U,$J,358.3,48963,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,48963,1,3,0)
+16 ;;=3^Complications of Procedures,Sequela,NEC
+17 ;;^UTILITY(U,$J,358.3,48963,1,4,0)
+18 ;;=4^T81.89XS
+19 ;;^UTILITY(U,$J,358.3,48963,2)
+20 ;;=^5054664
+21 ;;^UTILITY(U,$J,358.3,48964,0)
+22 ;;=Z71.42^^185^2428^31
+23 ;;^UTILITY(U,$J,358.3,48964,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,48964,1,3,0)
+26 ;;=3^Counseling,Family Member of Alcoholic
+27 ;;^UTILITY(U,$J,358.3,48964,1,4,0)
+28 ;;=4^Z71.42
+29 ;;^UTILITY(U,$J,358.3,48964,2)
+30 ;;=^5063247
+31 ;;^UTILITY(U,$J,358.3,48965,0)
+32 ;;=Z71.52^^185^2428^32
+33 ;;^UTILITY(U,$J,358.3,48965,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,48965,1,3,0)
+36 ;;=3^Counseling,Family Member of Drug Abuser
+37 ;;^UTILITY(U,$J,358.3,48965,1,4,0)
+38 ;;=4^Z71.52
+39 ;;^UTILITY(U,$J,358.3,48965,2)
+40 ;;=^5063249
+41 ;;^UTILITY(U,$J,358.3,48966,0)
+42 ;;=Z71.7^^185^2428^33
+43 ;;^UTILITY(U,$J,358.3,48966,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,48966,1,3,0)
+46 ;;=3^Counseling,HIV
+47 ;;^UTILITY(U,$J,358.3,48966,1,4,0)
+48 ;;=4^Z71.7
+49 ;;^UTILITY(U,$J,358.3,48966,2)
+50 ;;=^5063251
+51 ;;^UTILITY(U,$J,358.3,48967,0)
+52 ;;=Z71.6^^185^2428^35
+53 ;;^UTILITY(U,$J,358.3,48967,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,48967,1,3,0)
+56 ;;=3^Counseling,Tobacco Abuse
+57 ;;^UTILITY(U,$J,358.3,48967,1,4,0)
+58 ;;=4^Z71.6
+59 ;;^UTILITY(U,$J,358.3,48967,2)
+60 ;;=^5063250
+61 ;;^UTILITY(U,$J,358.3,48968,0)
+62 ;;=Z71.41^^185^2428^28
+63 ;;^UTILITY(U,$J,358.3,48968,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,48968,1,3,0)
+66 ;;=3^Counseling,Alcohol Abuse
+67 ;;^UTILITY(U,$J,358.3,48968,1,4,0)
+68 ;;=4^Z71.41
+69 ;;^UTILITY(U,$J,358.3,48968,2)
+70 ;;=^5063246
+71 ;;^UTILITY(U,$J,358.3,48969,0)
+72 ;;=Z71.51^^185^2428^30
+73 ;;^UTILITY(U,$J,358.3,48969,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,48969,1,3,0)
+76 ;;=3^Counseling,Drug Abuser
+77 ;;^UTILITY(U,$J,358.3,48969,1,4,0)
+78 ;;=4^Z71.51
+79 ;;^UTILITY(U,$J,358.3,48969,2)
+80 ;;=^5063248
+81 ;;^UTILITY(U,$J,358.3,48970,0)
+82 ;;=Z71.3^^185^2428^29
+83 ;;^UTILITY(U,$J,358.3,48970,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,48970,1,3,0)
+86 ;;=3^Counseling,Dietary
+87 ;;^UTILITY(U,$J,358.3,48970,1,4,0)
+88 ;;=4^Z71.3
+89 ;;^UTILITY(U,$J,358.3,48970,2)
+90 ;;=^5063245
+91 ;;^UTILITY(U,$J,358.3,48971,0)
+92 ;;=Z71.81^^185^2428^34
+93 ;;^UTILITY(U,$J,358.3,48971,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,48971,1,3,0)
+96 ;;=3^Counseling,Spiritual/Religious
+97 ;;^UTILITY(U,$J,358.3,48971,1,4,0)
+98 ;;=4^Z71.81
+99 ;;^UTILITY(U,$J,358.3,48971,2)
+100 ;;=^5063252
+101 ;;^UTILITY(U,$J,358.3,48972,0)
+102 ;;=Z71.9^^185^2428^36
+103 ;;^UTILITY(U,$J,358.3,48972,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,48972,1,3,0)
+106 ;;=3^Counseling,Unspec
+107 ;;^UTILITY(U,$J,358.3,48972,1,4,0)
+108 ;;=4^Z71.9
+109 ;;^UTILITY(U,$J,358.3,48972,2)
+110 ;;=^5063254
+111 ;;^UTILITY(U,$J,358.3,48973,0)
+112 ;;=F05.^^185^2428^37
+113 ;;^UTILITY(U,$J,358.3,48973,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,48973,1,3,0)
+116 ;;=3^Delirium d/t Physiological Condition
+117 ;;^UTILITY(U,$J,358.3,48973,1,4,0)
+118 ;;=4^F05.
+119 ;;^UTILITY(U,$J,358.3,48973,2)
+120 ;;=^5003052
+121 ;;^UTILITY(U,$J,358.3,48974,0)
+122 ;;=Z97.2^^185^2428^38
+123 ;;^UTILITY(U,$J,358.3,48974,1,0)
+124 ;;=^358.31IA^4^2