IBDEI1YF ; ; 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,31228,1,4,0)
;;=4^O31.03X0
;;^UTILITY(U,$J,358.3,31228,2)
;;=^5016523
;;^UTILITY(U,$J,358.3,31229,0)
;;=O31.03X1^^126^1623^57
;;^UTILITY(U,$J,358.3,31229,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31229,1,3,0)
;;=3^Papyraceous fetus, third trimester, fetus 1
;;^UTILITY(U,$J,358.3,31229,1,4,0)
;;=4^O31.03X1
;;^UTILITY(U,$J,358.3,31229,2)
;;=^5016524
;;^UTILITY(U,$J,358.3,31230,0)
;;=O31.03X2^^126^1623^58
;;^UTILITY(U,$J,358.3,31230,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31230,1,3,0)
;;=3^Papyraceous fetus, third trimester, fetus 2
;;^UTILITY(U,$J,358.3,31230,1,4,0)
;;=4^O31.03X2
;;^UTILITY(U,$J,358.3,31230,2)
;;=^5016525
;;^UTILITY(U,$J,358.3,31231,0)
;;=O31.03X3^^126^1623^59
;;^UTILITY(U,$J,358.3,31231,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31231,1,3,0)
;;=3^Papyraceous fetus, third trimester, fetus 3
;;^UTILITY(U,$J,358.3,31231,1,4,0)
;;=4^O31.03X3
;;^UTILITY(U,$J,358.3,31231,2)
;;=^5016526
;;^UTILITY(U,$J,358.3,31232,0)
;;=O31.03X4^^126^1623^60
;;^UTILITY(U,$J,358.3,31232,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31232,1,3,0)
;;=3^Papyraceous fetus, third trimester, fetus 4
;;^UTILITY(U,$J,358.3,31232,1,4,0)
;;=4^O31.03X4
;;^UTILITY(U,$J,358.3,31232,2)
;;=^5016527
;;^UTILITY(U,$J,358.3,31233,0)
;;=O31.03X5^^126^1623^61
;;^UTILITY(U,$J,358.3,31233,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31233,1,3,0)
;;=3^Papyraceous fetus, third trimester, fetus 5
;;^UTILITY(U,$J,358.3,31233,1,4,0)
;;=4^O31.03X5
;;^UTILITY(U,$J,358.3,31233,2)
;;=^5016528
;;^UTILITY(U,$J,358.3,31234,0)
;;=O31.02X0^^126^1623^56
;;^UTILITY(U,$J,358.3,31234,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31234,1,3,0)
;;=3^Papyraceous fetus, second trimester, not applicable or unsp
;;^UTILITY(U,$J,358.3,31234,1,4,0)
;;=4^O31.02X0
;;^UTILITY(U,$J,358.3,31234,2)
;;=^5016516
;;^UTILITY(U,$J,358.3,31235,0)
;;=O31.02X1^^126^1623^51
;;^UTILITY(U,$J,358.3,31235,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31235,1,3,0)
;;=3^Papyraceous fetus, second trimester, fetus 1
;;^UTILITY(U,$J,358.3,31235,1,4,0)
;;=4^O31.02X1
;;^UTILITY(U,$J,358.3,31235,2)
;;=^5016517
;;^UTILITY(U,$J,358.3,31236,0)
;;=O31.02X2^^126^1623^52
;;^UTILITY(U,$J,358.3,31236,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31236,1,3,0)
;;=3^Papyraceous fetus, second trimester, fetus 2
;;^UTILITY(U,$J,358.3,31236,1,4,0)
;;=4^O31.02X2
;;^UTILITY(U,$J,358.3,31236,2)
;;=^5016518
;;^UTILITY(U,$J,358.3,31237,0)
;;=O31.02X3^^126^1623^53
;;^UTILITY(U,$J,358.3,31237,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31237,1,3,0)
;;=3^Papyraceous fetus, second trimester, fetus 3
;;^UTILITY(U,$J,358.3,31237,1,4,0)
;;=4^O31.02X3
;;^UTILITY(U,$J,358.3,31237,2)
;;=^5016519
;;^UTILITY(U,$J,358.3,31238,0)
;;=O31.02X4^^126^1623^54
;;^UTILITY(U,$J,358.3,31238,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31238,1,3,0)
;;=3^Papyraceous fetus, second trimester, fetus 4
;;^UTILITY(U,$J,358.3,31238,1,4,0)
;;=4^O31.02X4
;;^UTILITY(U,$J,358.3,31238,2)
;;=^5016520
;;^UTILITY(U,$J,358.3,31239,0)
;;=O31.02X5^^126^1623^55
;;^UTILITY(U,$J,358.3,31239,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31239,1,3,0)
;;=3^Papyraceous fetus, second trimester, fetus 5
;;^UTILITY(U,$J,358.3,31239,1,4,0)
;;=4^O31.02X5
;;^UTILITY(U,$J,358.3,31239,2)
;;=^5016521
;;^UTILITY(U,$J,358.3,31240,0)
;;=O31.01X0^^126^1623^50
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YF 3759 printed Dec 13, 2024@02:18:14 Page 2
IBDEI1YF ; ; 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,31228,1,4,0)
+2 ;;=4^O31.03X0
+3 ;;^UTILITY(U,$J,358.3,31228,2)
+4 ;;=^5016523
+5 ;;^UTILITY(U,$J,358.3,31229,0)
+6 ;;=O31.03X1^^126^1623^57
+7 ;;^UTILITY(U,$J,358.3,31229,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,31229,1,3,0)
+10 ;;=3^Papyraceous fetus, third trimester, fetus 1
+11 ;;^UTILITY(U,$J,358.3,31229,1,4,0)
+12 ;;=4^O31.03X1
+13 ;;^UTILITY(U,$J,358.3,31229,2)
+14 ;;=^5016524
+15 ;;^UTILITY(U,$J,358.3,31230,0)
+16 ;;=O31.03X2^^126^1623^58
+17 ;;^UTILITY(U,$J,358.3,31230,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,31230,1,3,0)
+20 ;;=3^Papyraceous fetus, third trimester, fetus 2
+21 ;;^UTILITY(U,$J,358.3,31230,1,4,0)
+22 ;;=4^O31.03X2
+23 ;;^UTILITY(U,$J,358.3,31230,2)
+24 ;;=^5016525
+25 ;;^UTILITY(U,$J,358.3,31231,0)
+26 ;;=O31.03X3^^126^1623^59
+27 ;;^UTILITY(U,$J,358.3,31231,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,31231,1,3,0)
+30 ;;=3^Papyraceous fetus, third trimester, fetus 3
+31 ;;^UTILITY(U,$J,358.3,31231,1,4,0)
+32 ;;=4^O31.03X3
+33 ;;^UTILITY(U,$J,358.3,31231,2)
+34 ;;=^5016526
+35 ;;^UTILITY(U,$J,358.3,31232,0)
+36 ;;=O31.03X4^^126^1623^60
+37 ;;^UTILITY(U,$J,358.3,31232,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,31232,1,3,0)
+40 ;;=3^Papyraceous fetus, third trimester, fetus 4
+41 ;;^UTILITY(U,$J,358.3,31232,1,4,0)
+42 ;;=4^O31.03X4
+43 ;;^UTILITY(U,$J,358.3,31232,2)
+44 ;;=^5016527
+45 ;;^UTILITY(U,$J,358.3,31233,0)
+46 ;;=O31.03X5^^126^1623^61
+47 ;;^UTILITY(U,$J,358.3,31233,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,31233,1,3,0)
+50 ;;=3^Papyraceous fetus, third trimester, fetus 5
+51 ;;^UTILITY(U,$J,358.3,31233,1,4,0)
+52 ;;=4^O31.03X5
+53 ;;^UTILITY(U,$J,358.3,31233,2)
+54 ;;=^5016528
+55 ;;^UTILITY(U,$J,358.3,31234,0)
+56 ;;=O31.02X0^^126^1623^56
+57 ;;^UTILITY(U,$J,358.3,31234,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,31234,1,3,0)
+60 ;;=3^Papyraceous fetus, second trimester, not applicable or unsp
+61 ;;^UTILITY(U,$J,358.3,31234,1,4,0)
+62 ;;=4^O31.02X0
+63 ;;^UTILITY(U,$J,358.3,31234,2)
+64 ;;=^5016516
+65 ;;^UTILITY(U,$J,358.3,31235,0)
+66 ;;=O31.02X1^^126^1623^51
+67 ;;^UTILITY(U,$J,358.3,31235,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,31235,1,3,0)
+70 ;;=3^Papyraceous fetus, second trimester, fetus 1
+71 ;;^UTILITY(U,$J,358.3,31235,1,4,0)
+72 ;;=4^O31.02X1
+73 ;;^UTILITY(U,$J,358.3,31235,2)
+74 ;;=^5016517
+75 ;;^UTILITY(U,$J,358.3,31236,0)
+76 ;;=O31.02X2^^126^1623^52
+77 ;;^UTILITY(U,$J,358.3,31236,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,31236,1,3,0)
+80 ;;=3^Papyraceous fetus, second trimester, fetus 2
+81 ;;^UTILITY(U,$J,358.3,31236,1,4,0)
+82 ;;=4^O31.02X2
+83 ;;^UTILITY(U,$J,358.3,31236,2)
+84 ;;=^5016518
+85 ;;^UTILITY(U,$J,358.3,31237,0)
+86 ;;=O31.02X3^^126^1623^53
+87 ;;^UTILITY(U,$J,358.3,31237,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,31237,1,3,0)
+90 ;;=3^Papyraceous fetus, second trimester, fetus 3
+91 ;;^UTILITY(U,$J,358.3,31237,1,4,0)
+92 ;;=4^O31.02X3
+93 ;;^UTILITY(U,$J,358.3,31237,2)
+94 ;;=^5016519
+95 ;;^UTILITY(U,$J,358.3,31238,0)
+96 ;;=O31.02X4^^126^1623^54
+97 ;;^UTILITY(U,$J,358.3,31238,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,31238,1,3,0)
+100 ;;=3^Papyraceous fetus, second trimester, fetus 4
+101 ;;^UTILITY(U,$J,358.3,31238,1,4,0)
+102 ;;=4^O31.02X4
+103 ;;^UTILITY(U,$J,358.3,31238,2)
+104 ;;=^5016520
+105 ;;^UTILITY(U,$J,358.3,31239,0)
+106 ;;=O31.02X5^^126^1623^55
+107 ;;^UTILITY(U,$J,358.3,31239,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,31239,1,3,0)
+110 ;;=3^Papyraceous fetus, second trimester, fetus 5
+111 ;;^UTILITY(U,$J,358.3,31239,1,4,0)
+112 ;;=4^O31.02X5
+113 ;;^UTILITY(U,$J,358.3,31239,2)
+114 ;;=^5016521
+115 ;;^UTILITY(U,$J,358.3,31240,0)
+116 ;;=O31.01X0^^126^1623^50