IBDEI221 ; ; 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,32794,1,4,0)
;;=4^H40.51X3
;;^UTILITY(U,$J,358.3,32794,2)
;;=^5133507
;;^UTILITY(U,$J,358.3,32795,0)
;;=H40.51X4^^128^1670^36
;;^UTILITY(U,$J,358.3,32795,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32795,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OD,Indeterminate Stage
;;^UTILITY(U,$J,358.3,32795,1,4,0)
;;=4^H40.51X4
;;^UTILITY(U,$J,358.3,32795,2)
;;=^5005891
;;^UTILITY(U,$J,358.3,32796,0)
;;=H40.63X0^^128^1670^57
;;^UTILITY(U,$J,358.3,32796,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32796,1,3,0)
;;=3^GLU 2nd to Drugs,OU,Stage Unspec
;;^UTILITY(U,$J,358.3,32796,1,4,0)
;;=4^H40.63X0
;;^UTILITY(U,$J,358.3,32796,2)
;;=^5005914
;;^UTILITY(U,$J,358.3,32797,0)
;;=H40.63X1^^128^1670^58
;;^UTILITY(U,$J,358.3,32797,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32797,1,3,0)
;;=3^GLU 2nd to Drugs,OU,MIld Stage
;;^UTILITY(U,$J,358.3,32797,1,4,0)
;;=4^H40.63X1
;;^UTILITY(U,$J,358.3,32797,2)
;;=^5005915
;;^UTILITY(U,$J,358.3,32798,0)
;;=H40.63X2^^128^1670^59
;;^UTILITY(U,$J,358.3,32798,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32798,1,3,0)
;;=3^GLU 2nd to Drugs,OU,Moderate Stage
;;^UTILITY(U,$J,358.3,32798,1,4,0)
;;=4^H40.63X2
;;^UTILITY(U,$J,358.3,32798,2)
;;=^5005916
;;^UTILITY(U,$J,358.3,32799,0)
;;=H40.63X3^^128^1670^60
;;^UTILITY(U,$J,358.3,32799,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32799,1,3,0)
;;=3^GLU 2nd to Drugs,OU,Severe Stage
;;^UTILITY(U,$J,358.3,32799,1,4,0)
;;=4^H40.63X3
;;^UTILITY(U,$J,358.3,32799,2)
;;=^5005917
;;^UTILITY(U,$J,358.3,32800,0)
;;=H40.63X4^^128^1670^61
;;^UTILITY(U,$J,358.3,32800,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32800,1,3,0)
;;=3^GLU 2nd to Drugs,OU,Indeterminate Stage
;;^UTILITY(U,$J,358.3,32800,1,4,0)
;;=4^H40.63X4
;;^UTILITY(U,$J,358.3,32800,2)
;;=^5005918
;;^UTILITY(U,$J,358.3,32801,0)
;;=H40.62X0^^128^1670^52
;;^UTILITY(U,$J,358.3,32801,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32801,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Stage Unspec
;;^UTILITY(U,$J,358.3,32801,1,4,0)
;;=4^H40.62X0
;;^UTILITY(U,$J,358.3,32801,2)
;;=^5005910
;;^UTILITY(U,$J,358.3,32802,0)
;;=H40.62X1^^128^1670^53
;;^UTILITY(U,$J,358.3,32802,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32802,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Mild Stage
;;^UTILITY(U,$J,358.3,32802,1,4,0)
;;=4^H40.62X1
;;^UTILITY(U,$J,358.3,32802,2)
;;=^5005911
;;^UTILITY(U,$J,358.3,32803,0)
;;=H40.62X2^^128^1670^54
;;^UTILITY(U,$J,358.3,32803,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32803,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Moderate Stage
;;^UTILITY(U,$J,358.3,32803,1,4,0)
;;=4^H40.62X2
;;^UTILITY(U,$J,358.3,32803,2)
;;=^5005912
;;^UTILITY(U,$J,358.3,32804,0)
;;=H40.62X3^^128^1670^55
;;^UTILITY(U,$J,358.3,32804,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32804,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Severe Stage
;;^UTILITY(U,$J,358.3,32804,1,4,0)
;;=4^H40.62X3
;;^UTILITY(U,$J,358.3,32804,2)
;;=^5133510
;;^UTILITY(U,$J,358.3,32805,0)
;;=H40.62X4^^128^1670^56
;;^UTILITY(U,$J,358.3,32805,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32805,1,3,0)
;;=3^GLU 2nd to Drugs,OS,Indeterminate Stage
;;^UTILITY(U,$J,358.3,32805,1,4,0)
;;=4^H40.62X4
;;^UTILITY(U,$J,358.3,32805,2)
;;=^5005913
;;^UTILITY(U,$J,358.3,32806,0)
;;=H40.61X0^^128^1670^47
;;^UTILITY(U,$J,358.3,32806,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32806,1,3,0)
;;=3^GLU 2nd to Drugs,OD,Stage Unspec
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI221 3775 printed Dec 13, 2024@02:20:14 Page 2
IBDEI221 ; ; 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,32794,1,4,0)
+2 ;;=4^H40.51X3
+3 ;;^UTILITY(U,$J,358.3,32794,2)
+4 ;;=^5133507
+5 ;;^UTILITY(U,$J,358.3,32795,0)
+6 ;;=H40.51X4^^128^1670^36
+7 ;;^UTILITY(U,$J,358.3,32795,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,32795,1,3,0)
+10 ;;=3^GLC 2nd to Oth Eye d/o,OD,Indeterminate Stage
+11 ;;^UTILITY(U,$J,358.3,32795,1,4,0)
+12 ;;=4^H40.51X4
+13 ;;^UTILITY(U,$J,358.3,32795,2)
+14 ;;=^5005891
+15 ;;^UTILITY(U,$J,358.3,32796,0)
+16 ;;=H40.63X0^^128^1670^57
+17 ;;^UTILITY(U,$J,358.3,32796,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,32796,1,3,0)
+20 ;;=3^GLU 2nd to Drugs,OU,Stage Unspec
+21 ;;^UTILITY(U,$J,358.3,32796,1,4,0)
+22 ;;=4^H40.63X0
+23 ;;^UTILITY(U,$J,358.3,32796,2)
+24 ;;=^5005914
+25 ;;^UTILITY(U,$J,358.3,32797,0)
+26 ;;=H40.63X1^^128^1670^58
+27 ;;^UTILITY(U,$J,358.3,32797,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,32797,1,3,0)
+30 ;;=3^GLU 2nd to Drugs,OU,MIld Stage
+31 ;;^UTILITY(U,$J,358.3,32797,1,4,0)
+32 ;;=4^H40.63X1
+33 ;;^UTILITY(U,$J,358.3,32797,2)
+34 ;;=^5005915
+35 ;;^UTILITY(U,$J,358.3,32798,0)
+36 ;;=H40.63X2^^128^1670^59
+37 ;;^UTILITY(U,$J,358.3,32798,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,32798,1,3,0)
+40 ;;=3^GLU 2nd to Drugs,OU,Moderate Stage
+41 ;;^UTILITY(U,$J,358.3,32798,1,4,0)
+42 ;;=4^H40.63X2
+43 ;;^UTILITY(U,$J,358.3,32798,2)
+44 ;;=^5005916
+45 ;;^UTILITY(U,$J,358.3,32799,0)
+46 ;;=H40.63X3^^128^1670^60
+47 ;;^UTILITY(U,$J,358.3,32799,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,32799,1,3,0)
+50 ;;=3^GLU 2nd to Drugs,OU,Severe Stage
+51 ;;^UTILITY(U,$J,358.3,32799,1,4,0)
+52 ;;=4^H40.63X3
+53 ;;^UTILITY(U,$J,358.3,32799,2)
+54 ;;=^5005917
+55 ;;^UTILITY(U,$J,358.3,32800,0)
+56 ;;=H40.63X4^^128^1670^61
+57 ;;^UTILITY(U,$J,358.3,32800,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,32800,1,3,0)
+60 ;;=3^GLU 2nd to Drugs,OU,Indeterminate Stage
+61 ;;^UTILITY(U,$J,358.3,32800,1,4,0)
+62 ;;=4^H40.63X4
+63 ;;^UTILITY(U,$J,358.3,32800,2)
+64 ;;=^5005918
+65 ;;^UTILITY(U,$J,358.3,32801,0)
+66 ;;=H40.62X0^^128^1670^52
+67 ;;^UTILITY(U,$J,358.3,32801,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,32801,1,3,0)
+70 ;;=3^GLU 2nd to Drugs,OS,Stage Unspec
+71 ;;^UTILITY(U,$J,358.3,32801,1,4,0)
+72 ;;=4^H40.62X0
+73 ;;^UTILITY(U,$J,358.3,32801,2)
+74 ;;=^5005910
+75 ;;^UTILITY(U,$J,358.3,32802,0)
+76 ;;=H40.62X1^^128^1670^53
+77 ;;^UTILITY(U,$J,358.3,32802,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,32802,1,3,0)
+80 ;;=3^GLU 2nd to Drugs,OS,Mild Stage
+81 ;;^UTILITY(U,$J,358.3,32802,1,4,0)
+82 ;;=4^H40.62X1
+83 ;;^UTILITY(U,$J,358.3,32802,2)
+84 ;;=^5005911
+85 ;;^UTILITY(U,$J,358.3,32803,0)
+86 ;;=H40.62X2^^128^1670^54
+87 ;;^UTILITY(U,$J,358.3,32803,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,32803,1,3,0)
+90 ;;=3^GLU 2nd to Drugs,OS,Moderate Stage
+91 ;;^UTILITY(U,$J,358.3,32803,1,4,0)
+92 ;;=4^H40.62X2
+93 ;;^UTILITY(U,$J,358.3,32803,2)
+94 ;;=^5005912
+95 ;;^UTILITY(U,$J,358.3,32804,0)
+96 ;;=H40.62X3^^128^1670^55
+97 ;;^UTILITY(U,$J,358.3,32804,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,32804,1,3,0)
+100 ;;=3^GLU 2nd to Drugs,OS,Severe Stage
+101 ;;^UTILITY(U,$J,358.3,32804,1,4,0)
+102 ;;=4^H40.62X3
+103 ;;^UTILITY(U,$J,358.3,32804,2)
+104 ;;=^5133510
+105 ;;^UTILITY(U,$J,358.3,32805,0)
+106 ;;=H40.62X4^^128^1670^56
+107 ;;^UTILITY(U,$J,358.3,32805,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,32805,1,3,0)
+110 ;;=3^GLU 2nd to Drugs,OS,Indeterminate Stage
+111 ;;^UTILITY(U,$J,358.3,32805,1,4,0)
+112 ;;=4^H40.62X4
+113 ;;^UTILITY(U,$J,358.3,32805,2)
+114 ;;=^5005913
+115 ;;^UTILITY(U,$J,358.3,32806,0)
+116 ;;=H40.61X0^^128^1670^47
+117 ;;^UTILITY(U,$J,358.3,32806,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,32806,1,3,0)
+120 ;;=3^GLU 2nd to Drugs,OD,Stage Unspec