IBDEI1ZE ; ; 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,31630,2)
;;=^5017192
;;^UTILITY(U,$J,358.3,31631,0)
;;=O40.2XX0^^126^1626^229
;;^UTILITY(U,$J,358.3,31631,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31631,1,3,0)
;;=3^Polyhydramnios, second trimester, unsp
;;^UTILITY(U,$J,358.3,31631,1,4,0)
;;=4^O40.2XX0
;;^UTILITY(U,$J,358.3,31631,2)
;;=^5017194
;;^UTILITY(U,$J,358.3,31632,0)
;;=O40.2XX1^^126^1626^224
;;^UTILITY(U,$J,358.3,31632,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31632,1,3,0)
;;=3^Polyhydramnios, second trimester, fetus 1
;;^UTILITY(U,$J,358.3,31632,1,4,0)
;;=4^O40.2XX1
;;^UTILITY(U,$J,358.3,31632,2)
;;=^5017195
;;^UTILITY(U,$J,358.3,31633,0)
;;=O40.2XX2^^126^1626^225
;;^UTILITY(U,$J,358.3,31633,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31633,1,3,0)
;;=3^Polyhydramnios, second trimester, fetus 2
;;^UTILITY(U,$J,358.3,31633,1,4,0)
;;=4^O40.2XX2
;;^UTILITY(U,$J,358.3,31633,2)
;;=^5017196
;;^UTILITY(U,$J,358.3,31634,0)
;;=O40.2XX3^^126^1626^226
;;^UTILITY(U,$J,358.3,31634,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31634,1,3,0)
;;=3^Polyhydramnios, second trimester, fetus 3
;;^UTILITY(U,$J,358.3,31634,1,4,0)
;;=4^O40.2XX3
;;^UTILITY(U,$J,358.3,31634,2)
;;=^5017197
;;^UTILITY(U,$J,358.3,31635,0)
;;=O40.2XX4^^126^1626^227
;;^UTILITY(U,$J,358.3,31635,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31635,1,3,0)
;;=3^Polyhydramnios, second trimester, fetus 4
;;^UTILITY(U,$J,358.3,31635,1,4,0)
;;=4^O40.2XX4
;;^UTILITY(U,$J,358.3,31635,2)
;;=^5017198
;;^UTILITY(U,$J,358.3,31636,0)
;;=O40.2XX5^^126^1626^228
;;^UTILITY(U,$J,358.3,31636,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31636,1,3,0)
;;=3^Polyhydramnios, second trimester, fetus 5
;;^UTILITY(U,$J,358.3,31636,1,4,0)
;;=4^O40.2XX5
;;^UTILITY(U,$J,358.3,31636,2)
;;=^5017199
;;^UTILITY(U,$J,358.3,31637,0)
;;=O40.3XX0^^126^1626^235
;;^UTILITY(U,$J,358.3,31637,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31637,1,3,0)
;;=3^Polyhydramnios, third trimester, unsp
;;^UTILITY(U,$J,358.3,31637,1,4,0)
;;=4^O40.3XX0
;;^UTILITY(U,$J,358.3,31637,2)
;;=^5017201
;;^UTILITY(U,$J,358.3,31638,0)
;;=O40.3XX1^^126^1626^230
;;^UTILITY(U,$J,358.3,31638,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31638,1,3,0)
;;=3^Polyhydramnios, third trimester, fetus 1
;;^UTILITY(U,$J,358.3,31638,1,4,0)
;;=4^O40.3XX1
;;^UTILITY(U,$J,358.3,31638,2)
;;=^5017202
;;^UTILITY(U,$J,358.3,31639,0)
;;=O40.3XX2^^126^1626^231
;;^UTILITY(U,$J,358.3,31639,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31639,1,3,0)
;;=3^Polyhydramnios, third trimester, fetus 2
;;^UTILITY(U,$J,358.3,31639,1,4,0)
;;=4^O40.3XX2
;;^UTILITY(U,$J,358.3,31639,2)
;;=^5017203
;;^UTILITY(U,$J,358.3,31640,0)
;;=O40.3XX3^^126^1626^232
;;^UTILITY(U,$J,358.3,31640,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31640,1,3,0)
;;=3^Polyhydramnios, third trimester, fetus 3
;;^UTILITY(U,$J,358.3,31640,1,4,0)
;;=4^O40.3XX3
;;^UTILITY(U,$J,358.3,31640,2)
;;=^5017204
;;^UTILITY(U,$J,358.3,31641,0)
;;=O40.3XX4^^126^1626^233
;;^UTILITY(U,$J,358.3,31641,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31641,1,3,0)
;;=3^Polyhydramnios, third trimester, fetus 4
;;^UTILITY(U,$J,358.3,31641,1,4,0)
;;=4^O40.3XX4
;;^UTILITY(U,$J,358.3,31641,2)
;;=^5017205
;;^UTILITY(U,$J,358.3,31642,0)
;;=O40.3XX5^^126^1626^234
;;^UTILITY(U,$J,358.3,31642,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31642,1,3,0)
;;=3^Polyhydramnios, third trimester, fetus 5
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1ZE 3803 printed Nov 22, 2024@17:28:57 Page 2
IBDEI1ZE ; ; 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,31630,2)
+2 ;;=^5017192
+3 ;;^UTILITY(U,$J,358.3,31631,0)
+4 ;;=O40.2XX0^^126^1626^229
+5 ;;^UTILITY(U,$J,358.3,31631,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,31631,1,3,0)
+8 ;;=3^Polyhydramnios, second trimester, unsp
+9 ;;^UTILITY(U,$J,358.3,31631,1,4,0)
+10 ;;=4^O40.2XX0
+11 ;;^UTILITY(U,$J,358.3,31631,2)
+12 ;;=^5017194
+13 ;;^UTILITY(U,$J,358.3,31632,0)
+14 ;;=O40.2XX1^^126^1626^224
+15 ;;^UTILITY(U,$J,358.3,31632,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,31632,1,3,0)
+18 ;;=3^Polyhydramnios, second trimester, fetus 1
+19 ;;^UTILITY(U,$J,358.3,31632,1,4,0)
+20 ;;=4^O40.2XX1
+21 ;;^UTILITY(U,$J,358.3,31632,2)
+22 ;;=^5017195
+23 ;;^UTILITY(U,$J,358.3,31633,0)
+24 ;;=O40.2XX2^^126^1626^225
+25 ;;^UTILITY(U,$J,358.3,31633,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,31633,1,3,0)
+28 ;;=3^Polyhydramnios, second trimester, fetus 2
+29 ;;^UTILITY(U,$J,358.3,31633,1,4,0)
+30 ;;=4^O40.2XX2
+31 ;;^UTILITY(U,$J,358.3,31633,2)
+32 ;;=^5017196
+33 ;;^UTILITY(U,$J,358.3,31634,0)
+34 ;;=O40.2XX3^^126^1626^226
+35 ;;^UTILITY(U,$J,358.3,31634,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,31634,1,3,0)
+38 ;;=3^Polyhydramnios, second trimester, fetus 3
+39 ;;^UTILITY(U,$J,358.3,31634,1,4,0)
+40 ;;=4^O40.2XX3
+41 ;;^UTILITY(U,$J,358.3,31634,2)
+42 ;;=^5017197
+43 ;;^UTILITY(U,$J,358.3,31635,0)
+44 ;;=O40.2XX4^^126^1626^227
+45 ;;^UTILITY(U,$J,358.3,31635,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,31635,1,3,0)
+48 ;;=3^Polyhydramnios, second trimester, fetus 4
+49 ;;^UTILITY(U,$J,358.3,31635,1,4,0)
+50 ;;=4^O40.2XX4
+51 ;;^UTILITY(U,$J,358.3,31635,2)
+52 ;;=^5017198
+53 ;;^UTILITY(U,$J,358.3,31636,0)
+54 ;;=O40.2XX5^^126^1626^228
+55 ;;^UTILITY(U,$J,358.3,31636,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,31636,1,3,0)
+58 ;;=3^Polyhydramnios, second trimester, fetus 5
+59 ;;^UTILITY(U,$J,358.3,31636,1,4,0)
+60 ;;=4^O40.2XX5
+61 ;;^UTILITY(U,$J,358.3,31636,2)
+62 ;;=^5017199
+63 ;;^UTILITY(U,$J,358.3,31637,0)
+64 ;;=O40.3XX0^^126^1626^235
+65 ;;^UTILITY(U,$J,358.3,31637,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,31637,1,3,0)
+68 ;;=3^Polyhydramnios, third trimester, unsp
+69 ;;^UTILITY(U,$J,358.3,31637,1,4,0)
+70 ;;=4^O40.3XX0
+71 ;;^UTILITY(U,$J,358.3,31637,2)
+72 ;;=^5017201
+73 ;;^UTILITY(U,$J,358.3,31638,0)
+74 ;;=O40.3XX1^^126^1626^230
+75 ;;^UTILITY(U,$J,358.3,31638,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,31638,1,3,0)
+78 ;;=3^Polyhydramnios, third trimester, fetus 1
+79 ;;^UTILITY(U,$J,358.3,31638,1,4,0)
+80 ;;=4^O40.3XX1
+81 ;;^UTILITY(U,$J,358.3,31638,2)
+82 ;;=^5017202
+83 ;;^UTILITY(U,$J,358.3,31639,0)
+84 ;;=O40.3XX2^^126^1626^231
+85 ;;^UTILITY(U,$J,358.3,31639,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,31639,1,3,0)
+88 ;;=3^Polyhydramnios, third trimester, fetus 2
+89 ;;^UTILITY(U,$J,358.3,31639,1,4,0)
+90 ;;=4^O40.3XX2
+91 ;;^UTILITY(U,$J,358.3,31639,2)
+92 ;;=^5017203
+93 ;;^UTILITY(U,$J,358.3,31640,0)
+94 ;;=O40.3XX3^^126^1626^232
+95 ;;^UTILITY(U,$J,358.3,31640,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,31640,1,3,0)
+98 ;;=3^Polyhydramnios, third trimester, fetus 3
+99 ;;^UTILITY(U,$J,358.3,31640,1,4,0)
+100 ;;=4^O40.3XX3
+101 ;;^UTILITY(U,$J,358.3,31640,2)
+102 ;;=^5017204
+103 ;;^UTILITY(U,$J,358.3,31641,0)
+104 ;;=O40.3XX4^^126^1626^233
+105 ;;^UTILITY(U,$J,358.3,31641,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,31641,1,3,0)
+108 ;;=3^Polyhydramnios, third trimester, fetus 4
+109 ;;^UTILITY(U,$J,358.3,31641,1,4,0)
+110 ;;=4^O40.3XX4
+111 ;;^UTILITY(U,$J,358.3,31641,2)
+112 ;;=^5017205
+113 ;;^UTILITY(U,$J,358.3,31642,0)
+114 ;;=O40.3XX5^^126^1626^234
+115 ;;^UTILITY(U,$J,358.3,31642,1,0)
+116 ;;=^358.31IA^4^2
+117 ;;^UTILITY(U,$J,358.3,31642,1,3,0)
+118 ;;=3^Polyhydramnios, third trimester, fetus 5