IBDEI1ZH ; ; 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,31665,2)
;;=^5017224
;;^UTILITY(U,$J,358.3,31666,0)
;;=O41.01X5^^126^1627^43
;;^UTILITY(U,$J,358.3,31666,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31666,1,3,0)
;;=3^Oligohydramnios, first trimester, fetus 5
;;^UTILITY(U,$J,358.3,31666,1,4,0)
;;=4^O41.01X5
;;^UTILITY(U,$J,358.3,31666,2)
;;=^5017225
;;^UTILITY(U,$J,358.3,31667,0)
;;=O41.02X0^^126^1627^50
;;^UTILITY(U,$J,358.3,31667,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31667,1,3,0)
;;=3^Oligohydramnios, second trimester, not applicable or unsp
;;^UTILITY(U,$J,358.3,31667,1,4,0)
;;=4^O41.02X0
;;^UTILITY(U,$J,358.3,31667,2)
;;=^5017227
;;^UTILITY(U,$J,358.3,31668,0)
;;=O41.02X1^^126^1627^45
;;^UTILITY(U,$J,358.3,31668,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31668,1,3,0)
;;=3^Oligohydramnios, second trimester, fetus 1
;;^UTILITY(U,$J,358.3,31668,1,4,0)
;;=4^O41.02X1
;;^UTILITY(U,$J,358.3,31668,2)
;;=^5017228
;;^UTILITY(U,$J,358.3,31669,0)
;;=O41.02X2^^126^1627^46
;;^UTILITY(U,$J,358.3,31669,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31669,1,3,0)
;;=3^Oligohydramnios, second trimester, fetus 2
;;^UTILITY(U,$J,358.3,31669,1,4,0)
;;=4^O41.02X2
;;^UTILITY(U,$J,358.3,31669,2)
;;=^5017229
;;^UTILITY(U,$J,358.3,31670,0)
;;=O41.02X3^^126^1627^47
;;^UTILITY(U,$J,358.3,31670,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31670,1,3,0)
;;=3^Oligohydramnios, second trimester, fetus 3
;;^UTILITY(U,$J,358.3,31670,1,4,0)
;;=4^O41.02X3
;;^UTILITY(U,$J,358.3,31670,2)
;;=^5017230
;;^UTILITY(U,$J,358.3,31671,0)
;;=O41.02X4^^126^1627^48
;;^UTILITY(U,$J,358.3,31671,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31671,1,3,0)
;;=3^Oligohydramnios, second trimester, fetus 4
;;^UTILITY(U,$J,358.3,31671,1,4,0)
;;=4^O41.02X4
;;^UTILITY(U,$J,358.3,31671,2)
;;=^5017231
;;^UTILITY(U,$J,358.3,31672,0)
;;=O41.02X5^^126^1627^49
;;^UTILITY(U,$J,358.3,31672,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31672,1,3,0)
;;=3^Oligohydramnios, second trimester, fetus 5
;;^UTILITY(U,$J,358.3,31672,1,4,0)
;;=4^O41.02X5
;;^UTILITY(U,$J,358.3,31672,2)
;;=^5017232
;;^UTILITY(U,$J,358.3,31673,0)
;;=O41.03X0^^126^1627^56
;;^UTILITY(U,$J,358.3,31673,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31673,1,3,0)
;;=3^Oligohydramnios, third trimester, not applicable or unsp
;;^UTILITY(U,$J,358.3,31673,1,4,0)
;;=4^O41.03X0
;;^UTILITY(U,$J,358.3,31673,2)
;;=^5017234
;;^UTILITY(U,$J,358.3,31674,0)
;;=O41.03X1^^126^1627^51
;;^UTILITY(U,$J,358.3,31674,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31674,1,3,0)
;;=3^Oligohydramnios, third trimester, fetus 1
;;^UTILITY(U,$J,358.3,31674,1,4,0)
;;=4^O41.03X1
;;^UTILITY(U,$J,358.3,31674,2)
;;=^5017235
;;^UTILITY(U,$J,358.3,31675,0)
;;=O41.03X2^^126^1627^52
;;^UTILITY(U,$J,358.3,31675,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31675,1,3,0)
;;=3^Oligohydramnios, third trimester, fetus 2
;;^UTILITY(U,$J,358.3,31675,1,4,0)
;;=4^O41.03X2
;;^UTILITY(U,$J,358.3,31675,2)
;;=^5017236
;;^UTILITY(U,$J,358.3,31676,0)
;;=O41.03X3^^126^1627^53
;;^UTILITY(U,$J,358.3,31676,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,31676,1,3,0)
;;=3^Oligohydramnios, third trimester, fetus 3
;;^UTILITY(U,$J,358.3,31676,1,4,0)
;;=4^O41.03X3
;;^UTILITY(U,$J,358.3,31676,2)
;;=^5017237
;;^UTILITY(U,$J,358.3,31677,0)
;;=O41.03X4^^126^1627^54
;;^UTILITY(U,$J,358.3,31677,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1ZH 3753 printed Dec 13, 2024@02:18:49 Page 2
IBDEI1ZH ; ; 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,31665,2)
+2 ;;=^5017224
+3 ;;^UTILITY(U,$J,358.3,31666,0)
+4 ;;=O41.01X5^^126^1627^43
+5 ;;^UTILITY(U,$J,358.3,31666,1,0)
+6 ;;=^358.31IA^4^2
+7 ;;^UTILITY(U,$J,358.3,31666,1,3,0)
+8 ;;=3^Oligohydramnios, first trimester, fetus 5
+9 ;;^UTILITY(U,$J,358.3,31666,1,4,0)
+10 ;;=4^O41.01X5
+11 ;;^UTILITY(U,$J,358.3,31666,2)
+12 ;;=^5017225
+13 ;;^UTILITY(U,$J,358.3,31667,0)
+14 ;;=O41.02X0^^126^1627^50
+15 ;;^UTILITY(U,$J,358.3,31667,1,0)
+16 ;;=^358.31IA^4^2
+17 ;;^UTILITY(U,$J,358.3,31667,1,3,0)
+18 ;;=3^Oligohydramnios, second trimester, not applicable or unsp
+19 ;;^UTILITY(U,$J,358.3,31667,1,4,0)
+20 ;;=4^O41.02X0
+21 ;;^UTILITY(U,$J,358.3,31667,2)
+22 ;;=^5017227
+23 ;;^UTILITY(U,$J,358.3,31668,0)
+24 ;;=O41.02X1^^126^1627^45
+25 ;;^UTILITY(U,$J,358.3,31668,1,0)
+26 ;;=^358.31IA^4^2
+27 ;;^UTILITY(U,$J,358.3,31668,1,3,0)
+28 ;;=3^Oligohydramnios, second trimester, fetus 1
+29 ;;^UTILITY(U,$J,358.3,31668,1,4,0)
+30 ;;=4^O41.02X1
+31 ;;^UTILITY(U,$J,358.3,31668,2)
+32 ;;=^5017228
+33 ;;^UTILITY(U,$J,358.3,31669,0)
+34 ;;=O41.02X2^^126^1627^46
+35 ;;^UTILITY(U,$J,358.3,31669,1,0)
+36 ;;=^358.31IA^4^2
+37 ;;^UTILITY(U,$J,358.3,31669,1,3,0)
+38 ;;=3^Oligohydramnios, second trimester, fetus 2
+39 ;;^UTILITY(U,$J,358.3,31669,1,4,0)
+40 ;;=4^O41.02X2
+41 ;;^UTILITY(U,$J,358.3,31669,2)
+42 ;;=^5017229
+43 ;;^UTILITY(U,$J,358.3,31670,0)
+44 ;;=O41.02X3^^126^1627^47
+45 ;;^UTILITY(U,$J,358.3,31670,1,0)
+46 ;;=^358.31IA^4^2
+47 ;;^UTILITY(U,$J,358.3,31670,1,3,0)
+48 ;;=3^Oligohydramnios, second trimester, fetus 3
+49 ;;^UTILITY(U,$J,358.3,31670,1,4,0)
+50 ;;=4^O41.02X3
+51 ;;^UTILITY(U,$J,358.3,31670,2)
+52 ;;=^5017230
+53 ;;^UTILITY(U,$J,358.3,31671,0)
+54 ;;=O41.02X4^^126^1627^48
+55 ;;^UTILITY(U,$J,358.3,31671,1,0)
+56 ;;=^358.31IA^4^2
+57 ;;^UTILITY(U,$J,358.3,31671,1,3,0)
+58 ;;=3^Oligohydramnios, second trimester, fetus 4
+59 ;;^UTILITY(U,$J,358.3,31671,1,4,0)
+60 ;;=4^O41.02X4
+61 ;;^UTILITY(U,$J,358.3,31671,2)
+62 ;;=^5017231
+63 ;;^UTILITY(U,$J,358.3,31672,0)
+64 ;;=O41.02X5^^126^1627^49
+65 ;;^UTILITY(U,$J,358.3,31672,1,0)
+66 ;;=^358.31IA^4^2
+67 ;;^UTILITY(U,$J,358.3,31672,1,3,0)
+68 ;;=3^Oligohydramnios, second trimester, fetus 5
+69 ;;^UTILITY(U,$J,358.3,31672,1,4,0)
+70 ;;=4^O41.02X5
+71 ;;^UTILITY(U,$J,358.3,31672,2)
+72 ;;=^5017232
+73 ;;^UTILITY(U,$J,358.3,31673,0)
+74 ;;=O41.03X0^^126^1627^56
+75 ;;^UTILITY(U,$J,358.3,31673,1,0)
+76 ;;=^358.31IA^4^2
+77 ;;^UTILITY(U,$J,358.3,31673,1,3,0)
+78 ;;=3^Oligohydramnios, third trimester, not applicable or unsp
+79 ;;^UTILITY(U,$J,358.3,31673,1,4,0)
+80 ;;=4^O41.03X0
+81 ;;^UTILITY(U,$J,358.3,31673,2)
+82 ;;=^5017234
+83 ;;^UTILITY(U,$J,358.3,31674,0)
+84 ;;=O41.03X1^^126^1627^51
+85 ;;^UTILITY(U,$J,358.3,31674,1,0)
+86 ;;=^358.31IA^4^2
+87 ;;^UTILITY(U,$J,358.3,31674,1,3,0)
+88 ;;=3^Oligohydramnios, third trimester, fetus 1
+89 ;;^UTILITY(U,$J,358.3,31674,1,4,0)
+90 ;;=4^O41.03X1
+91 ;;^UTILITY(U,$J,358.3,31674,2)
+92 ;;=^5017235
+93 ;;^UTILITY(U,$J,358.3,31675,0)
+94 ;;=O41.03X2^^126^1627^52
+95 ;;^UTILITY(U,$J,358.3,31675,1,0)
+96 ;;=^358.31IA^4^2
+97 ;;^UTILITY(U,$J,358.3,31675,1,3,0)
+98 ;;=3^Oligohydramnios, third trimester, fetus 2
+99 ;;^UTILITY(U,$J,358.3,31675,1,4,0)
+100 ;;=4^O41.03X2
+101 ;;^UTILITY(U,$J,358.3,31675,2)
+102 ;;=^5017236
+103 ;;^UTILITY(U,$J,358.3,31676,0)
+104 ;;=O41.03X3^^126^1627^53
+105 ;;^UTILITY(U,$J,358.3,31676,1,0)
+106 ;;=^358.31IA^4^2
+107 ;;^UTILITY(U,$J,358.3,31676,1,3,0)
+108 ;;=3^Oligohydramnios, third trimester, fetus 3
+109 ;;^UTILITY(U,$J,358.3,31676,1,4,0)
+110 ;;=4^O41.03X3
+111 ;;^UTILITY(U,$J,358.3,31676,2)
+112 ;;=^5017237
+113 ;;^UTILITY(U,$J,358.3,31677,0)
+114 ;;=O41.03X4^^126^1627^54
+115 ;;^UTILITY(U,$J,358.3,31677,1,0)
+116 ;;=^358.31IA^4^2