IBDEI1YR ; ; 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,31367,0)
;;=O30.103^^126^1625^64
;;^UTILITY(U,$J,358.3,31367,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31367,1,3,0)
;;=3^Triplet preg, unsp num plcnta & amnio sacs, third trimester
;;^UTILITY(U,$J,358.3,31367,1,4,0)
;;=4^O30.103
;;^UTILITY(U,$J,358.3,31367,2)
;;=^5016454
;;^UTILITY(U,$J,358.3,31368,0)
;;=O30.111^^126^1625^56
;;^UTILITY(U,$J,358.3,31368,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31368,1,3,0)
;;=3^Triplet preg w two or more monochorionic fetuses, first tri
;;^UTILITY(U,$J,358.3,31368,1,4,0)
;;=4^O30.111
;;^UTILITY(U,$J,358.3,31368,2)
;;=^5016455
;;^UTILITY(U,$J,358.3,31369,0)
;;=O30.112^^126^1625^57
;;^UTILITY(U,$J,358.3,31369,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31369,1,3,0)
;;=3^Triplet preg w two or more monochorionic fetuses, second tri
;;^UTILITY(U,$J,358.3,31369,1,4,0)
;;=4^O30.112
;;^UTILITY(U,$J,358.3,31369,2)
;;=^5016456
;;^UTILITY(U,$J,358.3,31370,0)
;;=O30.113^^126^1625^58
;;^UTILITY(U,$J,358.3,31370,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31370,1,3,0)
;;=3^Triplet preg w two or more monochorionic fetuses, third tri
;;^UTILITY(U,$J,358.3,31370,1,4,0)
;;=4^O30.113
;;^UTILITY(U,$J,358.3,31370,2)
;;=^5016457
;;^UTILITY(U,$J,358.3,31371,0)
;;=O30.121^^126^1625^53
;;^UTILITY(U,$J,358.3,31371,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31371,1,3,0)
;;=3^Triplet preg w two or more monoamnio fetuses, first tri
;;^UTILITY(U,$J,358.3,31371,1,4,0)
;;=4^O30.121
;;^UTILITY(U,$J,358.3,31371,2)
;;=^5016459
;;^UTILITY(U,$J,358.3,31372,0)
;;=O30.122^^126^1625^54
;;^UTILITY(U,$J,358.3,31372,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31372,1,3,0)
;;=3^Triplet preg w two or more monoamnio fetuses, second tri
;;^UTILITY(U,$J,358.3,31372,1,4,0)
;;=4^O30.122
;;^UTILITY(U,$J,358.3,31372,2)
;;=^5016460
;;^UTILITY(U,$J,358.3,31373,0)
;;=O30.123^^126^1625^55
;;^UTILITY(U,$J,358.3,31373,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31373,1,3,0)
;;=3^Triplet preg w two or more monoamnio fetuses, third tri
;;^UTILITY(U,$J,358.3,31373,1,4,0)
;;=4^O30.123
;;^UTILITY(U,$J,358.3,31373,2)
;;=^5016461
;;^UTILITY(U,$J,358.3,31374,0)
;;=O30.191^^126^1625^59
;;^UTILITY(U,$J,358.3,31374,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31374,1,3,0)
;;=3^Triplet preg, unable to dtrm num plcnta & amnio sacs, first tri
;;^UTILITY(U,$J,358.3,31374,1,4,0)
;;=4^O30.191
;;^UTILITY(U,$J,358.3,31374,2)
;;=^5016463
;;^UTILITY(U,$J,358.3,31375,0)
;;=O30.192^^126^1625^60
;;^UTILITY(U,$J,358.3,31375,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31375,1,3,0)
;;=3^Triplet preg, unable to dtrm num plcnta & amnio sacs, second tri
;;^UTILITY(U,$J,358.3,31375,1,4,0)
;;=4^O30.192
;;^UTILITY(U,$J,358.3,31375,2)
;;=^5016464
;;^UTILITY(U,$J,358.3,31376,0)
;;=O30.193^^126^1625^61
;;^UTILITY(U,$J,358.3,31376,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31376,1,3,0)
;;=3^Triplet preg, unable to dtrm num plcnta & amnio sacs, third tri
;;^UTILITY(U,$J,358.3,31376,1,4,0)
;;=4^O30.193
;;^UTILITY(U,$J,358.3,31376,2)
;;=^5016465
;;^UTILITY(U,$J,358.3,31377,0)
;;=O30.201^^126^1625^50
;;^UTILITY(U,$J,358.3,31377,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31377,1,3,0)
;;=3^Quad preg, unsp num plcnta & amnio sacs, first trimester
;;^UTILITY(U,$J,358.3,31377,1,4,0)
;;=4^O30.201
;;^UTILITY(U,$J,358.3,31377,2)
;;=^5016467
;;^UTILITY(U,$J,358.3,31378,0)
;;=O30.202^^126^1625^51
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YR 3791 printed Nov 22, 2024@17:28:35 Page 2
IBDEI1YR ; ; 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,31367,0)
+2 ;;=O30.103^^126^1625^64
+3 ;;^UTILITY(U,$J,358.3,31367,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,31367,1,3,0)
+6 ;;=3^Triplet preg, unsp num plcnta & amnio sacs, third trimester
+7 ;;^UTILITY(U,$J,358.3,31367,1,4,0)
+8 ;;=4^O30.103
+9 ;;^UTILITY(U,$J,358.3,31367,2)
+10 ;;=^5016454
+11 ;;^UTILITY(U,$J,358.3,31368,0)
+12 ;;=O30.111^^126^1625^56
+13 ;;^UTILITY(U,$J,358.3,31368,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,31368,1,3,0)
+16 ;;=3^Triplet preg w two or more monochorionic fetuses, first tri
+17 ;;^UTILITY(U,$J,358.3,31368,1,4,0)
+18 ;;=4^O30.111
+19 ;;^UTILITY(U,$J,358.3,31368,2)
+20 ;;=^5016455
+21 ;;^UTILITY(U,$J,358.3,31369,0)
+22 ;;=O30.112^^126^1625^57
+23 ;;^UTILITY(U,$J,358.3,31369,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,31369,1,3,0)
+26 ;;=3^Triplet preg w two or more monochorionic fetuses, second tri
+27 ;;^UTILITY(U,$J,358.3,31369,1,4,0)
+28 ;;=4^O30.112
+29 ;;^UTILITY(U,$J,358.3,31369,2)
+30 ;;=^5016456
+31 ;;^UTILITY(U,$J,358.3,31370,0)
+32 ;;=O30.113^^126^1625^58
+33 ;;^UTILITY(U,$J,358.3,31370,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,31370,1,3,0)
+36 ;;=3^Triplet preg w two or more monochorionic fetuses, third tri
+37 ;;^UTILITY(U,$J,358.3,31370,1,4,0)
+38 ;;=4^O30.113
+39 ;;^UTILITY(U,$J,358.3,31370,2)
+40 ;;=^5016457
+41 ;;^UTILITY(U,$J,358.3,31371,0)
+42 ;;=O30.121^^126^1625^53
+43 ;;^UTILITY(U,$J,358.3,31371,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,31371,1,3,0)
+46 ;;=3^Triplet preg w two or more monoamnio fetuses, first tri
+47 ;;^UTILITY(U,$J,358.3,31371,1,4,0)
+48 ;;=4^O30.121
+49 ;;^UTILITY(U,$J,358.3,31371,2)
+50 ;;=^5016459
+51 ;;^UTILITY(U,$J,358.3,31372,0)
+52 ;;=O30.122^^126^1625^54
+53 ;;^UTILITY(U,$J,358.3,31372,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,31372,1,3,0)
+56 ;;=3^Triplet preg w two or more monoamnio fetuses, second tri
+57 ;;^UTILITY(U,$J,358.3,31372,1,4,0)
+58 ;;=4^O30.122
+59 ;;^UTILITY(U,$J,358.3,31372,2)
+60 ;;=^5016460
+61 ;;^UTILITY(U,$J,358.3,31373,0)
+62 ;;=O30.123^^126^1625^55
+63 ;;^UTILITY(U,$J,358.3,31373,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,31373,1,3,0)
+66 ;;=3^Triplet preg w two or more monoamnio fetuses, third tri
+67 ;;^UTILITY(U,$J,358.3,31373,1,4,0)
+68 ;;=4^O30.123
+69 ;;^UTILITY(U,$J,358.3,31373,2)
+70 ;;=^5016461
+71 ;;^UTILITY(U,$J,358.3,31374,0)
+72 ;;=O30.191^^126^1625^59
+73 ;;^UTILITY(U,$J,358.3,31374,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,31374,1,3,0)
+76 ;;=3^Triplet preg, unable to dtrm num plcnta & amnio sacs, first tri
+77 ;;^UTILITY(U,$J,358.3,31374,1,4,0)
+78 ;;=4^O30.191
+79 ;;^UTILITY(U,$J,358.3,31374,2)
+80 ;;=^5016463
+81 ;;^UTILITY(U,$J,358.3,31375,0)
+82 ;;=O30.192^^126^1625^60
+83 ;;^UTILITY(U,$J,358.3,31375,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,31375,1,3,0)
+86 ;;=3^Triplet preg, unable to dtrm num plcnta & amnio sacs, second tri
+87 ;;^UTILITY(U,$J,358.3,31375,1,4,0)
+88 ;;=4^O30.192
+89 ;;^UTILITY(U,$J,358.3,31375,2)
+90 ;;=^5016464
+91 ;;^UTILITY(U,$J,358.3,31376,0)
+92 ;;=O30.193^^126^1625^61
+93 ;;^UTILITY(U,$J,358.3,31376,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,31376,1,3,0)
+96 ;;=3^Triplet preg, unable to dtrm num plcnta & amnio sacs, third tri
+97 ;;^UTILITY(U,$J,358.3,31376,1,4,0)
+98 ;;=4^O30.193
+99 ;;^UTILITY(U,$J,358.3,31376,2)
+100 ;;=^5016465
+101 ;;^UTILITY(U,$J,358.3,31377,0)
+102 ;;=O30.201^^126^1625^50
+103 ;;^UTILITY(U,$J,358.3,31377,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,31377,1,3,0)
+106 ;;=3^Quad preg, unsp num plcnta & amnio sacs, first trimester
+107 ;;^UTILITY(U,$J,358.3,31377,1,4,0)
+108 ;;=4^O30.201
+109 ;;^UTILITY(U,$J,358.3,31377,2)
+110 ;;=^5016467
+111 ;;^UTILITY(U,$J,358.3,31378,0)
+112 ;;=O30.202^^126^1625^51