IBDEI0S2 ; ; 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,12632,0)
;;=Z93.1^^49^613^12
;;^UTILITY(U,$J,358.3,12632,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12632,1,3,0)
;;=3^Gastrostomy Status
;;^UTILITY(U,$J,358.3,12632,1,4,0)
;;=4^Z93.1
;;^UTILITY(U,$J,358.3,12632,2)
;;=^5063643
;;^UTILITY(U,$J,358.3,12633,0)
;;=Z93.2^^49^613^13
;;^UTILITY(U,$J,358.3,12633,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12633,1,3,0)
;;=3^Ileostomy Status
;;^UTILITY(U,$J,358.3,12633,1,4,0)
;;=4^Z93.2
;;^UTILITY(U,$J,358.3,12633,2)
;;=^5063644
;;^UTILITY(U,$J,358.3,12634,0)
;;=Z93.59^^49^613^11
;;^UTILITY(U,$J,358.3,12634,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12634,1,3,0)
;;=3^Cystostomy Status,Other
;;^UTILITY(U,$J,358.3,12634,1,4,0)
;;=4^Z93.59
;;^UTILITY(U,$J,358.3,12634,2)
;;=^5063650
;;^UTILITY(U,$J,358.3,12635,0)
;;=Z93.0^^49^613^14
;;^UTILITY(U,$J,358.3,12635,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12635,1,3,0)
;;=3^Tracheostomy Status
;;^UTILITY(U,$J,358.3,12635,1,4,0)
;;=4^Z93.0
;;^UTILITY(U,$J,358.3,12635,2)
;;=^5063642
;;^UTILITY(U,$J,358.3,12636,0)
;;=Z43.4^^49^613^2
;;^UTILITY(U,$J,358.3,12636,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12636,1,3,0)
;;=3^Attention to Artif Opening of Digestive Tract NEC
;;^UTILITY(U,$J,358.3,12636,1,4,0)
;;=4^Z43.4
;;^UTILITY(U,$J,358.3,12636,2)
;;=^5062962
;;^UTILITY(U,$J,358.3,12637,0)
;;=Z43.3^^49^613^4
;;^UTILITY(U,$J,358.3,12637,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12637,1,3,0)
;;=3^Attention to Colostomy
;;^UTILITY(U,$J,358.3,12637,1,4,0)
;;=4^Z43.3
;;^UTILITY(U,$J,358.3,12637,2)
;;=^5062961
;;^UTILITY(U,$J,358.3,12638,0)
;;=Z43.6^^49^613^3
;;^UTILITY(U,$J,358.3,12638,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12638,1,3,0)
;;=3^Attention to Artif Opening of Urinary Tract NEC
;;^UTILITY(U,$J,358.3,12638,1,4,0)
;;=4^Z43.6
;;^UTILITY(U,$J,358.3,12638,2)
;;=^5062964
;;^UTILITY(U,$J,358.3,12639,0)
;;=Z43.5^^49^613^5
;;^UTILITY(U,$J,358.3,12639,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12639,1,3,0)
;;=3^Attention to Cystostomy
;;^UTILITY(U,$J,358.3,12639,1,4,0)
;;=4^Z43.5
;;^UTILITY(U,$J,358.3,12639,2)
;;=^5062963
;;^UTILITY(U,$J,358.3,12640,0)
;;=Z43.1^^49^613^6
;;^UTILITY(U,$J,358.3,12640,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12640,1,3,0)
;;=3^Attention to Gastrostomy
;;^UTILITY(U,$J,358.3,12640,1,4,0)
;;=4^Z43.1
;;^UTILITY(U,$J,358.3,12640,2)
;;=^5062959
;;^UTILITY(U,$J,358.3,12641,0)
;;=Z43.2^^49^613^7
;;^UTILITY(U,$J,358.3,12641,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12641,1,3,0)
;;=3^Attention to Ileostomy
;;^UTILITY(U,$J,358.3,12641,1,4,0)
;;=4^Z43.2
;;^UTILITY(U,$J,358.3,12641,2)
;;=^5062960
;;^UTILITY(U,$J,358.3,12642,0)
;;=Z43.0^^49^613^8
;;^UTILITY(U,$J,358.3,12642,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12642,1,3,0)
;;=3^Attention to Tracheostomy
;;^UTILITY(U,$J,358.3,12642,1,4,0)
;;=4^Z43.0
;;^UTILITY(U,$J,358.3,12642,2)
;;=^5062958
;;^UTILITY(U,$J,358.3,12643,0)
;;=Z03.818^^49^614^2
;;^UTILITY(U,$J,358.3,12643,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12643,1,3,0)
;;=3^Obs Susp Expsr to Oth Biolog Agents Ruled Out
;;^UTILITY(U,$J,358.3,12643,1,4,0)
;;=4^Z03.818
;;^UTILITY(U,$J,358.3,12643,2)
;;=^5062655
;;^UTILITY(U,$J,358.3,12644,0)
;;=Z20.828^^49^614^1
;;^UTILITY(U,$J,358.3,12644,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,12644,1,3,0)
;;=3^Contact w/ & Exposure to Oth Viral Communicalbe Diseases
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0S2 3810 printed Dec 13, 2024@01:54:40 Page 2
IBDEI0S2 ; ; 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,12632,0)
+2 ;;=Z93.1^^49^613^12
+3 ;;^UTILITY(U,$J,358.3,12632,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,12632,1,3,0)
+6 ;;=3^Gastrostomy Status
+7 ;;^UTILITY(U,$J,358.3,12632,1,4,0)
+8 ;;=4^Z93.1
+9 ;;^UTILITY(U,$J,358.3,12632,2)
+10 ;;=^5063643
+11 ;;^UTILITY(U,$J,358.3,12633,0)
+12 ;;=Z93.2^^49^613^13
+13 ;;^UTILITY(U,$J,358.3,12633,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,12633,1,3,0)
+16 ;;=3^Ileostomy Status
+17 ;;^UTILITY(U,$J,358.3,12633,1,4,0)
+18 ;;=4^Z93.2
+19 ;;^UTILITY(U,$J,358.3,12633,2)
+20 ;;=^5063644
+21 ;;^UTILITY(U,$J,358.3,12634,0)
+22 ;;=Z93.59^^49^613^11
+23 ;;^UTILITY(U,$J,358.3,12634,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,12634,1,3,0)
+26 ;;=3^Cystostomy Status,Other
+27 ;;^UTILITY(U,$J,358.3,12634,1,4,0)
+28 ;;=4^Z93.59
+29 ;;^UTILITY(U,$J,358.3,12634,2)
+30 ;;=^5063650
+31 ;;^UTILITY(U,$J,358.3,12635,0)
+32 ;;=Z93.0^^49^613^14
+33 ;;^UTILITY(U,$J,358.3,12635,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,12635,1,3,0)
+36 ;;=3^Tracheostomy Status
+37 ;;^UTILITY(U,$J,358.3,12635,1,4,0)
+38 ;;=4^Z93.0
+39 ;;^UTILITY(U,$J,358.3,12635,2)
+40 ;;=^5063642
+41 ;;^UTILITY(U,$J,358.3,12636,0)
+42 ;;=Z43.4^^49^613^2
+43 ;;^UTILITY(U,$J,358.3,12636,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,12636,1,3,0)
+46 ;;=3^Attention to Artif Opening of Digestive Tract NEC
+47 ;;^UTILITY(U,$J,358.3,12636,1,4,0)
+48 ;;=4^Z43.4
+49 ;;^UTILITY(U,$J,358.3,12636,2)
+50 ;;=^5062962
+51 ;;^UTILITY(U,$J,358.3,12637,0)
+52 ;;=Z43.3^^49^613^4
+53 ;;^UTILITY(U,$J,358.3,12637,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,12637,1,3,0)
+56 ;;=3^Attention to Colostomy
+57 ;;^UTILITY(U,$J,358.3,12637,1,4,0)
+58 ;;=4^Z43.3
+59 ;;^UTILITY(U,$J,358.3,12637,2)
+60 ;;=^5062961
+61 ;;^UTILITY(U,$J,358.3,12638,0)
+62 ;;=Z43.6^^49^613^3
+63 ;;^UTILITY(U,$J,358.3,12638,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,12638,1,3,0)
+66 ;;=3^Attention to Artif Opening of Urinary Tract NEC
+67 ;;^UTILITY(U,$J,358.3,12638,1,4,0)
+68 ;;=4^Z43.6
+69 ;;^UTILITY(U,$J,358.3,12638,2)
+70 ;;=^5062964
+71 ;;^UTILITY(U,$J,358.3,12639,0)
+72 ;;=Z43.5^^49^613^5
+73 ;;^UTILITY(U,$J,358.3,12639,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,12639,1,3,0)
+76 ;;=3^Attention to Cystostomy
+77 ;;^UTILITY(U,$J,358.3,12639,1,4,0)
+78 ;;=4^Z43.5
+79 ;;^UTILITY(U,$J,358.3,12639,2)
+80 ;;=^5062963
+81 ;;^UTILITY(U,$J,358.3,12640,0)
+82 ;;=Z43.1^^49^613^6
+83 ;;^UTILITY(U,$J,358.3,12640,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,12640,1,3,0)
+86 ;;=3^Attention to Gastrostomy
+87 ;;^UTILITY(U,$J,358.3,12640,1,4,0)
+88 ;;=4^Z43.1
+89 ;;^UTILITY(U,$J,358.3,12640,2)
+90 ;;=^5062959
+91 ;;^UTILITY(U,$J,358.3,12641,0)
+92 ;;=Z43.2^^49^613^7
+93 ;;^UTILITY(U,$J,358.3,12641,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,12641,1,3,0)
+96 ;;=3^Attention to Ileostomy
+97 ;;^UTILITY(U,$J,358.3,12641,1,4,0)
+98 ;;=4^Z43.2
+99 ;;^UTILITY(U,$J,358.3,12641,2)
+100 ;;=^5062960
+101 ;;^UTILITY(U,$J,358.3,12642,0)
+102 ;;=Z43.0^^49^613^8
+103 ;;^UTILITY(U,$J,358.3,12642,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,12642,1,3,0)
+106 ;;=3^Attention to Tracheostomy
+107 ;;^UTILITY(U,$J,358.3,12642,1,4,0)
+108 ;;=4^Z43.0
+109 ;;^UTILITY(U,$J,358.3,12642,2)
+110 ;;=^5062958
+111 ;;^UTILITY(U,$J,358.3,12643,0)
+112 ;;=Z03.818^^49^614^2
+113 ;;^UTILITY(U,$J,358.3,12643,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,12643,1,3,0)
+116 ;;=3^Obs Susp Expsr to Oth Biolog Agents Ruled Out
+117 ;;^UTILITY(U,$J,358.3,12643,1,4,0)
+118 ;;=4^Z03.818
+119 ;;^UTILITY(U,$J,358.3,12643,2)
+120 ;;=^5062655
+121 ;;^UTILITY(U,$J,358.3,12644,0)
+122 ;;=Z20.828^^49^614^1
+123 ;;^UTILITY(U,$J,358.3,12644,1,0)
+124 ;;=^358.31IA^4^2
+125 ;;^UTILITY(U,$J,358.3,12644,1,3,0)
+126 ;;=3^Contact w/ & Exposure to Oth Viral Communicalbe Diseases