IBDEI2GQ ; ; 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,39331,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39331,1,3,0)
;;=3^Congestive Splenomegaly,Chronic
;;^UTILITY(U,$J,358.3,39331,1,4,0)
;;=4^D73.2
;;^UTILITY(U,$J,358.3,39331,2)
;;=^268000
;;^UTILITY(U,$J,358.3,39332,0)
;;=I85.00^^152^1996^53
;;^UTILITY(U,$J,358.3,39332,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39332,1,3,0)
;;=3^Esophageal Varices w/o Bleeding
;;^UTILITY(U,$J,358.3,39332,1,4,0)
;;=4^I85.00
;;^UTILITY(U,$J,358.3,39332,2)
;;=^5008023
;;^UTILITY(U,$J,358.3,39333,0)
;;=K20.9^^152^1996^54
;;^UTILITY(U,$J,358.3,39333,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39333,1,3,0)
;;=3^Esophagitis,Unspec
;;^UTILITY(U,$J,358.3,39333,1,4,0)
;;=4^K20.9
;;^UTILITY(U,$J,358.3,39333,2)
;;=^295809
;;^UTILITY(U,$J,358.3,39334,0)
;;=K21.9^^152^1996^62
;;^UTILITY(U,$J,358.3,39334,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39334,1,3,0)
;;=3^Gastroesophageal Reflux Disease w/o Esophagitis
;;^UTILITY(U,$J,358.3,39334,1,4,0)
;;=4^K21.9
;;^UTILITY(U,$J,358.3,39334,2)
;;=^5008505
;;^UTILITY(U,$J,358.3,39335,0)
;;=K25.7^^152^1996^57
;;^UTILITY(U,$J,358.3,39335,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39335,1,3,0)
;;=3^Gastric Ulcer w/o Hemorrhage/Perforation,Chronic
;;^UTILITY(U,$J,358.3,39335,1,4,0)
;;=4^K25.7
;;^UTILITY(U,$J,358.3,39335,2)
;;=^5008521
;;^UTILITY(U,$J,358.3,39336,0)
;;=K26.9^^152^1996^49
;;^UTILITY(U,$J,358.3,39336,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39336,1,3,0)
;;=3^Duadenal Ulcer w/o Hemorrhage/Perforation,Unspec
;;^UTILITY(U,$J,358.3,39336,1,4,0)
;;=4^K26.9
;;^UTILITY(U,$J,358.3,39336,2)
;;=^5008527
;;^UTILITY(U,$J,358.3,39337,0)
;;=K27.9^^152^1996^82
;;^UTILITY(U,$J,358.3,39337,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39337,1,3,0)
;;=3^Peptic Ulcer w/o Hemorrhage/Perforation,Unspec
;;^UTILITY(U,$J,358.3,39337,1,4,0)
;;=4^K27.9
;;^UTILITY(U,$J,358.3,39337,2)
;;=^5008536
;;^UTILITY(U,$J,358.3,39338,0)
;;=K29.70^^152^1996^58
;;^UTILITY(U,$J,358.3,39338,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39338,1,3,0)
;;=3^Gastritis w/o Bleeding,Unspec
;;^UTILITY(U,$J,358.3,39338,1,4,0)
;;=4^K29.70
;;^UTILITY(U,$J,358.3,39338,2)
;;=^5008552
;;^UTILITY(U,$J,358.3,39339,0)
;;=K29.90^^152^1996^59
;;^UTILITY(U,$J,358.3,39339,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39339,1,3,0)
;;=3^Gastroduodenitis w/o Bleeding,Unspec
;;^UTILITY(U,$J,358.3,39339,1,4,0)
;;=4^K29.90
;;^UTILITY(U,$J,358.3,39339,2)
;;=^5008556
;;^UTILITY(U,$J,358.3,39340,0)
;;=K30.^^152^1996^50
;;^UTILITY(U,$J,358.3,39340,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39340,1,3,0)
;;=3^Dyspepsia,Functional
;;^UTILITY(U,$J,358.3,39340,1,4,0)
;;=4^K30.
;;^UTILITY(U,$J,358.3,39340,2)
;;=^5008558
;;^UTILITY(U,$J,358.3,39341,0)
;;=K31.89^^152^1996^39
;;^UTILITY(U,$J,358.3,39341,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39341,1,3,0)
;;=3^Diseases of Stomach & Duodenum,Other
;;^UTILITY(U,$J,358.3,39341,1,4,0)
;;=4^K31.89
;;^UTILITY(U,$J,358.3,39341,2)
;;=^5008569
;;^UTILITY(U,$J,358.3,39342,0)
;;=K31.9^^152^1996^38
;;^UTILITY(U,$J,358.3,39342,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,39342,1,3,0)
;;=3^Disease of Stomach & Duodenum,Unspec
;;^UTILITY(U,$J,358.3,39342,1,4,0)
;;=4^K31.9
;;^UTILITY(U,$J,358.3,39342,2)
;;=^5008570
;;^UTILITY(U,$J,358.3,39343,0)
;;=K40.90^^152^1996^75
;;^UTILITY(U,$J,358.3,39343,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2GQ 3777 printed Nov 22, 2024@17:38:35 Page 2
IBDEI2GQ ; ; 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,39331,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,39331,1,3,0)
+4 ;;=3^Congestive Splenomegaly,Chronic
+5 ;;^UTILITY(U,$J,358.3,39331,1,4,0)
+6 ;;=4^D73.2
+7 ;;^UTILITY(U,$J,358.3,39331,2)
+8 ;;=^268000
+9 ;;^UTILITY(U,$J,358.3,39332,0)
+10 ;;=I85.00^^152^1996^53
+11 ;;^UTILITY(U,$J,358.3,39332,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,39332,1,3,0)
+14 ;;=3^Esophageal Varices w/o Bleeding
+15 ;;^UTILITY(U,$J,358.3,39332,1,4,0)
+16 ;;=4^I85.00
+17 ;;^UTILITY(U,$J,358.3,39332,2)
+18 ;;=^5008023
+19 ;;^UTILITY(U,$J,358.3,39333,0)
+20 ;;=K20.9^^152^1996^54
+21 ;;^UTILITY(U,$J,358.3,39333,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,39333,1,3,0)
+24 ;;=3^Esophagitis,Unspec
+25 ;;^UTILITY(U,$J,358.3,39333,1,4,0)
+26 ;;=4^K20.9
+27 ;;^UTILITY(U,$J,358.3,39333,2)
+28 ;;=^295809
+29 ;;^UTILITY(U,$J,358.3,39334,0)
+30 ;;=K21.9^^152^1996^62
+31 ;;^UTILITY(U,$J,358.3,39334,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,39334,1,3,0)
+34 ;;=3^Gastroesophageal Reflux Disease w/o Esophagitis
+35 ;;^UTILITY(U,$J,358.3,39334,1,4,0)
+36 ;;=4^K21.9
+37 ;;^UTILITY(U,$J,358.3,39334,2)
+38 ;;=^5008505
+39 ;;^UTILITY(U,$J,358.3,39335,0)
+40 ;;=K25.7^^152^1996^57
+41 ;;^UTILITY(U,$J,358.3,39335,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,39335,1,3,0)
+44 ;;=3^Gastric Ulcer w/o Hemorrhage/Perforation,Chronic
+45 ;;^UTILITY(U,$J,358.3,39335,1,4,0)
+46 ;;=4^K25.7
+47 ;;^UTILITY(U,$J,358.3,39335,2)
+48 ;;=^5008521
+49 ;;^UTILITY(U,$J,358.3,39336,0)
+50 ;;=K26.9^^152^1996^49
+51 ;;^UTILITY(U,$J,358.3,39336,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,39336,1,3,0)
+54 ;;=3^Duadenal Ulcer w/o Hemorrhage/Perforation,Unspec
+55 ;;^UTILITY(U,$J,358.3,39336,1,4,0)
+56 ;;=4^K26.9
+57 ;;^UTILITY(U,$J,358.3,39336,2)
+58 ;;=^5008527
+59 ;;^UTILITY(U,$J,358.3,39337,0)
+60 ;;=K27.9^^152^1996^82
+61 ;;^UTILITY(U,$J,358.3,39337,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,39337,1,3,0)
+64 ;;=3^Peptic Ulcer w/o Hemorrhage/Perforation,Unspec
+65 ;;^UTILITY(U,$J,358.3,39337,1,4,0)
+66 ;;=4^K27.9
+67 ;;^UTILITY(U,$J,358.3,39337,2)
+68 ;;=^5008536
+69 ;;^UTILITY(U,$J,358.3,39338,0)
+70 ;;=K29.70^^152^1996^58
+71 ;;^UTILITY(U,$J,358.3,39338,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,39338,1,3,0)
+74 ;;=3^Gastritis w/o Bleeding,Unspec
+75 ;;^UTILITY(U,$J,358.3,39338,1,4,0)
+76 ;;=4^K29.70
+77 ;;^UTILITY(U,$J,358.3,39338,2)
+78 ;;=^5008552
+79 ;;^UTILITY(U,$J,358.3,39339,0)
+80 ;;=K29.90^^152^1996^59
+81 ;;^UTILITY(U,$J,358.3,39339,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,39339,1,3,0)
+84 ;;=3^Gastroduodenitis w/o Bleeding,Unspec
+85 ;;^UTILITY(U,$J,358.3,39339,1,4,0)
+86 ;;=4^K29.90
+87 ;;^UTILITY(U,$J,358.3,39339,2)
+88 ;;=^5008556
+89 ;;^UTILITY(U,$J,358.3,39340,0)
+90 ;;=K30.^^152^1996^50
+91 ;;^UTILITY(U,$J,358.3,39340,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,39340,1,3,0)
+94 ;;=3^Dyspepsia,Functional
+95 ;;^UTILITY(U,$J,358.3,39340,1,4,0)
+96 ;;=4^K30.
+97 ;;^UTILITY(U,$J,358.3,39340,2)
+98 ;;=^5008558
+99 ;;^UTILITY(U,$J,358.3,39341,0)
+100 ;;=K31.89^^152^1996^39
+101 ;;^UTILITY(U,$J,358.3,39341,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,39341,1,3,0)
+104 ;;=3^Diseases of Stomach & Duodenum,Other
+105 ;;^UTILITY(U,$J,358.3,39341,1,4,0)
+106 ;;=4^K31.89
+107 ;;^UTILITY(U,$J,358.3,39341,2)
+108 ;;=^5008569
+109 ;;^UTILITY(U,$J,358.3,39342,0)
+110 ;;=K31.9^^152^1996^38
+111 ;;^UTILITY(U,$J,358.3,39342,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,39342,1,3,0)
+114 ;;=3^Disease of Stomach & Duodenum,Unspec
+115 ;;^UTILITY(U,$J,358.3,39342,1,4,0)
+116 ;;=4^K31.9
+117 ;;^UTILITY(U,$J,358.3,39342,2)
+118 ;;=^5008570
+119 ;;^UTILITY(U,$J,358.3,39343,0)
+120 ;;=K40.90^^152^1996^75
+121 ;;^UTILITY(U,$J,358.3,39343,1,0)
+122 ;;=^358.31IA^4^2