IBDEI1YU ; ; 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,31400,2)
;;=^5016548
;;^UTILITY(U,$J,358.3,31401,0)
;;=O31.13X4^^126^1625^36
;;^UTILITY(U,$J,358.3,31401,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31401,1,3,0)
;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 4
;;^UTILITY(U,$J,358.3,31401,1,4,0)
;;=4^O31.13X4
;;^UTILITY(U,$J,358.3,31401,2)
;;=^5016555
;;^UTILITY(U,$J,358.3,31402,0)
;;=O31.11X5^^126^1625^27
;;^UTILITY(U,$J,358.3,31402,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31402,1,3,0)
;;=3^Cont post spont abort,1 fts or more,1st tri,fts 5
;;^UTILITY(U,$J,358.3,31402,1,4,0)
;;=4^O31.11X5
;;^UTILITY(U,$J,358.3,31402,2)
;;=^5016542
;;^UTILITY(U,$J,358.3,31403,0)
;;=O31.12X5^^126^1625^32
;;^UTILITY(U,$J,358.3,31403,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31403,1,3,0)
;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 5
;;^UTILITY(U,$J,358.3,31403,1,4,0)
;;=4^O31.12X5
;;^UTILITY(U,$J,358.3,31403,2)
;;=^5016549
;;^UTILITY(U,$J,358.3,31404,0)
;;=O31.13X5^^126^1625^37
;;^UTILITY(U,$J,358.3,31404,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31404,1,3,0)
;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 5
;;^UTILITY(U,$J,358.3,31404,1,4,0)
;;=4^O31.13X5
;;^UTILITY(U,$J,358.3,31404,2)
;;=^5016556
;;^UTILITY(U,$J,358.3,31405,0)
;;=O31.31X0^^126^1625^4
;;^UTILITY(U,$J,358.3,31405,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31405,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,unsp fts
;;^UTILITY(U,$J,358.3,31405,1,4,0)
;;=4^O31.31X0
;;^UTILITY(U,$J,358.3,31405,2)
;;=^5016593
;;^UTILITY(U,$J,358.3,31406,0)
;;=O31.32X0^^126^1625^5
;;^UTILITY(U,$J,358.3,31406,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31406,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,unsp fts
;;^UTILITY(U,$J,358.3,31406,1,4,0)
;;=4^O31.32X0
;;^UTILITY(U,$J,358.3,31406,2)
;;=^5016600
;;^UTILITY(U,$J,358.3,31407,0)
;;=O31.33X0^^126^1625^6
;;^UTILITY(U,$J,358.3,31407,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31407,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,unsp fts
;;^UTILITY(U,$J,358.3,31407,1,4,0)
;;=4^O31.33X0
;;^UTILITY(U,$J,358.3,31407,2)
;;=^5016607
;;^UTILITY(U,$J,358.3,31408,0)
;;=O31.31X1^^126^1625^7
;;^UTILITY(U,$J,358.3,31408,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31408,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 1
;;^UTILITY(U,$J,358.3,31408,1,4,0)
;;=4^O31.31X1
;;^UTILITY(U,$J,358.3,31408,2)
;;=^5016594
;;^UTILITY(U,$J,358.3,31409,0)
;;=O31.32X1^^126^1625^8
;;^UTILITY(U,$J,358.3,31409,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31409,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 1
;;^UTILITY(U,$J,358.3,31409,1,4,0)
;;=4^O31.32X1
;;^UTILITY(U,$J,358.3,31409,2)
;;=^5016601
;;^UTILITY(U,$J,358.3,31410,0)
;;=O31.33X1^^126^1625^9
;;^UTILITY(U,$J,358.3,31410,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31410,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 1
;;^UTILITY(U,$J,358.3,31410,1,4,0)
;;=4^O31.33X1
;;^UTILITY(U,$J,358.3,31410,2)
;;=^5016608
;;^UTILITY(U,$J,358.3,31411,0)
;;=O31.31X2^^126^1625^10
;;^UTILITY(U,$J,358.3,31411,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31411,1,3,0)
;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 2
;;^UTILITY(U,$J,358.3,31411,1,4,0)
;;=4^O31.31X2
;;^UTILITY(U,$J,358.3,31411,2)
;;=^5016595
;;^UTILITY(U,$J,358.3,31412,0)
;;=O31.32X2^^126^1625^11
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YU 3782 printed Dec 13, 2024@02:18:28 Page 2
IBDEI1YU ; ; 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,31400,2)
+2 ;;=^5016548
+3 ;;^UTILITY(U,$J,358.3,31401,0)
+4 ;;=O31.13X4^^126^1625^36
+5 ;;^UTILITY(U,$J,358.3,31401,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,31401,1,3,0)
+8 ;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 4
+9 ;;^UTILITY(U,$J,358.3,31401,1,4,0)
+10 ;;=4^O31.13X4
+11 ;;^UTILITY(U,$J,358.3,31401,2)
+12 ;;=^5016555
+13 ;;^UTILITY(U,$J,358.3,31402,0)
+14 ;;=O31.11X5^^126^1625^27
+15 ;;^UTILITY(U,$J,358.3,31402,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,31402,1,3,0)
+18 ;;=3^Cont post spont abort,1 fts or more,1st tri,fts 5
+19 ;;^UTILITY(U,$J,358.3,31402,1,4,0)
+20 ;;=4^O31.11X5
+21 ;;^UTILITY(U,$J,358.3,31402,2)
+22 ;;=^5016542
+23 ;;^UTILITY(U,$J,358.3,31403,0)
+24 ;;=O31.12X5^^126^1625^32
+25 ;;^UTILITY(U,$J,358.3,31403,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,31403,1,3,0)
+28 ;;=3^Cont post spont abort,1 fts or more,2nd tri,fts 5
+29 ;;^UTILITY(U,$J,358.3,31403,1,4,0)
+30 ;;=4^O31.12X5
+31 ;;^UTILITY(U,$J,358.3,31403,2)
+32 ;;=^5016549
+33 ;;^UTILITY(U,$J,358.3,31404,0)
+34 ;;=O31.13X5^^126^1625^37
+35 ;;^UTILITY(U,$J,358.3,31404,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,31404,1,3,0)
+38 ;;=3^Cont post spont abort,1 fts or more,3rd tri,fts 5
+39 ;;^UTILITY(U,$J,358.3,31404,1,4,0)
+40 ;;=4^O31.13X5
+41 ;;^UTILITY(U,$J,358.3,31404,2)
+42 ;;=^5016556
+43 ;;^UTILITY(U,$J,358.3,31405,0)
+44 ;;=O31.31X0^^126^1625^4
+45 ;;^UTILITY(U,$J,358.3,31405,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,31405,1,3,0)
+48 ;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,unsp fts
+49 ;;^UTILITY(U,$J,358.3,31405,1,4,0)
+50 ;;=4^O31.31X0
+51 ;;^UTILITY(U,$J,358.3,31405,2)
+52 ;;=^5016593
+53 ;;^UTILITY(U,$J,358.3,31406,0)
+54 ;;=O31.32X0^^126^1625^5
+55 ;;^UTILITY(U,$J,358.3,31406,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,31406,1,3,0)
+58 ;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,unsp fts
+59 ;;^UTILITY(U,$J,358.3,31406,1,4,0)
+60 ;;=4^O31.32X0
+61 ;;^UTILITY(U,$J,358.3,31406,2)
+62 ;;=^5016600
+63 ;;^UTILITY(U,$J,358.3,31407,0)
+64 ;;=O31.33X0^^126^1625^6
+65 ;;^UTILITY(U,$J,358.3,31407,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,31407,1,3,0)
+68 ;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,unsp fts
+69 ;;^UTILITY(U,$J,358.3,31407,1,4,0)
+70 ;;=4^O31.33X0
+71 ;;^UTILITY(U,$J,358.3,31407,2)
+72 ;;=^5016607
+73 ;;^UTILITY(U,$J,358.3,31408,0)
+74 ;;=O31.31X1^^126^1625^7
+75 ;;^UTILITY(U,$J,358.3,31408,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,31408,1,3,0)
+78 ;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 1
+79 ;;^UTILITY(U,$J,358.3,31408,1,4,0)
+80 ;;=4^O31.31X1
+81 ;;^UTILITY(U,$J,358.3,31408,2)
+82 ;;=^5016594
+83 ;;^UTILITY(U,$J,358.3,31409,0)
+84 ;;=O31.32X1^^126^1625^8
+85 ;;^UTILITY(U,$J,358.3,31409,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,31409,1,3,0)
+88 ;;=3^Cont post elctv fetl rdct 1 fts or more,2nd tri,fts 1
+89 ;;^UTILITY(U,$J,358.3,31409,1,4,0)
+90 ;;=4^O31.32X1
+91 ;;^UTILITY(U,$J,358.3,31409,2)
+92 ;;=^5016601
+93 ;;^UTILITY(U,$J,358.3,31410,0)
+94 ;;=O31.33X1^^126^1625^9
+95 ;;^UTILITY(U,$J,358.3,31410,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,31410,1,3,0)
+98 ;;=3^Cont post elctv fetl rdct 1 fts or more,3rd tri,fts 1
+99 ;;^UTILITY(U,$J,358.3,31410,1,4,0)
+100 ;;=4^O31.33X1
+101 ;;^UTILITY(U,$J,358.3,31410,2)
+102 ;;=^5016608
+103 ;;^UTILITY(U,$J,358.3,31411,0)
+104 ;;=O31.31X2^^126^1625^10
+105 ;;^UTILITY(U,$J,358.3,31411,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,31411,1,3,0)
+108 ;;=3^Cont post elctv fetl rdct 1 fts or more,1st tri,fts 2
+109 ;;^UTILITY(U,$J,358.3,31411,1,4,0)
+110 ;;=4^O31.31X2
+111 ;;^UTILITY(U,$J,358.3,31411,2)
+112 ;;=^5016595
+113 ;;^UTILITY(U,$J,358.3,31412,0)
+114 ;;=O31.32X2^^126^1625^11