IBDEI1YG ; ; 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,31240,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31240,1,3,0)
;;=3^Papyraceous fetus, first trimester, not applicable or unsp
;;^UTILITY(U,$J,358.3,31240,1,4,0)
;;=4^O31.01X0
;;^UTILITY(U,$J,358.3,31240,2)
;;=^5016509
;;^UTILITY(U,$J,358.3,31241,0)
;;=O31.01X1^^126^1623^45
;;^UTILITY(U,$J,358.3,31241,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31241,1,3,0)
;;=3^Papyraceous fetus, first trimester, fetus 1
;;^UTILITY(U,$J,358.3,31241,1,4,0)
;;=4^O31.01X1
;;^UTILITY(U,$J,358.3,31241,2)
;;=^5016510
;;^UTILITY(U,$J,358.3,31242,0)
;;=O31.01X2^^126^1623^46
;;^UTILITY(U,$J,358.3,31242,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31242,1,3,0)
;;=3^Papyraceous fetus, first trimester, fetus 2
;;^UTILITY(U,$J,358.3,31242,1,4,0)
;;=4^O31.01X2
;;^UTILITY(U,$J,358.3,31242,2)
;;=^5016511
;;^UTILITY(U,$J,358.3,31243,0)
;;=O31.01X3^^126^1623^47
;;^UTILITY(U,$J,358.3,31243,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31243,1,3,0)
;;=3^Papyraceous fetus, first trimester, fetus 3
;;^UTILITY(U,$J,358.3,31243,1,4,0)
;;=4^O31.01X3
;;^UTILITY(U,$J,358.3,31243,2)
;;=^5016512
;;^UTILITY(U,$J,358.3,31244,0)
;;=O31.01X4^^126^1623^48
;;^UTILITY(U,$J,358.3,31244,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31244,1,3,0)
;;=3^Papyraceous fetus, first trimester, fetus 4
;;^UTILITY(U,$J,358.3,31244,1,4,0)
;;=4^O31.01X4
;;^UTILITY(U,$J,358.3,31244,2)
;;=^5016513
;;^UTILITY(U,$J,358.3,31245,0)
;;=O31.01X5^^126^1623^49
;;^UTILITY(U,$J,358.3,31245,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31245,1,3,0)
;;=3^Papyraceous fetus, first trimester, fetus 5
;;^UTILITY(U,$J,358.3,31245,1,4,0)
;;=4^O31.01X5
;;^UTILITY(U,$J,358.3,31245,2)
;;=^5016514
;;^UTILITY(U,$J,358.3,31246,0)
;;=O12.01^^126^1623^32
;;^UTILITY(U,$J,358.3,31246,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31246,1,3,0)
;;=3^Gestational edema, first trimester
;;^UTILITY(U,$J,358.3,31246,1,4,0)
;;=4^O12.01
;;^UTILITY(U,$J,358.3,31246,2)
;;=^5016147
;;^UTILITY(U,$J,358.3,31247,0)
;;=O12.02^^126^1623^33
;;^UTILITY(U,$J,358.3,31247,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31247,1,3,0)
;;=3^Gestational edema, second trimester
;;^UTILITY(U,$J,358.3,31247,1,4,0)
;;=4^O12.02
;;^UTILITY(U,$J,358.3,31247,2)
;;=^5016148
;;^UTILITY(U,$J,358.3,31248,0)
;;=O12.03^^126^1623^34
;;^UTILITY(U,$J,358.3,31248,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31248,1,3,0)
;;=3^Gestational edema, third trimester
;;^UTILITY(U,$J,358.3,31248,1,4,0)
;;=4^O12.03
;;^UTILITY(U,$J,358.3,31248,2)
;;=^5016149
;;^UTILITY(U,$J,358.3,31249,0)
;;=O12.21^^126^1623^29
;;^UTILITY(U,$J,358.3,31249,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31249,1,3,0)
;;=3^Gestational edema with proteinuria, first trimester
;;^UTILITY(U,$J,358.3,31249,1,4,0)
;;=4^O12.21
;;^UTILITY(U,$J,358.3,31249,2)
;;=^5016155
;;^UTILITY(U,$J,358.3,31250,0)
;;=O12.22^^126^1623^30
;;^UTILITY(U,$J,358.3,31250,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31250,1,3,0)
;;=3^Gestational edema with proteinuria, second trimester
;;^UTILITY(U,$J,358.3,31250,1,4,0)
;;=4^O12.22
;;^UTILITY(U,$J,358.3,31250,2)
;;=^5016156
;;^UTILITY(U,$J,358.3,31251,0)
;;=O12.23^^126^1623^31
;;^UTILITY(U,$J,358.3,31251,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31251,1,3,0)
;;=3^Gestational edema with proteinuria, third trimester
;;^UTILITY(U,$J,358.3,31251,1,4,0)
;;=4^O12.23
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YG 3763 printed Dec 13, 2024@02:18:15 Page 2
IBDEI1YG ; ; 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,31240,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,31240,1,3,0)
+4 ;;=3^Papyraceous fetus, first trimester, not applicable or unsp
+5 ;;^UTILITY(U,$J,358.3,31240,1,4,0)
+6 ;;=4^O31.01X0
+7 ;;^UTILITY(U,$J,358.3,31240,2)
+8 ;;=^5016509
+9 ;;^UTILITY(U,$J,358.3,31241,0)
+10 ;;=O31.01X1^^126^1623^45
+11 ;;^UTILITY(U,$J,358.3,31241,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,31241,1,3,0)
+14 ;;=3^Papyraceous fetus, first trimester, fetus 1
+15 ;;^UTILITY(U,$J,358.3,31241,1,4,0)
+16 ;;=4^O31.01X1
+17 ;;^UTILITY(U,$J,358.3,31241,2)
+18 ;;=^5016510
+19 ;;^UTILITY(U,$J,358.3,31242,0)
+20 ;;=O31.01X2^^126^1623^46
+21 ;;^UTILITY(U,$J,358.3,31242,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,31242,1,3,0)
+24 ;;=3^Papyraceous fetus, first trimester, fetus 2
+25 ;;^UTILITY(U,$J,358.3,31242,1,4,0)
+26 ;;=4^O31.01X2
+27 ;;^UTILITY(U,$J,358.3,31242,2)
+28 ;;=^5016511
+29 ;;^UTILITY(U,$J,358.3,31243,0)
+30 ;;=O31.01X3^^126^1623^47
+31 ;;^UTILITY(U,$J,358.3,31243,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,31243,1,3,0)
+34 ;;=3^Papyraceous fetus, first trimester, fetus 3
+35 ;;^UTILITY(U,$J,358.3,31243,1,4,0)
+36 ;;=4^O31.01X3
+37 ;;^UTILITY(U,$J,358.3,31243,2)
+38 ;;=^5016512
+39 ;;^UTILITY(U,$J,358.3,31244,0)
+40 ;;=O31.01X4^^126^1623^48
+41 ;;^UTILITY(U,$J,358.3,31244,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,31244,1,3,0)
+44 ;;=3^Papyraceous fetus, first trimester, fetus 4
+45 ;;^UTILITY(U,$J,358.3,31244,1,4,0)
+46 ;;=4^O31.01X4
+47 ;;^UTILITY(U,$J,358.3,31244,2)
+48 ;;=^5016513
+49 ;;^UTILITY(U,$J,358.3,31245,0)
+50 ;;=O31.01X5^^126^1623^49
+51 ;;^UTILITY(U,$J,358.3,31245,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,31245,1,3,0)
+54 ;;=3^Papyraceous fetus, first trimester, fetus 5
+55 ;;^UTILITY(U,$J,358.3,31245,1,4,0)
+56 ;;=4^O31.01X5
+57 ;;^UTILITY(U,$J,358.3,31245,2)
+58 ;;=^5016514
+59 ;;^UTILITY(U,$J,358.3,31246,0)
+60 ;;=O12.01^^126^1623^32
+61 ;;^UTILITY(U,$J,358.3,31246,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,31246,1,3,0)
+64 ;;=3^Gestational edema, first trimester
+65 ;;^UTILITY(U,$J,358.3,31246,1,4,0)
+66 ;;=4^O12.01
+67 ;;^UTILITY(U,$J,358.3,31246,2)
+68 ;;=^5016147
+69 ;;^UTILITY(U,$J,358.3,31247,0)
+70 ;;=O12.02^^126^1623^33
+71 ;;^UTILITY(U,$J,358.3,31247,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,31247,1,3,0)
+74 ;;=3^Gestational edema, second trimester
+75 ;;^UTILITY(U,$J,358.3,31247,1,4,0)
+76 ;;=4^O12.02
+77 ;;^UTILITY(U,$J,358.3,31247,2)
+78 ;;=^5016148
+79 ;;^UTILITY(U,$J,358.3,31248,0)
+80 ;;=O12.03^^126^1623^34
+81 ;;^UTILITY(U,$J,358.3,31248,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,31248,1,3,0)
+84 ;;=3^Gestational edema, third trimester
+85 ;;^UTILITY(U,$J,358.3,31248,1,4,0)
+86 ;;=4^O12.03
+87 ;;^UTILITY(U,$J,358.3,31248,2)
+88 ;;=^5016149
+89 ;;^UTILITY(U,$J,358.3,31249,0)
+90 ;;=O12.21^^126^1623^29
+91 ;;^UTILITY(U,$J,358.3,31249,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,31249,1,3,0)
+94 ;;=3^Gestational edema with proteinuria, first trimester
+95 ;;^UTILITY(U,$J,358.3,31249,1,4,0)
+96 ;;=4^O12.21
+97 ;;^UTILITY(U,$J,358.3,31249,2)
+98 ;;=^5016155
+99 ;;^UTILITY(U,$J,358.3,31250,0)
+100 ;;=O12.22^^126^1623^30
+101 ;;^UTILITY(U,$J,358.3,31250,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,31250,1,3,0)
+104 ;;=3^Gestational edema with proteinuria, second trimester
+105 ;;^UTILITY(U,$J,358.3,31250,1,4,0)
+106 ;;=4^O12.22
+107 ;;^UTILITY(U,$J,358.3,31250,2)
+108 ;;=^5016156
+109 ;;^UTILITY(U,$J,358.3,31251,0)
+110 ;;=O12.23^^126^1623^31
+111 ;;^UTILITY(U,$J,358.3,31251,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,31251,1,3,0)
+114 ;;=3^Gestational edema with proteinuria, third trimester
+115 ;;^UTILITY(U,$J,358.3,31251,1,4,0)
+116 ;;=4^O12.23