IBDEI1YT ; ; 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,31389,1,3,0)
;;=3^Cont post spont abort,1 fts or more,1st tri,unsp fts
;;^UTILITY(U,$J,358.3,31389,1,4,0)
;;=4^O31.11X0
;;^UTILITY(U,$J,358.3,31389,2)
;;=^5016537
;;^UTILITY(U,$J,358.3,31390,0)
;;=O31.11X1^^126^1625^23
;;^UTILITY(U,$J,358.3,31390,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31390,1,3,0)
;;=3^Cont post spont abort,1 fts or more,1st tri,fts 1
;;^UTILITY(U,$J,358.3,31390,1,4,0)
;;=4^O31.11X1
;;^UTILITY(U,$J,358.3,31390,2)
;;=^5016538
;;^UTILITY(U,$J,358.3,31391,0)
;;=O31.11X2^^126^1625^24
;;^UTILITY(U,$J,358.3,31391,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31391,1,3,0)
;;=3^Cont post spont abort,1 fts or more,1st tri,fts 2
;;^UTILITY(U,$J,358.3,31391,1,4,0)
;;=4^O31.11X2
;;^UTILITY(U,$J,358.3,31391,2)
;;=^5016539
;;^UTILITY(U,$J,358.3,31392,0)
;;=O31.12X1^^126^1625^28
;;^UTILITY(U,$J,358.3,31392,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31392,1,3,0)
;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 1
;;^UTILITY(U,$J,358.3,31392,1,4,0)
;;=4^O31.12X1
;;^UTILITY(U,$J,358.3,31392,2)
;;=^5016545
;;^UTILITY(U,$J,358.3,31393,0)
;;=O31.12X2^^126^1625^29
;;^UTILITY(U,$J,358.3,31393,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31393,1,3,0)
;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 2
;;^UTILITY(U,$J,358.3,31393,1,4,0)
;;=4^O31.12X2
;;^UTILITY(U,$J,358.3,31393,2)
;;=^5016546
;;^UTILITY(U,$J,358.3,31394,0)
;;=O31.13X1^^126^1625^33
;;^UTILITY(U,$J,358.3,31394,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31394,1,3,0)
;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 1
;;^UTILITY(U,$J,358.3,31394,1,4,0)
;;=4^O31.13X1
;;^UTILITY(U,$J,358.3,31394,2)
;;=^5016552
;;^UTILITY(U,$J,358.3,31395,0)
;;=O31.13X2^^126^1625^34
;;^UTILITY(U,$J,358.3,31395,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31395,1,3,0)
;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 2
;;^UTILITY(U,$J,358.3,31395,1,4,0)
;;=4^O31.13X2
;;^UTILITY(U,$J,358.3,31395,2)
;;=^5016553
;;^UTILITY(U,$J,358.3,31396,0)
;;=O31.11X3^^126^1625^25
;;^UTILITY(U,$J,358.3,31396,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31396,1,3,0)
;;=3^Cont post spont abort,1 fts or more,1st tri,fts 3
;;^UTILITY(U,$J,358.3,31396,1,4,0)
;;=4^O31.11X3
;;^UTILITY(U,$J,358.3,31396,2)
;;=^5016540
;;^UTILITY(U,$J,358.3,31397,0)
;;=O31.12X3^^126^1625^30
;;^UTILITY(U,$J,358.3,31397,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31397,1,3,0)
;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 3
;;^UTILITY(U,$J,358.3,31397,1,4,0)
;;=4^O31.12X3
;;^UTILITY(U,$J,358.3,31397,2)
;;=^5016547
;;^UTILITY(U,$J,358.3,31398,0)
;;=O31.13X3^^126^1625^35
;;^UTILITY(U,$J,358.3,31398,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31398,1,3,0)
;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 3
;;^UTILITY(U,$J,358.3,31398,1,4,0)
;;=4^O31.13X3
;;^UTILITY(U,$J,358.3,31398,2)
;;=^5016554
;;^UTILITY(U,$J,358.3,31399,0)
;;=O31.11X4^^126^1625^26
;;^UTILITY(U,$J,358.3,31399,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31399,1,3,0)
;;=3^Cont post spont abort,1 fts or more,1st tri,fts 4
;;^UTILITY(U,$J,358.3,31399,1,4,0)
;;=4^O31.11X4
;;^UTILITY(U,$J,358.3,31399,2)
;;=^5016541
;;^UTILITY(U,$J,358.3,31400,0)
;;=O31.12X4^^126^1625^31
;;^UTILITY(U,$J,358.3,31400,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31400,1,3,0)
;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 4
;;^UTILITY(U,$J,358.3,31400,1,4,0)
;;=4^O31.12X4
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YT 3794 printed Nov 22, 2024@17:28:37 Page 2
IBDEI1YT ; ; 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,31389,1,3,0)
+2 ;;=3^Cont post spont abort,1 fts or more,1st tri,unsp fts
+3 ;;^UTILITY(U,$J,358.3,31389,1,4,0)
+4 ;;=4^O31.11X0
+5 ;;^UTILITY(U,$J,358.3,31389,2)
+6 ;;=^5016537
+7 ;;^UTILITY(U,$J,358.3,31390,0)
+8 ;;=O31.11X1^^126^1625^23
+9 ;;^UTILITY(U,$J,358.3,31390,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,31390,1,3,0)
+12 ;;=3^Cont post spont abort,1 fts or more,1st tri,fts 1
+13 ;;^UTILITY(U,$J,358.3,31390,1,4,0)
+14 ;;=4^O31.11X1
+15 ;;^UTILITY(U,$J,358.3,31390,2)
+16 ;;=^5016538
+17 ;;^UTILITY(U,$J,358.3,31391,0)
+18 ;;=O31.11X2^^126^1625^24
+19 ;;^UTILITY(U,$J,358.3,31391,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,31391,1,3,0)
+22 ;;=3^Cont post spont abort,1 fts or more,1st tri,fts 2
+23 ;;^UTILITY(U,$J,358.3,31391,1,4,0)
+24 ;;=4^O31.11X2
+25 ;;^UTILITY(U,$J,358.3,31391,2)
+26 ;;=^5016539
+27 ;;^UTILITY(U,$J,358.3,31392,0)
+28 ;;=O31.12X1^^126^1625^28
+29 ;;^UTILITY(U,$J,358.3,31392,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,31392,1,3,0)
+32 ;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 1
+33 ;;^UTILITY(U,$J,358.3,31392,1,4,0)
+34 ;;=4^O31.12X1
+35 ;;^UTILITY(U,$J,358.3,31392,2)
+36 ;;=^5016545
+37 ;;^UTILITY(U,$J,358.3,31393,0)
+38 ;;=O31.12X2^^126^1625^29
+39 ;;^UTILITY(U,$J,358.3,31393,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,31393,1,3,0)
+42 ;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 2
+43 ;;^UTILITY(U,$J,358.3,31393,1,4,0)
+44 ;;=4^O31.12X2
+45 ;;^UTILITY(U,$J,358.3,31393,2)
+46 ;;=^5016546
+47 ;;^UTILITY(U,$J,358.3,31394,0)
+48 ;;=O31.13X1^^126^1625^33
+49 ;;^UTILITY(U,$J,358.3,31394,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,31394,1,3,0)
+52 ;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 1
+53 ;;^UTILITY(U,$J,358.3,31394,1,4,0)
+54 ;;=4^O31.13X1
+55 ;;^UTILITY(U,$J,358.3,31394,2)
+56 ;;=^5016552
+57 ;;^UTILITY(U,$J,358.3,31395,0)
+58 ;;=O31.13X2^^126^1625^34
+59 ;;^UTILITY(U,$J,358.3,31395,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,31395,1,3,0)
+62 ;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 2
+63 ;;^UTILITY(U,$J,358.3,31395,1,4,0)
+64 ;;=4^O31.13X2
+65 ;;^UTILITY(U,$J,358.3,31395,2)
+66 ;;=^5016553
+67 ;;^UTILITY(U,$J,358.3,31396,0)
+68 ;;=O31.11X3^^126^1625^25
+69 ;;^UTILITY(U,$J,358.3,31396,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,31396,1,3,0)
+72 ;;=3^Cont post spont abort,1 fts or more,1st tri,fts 3
+73 ;;^UTILITY(U,$J,358.3,31396,1,4,0)
+74 ;;=4^O31.11X3
+75 ;;^UTILITY(U,$J,358.3,31396,2)
+76 ;;=^5016540
+77 ;;^UTILITY(U,$J,358.3,31397,0)
+78 ;;=O31.12X3^^126^1625^30
+79 ;;^UTILITY(U,$J,358.3,31397,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,31397,1,3,0)
+82 ;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 3
+83 ;;^UTILITY(U,$J,358.3,31397,1,4,0)
+84 ;;=4^O31.12X3
+85 ;;^UTILITY(U,$J,358.3,31397,2)
+86 ;;=^5016547
+87 ;;^UTILITY(U,$J,358.3,31398,0)
+88 ;;=O31.13X3^^126^1625^35
+89 ;;^UTILITY(U,$J,358.3,31398,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,31398,1,3,0)
+92 ;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 3
+93 ;;^UTILITY(U,$J,358.3,31398,1,4,0)
+94 ;;=4^O31.13X3
+95 ;;^UTILITY(U,$J,358.3,31398,2)
+96 ;;=^5016554
+97 ;;^UTILITY(U,$J,358.3,31399,0)
+98 ;;=O31.11X4^^126^1625^26
+99 ;;^UTILITY(U,$J,358.3,31399,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,31399,1,3,0)
+102 ;;=3^Cont post spont abort,1 fts or more,1st tri,fts 4
+103 ;;^UTILITY(U,$J,358.3,31399,1,4,0)
+104 ;;=4^O31.11X4
+105 ;;^UTILITY(U,$J,358.3,31399,2)
+106 ;;=^5016541
+107 ;;^UTILITY(U,$J,358.3,31400,0)
+108 ;;=O31.12X4^^126^1625^31
+109 ;;^UTILITY(U,$J,358.3,31400,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,31400,1,3,0)
+112 ;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 4
+113 ;;^UTILITY(U,$J,358.3,31400,1,4,0)
+114 ;;=4^O31.12X4