IBDEI2UE ; ; 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,45340,1,4,0)
;;=4^K22.10
;;^UTILITY(U,$J,358.3,45340,2)
;;=^329929
;;^UTILITY(U,$J,358.3,45341,0)
;;=K22.11^^172^2265^11
;;^UTILITY(U,$J,358.3,45341,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45341,1,3,0)
;;=3^Esophagus ulcer w/ bleeding
;;^UTILITY(U,$J,358.3,45341,1,4,0)
;;=4^K22.11
;;^UTILITY(U,$J,358.3,45341,2)
;;=^329930
;;^UTILITY(U,$J,358.3,45342,0)
;;=K22.2^^172^2265^9
;;^UTILITY(U,$J,358.3,45342,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45342,1,3,0)
;;=3^Esophageal obstruction
;;^UTILITY(U,$J,358.3,45342,1,4,0)
;;=4^K22.2
;;^UTILITY(U,$J,358.3,45342,2)
;;=^5008507
;;^UTILITY(U,$J,358.3,45343,0)
;;=K26.9^^172^2265^5
;;^UTILITY(U,$J,358.3,45343,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45343,1,3,0)
;;=3^Duodenal ulcer w/o hemorrhage/perforation
;;^UTILITY(U,$J,358.3,45343,1,4,0)
;;=4^K26.9
;;^UTILITY(U,$J,358.3,45343,2)
;;=^5008527
;;^UTILITY(U,$J,358.3,45344,0)
;;=K27.9^^172^2265^30
;;^UTILITY(U,$J,358.3,45344,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45344,1,3,0)
;;=3^Peptic ulcer w/o hemorrhage/perforation
;;^UTILITY(U,$J,358.3,45344,1,4,0)
;;=4^K27.9
;;^UTILITY(U,$J,358.3,45344,2)
;;=^5008536
;;^UTILITY(U,$J,358.3,45345,0)
;;=K57.30^^172^2265^4
;;^UTILITY(U,$J,358.3,45345,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45345,1,3,0)
;;=3^Diverticulosis lg intest w/o perforation/abscess w/o bleeding
;;^UTILITY(U,$J,358.3,45345,1,4,0)
;;=4^K57.30
;;^UTILITY(U,$J,358.3,45345,2)
;;=^5008723
;;^UTILITY(U,$J,358.3,45346,0)
;;=K58.9^^172^2265^25
;;^UTILITY(U,$J,358.3,45346,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45346,1,3,0)
;;=3^IBS w/o diarrhea
;;^UTILITY(U,$J,358.3,45346,1,4,0)
;;=4^K58.9
;;^UTILITY(U,$J,358.3,45346,2)
;;=^5008740
;;^UTILITY(U,$J,358.3,45347,0)
;;=K59.09^^172^2265^3
;;^UTILITY(U,$J,358.3,45347,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45347,1,3,0)
;;=3^Constipation, other
;;^UTILITY(U,$J,358.3,45347,1,4,0)
;;=4^K59.09
;;^UTILITY(U,$J,358.3,45347,2)
;;=^323540
;;^UTILITY(U,$J,358.3,45348,0)
;;=K62.5^^172^2265^21
;;^UTILITY(U,$J,358.3,45348,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45348,1,3,0)
;;=3^Hemorrhage of anus & rectum
;;^UTILITY(U,$J,358.3,45348,1,4,0)
;;=4^K62.5
;;^UTILITY(U,$J,358.3,45348,2)
;;=^5008755
;;^UTILITY(U,$J,358.3,45349,0)
;;=K63.5^^172^2265^2
;;^UTILITY(U,$J,358.3,45349,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45349,1,3,0)
;;=3^Colon polyp
;;^UTILITY(U,$J,358.3,45349,1,4,0)
;;=4^K63.5
;;^UTILITY(U,$J,358.3,45349,2)
;;=^5008765
;;^UTILITY(U,$J,358.3,45350,0)
;;=K64.4^^172^2265^22
;;^UTILITY(U,$J,358.3,45350,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45350,1,3,0)
;;=3^Hemorrhoidal skin tags, residual
;;^UTILITY(U,$J,358.3,45350,1,4,0)
;;=4^K64.4
;;^UTILITY(U,$J,358.3,45350,2)
;;=^269834
;;^UTILITY(U,$J,358.3,45351,0)
;;=K64.8^^172^2265^23
;;^UTILITY(U,$J,358.3,45351,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45351,1,3,0)
;;=3^Hemorrhoids, other
;;^UTILITY(U,$J,358.3,45351,1,4,0)
;;=4^K64.8
;;^UTILITY(U,$J,358.3,45351,2)
;;=^5008774
;;^UTILITY(U,$J,358.3,45352,0)
;;=K73.9^^172^2265^24
;;^UTILITY(U,$J,358.3,45352,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,45352,1,3,0)
;;=3^Hepatitis, chronic, unspec
;;^UTILITY(U,$J,358.3,45352,1,4,0)
;;=4^K73.9
;;^UTILITY(U,$J,358.3,45352,2)
;;=^5008815
;;^UTILITY(U,$J,358.3,45353,0)
;;=K74.60^^172^2265^1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2UE 3783 printed Oct 16, 2024@18:36:48 Page 2
IBDEI2UE ; ; 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,45340,1,4,0)
+2 ;;=4^K22.10
+3 ;;^UTILITY(U,$J,358.3,45340,2)
+4 ;;=^329929
+5 ;;^UTILITY(U,$J,358.3,45341,0)
+6 ;;=K22.11^^172^2265^11
+7 ;;^UTILITY(U,$J,358.3,45341,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,45341,1,3,0)
+10 ;;=3^Esophagus ulcer w/ bleeding
+11 ;;^UTILITY(U,$J,358.3,45341,1,4,0)
+12 ;;=4^K22.11
+13 ;;^UTILITY(U,$J,358.3,45341,2)
+14 ;;=^329930
+15 ;;^UTILITY(U,$J,358.3,45342,0)
+16 ;;=K22.2^^172^2265^9
+17 ;;^UTILITY(U,$J,358.3,45342,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,45342,1,3,0)
+20 ;;=3^Esophageal obstruction
+21 ;;^UTILITY(U,$J,358.3,45342,1,4,0)
+22 ;;=4^K22.2
+23 ;;^UTILITY(U,$J,358.3,45342,2)
+24 ;;=^5008507
+25 ;;^UTILITY(U,$J,358.3,45343,0)
+26 ;;=K26.9^^172^2265^5
+27 ;;^UTILITY(U,$J,358.3,45343,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,45343,1,3,0)
+30 ;;=3^Duodenal ulcer w/o hemorrhage/perforation
+31 ;;^UTILITY(U,$J,358.3,45343,1,4,0)
+32 ;;=4^K26.9
+33 ;;^UTILITY(U,$J,358.3,45343,2)
+34 ;;=^5008527
+35 ;;^UTILITY(U,$J,358.3,45344,0)
+36 ;;=K27.9^^172^2265^30
+37 ;;^UTILITY(U,$J,358.3,45344,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,45344,1,3,0)
+40 ;;=3^Peptic ulcer w/o hemorrhage/perforation
+41 ;;^UTILITY(U,$J,358.3,45344,1,4,0)
+42 ;;=4^K27.9
+43 ;;^UTILITY(U,$J,358.3,45344,2)
+44 ;;=^5008536
+45 ;;^UTILITY(U,$J,358.3,45345,0)
+46 ;;=K57.30^^172^2265^4
+47 ;;^UTILITY(U,$J,358.3,45345,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,45345,1,3,0)
+50 ;;=3^Diverticulosis lg intest w/o perforation/abscess w/o bleeding
+51 ;;^UTILITY(U,$J,358.3,45345,1,4,0)
+52 ;;=4^K57.30
+53 ;;^UTILITY(U,$J,358.3,45345,2)
+54 ;;=^5008723
+55 ;;^UTILITY(U,$J,358.3,45346,0)
+56 ;;=K58.9^^172^2265^25
+57 ;;^UTILITY(U,$J,358.3,45346,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,45346,1,3,0)
+60 ;;=3^IBS w/o diarrhea
+61 ;;^UTILITY(U,$J,358.3,45346,1,4,0)
+62 ;;=4^K58.9
+63 ;;^UTILITY(U,$J,358.3,45346,2)
+64 ;;=^5008740
+65 ;;^UTILITY(U,$J,358.3,45347,0)
+66 ;;=K59.09^^172^2265^3
+67 ;;^UTILITY(U,$J,358.3,45347,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,45347,1,3,0)
+70 ;;=3^Constipation, other
+71 ;;^UTILITY(U,$J,358.3,45347,1,4,0)
+72 ;;=4^K59.09
+73 ;;^UTILITY(U,$J,358.3,45347,2)
+74 ;;=^323540
+75 ;;^UTILITY(U,$J,358.3,45348,0)
+76 ;;=K62.5^^172^2265^21
+77 ;;^UTILITY(U,$J,358.3,45348,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,45348,1,3,0)
+80 ;;=3^Hemorrhage of anus & rectum
+81 ;;^UTILITY(U,$J,358.3,45348,1,4,0)
+82 ;;=4^K62.5
+83 ;;^UTILITY(U,$J,358.3,45348,2)
+84 ;;=^5008755
+85 ;;^UTILITY(U,$J,358.3,45349,0)
+86 ;;=K63.5^^172^2265^2
+87 ;;^UTILITY(U,$J,358.3,45349,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,45349,1,3,0)
+90 ;;=3^Colon polyp
+91 ;;^UTILITY(U,$J,358.3,45349,1,4,0)
+92 ;;=4^K63.5
+93 ;;^UTILITY(U,$J,358.3,45349,2)
+94 ;;=^5008765
+95 ;;^UTILITY(U,$J,358.3,45350,0)
+96 ;;=K64.4^^172^2265^22
+97 ;;^UTILITY(U,$J,358.3,45350,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,45350,1,3,0)
+100 ;;=3^Hemorrhoidal skin tags, residual
+101 ;;^UTILITY(U,$J,358.3,45350,1,4,0)
+102 ;;=4^K64.4
+103 ;;^UTILITY(U,$J,358.3,45350,2)
+104 ;;=^269834
+105 ;;^UTILITY(U,$J,358.3,45351,0)
+106 ;;=K64.8^^172^2265^23
+107 ;;^UTILITY(U,$J,358.3,45351,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,45351,1,3,0)
+110 ;;=3^Hemorrhoids, other
+111 ;;^UTILITY(U,$J,358.3,45351,1,4,0)
+112 ;;=4^K64.8
+113 ;;^UTILITY(U,$J,358.3,45351,2)
+114 ;;=^5008774
+115 ;;^UTILITY(U,$J,358.3,45352,0)
+116 ;;=K73.9^^172^2265^24
+117 ;;^UTILITY(U,$J,358.3,45352,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,45352,1,3,0)
+120 ;;=3^Hepatitis, chronic, unspec
+121 ;;^UTILITY(U,$J,358.3,45352,1,4,0)
+122 ;;=4^K73.9
+123 ;;^UTILITY(U,$J,358.3,45352,2)
+124 ;;=^5008815
+125 ;;^UTILITY(U,$J,358.3,45353,0)
+126 ;;=K74.60^^172^2265^1