IBDEI208 ; ; 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,31988,1,4,0)
;;=4^O03.9
;;^UTILITY(U,$J,358.3,31988,2)
;;=^5016007
;;^UTILITY(U,$J,358.3,31989,0)
;;=O01.9^^126^1639^5
;;^UTILITY(U,$J,358.3,31989,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31989,1,3,0)
;;=3^Hydatidiform Mole,Unspec
;;^UTILITY(U,$J,358.3,31989,1,4,0)
;;=4^O01.9
;;^UTILITY(U,$J,358.3,31989,2)
;;=^5015977
;;^UTILITY(U,$J,358.3,31990,0)
;;=O02.81^^126^1639^6
;;^UTILITY(U,$J,358.3,31990,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31990,1,3,0)
;;=3^Inapp Chg HCG in Early Pregnancy
;;^UTILITY(U,$J,358.3,31990,1,4,0)
;;=4^O02.81
;;^UTILITY(U,$J,358.3,31990,2)
;;=^340611
;;^UTILITY(U,$J,358.3,31991,0)
;;=O03.4^^126^1639^7
;;^UTILITY(U,$J,358.3,31991,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31991,1,3,0)
;;=3^Incomplete SAB
;;^UTILITY(U,$J,358.3,31991,1,4,0)
;;=4^O03.4
;;^UTILITY(U,$J,358.3,31991,2)
;;=^5015993
;;^UTILITY(U,$J,358.3,31992,0)
;;=O02.1^^126^1639^8
;;^UTILITY(U,$J,358.3,31992,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31992,1,3,0)
;;=3^Missed Abortion
;;^UTILITY(U,$J,358.3,31992,1,4,0)
;;=4^O02.1
;;^UTILITY(U,$J,358.3,31992,2)
;;=^1259
;;^UTILITY(U,$J,358.3,31993,0)
;;=N96.^^126^1639^13
;;^UTILITY(U,$J,358.3,31993,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31993,1,3,0)
;;=3^Recurrent Pregnancy Loss
;;^UTILITY(U,$J,358.3,31993,1,4,0)
;;=4^N96.
;;^UTILITY(U,$J,358.3,31993,2)
;;=^5015930
;;^UTILITY(U,$J,358.3,31994,0)
;;=O72.2^^126^1639^14
;;^UTILITY(U,$J,358.3,31994,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31994,1,3,0)
;;=3^Retained Products
;;^UTILITY(U,$J,358.3,31994,1,4,0)
;;=4^O72.2
;;^UTILITY(U,$J,358.3,31994,2)
;;=^271578
;;^UTILITY(U,$J,358.3,31995,0)
;;=O20.0^^126^1639^15
;;^UTILITY(U,$J,358.3,31995,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31995,1,3,0)
;;=3^Threatened Abortion
;;^UTILITY(U,$J,358.3,31995,1,4,0)
;;=4^O20.0
;;^UTILITY(U,$J,358.3,31995,2)
;;=^1287
;;^UTILITY(U,$J,358.3,31996,0)
;;=O00.00^^126^1639^2
;;^UTILITY(U,$J,358.3,31996,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31996,1,3,0)
;;=3^Abdominal Pregnancy w/o IUP
;;^UTILITY(U,$J,358.3,31996,1,4,0)
;;=4^O00.00
;;^UTILITY(U,$J,358.3,31996,2)
;;=^328603
;;^UTILITY(U,$J,358.3,31997,0)
;;=O00.01^^126^1639^1
;;^UTILITY(U,$J,358.3,31997,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31997,1,3,0)
;;=3^Abdominal Pregnancy w/ IUP
;;^UTILITY(U,$J,358.3,31997,1,4,0)
;;=4^O00.01
;;^UTILITY(U,$J,358.3,31997,2)
;;=^328532
;;^UTILITY(U,$J,358.3,31998,0)
;;=O00.211^^126^1639^11
;;^UTILITY(U,$J,358.3,31998,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31998,1,3,0)
;;=3^Ovarian Pregnancy,Right w/ Intrauterine Pregnancy
;;^UTILITY(U,$J,358.3,31998,1,4,0)
;;=4^O00.211
;;^UTILITY(U,$J,358.3,31998,2)
;;=^5151545
;;^UTILITY(U,$J,358.3,31999,0)
;;=O00.212^^126^1639^9
;;^UTILITY(U,$J,358.3,31999,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31999,1,3,0)
;;=3^Ovarian Pregnancy,Left w/ Intrauterine Pregnancy
;;^UTILITY(U,$J,358.3,31999,1,4,0)
;;=4^O00.212
;;^UTILITY(U,$J,358.3,31999,2)
;;=^5151546
;;^UTILITY(U,$J,358.3,32000,0)
;;=O00.201^^126^1639^12
;;^UTILITY(U,$J,358.3,32000,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,32000,1,3,0)
;;=3^Ovarian Pregnancy,Right w/o Intrauterine Pregnancy
;;^UTILITY(U,$J,358.3,32000,1,4,0)
;;=4^O00.201
;;^UTILITY(U,$J,358.3,32000,2)
;;=^5151542
;;^UTILITY(U,$J,358.3,32001,0)
;;=O00.202^^126^1639^10
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI208 3792 printed Dec 13, 2024@02:19:14 Page 2
IBDEI208 ; ; 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,31988,1,4,0)
+2 ;;=4^O03.9
+3 ;;^UTILITY(U,$J,358.3,31988,2)
+4 ;;=^5016007
+5 ;;^UTILITY(U,$J,358.3,31989,0)
+6 ;;=O01.9^^126^1639^5
+7 ;;^UTILITY(U,$J,358.3,31989,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,31989,1,3,0)
+10 ;;=3^Hydatidiform Mole,Unspec
+11 ;;^UTILITY(U,$J,358.3,31989,1,4,0)
+12 ;;=4^O01.9
+13 ;;^UTILITY(U,$J,358.3,31989,2)
+14 ;;=^5015977
+15 ;;^UTILITY(U,$J,358.3,31990,0)
+16 ;;=O02.81^^126^1639^6
+17 ;;^UTILITY(U,$J,358.3,31990,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,31990,1,3,0)
+20 ;;=3^Inapp Chg HCG in Early Pregnancy
+21 ;;^UTILITY(U,$J,358.3,31990,1,4,0)
+22 ;;=4^O02.81
+23 ;;^UTILITY(U,$J,358.3,31990,2)
+24 ;;=^340611
+25 ;;^UTILITY(U,$J,358.3,31991,0)
+26 ;;=O03.4^^126^1639^7
+27 ;;^UTILITY(U,$J,358.3,31991,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,31991,1,3,0)
+30 ;;=3^Incomplete SAB
+31 ;;^UTILITY(U,$J,358.3,31991,1,4,0)
+32 ;;=4^O03.4
+33 ;;^UTILITY(U,$J,358.3,31991,2)
+34 ;;=^5015993
+35 ;;^UTILITY(U,$J,358.3,31992,0)
+36 ;;=O02.1^^126^1639^8
+37 ;;^UTILITY(U,$J,358.3,31992,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,31992,1,3,0)
+40 ;;=3^Missed Abortion
+41 ;;^UTILITY(U,$J,358.3,31992,1,4,0)
+42 ;;=4^O02.1
+43 ;;^UTILITY(U,$J,358.3,31992,2)
+44 ;;=^1259
+45 ;;^UTILITY(U,$J,358.3,31993,0)
+46 ;;=N96.^^126^1639^13
+47 ;;^UTILITY(U,$J,358.3,31993,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,31993,1,3,0)
+50 ;;=3^Recurrent Pregnancy Loss
+51 ;;^UTILITY(U,$J,358.3,31993,1,4,0)
+52 ;;=4^N96.
+53 ;;^UTILITY(U,$J,358.3,31993,2)
+54 ;;=^5015930
+55 ;;^UTILITY(U,$J,358.3,31994,0)
+56 ;;=O72.2^^126^1639^14
+57 ;;^UTILITY(U,$J,358.3,31994,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,31994,1,3,0)
+60 ;;=3^Retained Products
+61 ;;^UTILITY(U,$J,358.3,31994,1,4,0)
+62 ;;=4^O72.2
+63 ;;^UTILITY(U,$J,358.3,31994,2)
+64 ;;=^271578
+65 ;;^UTILITY(U,$J,358.3,31995,0)
+66 ;;=O20.0^^126^1639^15
+67 ;;^UTILITY(U,$J,358.3,31995,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,31995,1,3,0)
+70 ;;=3^Threatened Abortion
+71 ;;^UTILITY(U,$J,358.3,31995,1,4,0)
+72 ;;=4^O20.0
+73 ;;^UTILITY(U,$J,358.3,31995,2)
+74 ;;=^1287
+75 ;;^UTILITY(U,$J,358.3,31996,0)
+76 ;;=O00.00^^126^1639^2
+77 ;;^UTILITY(U,$J,358.3,31996,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,31996,1,3,0)
+80 ;;=3^Abdominal Pregnancy w/o IUP
+81 ;;^UTILITY(U,$J,358.3,31996,1,4,0)
+82 ;;=4^O00.00
+83 ;;^UTILITY(U,$J,358.3,31996,2)
+84 ;;=^328603
+85 ;;^UTILITY(U,$J,358.3,31997,0)
+86 ;;=O00.01^^126^1639^1
+87 ;;^UTILITY(U,$J,358.3,31997,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,31997,1,3,0)
+90 ;;=3^Abdominal Pregnancy w/ IUP
+91 ;;^UTILITY(U,$J,358.3,31997,1,4,0)
+92 ;;=4^O00.01
+93 ;;^UTILITY(U,$J,358.3,31997,2)
+94 ;;=^328532
+95 ;;^UTILITY(U,$J,358.3,31998,0)
+96 ;;=O00.211^^126^1639^11
+97 ;;^UTILITY(U,$J,358.3,31998,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,31998,1,3,0)
+100 ;;=3^Ovarian Pregnancy,Right w/ Intrauterine Pregnancy
+101 ;;^UTILITY(U,$J,358.3,31998,1,4,0)
+102 ;;=4^O00.211
+103 ;;^UTILITY(U,$J,358.3,31998,2)
+104 ;;=^5151545
+105 ;;^UTILITY(U,$J,358.3,31999,0)
+106 ;;=O00.212^^126^1639^9
+107 ;;^UTILITY(U,$J,358.3,31999,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,31999,1,3,0)
+110 ;;=3^Ovarian Pregnancy,Left w/ Intrauterine Pregnancy
+111 ;;^UTILITY(U,$J,358.3,31999,1,4,0)
+112 ;;=4^O00.212
+113 ;;^UTILITY(U,$J,358.3,31999,2)
+114 ;;=^5151546
+115 ;;^UTILITY(U,$J,358.3,32000,0)
+116 ;;=O00.201^^126^1639^12
+117 ;;^UTILITY(U,$J,358.3,32000,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,32000,1,3,0)
+120 ;;=3^Ovarian Pregnancy,Right w/o Intrauterine Pregnancy
+121 ;;^UTILITY(U,$J,358.3,32000,1,4,0)
+122 ;;=4^O00.201
+123 ;;^UTILITY(U,$J,358.3,32000,2)
+124 ;;=^5151542
+125 ;;^UTILITY(U,$J,358.3,32001,0)
+126 ;;=O00.202^^126^1639^10