IBDEI1HA ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,23913,0)
;;=K29.70^^82^1036^11
;;^UTILITY(U,$J,358.3,23913,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23913,1,3,0)
;;=3^Gastritis w/o Bleeding
;;^UTILITY(U,$J,358.3,23913,1,4,0)
;;=4^K29.70
;;^UTILITY(U,$J,358.3,23913,2)
;;=^5008552
;;^UTILITY(U,$J,358.3,23914,0)
;;=K29.90^^82^1036^12
;;^UTILITY(U,$J,358.3,23914,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23914,1,3,0)
;;=3^Gastroduodenitis w/o Bleeding
;;^UTILITY(U,$J,358.3,23914,1,4,0)
;;=4^K29.90
;;^UTILITY(U,$J,358.3,23914,2)
;;=^5008556
;;^UTILITY(U,$J,358.3,23915,0)
;;=K52.9^^82^1036^19
;;^UTILITY(U,$J,358.3,23915,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23915,1,3,0)
;;=3^Noninfect Gastroent & Colitis,Unspec
;;^UTILITY(U,$J,358.3,23915,1,4,0)
;;=4^K52.9
;;^UTILITY(U,$J,358.3,23915,2)
;;=^5008704
;;^UTILITY(U,$J,358.3,23916,0)
;;=K59.00^^82^1036^9
;;^UTILITY(U,$J,358.3,23916,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23916,1,3,0)
;;=3^Constipation,Unspec
;;^UTILITY(U,$J,358.3,23916,1,4,0)
;;=4^K59.00
;;^UTILITY(U,$J,358.3,23916,2)
;;=^323537
;;^UTILITY(U,$J,358.3,23917,0)
;;=K58.9^^82^1036^18
;;^UTILITY(U,$J,358.3,23917,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23917,1,3,0)
;;=3^IBS w/o Diarrhea
;;^UTILITY(U,$J,358.3,23917,1,4,0)
;;=4^K58.9
;;^UTILITY(U,$J,358.3,23917,2)
;;=^5008740
;;^UTILITY(U,$J,358.3,23918,0)
;;=K58.0^^82^1036^17
;;^UTILITY(U,$J,358.3,23918,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23918,1,3,0)
;;=3^IBS w/ Diarrhea
;;^UTILITY(U,$J,358.3,23918,1,4,0)
;;=4^K58.0
;;^UTILITY(U,$J,358.3,23918,2)
;;=^5008739
;;^UTILITY(U,$J,358.3,23919,0)
;;=K74.60^^82^1036^6
;;^UTILITY(U,$J,358.3,23919,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23919,1,3,0)
;;=3^Cirrhosis of Liver,Unspec
;;^UTILITY(U,$J,358.3,23919,1,4,0)
;;=4^K74.60
;;^UTILITY(U,$J,358.3,23919,2)
;;=^5008822
;;^UTILITY(U,$J,358.3,23920,0)
;;=R10.9^^82^1036^1
;;^UTILITY(U,$J,358.3,23920,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23920,1,3,0)
;;=3^Abdominal Pain,Unspec
;;^UTILITY(U,$J,358.3,23920,1,4,0)
;;=4^R10.9
;;^UTILITY(U,$J,358.3,23920,2)
;;=^5019230
;;^UTILITY(U,$J,358.3,23921,0)
;;=R74.8^^82^1036^2
;;^UTILITY(U,$J,358.3,23921,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23921,1,3,0)
;;=3^Abnormal Serum Enzyme Levels
;;^UTILITY(U,$J,358.3,23921,1,4,0)
;;=4^R74.8
;;^UTILITY(U,$J,358.3,23921,2)
;;=^5019566
;;^UTILITY(U,$J,358.3,23922,0)
;;=K92.1^^82^1036^13
;;^UTILITY(U,$J,358.3,23922,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23922,1,3,0)
;;=3^Hematochezia/Melena
;;^UTILITY(U,$J,358.3,23922,1,4,0)
;;=4^K92.1
;;^UTILITY(U,$J,358.3,23922,2)
;;=^5008914
;;^UTILITY(U,$J,358.3,23923,0)
;;=R19.5^^82^1036^5
;;^UTILITY(U,$J,358.3,23923,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23923,1,3,0)
;;=3^Blood in Stool
;;^UTILITY(U,$J,358.3,23923,1,4,0)
;;=4^R19.5
;;^UTILITY(U,$J,358.3,23923,2)
;;=^5019274
;;^UTILITY(U,$J,358.3,23924,0)
;;=K52.3^^82^1036^7
;;^UTILITY(U,$J,358.3,23924,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23924,1,3,0)
;;=3^Colitis,Indeterminate
;;^UTILITY(U,$J,358.3,23924,1,4,0)
;;=4^K52.3
;;^UTILITY(U,$J,358.3,23924,2)
;;=^7357699
;;^UTILITY(U,$J,358.3,23925,0)
;;=K58.1^^82^1036^16
;;^UTILITY(U,$J,358.3,23925,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,23925,1,3,0)
;;=3^IBS w/ Constipation
;;^UTILITY(U,$J,358.3,23925,1,4,0)
;;=4^K58.1
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI1HA 3770 printed Nov 22, 2024@17:18:53 Page 2
IBDEI1HA ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,23913,0)
+2 ;;=K29.70^^82^1036^11
+3 ;;^UTILITY(U,$J,358.3,23913,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,23913,1,3,0)
+6 ;;=3^Gastritis w/o Bleeding
+7 ;;^UTILITY(U,$J,358.3,23913,1,4,0)
+8 ;;=4^K29.70
+9 ;;^UTILITY(U,$J,358.3,23913,2)
+10 ;;=^5008552
+11 ;;^UTILITY(U,$J,358.3,23914,0)
+12 ;;=K29.90^^82^1036^12
+13 ;;^UTILITY(U,$J,358.3,23914,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,23914,1,3,0)
+16 ;;=3^Gastroduodenitis w/o Bleeding
+17 ;;^UTILITY(U,$J,358.3,23914,1,4,0)
+18 ;;=4^K29.90
+19 ;;^UTILITY(U,$J,358.3,23914,2)
+20 ;;=^5008556
+21 ;;^UTILITY(U,$J,358.3,23915,0)
+22 ;;=K52.9^^82^1036^19
+23 ;;^UTILITY(U,$J,358.3,23915,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,23915,1,3,0)
+26 ;;=3^Noninfect Gastroent & Colitis,Unspec
+27 ;;^UTILITY(U,$J,358.3,23915,1,4,0)
+28 ;;=4^K52.9
+29 ;;^UTILITY(U,$J,358.3,23915,2)
+30 ;;=^5008704
+31 ;;^UTILITY(U,$J,358.3,23916,0)
+32 ;;=K59.00^^82^1036^9
+33 ;;^UTILITY(U,$J,358.3,23916,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,23916,1,3,0)
+36 ;;=3^Constipation,Unspec
+37 ;;^UTILITY(U,$J,358.3,23916,1,4,0)
+38 ;;=4^K59.00
+39 ;;^UTILITY(U,$J,358.3,23916,2)
+40 ;;=^323537
+41 ;;^UTILITY(U,$J,358.3,23917,0)
+42 ;;=K58.9^^82^1036^18
+43 ;;^UTILITY(U,$J,358.3,23917,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,23917,1,3,0)
+46 ;;=3^IBS w/o Diarrhea
+47 ;;^UTILITY(U,$J,358.3,23917,1,4,0)
+48 ;;=4^K58.9
+49 ;;^UTILITY(U,$J,358.3,23917,2)
+50 ;;=^5008740
+51 ;;^UTILITY(U,$J,358.3,23918,0)
+52 ;;=K58.0^^82^1036^17
+53 ;;^UTILITY(U,$J,358.3,23918,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,23918,1,3,0)
+56 ;;=3^IBS w/ Diarrhea
+57 ;;^UTILITY(U,$J,358.3,23918,1,4,0)
+58 ;;=4^K58.0
+59 ;;^UTILITY(U,$J,358.3,23918,2)
+60 ;;=^5008739
+61 ;;^UTILITY(U,$J,358.3,23919,0)
+62 ;;=K74.60^^82^1036^6
+63 ;;^UTILITY(U,$J,358.3,23919,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,23919,1,3,0)
+66 ;;=3^Cirrhosis of Liver,Unspec
+67 ;;^UTILITY(U,$J,358.3,23919,1,4,0)
+68 ;;=4^K74.60
+69 ;;^UTILITY(U,$J,358.3,23919,2)
+70 ;;=^5008822
+71 ;;^UTILITY(U,$J,358.3,23920,0)
+72 ;;=R10.9^^82^1036^1
+73 ;;^UTILITY(U,$J,358.3,23920,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,23920,1,3,0)
+76 ;;=3^Abdominal Pain,Unspec
+77 ;;^UTILITY(U,$J,358.3,23920,1,4,0)
+78 ;;=4^R10.9
+79 ;;^UTILITY(U,$J,358.3,23920,2)
+80 ;;=^5019230
+81 ;;^UTILITY(U,$J,358.3,23921,0)
+82 ;;=R74.8^^82^1036^2
+83 ;;^UTILITY(U,$J,358.3,23921,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,23921,1,3,0)
+86 ;;=3^Abnormal Serum Enzyme Levels
+87 ;;^UTILITY(U,$J,358.3,23921,1,4,0)
+88 ;;=4^R74.8
+89 ;;^UTILITY(U,$J,358.3,23921,2)
+90 ;;=^5019566
+91 ;;^UTILITY(U,$J,358.3,23922,0)
+92 ;;=K92.1^^82^1036^13
+93 ;;^UTILITY(U,$J,358.3,23922,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,23922,1,3,0)
+96 ;;=3^Hematochezia/Melena
+97 ;;^UTILITY(U,$J,358.3,23922,1,4,0)
+98 ;;=4^K92.1
+99 ;;^UTILITY(U,$J,358.3,23922,2)
+100 ;;=^5008914
+101 ;;^UTILITY(U,$J,358.3,23923,0)
+102 ;;=R19.5^^82^1036^5
+103 ;;^UTILITY(U,$J,358.3,23923,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,23923,1,3,0)
+106 ;;=3^Blood in Stool
+107 ;;^UTILITY(U,$J,358.3,23923,1,4,0)
+108 ;;=4^R19.5
+109 ;;^UTILITY(U,$J,358.3,23923,2)
+110 ;;=^5019274
+111 ;;^UTILITY(U,$J,358.3,23924,0)
+112 ;;=K52.3^^82^1036^7
+113 ;;^UTILITY(U,$J,358.3,23924,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,23924,1,3,0)
+116 ;;=3^Colitis,Indeterminate
+117 ;;^UTILITY(U,$J,358.3,23924,1,4,0)
+118 ;;=4^K52.3
+119 ;;^UTILITY(U,$J,358.3,23924,2)
+120 ;;=^7357699
+121 ;;^UTILITY(U,$J,358.3,23925,0)
+122 ;;=K58.1^^82^1036^16
+123 ;;^UTILITY(U,$J,358.3,23925,1,0)
+124 ;;=^358.31IA^4^2
+125 ;;^UTILITY(U,$J,358.3,23925,1,3,0)
+126 ;;=3^IBS w/ Constipation
+127 ;;^UTILITY(U,$J,358.3,23925,1,4,0)
+128 ;;=4^K58.1