IBDEI1YS ; ; 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,31378,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31378,1,3,0)
;;=3^Quad preg, unsp num plcnta & amnio sacs, second trimester
;;^UTILITY(U,$J,358.3,31378,1,4,0)
;;=4^O30.202
;;^UTILITY(U,$J,358.3,31378,2)
;;=^5016468
;;^UTILITY(U,$J,358.3,31379,0)
;;=O30.203^^126^1625^52
;;^UTILITY(U,$J,358.3,31379,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31379,1,3,0)
;;=3^Quad preg, unsp num plcnta & amnio sacs, third trimester
;;^UTILITY(U,$J,358.3,31379,1,4,0)
;;=4^O30.203
;;^UTILITY(U,$J,358.3,31379,2)
;;=^5016469
;;^UTILITY(U,$J,358.3,31380,0)
;;=O30.211^^126^1625^44
;;^UTILITY(U,$J,358.3,31380,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31380,1,3,0)
;;=3^Quad preg w two or more monochorionic fetuses, first tri
;;^UTILITY(U,$J,358.3,31380,1,4,0)
;;=4^O30.211
;;^UTILITY(U,$J,358.3,31380,2)
;;=^5016470
;;^UTILITY(U,$J,358.3,31381,0)
;;=O30.212^^126^1625^45
;;^UTILITY(U,$J,358.3,31381,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31381,1,3,0)
;;=3^Quad preg w two or more monochorionic fetuses, second tri
;;^UTILITY(U,$J,358.3,31381,1,4,0)
;;=4^O30.212
;;^UTILITY(U,$J,358.3,31381,2)
;;=^5016471
;;^UTILITY(U,$J,358.3,31382,0)
;;=O30.213^^126^1625^46
;;^UTILITY(U,$J,358.3,31382,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31382,1,3,0)
;;=3^Quad preg w two or more monochorionic fetuses, third tri
;;^UTILITY(U,$J,358.3,31382,1,4,0)
;;=4^O30.213
;;^UTILITY(U,$J,358.3,31382,2)
;;=^5016472
;;^UTILITY(U,$J,358.3,31383,0)
;;=O30.221^^126^1625^41
;;^UTILITY(U,$J,358.3,31383,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31383,1,3,0)
;;=3^Quad preg w two or more monoamnio fetuses, first trimester
;;^UTILITY(U,$J,358.3,31383,1,4,0)
;;=4^O30.221
;;^UTILITY(U,$J,358.3,31383,2)
;;=^5016474
;;^UTILITY(U,$J,358.3,31384,0)
;;=O30.222^^126^1625^42
;;^UTILITY(U,$J,358.3,31384,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31384,1,3,0)
;;=3^Quad preg w two or more monoamnio fetuses, second trimester
;;^UTILITY(U,$J,358.3,31384,1,4,0)
;;=4^O30.222
;;^UTILITY(U,$J,358.3,31384,2)
;;=^5016475
;;^UTILITY(U,$J,358.3,31385,0)
;;=O30.223^^126^1625^43
;;^UTILITY(U,$J,358.3,31385,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31385,1,3,0)
;;=3^Quad preg w two or more monoamnio fetuses, third trimester
;;^UTILITY(U,$J,358.3,31385,1,4,0)
;;=4^O30.223
;;^UTILITY(U,$J,358.3,31385,2)
;;=^5016476
;;^UTILITY(U,$J,358.3,31386,0)
;;=O30.291^^126^1625^47
;;^UTILITY(U,$J,358.3,31386,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31386,1,3,0)
;;=3^Quad preg, unable to dtrm num plcnta & amnio sacs, 1st tri
;;^UTILITY(U,$J,358.3,31386,1,4,0)
;;=4^O30.291
;;^UTILITY(U,$J,358.3,31386,2)
;;=^5016478
;;^UTILITY(U,$J,358.3,31387,0)
;;=O30.292^^126^1625^48
;;^UTILITY(U,$J,358.3,31387,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31387,1,3,0)
;;=3^Quad preg, unable to dtrm num plcnta & amnio sacs, 2nd tri
;;^UTILITY(U,$J,358.3,31387,1,4,0)
;;=4^O30.292
;;^UTILITY(U,$J,358.3,31387,2)
;;=^5016479
;;^UTILITY(U,$J,358.3,31388,0)
;;=O30.293^^126^1625^49
;;^UTILITY(U,$J,358.3,31388,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31388,1,3,0)
;;=3^Quad preg, unable to dtrm num plcnta & amnio sacs, 3rd tri
;;^UTILITY(U,$J,358.3,31388,1,4,0)
;;=4^O30.293
;;^UTILITY(U,$J,358.3,31388,2)
;;=^5016480
;;^UTILITY(U,$J,358.3,31389,0)
;;=O31.11X0^^126^1625^22
;;^UTILITY(U,$J,358.3,31389,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YS 3769 printed Dec 13, 2024@02:18:26 Page 2
IBDEI1YS ; ; 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,31378,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,31378,1,3,0)
+4 ;;=3^Quad preg, unsp num plcnta & amnio sacs, second trimester
+5 ;;^UTILITY(U,$J,358.3,31378,1,4,0)
+6 ;;=4^O30.202
+7 ;;^UTILITY(U,$J,358.3,31378,2)
+8 ;;=^5016468
+9 ;;^UTILITY(U,$J,358.3,31379,0)
+10 ;;=O30.203^^126^1625^52
+11 ;;^UTILITY(U,$J,358.3,31379,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,31379,1,3,0)
+14 ;;=3^Quad preg, unsp num plcnta & amnio sacs, third trimester
+15 ;;^UTILITY(U,$J,358.3,31379,1,4,0)
+16 ;;=4^O30.203
+17 ;;^UTILITY(U,$J,358.3,31379,2)
+18 ;;=^5016469
+19 ;;^UTILITY(U,$J,358.3,31380,0)
+20 ;;=O30.211^^126^1625^44
+21 ;;^UTILITY(U,$J,358.3,31380,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,31380,1,3,0)
+24 ;;=3^Quad preg w two or more monochorionic fetuses, first tri
+25 ;;^UTILITY(U,$J,358.3,31380,1,4,0)
+26 ;;=4^O30.211
+27 ;;^UTILITY(U,$J,358.3,31380,2)
+28 ;;=^5016470
+29 ;;^UTILITY(U,$J,358.3,31381,0)
+30 ;;=O30.212^^126^1625^45
+31 ;;^UTILITY(U,$J,358.3,31381,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,31381,1,3,0)
+34 ;;=3^Quad preg w two or more monochorionic fetuses, second tri
+35 ;;^UTILITY(U,$J,358.3,31381,1,4,0)
+36 ;;=4^O30.212
+37 ;;^UTILITY(U,$J,358.3,31381,2)
+38 ;;=^5016471
+39 ;;^UTILITY(U,$J,358.3,31382,0)
+40 ;;=O30.213^^126^1625^46
+41 ;;^UTILITY(U,$J,358.3,31382,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,31382,1,3,0)
+44 ;;=3^Quad preg w two or more monochorionic fetuses, third tri
+45 ;;^UTILITY(U,$J,358.3,31382,1,4,0)
+46 ;;=4^O30.213
+47 ;;^UTILITY(U,$J,358.3,31382,2)
+48 ;;=^5016472
+49 ;;^UTILITY(U,$J,358.3,31383,0)
+50 ;;=O30.221^^126^1625^41
+51 ;;^UTILITY(U,$J,358.3,31383,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,31383,1,3,0)
+54 ;;=3^Quad preg w two or more monoamnio fetuses, first trimester
+55 ;;^UTILITY(U,$J,358.3,31383,1,4,0)
+56 ;;=4^O30.221
+57 ;;^UTILITY(U,$J,358.3,31383,2)
+58 ;;=^5016474
+59 ;;^UTILITY(U,$J,358.3,31384,0)
+60 ;;=O30.222^^126^1625^42
+61 ;;^UTILITY(U,$J,358.3,31384,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,31384,1,3,0)
+64 ;;=3^Quad preg w two or more monoamnio fetuses, second trimester
+65 ;;^UTILITY(U,$J,358.3,31384,1,4,0)
+66 ;;=4^O30.222
+67 ;;^UTILITY(U,$J,358.3,31384,2)
+68 ;;=^5016475
+69 ;;^UTILITY(U,$J,358.3,31385,0)
+70 ;;=O30.223^^126^1625^43
+71 ;;^UTILITY(U,$J,358.3,31385,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,31385,1,3,0)
+74 ;;=3^Quad preg w two or more monoamnio fetuses, third trimester
+75 ;;^UTILITY(U,$J,358.3,31385,1,4,0)
+76 ;;=4^O30.223
+77 ;;^UTILITY(U,$J,358.3,31385,2)
+78 ;;=^5016476
+79 ;;^UTILITY(U,$J,358.3,31386,0)
+80 ;;=O30.291^^126^1625^47
+81 ;;^UTILITY(U,$J,358.3,31386,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,31386,1,3,0)
+84 ;;=3^Quad preg, unable to dtrm num plcnta & amnio sacs, 1st tri
+85 ;;^UTILITY(U,$J,358.3,31386,1,4,0)
+86 ;;=4^O30.291
+87 ;;^UTILITY(U,$J,358.3,31386,2)
+88 ;;=^5016478
+89 ;;^UTILITY(U,$J,358.3,31387,0)
+90 ;;=O30.292^^126^1625^48
+91 ;;^UTILITY(U,$J,358.3,31387,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,31387,1,3,0)
+94 ;;=3^Quad preg, unable to dtrm num plcnta & amnio sacs, 2nd tri
+95 ;;^UTILITY(U,$J,358.3,31387,1,4,0)
+96 ;;=4^O30.292
+97 ;;^UTILITY(U,$J,358.3,31387,2)
+98 ;;=^5016479
+99 ;;^UTILITY(U,$J,358.3,31388,0)
+100 ;;=O30.293^^126^1625^49
+101 ;;^UTILITY(U,$J,358.3,31388,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,31388,1,3,0)
+104 ;;=3^Quad preg, unable to dtrm num plcnta & amnio sacs, 3rd tri
+105 ;;^UTILITY(U,$J,358.3,31388,1,4,0)
+106 ;;=4^O30.293
+107 ;;^UTILITY(U,$J,358.3,31388,2)
+108 ;;=^5016480
+109 ;;^UTILITY(U,$J,358.3,31389,0)
+110 ;;=O31.11X0^^126^1625^22
+111 ;;^UTILITY(U,$J,358.3,31389,1,0)
+112 ;;=^358.31IA^4^2