IBDEI0TD ; ; 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,13215,1,4,0)
;;=4^H40.53X2
;;^UTILITY(U,$J,358.3,13215,2)
;;=^5005898
;;^UTILITY(U,$J,358.3,13216,0)
;;=H40.53X3^^51^632^45
;;^UTILITY(U,$J,358.3,13216,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13216,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OU,Severe Stage
;;^UTILITY(U,$J,358.3,13216,1,4,0)
;;=4^H40.53X3
;;^UTILITY(U,$J,358.3,13216,2)
;;=^5005899
;;^UTILITY(U,$J,358.3,13217,0)
;;=H40.53X0^^51^632^42
;;^UTILITY(U,$J,358.3,13217,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13217,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OU,Stage Unspec
;;^UTILITY(U,$J,358.3,13217,1,4,0)
;;=4^H40.53X0
;;^UTILITY(U,$J,358.3,13217,2)
;;=^5005896
;;^UTILITY(U,$J,358.3,13218,0)
;;=H40.52X0^^51^632^37
;;^UTILITY(U,$J,358.3,13218,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13218,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OS,Stage Unspec
;;^UTILITY(U,$J,358.3,13218,1,4,0)
;;=4^H40.52X0
;;^UTILITY(U,$J,358.3,13218,2)
;;=^5005892
;;^UTILITY(U,$J,358.3,13219,0)
;;=H40.52X1^^51^632^38
;;^UTILITY(U,$J,358.3,13219,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13219,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OS,Mild Stage
;;^UTILITY(U,$J,358.3,13219,1,4,0)
;;=4^H40.52X1
;;^UTILITY(U,$J,358.3,13219,2)
;;=^5005893
;;^UTILITY(U,$J,358.3,13220,0)
;;=H40.52X2^^51^632^39
;;^UTILITY(U,$J,358.3,13220,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13220,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OS,Moderate Stage
;;^UTILITY(U,$J,358.3,13220,1,4,0)
;;=4^H40.52X2
;;^UTILITY(U,$J,358.3,13220,2)
;;=^5005894
;;^UTILITY(U,$J,358.3,13221,0)
;;=H40.52X3^^51^632^40
;;^UTILITY(U,$J,358.3,13221,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13221,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OS,Severe Stage
;;^UTILITY(U,$J,358.3,13221,1,4,0)
;;=4^H40.52X3
;;^UTILITY(U,$J,358.3,13221,2)
;;=^5133508
;;^UTILITY(U,$J,358.3,13222,0)
;;=H40.52X4^^51^632^41
;;^UTILITY(U,$J,358.3,13222,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13222,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OS,Indeterminate Stage
;;^UTILITY(U,$J,358.3,13222,1,4,0)
;;=4^H40.52X4
;;^UTILITY(U,$J,358.3,13222,2)
;;=^5005895
;;^UTILITY(U,$J,358.3,13223,0)
;;=H40.51X0^^51^632^32
;;^UTILITY(U,$J,358.3,13223,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13223,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OD,Stage Unspec
;;^UTILITY(U,$J,358.3,13223,1,4,0)
;;=4^H40.51X0
;;^UTILITY(U,$J,358.3,13223,2)
;;=^5005888
;;^UTILITY(U,$J,358.3,13224,0)
;;=H40.51X1^^51^632^33
;;^UTILITY(U,$J,358.3,13224,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13224,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OD,Mild Stage
;;^UTILITY(U,$J,358.3,13224,1,4,0)
;;=4^H40.51X1
;;^UTILITY(U,$J,358.3,13224,2)
;;=^5005889
;;^UTILITY(U,$J,358.3,13225,0)
;;=H40.51X2^^51^632^34
;;^UTILITY(U,$J,358.3,13225,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13225,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OD,Moderate Stage
;;^UTILITY(U,$J,358.3,13225,1,4,0)
;;=4^H40.51X2
;;^UTILITY(U,$J,358.3,13225,2)
;;=^5005890
;;^UTILITY(U,$J,358.3,13226,0)
;;=H40.51X3^^51^632^35
;;^UTILITY(U,$J,358.3,13226,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13226,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OD,Severe Stage
;;^UTILITY(U,$J,358.3,13226,1,4,0)
;;=4^H40.51X3
;;^UTILITY(U,$J,358.3,13226,2)
;;=^5133507
;;^UTILITY(U,$J,358.3,13227,0)
;;=H40.51X4^^51^632^36
;;^UTILITY(U,$J,358.3,13227,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,13227,1,3,0)
;;=3^GLC 2nd to Oth Eye d/o,OD,Indeterminate Stage
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0TD 3810 printed Nov 22, 2024@17:05:35 Page 2
IBDEI0TD ; ; 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,13215,1,4,0)
+2 ;;=4^H40.53X2
+3 ;;^UTILITY(U,$J,358.3,13215,2)
+4 ;;=^5005898
+5 ;;^UTILITY(U,$J,358.3,13216,0)
+6 ;;=H40.53X3^^51^632^45
+7 ;;^UTILITY(U,$J,358.3,13216,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,13216,1,3,0)
+10 ;;=3^GLC 2nd to Oth Eye d/o,OU,Severe Stage
+11 ;;^UTILITY(U,$J,358.3,13216,1,4,0)
+12 ;;=4^H40.53X3
+13 ;;^UTILITY(U,$J,358.3,13216,2)
+14 ;;=^5005899
+15 ;;^UTILITY(U,$J,358.3,13217,0)
+16 ;;=H40.53X0^^51^632^42
+17 ;;^UTILITY(U,$J,358.3,13217,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,13217,1,3,0)
+20 ;;=3^GLC 2nd to Oth Eye d/o,OU,Stage Unspec
+21 ;;^UTILITY(U,$J,358.3,13217,1,4,0)
+22 ;;=4^H40.53X0
+23 ;;^UTILITY(U,$J,358.3,13217,2)
+24 ;;=^5005896
+25 ;;^UTILITY(U,$J,358.3,13218,0)
+26 ;;=H40.52X0^^51^632^37
+27 ;;^UTILITY(U,$J,358.3,13218,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,13218,1,3,0)
+30 ;;=3^GLC 2nd to Oth Eye d/o,OS,Stage Unspec
+31 ;;^UTILITY(U,$J,358.3,13218,1,4,0)
+32 ;;=4^H40.52X0
+33 ;;^UTILITY(U,$J,358.3,13218,2)
+34 ;;=^5005892
+35 ;;^UTILITY(U,$J,358.3,13219,0)
+36 ;;=H40.52X1^^51^632^38
+37 ;;^UTILITY(U,$J,358.3,13219,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,13219,1,3,0)
+40 ;;=3^GLC 2nd to Oth Eye d/o,OS,Mild Stage
+41 ;;^UTILITY(U,$J,358.3,13219,1,4,0)
+42 ;;=4^H40.52X1
+43 ;;^UTILITY(U,$J,358.3,13219,2)
+44 ;;=^5005893
+45 ;;^UTILITY(U,$J,358.3,13220,0)
+46 ;;=H40.52X2^^51^632^39
+47 ;;^UTILITY(U,$J,358.3,13220,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,13220,1,3,0)
+50 ;;=3^GLC 2nd to Oth Eye d/o,OS,Moderate Stage
+51 ;;^UTILITY(U,$J,358.3,13220,1,4,0)
+52 ;;=4^H40.52X2
+53 ;;^UTILITY(U,$J,358.3,13220,2)
+54 ;;=^5005894
+55 ;;^UTILITY(U,$J,358.3,13221,0)
+56 ;;=H40.52X3^^51^632^40
+57 ;;^UTILITY(U,$J,358.3,13221,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,13221,1,3,0)
+60 ;;=3^GLC 2nd to Oth Eye d/o,OS,Severe Stage
+61 ;;^UTILITY(U,$J,358.3,13221,1,4,0)
+62 ;;=4^H40.52X3
+63 ;;^UTILITY(U,$J,358.3,13221,2)
+64 ;;=^5133508
+65 ;;^UTILITY(U,$J,358.3,13222,0)
+66 ;;=H40.52X4^^51^632^41
+67 ;;^UTILITY(U,$J,358.3,13222,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,13222,1,3,0)
+70 ;;=3^GLC 2nd to Oth Eye d/o,OS,Indeterminate Stage
+71 ;;^UTILITY(U,$J,358.3,13222,1,4,0)
+72 ;;=4^H40.52X4
+73 ;;^UTILITY(U,$J,358.3,13222,2)
+74 ;;=^5005895
+75 ;;^UTILITY(U,$J,358.3,13223,0)
+76 ;;=H40.51X0^^51^632^32
+77 ;;^UTILITY(U,$J,358.3,13223,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,13223,1,3,0)
+80 ;;=3^GLC 2nd to Oth Eye d/o,OD,Stage Unspec
+81 ;;^UTILITY(U,$J,358.3,13223,1,4,0)
+82 ;;=4^H40.51X0
+83 ;;^UTILITY(U,$J,358.3,13223,2)
+84 ;;=^5005888
+85 ;;^UTILITY(U,$J,358.3,13224,0)
+86 ;;=H40.51X1^^51^632^33
+87 ;;^UTILITY(U,$J,358.3,13224,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,13224,1,3,0)
+90 ;;=3^GLC 2nd to Oth Eye d/o,OD,Mild Stage
+91 ;;^UTILITY(U,$J,358.3,13224,1,4,0)
+92 ;;=4^H40.51X1
+93 ;;^UTILITY(U,$J,358.3,13224,2)
+94 ;;=^5005889
+95 ;;^UTILITY(U,$J,358.3,13225,0)
+96 ;;=H40.51X2^^51^632^34
+97 ;;^UTILITY(U,$J,358.3,13225,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,13225,1,3,0)
+100 ;;=3^GLC 2nd to Oth Eye d/o,OD,Moderate Stage
+101 ;;^UTILITY(U,$J,358.3,13225,1,4,0)
+102 ;;=4^H40.51X2
+103 ;;^UTILITY(U,$J,358.3,13225,2)
+104 ;;=^5005890
+105 ;;^UTILITY(U,$J,358.3,13226,0)
+106 ;;=H40.51X3^^51^632^35
+107 ;;^UTILITY(U,$J,358.3,13226,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,13226,1,3,0)
+110 ;;=3^GLC 2nd to Oth Eye d/o,OD,Severe Stage
+111 ;;^UTILITY(U,$J,358.3,13226,1,4,0)
+112 ;;=4^H40.51X3
+113 ;;^UTILITY(U,$J,358.3,13226,2)
+114 ;;=^5133507
+115 ;;^UTILITY(U,$J,358.3,13227,0)
+116 ;;=H40.51X4^^51^632^36
+117 ;;^UTILITY(U,$J,358.3,13227,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,13227,1,3,0)
+120 ;;=3^GLC 2nd to Oth Eye d/o,OD,Indeterminate Stage