IBDEI33S ; ; 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,49563,1,3,0)
;;=3^Gastrointestinal Hemorrhage,Unspec
;;^UTILITY(U,$J,358.3,49563,1,4,0)
;;=4^K92.2
;;^UTILITY(U,$J,358.3,49563,2)
;;=^5008915
;;^UTILITY(U,$J,358.3,49564,0)
;;=R10.9^^191^2471^1
;;^UTILITY(U,$J,358.3,49564,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49564,1,3,0)
;;=3^Abdominal Pain,Unspec
;;^UTILITY(U,$J,358.3,49564,1,4,0)
;;=4^R10.9
;;^UTILITY(U,$J,358.3,49564,2)
;;=^5019230
;;^UTILITY(U,$J,358.3,49565,0)
;;=R13.10^^191^2471^6
;;^UTILITY(U,$J,358.3,49565,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49565,1,3,0)
;;=3^Dysphagia,Unspec
;;^UTILITY(U,$J,358.3,49565,1,4,0)
;;=4^R13.10
;;^UTILITY(U,$J,358.3,49565,2)
;;=^335307
;;^UTILITY(U,$J,358.3,49566,0)
;;=R63.4^^191^2471^2
;;^UTILITY(U,$J,358.3,49566,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49566,1,3,0)
;;=3^Abnormal Weight Loss
;;^UTILITY(U,$J,358.3,49566,1,4,0)
;;=4^R63.4
;;^UTILITY(U,$J,358.3,49566,2)
;;=^5019542
;;^UTILITY(U,$J,358.3,49567,0)
;;=R18.8^^191^2471^3
;;^UTILITY(U,$J,358.3,49567,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49567,1,3,0)
;;=3^Ascites
;;^UTILITY(U,$J,358.3,49567,1,4,0)
;;=4^R18.8
;;^UTILITY(U,$J,358.3,49567,2)
;;=^5019253
;;^UTILITY(U,$J,358.3,49568,0)
;;=K59.00^^191^2471^4
;;^UTILITY(U,$J,358.3,49568,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49568,1,3,0)
;;=3^Constipation,Unspec
;;^UTILITY(U,$J,358.3,49568,1,4,0)
;;=4^K59.00
;;^UTILITY(U,$J,358.3,49568,2)
;;=^323537
;;^UTILITY(U,$J,358.3,49569,0)
;;=R19.7^^191^2471^5
;;^UTILITY(U,$J,358.3,49569,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49569,1,3,0)
;;=3^Diarrhea,Unspec
;;^UTILITY(U,$J,358.3,49569,1,4,0)
;;=4^R19.7
;;^UTILITY(U,$J,358.3,49569,2)
;;=^5019276
;;^UTILITY(U,$J,358.3,49570,0)
;;=R11.10^^191^2471^13
;;^UTILITY(U,$J,358.3,49570,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49570,1,3,0)
;;=3^Vomiting,Unspec
;;^UTILITY(U,$J,358.3,49570,1,4,0)
;;=4^R11.10
;;^UTILITY(U,$J,358.3,49570,2)
;;=^5019232
;;^UTILITY(U,$J,358.3,49571,0)
;;=R11.11^^191^2471^12
;;^UTILITY(U,$J,358.3,49571,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49571,1,3,0)
;;=3^Vomiting w/o Nausea
;;^UTILITY(U,$J,358.3,49571,1,4,0)
;;=4^R11.11
;;^UTILITY(U,$J,358.3,49571,2)
;;=^5019233
;;^UTILITY(U,$J,358.3,49572,0)
;;=R11.0^^191^2471^11
;;^UTILITY(U,$J,358.3,49572,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49572,1,3,0)
;;=3^Nausea
;;^UTILITY(U,$J,358.3,49572,1,4,0)
;;=4^R11.0
;;^UTILITY(U,$J,358.3,49572,2)
;;=^5019231
;;^UTILITY(U,$J,358.3,49573,0)
;;=K56.600^^191^2471^9
;;^UTILITY(U,$J,358.3,49573,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49573,1,3,0)
;;=3^Intestinal Obstruction,Partial,Cause Unspec
;;^UTILITY(U,$J,358.3,49573,1,4,0)
;;=4^K56.600
;;^UTILITY(U,$J,358.3,49573,2)
;;=^5151421
;;^UTILITY(U,$J,358.3,49574,0)
;;=K56.601^^191^2471^8
;;^UTILITY(U,$J,358.3,49574,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49574,1,3,0)
;;=3^Intestinal Obstruction,Complete,Cause Unspec
;;^UTILITY(U,$J,358.3,49574,1,4,0)
;;=4^K56.601
;;^UTILITY(U,$J,358.3,49574,2)
;;=^5151422
;;^UTILITY(U,$J,358.3,49575,0)
;;=K56.609^^191^2471^10
;;^UTILITY(U,$J,358.3,49575,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,49575,1,3,0)
;;=3^Intestinal Obstruction,Unspec Type
;;^UTILITY(U,$J,358.3,49575,1,4,0)
;;=4^K56.609
;;^UTILITY(U,$J,358.3,49575,2)
;;=^5151423
;;^UTILITY(U,$J,358.3,49576,0)
;;=K74.60^^191^2472^3
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI33S 3794 printed Dec 13, 2024@02:41:14 Page 2
IBDEI33S ; ; 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,49563,1,3,0)
+2 ;;=3^Gastrointestinal Hemorrhage,Unspec
+3 ;;^UTILITY(U,$J,358.3,49563,1,4,0)
+4 ;;=4^K92.2
+5 ;;^UTILITY(U,$J,358.3,49563,2)
+6 ;;=^5008915
+7 ;;^UTILITY(U,$J,358.3,49564,0)
+8 ;;=R10.9^^191^2471^1
+9 ;;^UTILITY(U,$J,358.3,49564,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,49564,1,3,0)
+12 ;;=3^Abdominal Pain,Unspec
+13 ;;^UTILITY(U,$J,358.3,49564,1,4,0)
+14 ;;=4^R10.9
+15 ;;^UTILITY(U,$J,358.3,49564,2)
+16 ;;=^5019230
+17 ;;^UTILITY(U,$J,358.3,49565,0)
+18 ;;=R13.10^^191^2471^6
+19 ;;^UTILITY(U,$J,358.3,49565,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,49565,1,3,0)
+22 ;;=3^Dysphagia,Unspec
+23 ;;^UTILITY(U,$J,358.3,49565,1,4,0)
+24 ;;=4^R13.10
+25 ;;^UTILITY(U,$J,358.3,49565,2)
+26 ;;=^335307
+27 ;;^UTILITY(U,$J,358.3,49566,0)
+28 ;;=R63.4^^191^2471^2
+29 ;;^UTILITY(U,$J,358.3,49566,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,49566,1,3,0)
+32 ;;=3^Abnormal Weight Loss
+33 ;;^UTILITY(U,$J,358.3,49566,1,4,0)
+34 ;;=4^R63.4
+35 ;;^UTILITY(U,$J,358.3,49566,2)
+36 ;;=^5019542
+37 ;;^UTILITY(U,$J,358.3,49567,0)
+38 ;;=R18.8^^191^2471^3
+39 ;;^UTILITY(U,$J,358.3,49567,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,49567,1,3,0)
+42 ;;=3^Ascites
+43 ;;^UTILITY(U,$J,358.3,49567,1,4,0)
+44 ;;=4^R18.8
+45 ;;^UTILITY(U,$J,358.3,49567,2)
+46 ;;=^5019253
+47 ;;^UTILITY(U,$J,358.3,49568,0)
+48 ;;=K59.00^^191^2471^4
+49 ;;^UTILITY(U,$J,358.3,49568,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,49568,1,3,0)
+52 ;;=3^Constipation,Unspec
+53 ;;^UTILITY(U,$J,358.3,49568,1,4,0)
+54 ;;=4^K59.00
+55 ;;^UTILITY(U,$J,358.3,49568,2)
+56 ;;=^323537
+57 ;;^UTILITY(U,$J,358.3,49569,0)
+58 ;;=R19.7^^191^2471^5
+59 ;;^UTILITY(U,$J,358.3,49569,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,49569,1,3,0)
+62 ;;=3^Diarrhea,Unspec
+63 ;;^UTILITY(U,$J,358.3,49569,1,4,0)
+64 ;;=4^R19.7
+65 ;;^UTILITY(U,$J,358.3,49569,2)
+66 ;;=^5019276
+67 ;;^UTILITY(U,$J,358.3,49570,0)
+68 ;;=R11.10^^191^2471^13
+69 ;;^UTILITY(U,$J,358.3,49570,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,49570,1,3,0)
+72 ;;=3^Vomiting,Unspec
+73 ;;^UTILITY(U,$J,358.3,49570,1,4,0)
+74 ;;=4^R11.10
+75 ;;^UTILITY(U,$J,358.3,49570,2)
+76 ;;=^5019232
+77 ;;^UTILITY(U,$J,358.3,49571,0)
+78 ;;=R11.11^^191^2471^12
+79 ;;^UTILITY(U,$J,358.3,49571,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,49571,1,3,0)
+82 ;;=3^Vomiting w/o Nausea
+83 ;;^UTILITY(U,$J,358.3,49571,1,4,0)
+84 ;;=4^R11.11
+85 ;;^UTILITY(U,$J,358.3,49571,2)
+86 ;;=^5019233
+87 ;;^UTILITY(U,$J,358.3,49572,0)
+88 ;;=R11.0^^191^2471^11
+89 ;;^UTILITY(U,$J,358.3,49572,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,49572,1,3,0)
+92 ;;=3^Nausea
+93 ;;^UTILITY(U,$J,358.3,49572,1,4,0)
+94 ;;=4^R11.0
+95 ;;^UTILITY(U,$J,358.3,49572,2)
+96 ;;=^5019231
+97 ;;^UTILITY(U,$J,358.3,49573,0)
+98 ;;=K56.600^^191^2471^9
+99 ;;^UTILITY(U,$J,358.3,49573,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,49573,1,3,0)
+102 ;;=3^Intestinal Obstruction,Partial,Cause Unspec
+103 ;;^UTILITY(U,$J,358.3,49573,1,4,0)
+104 ;;=4^K56.600
+105 ;;^UTILITY(U,$J,358.3,49573,2)
+106 ;;=^5151421
+107 ;;^UTILITY(U,$J,358.3,49574,0)
+108 ;;=K56.601^^191^2471^8
+109 ;;^UTILITY(U,$J,358.3,49574,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,49574,1,3,0)
+112 ;;=3^Intestinal Obstruction,Complete,Cause Unspec
+113 ;;^UTILITY(U,$J,358.3,49574,1,4,0)
+114 ;;=4^K56.601
+115 ;;^UTILITY(U,$J,358.3,49574,2)
+116 ;;=^5151422
+117 ;;^UTILITY(U,$J,358.3,49575,0)
+118 ;;=K56.609^^191^2471^10
+119 ;;^UTILITY(U,$J,358.3,49575,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,49575,1,3,0)
+122 ;;=3^Intestinal Obstruction,Unspec Type
+123 ;;^UTILITY(U,$J,358.3,49575,1,4,0)
+124 ;;=4^K56.609
+125 ;;^UTILITY(U,$J,358.3,49575,2)
+126 ;;=^5151423
+127 ;;^UTILITY(U,$J,358.3,49576,0)
+128 ;;=K74.60^^191^2472^3