IBDEI1YQ ; ; 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,31355,1,4,0)
;;=4^O30.023
;;^UTILITY(U,$J,358.3,31355,2)
;;=^5016438
;;^UTILITY(U,$J,358.3,31356,0)
;;=O30.031^^126^1625^68
;;^UTILITY(U,$J,358.3,31356,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31356,1,3,0)
;;=3^Twin pregnancy, monochorionic/diamniotic, first trimester
;;^UTILITY(U,$J,358.3,31356,1,4,0)
;;=4^O30.031
;;^UTILITY(U,$J,358.3,31356,2)
;;=^5016440
;;^UTILITY(U,$J,358.3,31357,0)
;;=O30.032^^126^1625^69
;;^UTILITY(U,$J,358.3,31357,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31357,1,3,0)
;;=3^Twin pregnancy, monochorionic/diamniotic, second trimester
;;^UTILITY(U,$J,358.3,31357,1,4,0)
;;=4^O30.032
;;^UTILITY(U,$J,358.3,31357,2)
;;=^5016441
;;^UTILITY(U,$J,358.3,31358,0)
;;=O30.033^^126^1625^70
;;^UTILITY(U,$J,358.3,31358,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31358,1,3,0)
;;=3^Twin pregnancy, monochorionic/diamniotic, third trimester
;;^UTILITY(U,$J,358.3,31358,1,4,0)
;;=4^O30.033
;;^UTILITY(U,$J,358.3,31358,2)
;;=^5016442
;;^UTILITY(U,$J,358.3,31359,0)
;;=O30.041^^126^1625^65
;;^UTILITY(U,$J,358.3,31359,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31359,1,3,0)
;;=3^Twin pregnancy, dichorionic/diamniotic, first trimester
;;^UTILITY(U,$J,358.3,31359,1,4,0)
;;=4^O30.041
;;^UTILITY(U,$J,358.3,31359,2)
;;=^5016444
;;^UTILITY(U,$J,358.3,31360,0)
;;=O30.042^^126^1625^66
;;^UTILITY(U,$J,358.3,31360,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31360,1,3,0)
;;=3^Twin pregnancy, dichorionic/diamniotic, second trimester
;;^UTILITY(U,$J,358.3,31360,1,4,0)
;;=4^O30.042
;;^UTILITY(U,$J,358.3,31360,2)
;;=^5016445
;;^UTILITY(U,$J,358.3,31361,0)
;;=O30.043^^126^1625^67
;;^UTILITY(U,$J,358.3,31361,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31361,1,3,0)
;;=3^Twin pregnancy, dichorionic/diamniotic, third trimester
;;^UTILITY(U,$J,358.3,31361,1,4,0)
;;=4^O30.043
;;^UTILITY(U,$J,358.3,31361,2)
;;=^5016446
;;^UTILITY(U,$J,358.3,31362,0)
;;=O30.091^^126^1625^74
;;^UTILITY(U,$J,358.3,31362,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31362,1,3,0)
;;=3^Twin,undeterm num plcnta,amino sacs,1st tri
;;^UTILITY(U,$J,358.3,31362,1,4,0)
;;=4^O30.091
;;^UTILITY(U,$J,358.3,31362,2)
;;=^5016448
;;^UTILITY(U,$J,358.3,31363,0)
;;=O30.092^^126^1625^75
;;^UTILITY(U,$J,358.3,31363,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31363,1,3,0)
;;=3^Twin,undeterm num plcnta,amino sacs,2nd tri
;;^UTILITY(U,$J,358.3,31363,1,4,0)
;;=4^O30.092
;;^UTILITY(U,$J,358.3,31363,2)
;;=^5016449
;;^UTILITY(U,$J,358.3,31364,0)
;;=O30.093^^126^1625^76
;;^UTILITY(U,$J,358.3,31364,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31364,1,3,0)
;;=3^Twin,undeterm num plcnta,amino sacs,3rd tri
;;^UTILITY(U,$J,358.3,31364,1,4,0)
;;=4^O30.093
;;^UTILITY(U,$J,358.3,31364,2)
;;=^5016450
;;^UTILITY(U,$J,358.3,31365,0)
;;=O30.101^^126^1625^62
;;^UTILITY(U,$J,358.3,31365,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31365,1,3,0)
;;=3^Triplet preg, unsp num plcnta & amnio sacs, first trimester
;;^UTILITY(U,$J,358.3,31365,1,4,0)
;;=4^O30.101
;;^UTILITY(U,$J,358.3,31365,2)
;;=^5016452
;;^UTILITY(U,$J,358.3,31366,0)
;;=O30.102^^126^1625^63
;;^UTILITY(U,$J,358.3,31366,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31366,1,3,0)
;;=3^Triplet preg, unsp num plcnta & amnio sacs, second trimester
;;^UTILITY(U,$J,358.3,31366,1,4,0)
;;=4^O30.102
;;^UTILITY(U,$J,358.3,31366,2)
;;=^5016453
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1YQ 3768 printed Dec 13, 2024@02:18:24 Page 2
IBDEI1YQ ; ; 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,31355,1,4,0)
+2 ;;=4^O30.023
+3 ;;^UTILITY(U,$J,358.3,31355,2)
+4 ;;=^5016438
+5 ;;^UTILITY(U,$J,358.3,31356,0)
+6 ;;=O30.031^^126^1625^68
+7 ;;^UTILITY(U,$J,358.3,31356,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,31356,1,3,0)
+10 ;;=3^Twin pregnancy, monochorionic/diamniotic, first trimester
+11 ;;^UTILITY(U,$J,358.3,31356,1,4,0)
+12 ;;=4^O30.031
+13 ;;^UTILITY(U,$J,358.3,31356,2)
+14 ;;=^5016440
+15 ;;^UTILITY(U,$J,358.3,31357,0)
+16 ;;=O30.032^^126^1625^69
+17 ;;^UTILITY(U,$J,358.3,31357,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,31357,1,3,0)
+20 ;;=3^Twin pregnancy, monochorionic/diamniotic, second trimester
+21 ;;^UTILITY(U,$J,358.3,31357,1,4,0)
+22 ;;=4^O30.032
+23 ;;^UTILITY(U,$J,358.3,31357,2)
+24 ;;=^5016441
+25 ;;^UTILITY(U,$J,358.3,31358,0)
+26 ;;=O30.033^^126^1625^70
+27 ;;^UTILITY(U,$J,358.3,31358,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,31358,1,3,0)
+30 ;;=3^Twin pregnancy, monochorionic/diamniotic, third trimester
+31 ;;^UTILITY(U,$J,358.3,31358,1,4,0)
+32 ;;=4^O30.033
+33 ;;^UTILITY(U,$J,358.3,31358,2)
+34 ;;=^5016442
+35 ;;^UTILITY(U,$J,358.3,31359,0)
+36 ;;=O30.041^^126^1625^65
+37 ;;^UTILITY(U,$J,358.3,31359,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,31359,1,3,0)
+40 ;;=3^Twin pregnancy, dichorionic/diamniotic, first trimester
+41 ;;^UTILITY(U,$J,358.3,31359,1,4,0)
+42 ;;=4^O30.041
+43 ;;^UTILITY(U,$J,358.3,31359,2)
+44 ;;=^5016444
+45 ;;^UTILITY(U,$J,358.3,31360,0)
+46 ;;=O30.042^^126^1625^66
+47 ;;^UTILITY(U,$J,358.3,31360,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,31360,1,3,0)
+50 ;;=3^Twin pregnancy, dichorionic/diamniotic, second trimester
+51 ;;^UTILITY(U,$J,358.3,31360,1,4,0)
+52 ;;=4^O30.042
+53 ;;^UTILITY(U,$J,358.3,31360,2)
+54 ;;=^5016445
+55 ;;^UTILITY(U,$J,358.3,31361,0)
+56 ;;=O30.043^^126^1625^67
+57 ;;^UTILITY(U,$J,358.3,31361,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,31361,1,3,0)
+60 ;;=3^Twin pregnancy, dichorionic/diamniotic, third trimester
+61 ;;^UTILITY(U,$J,358.3,31361,1,4,0)
+62 ;;=4^O30.043
+63 ;;^UTILITY(U,$J,358.3,31361,2)
+64 ;;=^5016446
+65 ;;^UTILITY(U,$J,358.3,31362,0)
+66 ;;=O30.091^^126^1625^74
+67 ;;^UTILITY(U,$J,358.3,31362,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,31362,1,3,0)
+70 ;;=3^Twin,undeterm num plcnta,amino sacs,1st tri
+71 ;;^UTILITY(U,$J,358.3,31362,1,4,0)
+72 ;;=4^O30.091
+73 ;;^UTILITY(U,$J,358.3,31362,2)
+74 ;;=^5016448
+75 ;;^UTILITY(U,$J,358.3,31363,0)
+76 ;;=O30.092^^126^1625^75
+77 ;;^UTILITY(U,$J,358.3,31363,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,31363,1,3,0)
+80 ;;=3^Twin,undeterm num plcnta,amino sacs,2nd tri
+81 ;;^UTILITY(U,$J,358.3,31363,1,4,0)
+82 ;;=4^O30.092
+83 ;;^UTILITY(U,$J,358.3,31363,2)
+84 ;;=^5016449
+85 ;;^UTILITY(U,$J,358.3,31364,0)
+86 ;;=O30.093^^126^1625^76
+87 ;;^UTILITY(U,$J,358.3,31364,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,31364,1,3,0)
+90 ;;=3^Twin,undeterm num plcnta,amino sacs,3rd tri
+91 ;;^UTILITY(U,$J,358.3,31364,1,4,0)
+92 ;;=4^O30.093
+93 ;;^UTILITY(U,$J,358.3,31364,2)
+94 ;;=^5016450
+95 ;;^UTILITY(U,$J,358.3,31365,0)
+96 ;;=O30.101^^126^1625^62
+97 ;;^UTILITY(U,$J,358.3,31365,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,31365,1,3,0)
+100 ;;=3^Triplet preg, unsp num plcnta & amnio sacs, first trimester
+101 ;;^UTILITY(U,$J,358.3,31365,1,4,0)
+102 ;;=4^O30.101
+103 ;;^UTILITY(U,$J,358.3,31365,2)
+104 ;;=^5016452
+105 ;;^UTILITY(U,$J,358.3,31366,0)
+106 ;;=O30.102^^126^1625^63
+107 ;;^UTILITY(U,$J,358.3,31366,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,31366,1,3,0)
+110 ;;=3^Triplet preg, unsp num plcnta & amnio sacs, second trimester
+111 ;;^UTILITY(U,$J,358.3,31366,1,4,0)
+112 ;;=4^O30.102
+113 ;;^UTILITY(U,$J,358.3,31366,2)
+114 ;;=^5016453