IBDEI2ZN ; ; 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,47717,1,4,0)
;;=4^K63.9
;;^UTILITY(U,$J,358.3,47717,2)
;;=^5008768
;;^UTILITY(U,$J,358.3,47718,0)
;;=K58.0^^185^2410^62
;;^UTILITY(U,$J,358.3,47718,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47718,1,3,0)
;;=3^IBS w/ Diarrhea
;;^UTILITY(U,$J,358.3,47718,1,4,0)
;;=4^K58.0
;;^UTILITY(U,$J,358.3,47718,2)
;;=^5008739
;;^UTILITY(U,$J,358.3,47719,0)
;;=K58.9^^185^2410^63
;;^UTILITY(U,$J,358.3,47719,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47719,1,3,0)
;;=3^IBS w/o Diarrhea
;;^UTILITY(U,$J,358.3,47719,1,4,0)
;;=4^K58.9
;;^UTILITY(U,$J,358.3,47719,2)
;;=^5008740
;;^UTILITY(U,$J,358.3,47720,0)
;;=K90.9^^185^2410^66
;;^UTILITY(U,$J,358.3,47720,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47720,1,3,0)
;;=3^Malabsorption,Intestinal,Unspec
;;^UTILITY(U,$J,358.3,47720,1,4,0)
;;=4^K90.9
;;^UTILITY(U,$J,358.3,47720,2)
;;=^5008899
;;^UTILITY(U,$J,358.3,47721,0)
;;=K86.9^^185^2410^67
;;^UTILITY(U,$J,358.3,47721,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47721,1,3,0)
;;=3^Pancreas Disease,Unspec
;;^UTILITY(U,$J,358.3,47721,1,4,0)
;;=4^K86.9
;;^UTILITY(U,$J,358.3,47721,2)
;;=^5008892
;;^UTILITY(U,$J,358.3,47722,0)
;;=Z87.11^^185^2410^72
;;^UTILITY(U,$J,358.3,47722,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47722,1,3,0)
;;=3^Personal Hx of PUD
;;^UTILITY(U,$J,358.3,47722,1,4,0)
;;=4^Z87.11
;;^UTILITY(U,$J,358.3,47722,2)
;;=^5063482
;;^UTILITY(U,$J,358.3,47723,0)
;;=D73.9^^185^2410^73
;;^UTILITY(U,$J,358.3,47723,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47723,1,3,0)
;;=3^Spleen Disease,Unspec
;;^UTILITY(U,$J,358.3,47723,1,4,0)
;;=4^D73.9
;;^UTILITY(U,$J,358.3,47723,2)
;;=^5002386
;;^UTILITY(U,$J,358.3,47724,0)
;;=K26.7^^185^2410^74
;;^UTILITY(U,$J,358.3,47724,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47724,1,3,0)
;;=3^Ulcer,Chronic Duodenal w/o Hemorrhage/Perforation
;;^UTILITY(U,$J,358.3,47724,1,4,0)
;;=4^K26.7
;;^UTILITY(U,$J,358.3,47724,2)
;;=^5008526
;;^UTILITY(U,$J,358.3,47725,0)
;;=K25.7^^185^2410^75
;;^UTILITY(U,$J,358.3,47725,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47725,1,3,0)
;;=3^Ulcer,Chronic Gastric w/o Hemorrhage/Perforation
;;^UTILITY(U,$J,358.3,47725,1,4,0)
;;=4^K25.7
;;^UTILITY(U,$J,358.3,47725,2)
;;=^5008521
;;^UTILITY(U,$J,358.3,47726,0)
;;=K27.7^^185^2410^76
;;^UTILITY(U,$J,358.3,47726,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47726,1,3,0)
;;=3^Ulcer,Chronic Peptic w/o Hemorrhage/Perforation
;;^UTILITY(U,$J,358.3,47726,1,4,0)
;;=4^K27.7
;;^UTILITY(U,$J,358.3,47726,2)
;;=^5008535
;;^UTILITY(U,$J,358.3,47727,0)
;;=K85.92^^185^2410^70
;;^UTILITY(U,$J,358.3,47727,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47727,1,3,0)
;;=3^Pancreatitis,Acute Infective
;;^UTILITY(U,$J,358.3,47727,1,4,0)
;;=4^K85.92
;;^UTILITY(U,$J,358.3,47727,2)
;;=^5138763
;;^UTILITY(U,$J,358.3,47728,0)
;;=K85.90^^185^2410^69
;;^UTILITY(U,$J,358.3,47728,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47728,1,3,0)
;;=3^Pancreatitis,Acute
;;^UTILITY(U,$J,358.3,47728,1,4,0)
;;=4^K85.90
;;^UTILITY(U,$J,358.3,47728,2)
;;=^5138761
;;^UTILITY(U,$J,358.3,47729,0)
;;=K85.91^^185^2410^68
;;^UTILITY(U,$J,358.3,47729,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,47729,1,3,0)
;;=3^Pancreatitis w/ Necrosis,Acute
;;^UTILITY(U,$J,358.3,47729,1,4,0)
;;=4^K85.91
;;^UTILITY(U,$J,358.3,47729,2)
;;=^5138762
;;^UTILITY(U,$J,358.3,47730,0)
;;=K86.1^^185^2410^71
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2ZN 3798 printed Dec 13, 2024@02:38:56 Page 2
IBDEI2ZN ; ; 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,47717,1,4,0)
+2 ;;=4^K63.9
+3 ;;^UTILITY(U,$J,358.3,47717,2)
+4 ;;=^5008768
+5 ;;^UTILITY(U,$J,358.3,47718,0)
+6 ;;=K58.0^^185^2410^62
+7 ;;^UTILITY(U,$J,358.3,47718,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,47718,1,3,0)
+10 ;;=3^IBS w/ Diarrhea
+11 ;;^UTILITY(U,$J,358.3,47718,1,4,0)
+12 ;;=4^K58.0
+13 ;;^UTILITY(U,$J,358.3,47718,2)
+14 ;;=^5008739
+15 ;;^UTILITY(U,$J,358.3,47719,0)
+16 ;;=K58.9^^185^2410^63
+17 ;;^UTILITY(U,$J,358.3,47719,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,47719,1,3,0)
+20 ;;=3^IBS w/o Diarrhea
+21 ;;^UTILITY(U,$J,358.3,47719,1,4,0)
+22 ;;=4^K58.9
+23 ;;^UTILITY(U,$J,358.3,47719,2)
+24 ;;=^5008740
+25 ;;^UTILITY(U,$J,358.3,47720,0)
+26 ;;=K90.9^^185^2410^66
+27 ;;^UTILITY(U,$J,358.3,47720,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,47720,1,3,0)
+30 ;;=3^Malabsorption,Intestinal,Unspec
+31 ;;^UTILITY(U,$J,358.3,47720,1,4,0)
+32 ;;=4^K90.9
+33 ;;^UTILITY(U,$J,358.3,47720,2)
+34 ;;=^5008899
+35 ;;^UTILITY(U,$J,358.3,47721,0)
+36 ;;=K86.9^^185^2410^67
+37 ;;^UTILITY(U,$J,358.3,47721,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,47721,1,3,0)
+40 ;;=3^Pancreas Disease,Unspec
+41 ;;^UTILITY(U,$J,358.3,47721,1,4,0)
+42 ;;=4^K86.9
+43 ;;^UTILITY(U,$J,358.3,47721,2)
+44 ;;=^5008892
+45 ;;^UTILITY(U,$J,358.3,47722,0)
+46 ;;=Z87.11^^185^2410^72
+47 ;;^UTILITY(U,$J,358.3,47722,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,47722,1,3,0)
+50 ;;=3^Personal Hx of PUD
+51 ;;^UTILITY(U,$J,358.3,47722,1,4,0)
+52 ;;=4^Z87.11
+53 ;;^UTILITY(U,$J,358.3,47722,2)
+54 ;;=^5063482
+55 ;;^UTILITY(U,$J,358.3,47723,0)
+56 ;;=D73.9^^185^2410^73
+57 ;;^UTILITY(U,$J,358.3,47723,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,47723,1,3,0)
+60 ;;=3^Spleen Disease,Unspec
+61 ;;^UTILITY(U,$J,358.3,47723,1,4,0)
+62 ;;=4^D73.9
+63 ;;^UTILITY(U,$J,358.3,47723,2)
+64 ;;=^5002386
+65 ;;^UTILITY(U,$J,358.3,47724,0)
+66 ;;=K26.7^^185^2410^74
+67 ;;^UTILITY(U,$J,358.3,47724,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,47724,1,3,0)
+70 ;;=3^Ulcer,Chronic Duodenal w/o Hemorrhage/Perforation
+71 ;;^UTILITY(U,$J,358.3,47724,1,4,0)
+72 ;;=4^K26.7
+73 ;;^UTILITY(U,$J,358.3,47724,2)
+74 ;;=^5008526
+75 ;;^UTILITY(U,$J,358.3,47725,0)
+76 ;;=K25.7^^185^2410^75
+77 ;;^UTILITY(U,$J,358.3,47725,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,47725,1,3,0)
+80 ;;=3^Ulcer,Chronic Gastric w/o Hemorrhage/Perforation
+81 ;;^UTILITY(U,$J,358.3,47725,1,4,0)
+82 ;;=4^K25.7
+83 ;;^UTILITY(U,$J,358.3,47725,2)
+84 ;;=^5008521
+85 ;;^UTILITY(U,$J,358.3,47726,0)
+86 ;;=K27.7^^185^2410^76
+87 ;;^UTILITY(U,$J,358.3,47726,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,47726,1,3,0)
+90 ;;=3^Ulcer,Chronic Peptic w/o Hemorrhage/Perforation
+91 ;;^UTILITY(U,$J,358.3,47726,1,4,0)
+92 ;;=4^K27.7
+93 ;;^UTILITY(U,$J,358.3,47726,2)
+94 ;;=^5008535
+95 ;;^UTILITY(U,$J,358.3,47727,0)
+96 ;;=K85.92^^185^2410^70
+97 ;;^UTILITY(U,$J,358.3,47727,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,47727,1,3,0)
+100 ;;=3^Pancreatitis,Acute Infective
+101 ;;^UTILITY(U,$J,358.3,47727,1,4,0)
+102 ;;=4^K85.92
+103 ;;^UTILITY(U,$J,358.3,47727,2)
+104 ;;=^5138763
+105 ;;^UTILITY(U,$J,358.3,47728,0)
+106 ;;=K85.90^^185^2410^69
+107 ;;^UTILITY(U,$J,358.3,47728,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,47728,1,3,0)
+110 ;;=3^Pancreatitis,Acute
+111 ;;^UTILITY(U,$J,358.3,47728,1,4,0)
+112 ;;=4^K85.90
+113 ;;^UTILITY(U,$J,358.3,47728,2)
+114 ;;=^5138761
+115 ;;^UTILITY(U,$J,358.3,47729,0)
+116 ;;=K85.91^^185^2410^68
+117 ;;^UTILITY(U,$J,358.3,47729,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,47729,1,3,0)
+120 ;;=3^Pancreatitis w/ Necrosis,Acute
+121 ;;^UTILITY(U,$J,358.3,47729,1,4,0)
+122 ;;=4^K85.91
+123 ;;^UTILITY(U,$J,358.3,47729,2)
+124 ;;=^5138762
+125 ;;^UTILITY(U,$J,358.3,47730,0)
+126 ;;=K86.1^^185^2410^71