IBDEI1YV ; ; 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,31412,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31412,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 2
;;^UTILITY(U,$J,358.3,31412,1,4,0)
;;=4^O31.32X2
;;^UTILITY(U,$J,358.3,31412,2)
;;=^5016602
;;^UTILITY(U,$J,358.3,31413,0)
;;=O31.33X2^^126^1625^12
;;^UTILITY(U,$J,358.3,31413,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31413,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 2
;;^UTILITY(U,$J,358.3,31413,1,4,0)
;;=4^O31.33X2
;;^UTILITY(U,$J,358.3,31413,2)
;;=^5016609
;;^UTILITY(U,$J,358.3,31414,0)
;;=O31.31X3^^126^1625^13
;;^UTILITY(U,$J,358.3,31414,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31414,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 3
;;^UTILITY(U,$J,358.3,31414,1,4,0)
;;=4^O31.31X3
;;^UTILITY(U,$J,358.3,31414,2)
;;=^5016596
;;^UTILITY(U,$J,358.3,31415,0)
;;=O31.32X3^^126^1625^14
;;^UTILITY(U,$J,358.3,31415,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31415,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 3
;;^UTILITY(U,$J,358.3,31415,1,4,0)
;;=4^O31.32X3
;;^UTILITY(U,$J,358.3,31415,2)
;;=^5016603
;;^UTILITY(U,$J,358.3,31416,0)
;;=O31.33X3^^126^1625^15
;;^UTILITY(U,$J,358.3,31416,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31416,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 3
;;^UTILITY(U,$J,358.3,31416,1,4,0)
;;=4^O31.33X3
;;^UTILITY(U,$J,358.3,31416,2)
;;=^5016610
;;^UTILITY(U,$J,358.3,31417,0)
;;=O31.31X4^^126^1625^16
;;^UTILITY(U,$J,358.3,31417,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31417,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 4
;;^UTILITY(U,$J,358.3,31417,1,4,0)
;;=4^O31.31X4
;;^UTILITY(U,$J,358.3,31417,2)
;;=^5016597
;;^UTILITY(U,$J,358.3,31418,0)
;;=O31.32X4^^126^1625^17
;;^UTILITY(U,$J,358.3,31418,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31418,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 4
;;^UTILITY(U,$J,358.3,31418,1,4,0)
;;=4^O31.32X4
;;^UTILITY(U,$J,358.3,31418,2)
;;=^5016604
;;^UTILITY(U,$J,358.3,31419,0)
;;=O31.33X4^^126^1625^18
;;^UTILITY(U,$J,358.3,31419,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31419,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 4
;;^UTILITY(U,$J,358.3,31419,1,4,0)
;;=4^O31.33X4
;;^UTILITY(U,$J,358.3,31419,2)
;;=^5016611
;;^UTILITY(U,$J,358.3,31420,0)
;;=O31.31X5^^126^1625^19
;;^UTILITY(U,$J,358.3,31420,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31420,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 5
;;^UTILITY(U,$J,358.3,31420,1,4,0)
;;=4^O31.31X5
;;^UTILITY(U,$J,358.3,31420,2)
;;=^5016598
;;^UTILITY(U,$J,358.3,31421,0)
;;=O31.32X5^^126^1625^20
;;^UTILITY(U,$J,358.3,31421,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31421,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 5
;;^UTILITY(U,$J,358.3,31421,1,4,0)
;;=4^O31.32X5
;;^UTILITY(U,$J,358.3,31421,2)
;;=^5016605
;;^UTILITY(U,$J,358.3,31422,0)
;;=O31.33X5^^126^1625^21
;;^UTILITY(U,$J,358.3,31422,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31422,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 5
;;^UTILITY(U,$J,358.3,31422,1,4,0)
;;=4^O31.33X5
;;^UTILITY(U,$J,358.3,31422,2)
;;=^5016612
;;^UTILITY(U,$J,358.3,31423,0)
;;=O31.31X9^^126^1625^38
;;^UTILITY(U,$J,358.3,31423,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31423,1,3,0)
;;=3^Cont preg aft elctv fetl rdct of 1 fts or more, 1st tri, oth
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YV 3847 printed Dec 13, 2024@02:18:29 Page 2
IBDEI1YV ; ; 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,31412,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,31412,1,3,0)
+4 ;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 2
+5 ;;^UTILITY(U,$J,358.3,31412,1,4,0)
+6 ;;=4^O31.32X2
+7 ;;^UTILITY(U,$J,358.3,31412,2)
+8 ;;=^5016602
+9 ;;^UTILITY(U,$J,358.3,31413,0)
+10 ;;=O31.33X2^^126^1625^12
+11 ;;^UTILITY(U,$J,358.3,31413,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,31413,1,3,0)
+14 ;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 2
+15 ;;^UTILITY(U,$J,358.3,31413,1,4,0)
+16 ;;=4^O31.33X2
+17 ;;^UTILITY(U,$J,358.3,31413,2)
+18 ;;=^5016609
+19 ;;^UTILITY(U,$J,358.3,31414,0)
+20 ;;=O31.31X3^^126^1625^13
+21 ;;^UTILITY(U,$J,358.3,31414,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,31414,1,3,0)
+24 ;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 3
+25 ;;^UTILITY(U,$J,358.3,31414,1,4,0)
+26 ;;=4^O31.31X3
+27 ;;^UTILITY(U,$J,358.3,31414,2)
+28 ;;=^5016596
+29 ;;^UTILITY(U,$J,358.3,31415,0)
+30 ;;=O31.32X3^^126^1625^14
+31 ;;^UTILITY(U,$J,358.3,31415,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,31415,1,3,0)
+34 ;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 3
+35 ;;^UTILITY(U,$J,358.3,31415,1,4,0)
+36 ;;=4^O31.32X3
+37 ;;^UTILITY(U,$J,358.3,31415,2)
+38 ;;=^5016603
+39 ;;^UTILITY(U,$J,358.3,31416,0)
+40 ;;=O31.33X3^^126^1625^15
+41 ;;^UTILITY(U,$J,358.3,31416,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,31416,1,3,0)
+44 ;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 3
+45 ;;^UTILITY(U,$J,358.3,31416,1,4,0)
+46 ;;=4^O31.33X3
+47 ;;^UTILITY(U,$J,358.3,31416,2)
+48 ;;=^5016610
+49 ;;^UTILITY(U,$J,358.3,31417,0)
+50 ;;=O31.31X4^^126^1625^16
+51 ;;^UTILITY(U,$J,358.3,31417,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,31417,1,3,0)
+54 ;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 4
+55 ;;^UTILITY(U,$J,358.3,31417,1,4,0)
+56 ;;=4^O31.31X4
+57 ;;^UTILITY(U,$J,358.3,31417,2)
+58 ;;=^5016597
+59 ;;^UTILITY(U,$J,358.3,31418,0)
+60 ;;=O31.32X4^^126^1625^17
+61 ;;^UTILITY(U,$J,358.3,31418,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,31418,1,3,0)
+64 ;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 4
+65 ;;^UTILITY(U,$J,358.3,31418,1,4,0)
+66 ;;=4^O31.32X4
+67 ;;^UTILITY(U,$J,358.3,31418,2)
+68 ;;=^5016604
+69 ;;^UTILITY(U,$J,358.3,31419,0)
+70 ;;=O31.33X4^^126^1625^18
+71 ;;^UTILITY(U,$J,358.3,31419,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,31419,1,3,0)
+74 ;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 4
+75 ;;^UTILITY(U,$J,358.3,31419,1,4,0)
+76 ;;=4^O31.33X4
+77 ;;^UTILITY(U,$J,358.3,31419,2)
+78 ;;=^5016611
+79 ;;^UTILITY(U,$J,358.3,31420,0)
+80 ;;=O31.31X5^^126^1625^19
+81 ;;^UTILITY(U,$J,358.3,31420,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,31420,1,3,0)
+84 ;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 5
+85 ;;^UTILITY(U,$J,358.3,31420,1,4,0)
+86 ;;=4^O31.31X5
+87 ;;^UTILITY(U,$J,358.3,31420,2)
+88 ;;=^5016598
+89 ;;^UTILITY(U,$J,358.3,31421,0)
+90 ;;=O31.32X5^^126^1625^20
+91 ;;^UTILITY(U,$J,358.3,31421,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,31421,1,3,0)
+94 ;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 5
+95 ;;^UTILITY(U,$J,358.3,31421,1,4,0)
+96 ;;=4^O31.32X5
+97 ;;^UTILITY(U,$J,358.3,31421,2)
+98 ;;=^5016605
+99 ;;^UTILITY(U,$J,358.3,31422,0)
+100 ;;=O31.33X5^^126^1625^21
+101 ;;^UTILITY(U,$J,358.3,31422,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,31422,1,3,0)
+104 ;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 5
+105 ;;^UTILITY(U,$J,358.3,31422,1,4,0)
+106 ;;=4^O31.33X5
+107 ;;^UTILITY(U,$J,358.3,31422,2)
+108 ;;=^5016612
+109 ;;^UTILITY(U,$J,358.3,31423,0)
+110 ;;=O31.31X9^^126^1625^38
+111 ;;^UTILITY(U,$J,358.3,31423,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,31423,1,3,0)
+114 ;;=3^Cont preg aft elctv fetl rdct of 1 fts or more, 1st tri, oth