IBDEI0TE ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,13227,1,4,0)
;;=4^H40.51X4
;;^UTILITY(U,$J,358.3,13227,2)
;;=^5005891
;;^UTILITY(U,$J,358.3,13228,0)
;;=H40.63X0^^51^632^57
;;^UTILITY(U,$J,358.3,13228,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13228,1,3,0)
;;=3^GLU 2nd to Drugs,OU,Stage Unspec
;;^UTILITY(U,$J,358.3,13228,1,4,0)
;;=4^H40.63X0
;;^UTILITY(U,$J,358.3,13228,2)
;;=^5005914
;;^UTILITY(U,$J,358.3,13229,0)
;;=H40.63X1^^51^632^58
;;^UTILITY(U,$J,358.3,13229,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13229,1,3,0)
;;=3^GLU 2nd to Drugs,OU,MIld Stage
;;^UTILITY(U,$J,358.3,13229,1,4,0)
;;=4^H40.63X1
;;^UTILITY(U,$J,358.3,13229,2)
;;=^5005915
;;^UTILITY(U,$J,358.3,13230,0)
;;=H40.63X2^^51^632^59
;;^UTILITY(U,$J,358.3,13230,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13230,1,3,0)
;;=3^GLU 2nd to Drugs,OU,Moderate Stage
;;^UTILITY(U,$J,358.3,13230,1,4,0)
;;=4^H40.63X2
;;^UTILITY(U,$J,358.3,13230,2)
;;=^5005916
;;^UTILITY(U,$J,358.3,13231,0)
;;=H40.63X3^^51^632^60
;;^UTILITY(U,$J,358.3,13231,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13231,1,3,0)
;;=3^GLU 2nd to Drugs,OU,Severe Stage
;;^UTILITY(U,$J,358.3,13231,1,4,0)
;;=4^H40.63X3
;;^UTILITY(U,$J,358.3,13231,2)
;;=^5005917
;;^UTILITY(U,$J,358.3,13232,0)
;;=H40.63X4^^51^632^61
;;^UTILITY(U,$J,358.3,13232,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13232,1,3,0)
;;=3^GLU 2nd to Drugs,OU,Indeterminate Stage
;;^UTILITY(U,$J,358.3,13232,1,4,0)
;;=4^H40.63X4
;;^UTILITY(U,$J,358.3,13232,2)
;;=^5005918
;;^UTILITY(U,$J,358.3,13233,0)
;;=H40.62X0^^51^632^52
;;^UTILITY(U,$J,358.3,13233,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13233,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Stage Unspec
;;^UTILITY(U,$J,358.3,13233,1,4,0)
;;=4^H40.62X0
;;^UTILITY(U,$J,358.3,13233,2)
;;=^5005910
;;^UTILITY(U,$J,358.3,13234,0)
;;=H40.62X1^^51^632^53
;;^UTILITY(U,$J,358.3,13234,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13234,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Mild Stage
;;^UTILITY(U,$J,358.3,13234,1,4,0)
;;=4^H40.62X1
;;^UTILITY(U,$J,358.3,13234,2)
;;=^5005911
;;^UTILITY(U,$J,358.3,13235,0)
;;=H40.62X2^^51^632^54
;;^UTILITY(U,$J,358.3,13235,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13235,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Moderate Stage
;;^UTILITY(U,$J,358.3,13235,1,4,0)
;;=4^H40.62X2
;;^UTILITY(U,$J,358.3,13235,2)
;;=^5005912
;;^UTILITY(U,$J,358.3,13236,0)
;;=H40.62X3^^51^632^55
;;^UTILITY(U,$J,358.3,13236,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13236,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Severe Stage
;;^UTILITY(U,$J,358.3,13236,1,4,0)
;;=4^H40.62X3
;;^UTILITY(U,$J,358.3,13236,2)
;;=^5133510
;;^UTILITY(U,$J,358.3,13237,0)
;;=H40.62X4^^51^632^56
;;^UTILITY(U,$J,358.3,13237,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13237,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Indeterminate Stage
;;^UTILITY(U,$J,358.3,13237,1,4,0)
;;=4^H40.62X4
;;^UTILITY(U,$J,358.3,13237,2)
;;=^5005913
;;^UTILITY(U,$J,358.3,13238,0)
;;=H40.61X0^^51^632^47
;;^UTILITY(U,$J,358.3,13238,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13238,1,3,0)
;;=3^GLU 2nd to Drugs,OD,Stage Unspec
;;^UTILITY(U,$J,358.3,13238,1,4,0)
;;=4^H40.61X0
;;^UTILITY(U,$J,358.3,13238,2)
;;=^5005906
;;^UTILITY(U,$J,358.3,13239,0)
;;=H40.61X1^^51^632^48
;;^UTILITY(U,$J,358.3,13239,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13239,1,3,0)
;;=3^GLU 2nd to Drugs,OD,Mild Stage
;;^UTILITY(U,$J,358.3,13239,1,4,0)
;;=4^H40.61X1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0TE 3789 printed Dec 13, 2024@01:55:24 Page 2
IBDEI0TE ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,13227,1,4,0)
+2 ;;=4^H40.51X4
+3 ;;^UTILITY(U,$J,358.3,13227,2)
+4 ;;=^5005891
+5 ;;^UTILITY(U,$J,358.3,13228,0)
+6 ;;=H40.63X0^^51^632^57
+7 ;;^UTILITY(U,$J,358.3,13228,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,13228,1,3,0)
+10 ;;=3^GLU 2nd to Drugs,OU,Stage Unspec
+11 ;;^UTILITY(U,$J,358.3,13228,1,4,0)
+12 ;;=4^H40.63X0
+13 ;;^UTILITY(U,$J,358.3,13228,2)
+14 ;;=^5005914
+15 ;;^UTILITY(U,$J,358.3,13229,0)
+16 ;;=H40.63X1^^51^632^58
+17 ;;^UTILITY(U,$J,358.3,13229,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,13229,1,3,0)
+20 ;;=3^GLU 2nd to Drugs,OU,MIld Stage
+21 ;;^UTILITY(U,$J,358.3,13229,1,4,0)
+22 ;;=4^H40.63X1
+23 ;;^UTILITY(U,$J,358.3,13229,2)
+24 ;;=^5005915
+25 ;;^UTILITY(U,$J,358.3,13230,0)
+26 ;;=H40.63X2^^51^632^59
+27 ;;^UTILITY(U,$J,358.3,13230,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,13230,1,3,0)
+30 ;;=3^GLU 2nd to Drugs,OU,Moderate Stage
+31 ;;^UTILITY(U,$J,358.3,13230,1,4,0)
+32 ;;=4^H40.63X2
+33 ;;^UTILITY(U,$J,358.3,13230,2)
+34 ;;=^5005916
+35 ;;^UTILITY(U,$J,358.3,13231,0)
+36 ;;=H40.63X3^^51^632^60
+37 ;;^UTILITY(U,$J,358.3,13231,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,13231,1,3,0)
+40 ;;=3^GLU 2nd to Drugs,OU,Severe Stage
+41 ;;^UTILITY(U,$J,358.3,13231,1,4,0)
+42 ;;=4^H40.63X3
+43 ;;^UTILITY(U,$J,358.3,13231,2)
+44 ;;=^5005917
+45 ;;^UTILITY(U,$J,358.3,13232,0)
+46 ;;=H40.63X4^^51^632^61
+47 ;;^UTILITY(U,$J,358.3,13232,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,13232,1,3,0)
+50 ;;=3^GLU 2nd to Drugs,OU,Indeterminate Stage
+51 ;;^UTILITY(U,$J,358.3,13232,1,4,0)
+52 ;;=4^H40.63X4
+53 ;;^UTILITY(U,$J,358.3,13232,2)
+54 ;;=^5005918
+55 ;;^UTILITY(U,$J,358.3,13233,0)
+56 ;;=H40.62X0^^51^632^52
+57 ;;^UTILITY(U,$J,358.3,13233,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,13233,1,3,0)
+60 ;;=3^GLU 2nd to Drugs,OS,Stage Unspec
+61 ;;^UTILITY(U,$J,358.3,13233,1,4,0)
+62 ;;=4^H40.62X0
+63 ;;^UTILITY(U,$J,358.3,13233,2)
+64 ;;=^5005910
+65 ;;^UTILITY(U,$J,358.3,13234,0)
+66 ;;=H40.62X1^^51^632^53
+67 ;;^UTILITY(U,$J,358.3,13234,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,13234,1,3,0)
+70 ;;=3^GLU 2nd to Drugs,OS,Mild Stage
+71 ;;^UTILITY(U,$J,358.3,13234,1,4,0)
+72 ;;=4^H40.62X1
+73 ;;^UTILITY(U,$J,358.3,13234,2)
+74 ;;=^5005911
+75 ;;^UTILITY(U,$J,358.3,13235,0)
+76 ;;=H40.62X2^^51^632^54
+77 ;;^UTILITY(U,$J,358.3,13235,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,13235,1,3,0)
+80 ;;=3^GLU 2nd to Drugs,OS,Moderate Stage
+81 ;;^UTILITY(U,$J,358.3,13235,1,4,0)
+82 ;;=4^H40.62X2
+83 ;;^UTILITY(U,$J,358.3,13235,2)
+84 ;;=^5005912
+85 ;;^UTILITY(U,$J,358.3,13236,0)
+86 ;;=H40.62X3^^51^632^55
+87 ;;^UTILITY(U,$J,358.3,13236,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,13236,1,3,0)
+90 ;;=3^GLU 2nd to Drugs,OS,Severe Stage
+91 ;;^UTILITY(U,$J,358.3,13236,1,4,0)
+92 ;;=4^H40.62X3
+93 ;;^UTILITY(U,$J,358.3,13236,2)
+94 ;;=^5133510
+95 ;;^UTILITY(U,$J,358.3,13237,0)
+96 ;;=H40.62X4^^51^632^56
+97 ;;^UTILITY(U,$J,358.3,13237,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,13237,1,3,0)
+100 ;;=3^GLU 2nd to Drugs,OS,Indeterminate Stage
+101 ;;^UTILITY(U,$J,358.3,13237,1,4,0)
+102 ;;=4^H40.62X4
+103 ;;^UTILITY(U,$J,358.3,13237,2)
+104 ;;=^5005913
+105 ;;^UTILITY(U,$J,358.3,13238,0)
+106 ;;=H40.61X0^^51^632^47
+107 ;;^UTILITY(U,$J,358.3,13238,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,13238,1,3,0)
+110 ;;=3^GLU 2nd to Drugs,OD,Stage Unspec
+111 ;;^UTILITY(U,$J,358.3,13238,1,4,0)
+112 ;;=4^H40.61X0
+113 ;;^UTILITY(U,$J,358.3,13238,2)
+114 ;;=^5005906
+115 ;;^UTILITY(U,$J,358.3,13239,0)
+116 ;;=H40.61X1^^51^632^48
+117 ;;^UTILITY(U,$J,358.3,13239,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,13239,1,3,0)
+120 ;;=3^GLU 2nd to Drugs,OD,Mild Stage
+121 ;;^UTILITY(U,$J,358.3,13239,1,4,0)
+122 ;;=4^H40.61X1