IBDEI3FN ; ; 19-NOV-2015
;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
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,99) S:$A(Y)=61 Y=$E(Y,2,999) X NO E S @X=Y
Q Q
;;^UTILITY(U,$J,358.3,57752,0)
;;=Z43.1^^270^2895^5
;;^UTILITY(U,$J,358.3,57752,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57752,1,3,0)
;;=3^Attention to Gastrostomy
;;^UTILITY(U,$J,358.3,57752,1,4,0)
;;=4^Z43.1
;;^UTILITY(U,$J,358.3,57752,2)
;;=^5062959
;;^UTILITY(U,$J,358.3,57753,0)
;;=Z43.2^^270^2895^6
;;^UTILITY(U,$J,358.3,57753,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57753,1,3,0)
;;=3^Attention to Ileostomy
;;^UTILITY(U,$J,358.3,57753,1,4,0)
;;=4^Z43.2
;;^UTILITY(U,$J,358.3,57753,2)
;;=^5062960
;;^UTILITY(U,$J,358.3,57754,0)
;;=Z43.6^^270^2895^11
;;^UTILITY(U,$J,358.3,57754,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57754,1,3,0)
;;=3^Attention to Urinostomy NEC
;;^UTILITY(U,$J,358.3,57754,1,4,0)
;;=4^Z43.6
;;^UTILITY(U,$J,358.3,57754,2)
;;=^5062964
;;^UTILITY(U,$J,358.3,57755,0)
;;=Z43.8^^270^2895^8
;;^UTILITY(U,$J,358.3,57755,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57755,1,3,0)
;;=3^Attention to Other Artificial Opening
;;^UTILITY(U,$J,358.3,57755,1,4,0)
;;=4^Z43.8
;;^UTILITY(U,$J,358.3,57755,2)
;;=^5062966
;;^UTILITY(U,$J,358.3,57756,0)
;;=Z43.9^^270^2895^10
;;^UTILITY(U,$J,358.3,57756,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57756,1,3,0)
;;=3^Attention to Unspec Artificial Opening
;;^UTILITY(U,$J,358.3,57756,1,4,0)
;;=4^Z43.9
;;^UTILITY(U,$J,358.3,57756,2)
;;=^5062967
;;^UTILITY(U,$J,358.3,57757,0)
;;=Z93.3^^270^2895^12
;;^UTILITY(U,$J,358.3,57757,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57757,1,3,0)
;;=3^Colostomy Status
;;^UTILITY(U,$J,358.3,57757,1,4,0)
;;=4^Z93.3
;;^UTILITY(U,$J,358.3,57757,2)
;;=^5063645
;;^UTILITY(U,$J,358.3,57758,0)
;;=Z43.4^^270^2895^7
;;^UTILITY(U,$J,358.3,57758,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57758,1,3,0)
;;=3^Attention to Oth Artif Opening of Digestive Tract
;;^UTILITY(U,$J,358.3,57758,1,4,0)
;;=4^Z43.4
;;^UTILITY(U,$J,358.3,57758,2)
;;=^5062962
;;^UTILITY(U,$J,358.3,57759,0)
;;=Z43.0^^270^2895^9
;;^UTILITY(U,$J,358.3,57759,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57759,1,3,0)
;;=3^Attention to Tracheostomy
;;^UTILITY(U,$J,358.3,57759,1,4,0)
;;=4^Z43.0
;;^UTILITY(U,$J,358.3,57759,2)
;;=^5062958
;;^UTILITY(U,$J,358.3,57760,0)
;;=Z46.59^^270^2895^13
;;^UTILITY(U,$J,358.3,57760,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57760,1,3,0)
;;=3^Fit/Adjust GI Appliance/Device
;;^UTILITY(U,$J,358.3,57760,1,4,0)
;;=4^Z46.59
;;^UTILITY(U,$J,358.3,57760,2)
;;=^5063019
;;^UTILITY(U,$J,358.3,57761,0)
;;=Z46.6^^270^2895^14
;;^UTILITY(U,$J,358.3,57761,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57761,1,3,0)
;;=3^Fit/Adjust Urinary Device
;;^UTILITY(U,$J,358.3,57761,1,4,0)
;;=4^Z46.6
;;^UTILITY(U,$J,358.3,57761,2)
;;=^5063020
;;^UTILITY(U,$J,358.3,57762,0)
;;=Z93.1^^270^2895^15
;;^UTILITY(U,$J,358.3,57762,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57762,1,3,0)
;;=3^Gastrostomy Status
;;^UTILITY(U,$J,358.3,57762,1,4,0)
;;=4^Z93.1
;;^UTILITY(U,$J,358.3,57762,2)
;;=^5063643
;;^UTILITY(U,$J,358.3,57763,0)
;;=Z93.2^^270^2895^16
;;^UTILITY(U,$J,358.3,57763,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57763,1,3,0)
;;=3^Ileostomy Status
;;^UTILITY(U,$J,358.3,57763,1,4,0)
;;=4^Z93.2
;;^UTILITY(U,$J,358.3,57763,2)
;;=^5063644
;;^UTILITY(U,$J,358.3,57764,0)
;;=Z93.4^^270^2895^1
;;^UTILITY(U,$J,358.3,57764,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57764,1,3,0)
;;=3^Artificial Opening Gastrointestinal Tract Status
;;^UTILITY(U,$J,358.3,57764,1,4,0)
;;=4^Z93.4
;;^UTILITY(U,$J,358.3,57764,2)
;;=^5063646
;;^UTILITY(U,$J,358.3,57765,0)
;;=Z93.6^^270^2895^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3FN 3971 printed Nov 22, 2024@17:57:59 Page 2
IBDEI3FN ; ; 19-NOV-2015
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;JUN 29, 2015
+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,99)
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,57752,0)
+2 ;;=Z43.1^^270^2895^5
+3 ;;^UTILITY(U,$J,358.3,57752,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,57752,1,3,0)
+6 ;;=3^Attention to Gastrostomy
+7 ;;^UTILITY(U,$J,358.3,57752,1,4,0)
+8 ;;=4^Z43.1
+9 ;;^UTILITY(U,$J,358.3,57752,2)
+10 ;;=^5062959
+11 ;;^UTILITY(U,$J,358.3,57753,0)
+12 ;;=Z43.2^^270^2895^6
+13 ;;^UTILITY(U,$J,358.3,57753,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,57753,1,3,0)
+16 ;;=3^Attention to Ileostomy
+17 ;;^UTILITY(U,$J,358.3,57753,1,4,0)
+18 ;;=4^Z43.2
+19 ;;^UTILITY(U,$J,358.3,57753,2)
+20 ;;=^5062960
+21 ;;^UTILITY(U,$J,358.3,57754,0)
+22 ;;=Z43.6^^270^2895^11
+23 ;;^UTILITY(U,$J,358.3,57754,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,57754,1,3,0)
+26 ;;=3^Attention to Urinostomy NEC
+27 ;;^UTILITY(U,$J,358.3,57754,1,4,0)
+28 ;;=4^Z43.6
+29 ;;^UTILITY(U,$J,358.3,57754,2)
+30 ;;=^5062964
+31 ;;^UTILITY(U,$J,358.3,57755,0)
+32 ;;=Z43.8^^270^2895^8
+33 ;;^UTILITY(U,$J,358.3,57755,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,57755,1,3,0)
+36 ;;=3^Attention to Other Artificial Opening
+37 ;;^UTILITY(U,$J,358.3,57755,1,4,0)
+38 ;;=4^Z43.8
+39 ;;^UTILITY(U,$J,358.3,57755,2)
+40 ;;=^5062966
+41 ;;^UTILITY(U,$J,358.3,57756,0)
+42 ;;=Z43.9^^270^2895^10
+43 ;;^UTILITY(U,$J,358.3,57756,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,57756,1,3,0)
+46 ;;=3^Attention to Unspec Artificial Opening
+47 ;;^UTILITY(U,$J,358.3,57756,1,4,0)
+48 ;;=4^Z43.9
+49 ;;^UTILITY(U,$J,358.3,57756,2)
+50 ;;=^5062967
+51 ;;^UTILITY(U,$J,358.3,57757,0)
+52 ;;=Z93.3^^270^2895^12
+53 ;;^UTILITY(U,$J,358.3,57757,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,57757,1,3,0)
+56 ;;=3^Colostomy Status
+57 ;;^UTILITY(U,$J,358.3,57757,1,4,0)
+58 ;;=4^Z93.3
+59 ;;^UTILITY(U,$J,358.3,57757,2)
+60 ;;=^5063645
+61 ;;^UTILITY(U,$J,358.3,57758,0)
+62 ;;=Z43.4^^270^2895^7
+63 ;;^UTILITY(U,$J,358.3,57758,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,57758,1,3,0)
+66 ;;=3^Attention to Oth Artif Opening of Digestive Tract
+67 ;;^UTILITY(U,$J,358.3,57758,1,4,0)
+68 ;;=4^Z43.4
+69 ;;^UTILITY(U,$J,358.3,57758,2)
+70 ;;=^5062962
+71 ;;^UTILITY(U,$J,358.3,57759,0)
+72 ;;=Z43.0^^270^2895^9
+73 ;;^UTILITY(U,$J,358.3,57759,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,57759,1,3,0)
+76 ;;=3^Attention to Tracheostomy
+77 ;;^UTILITY(U,$J,358.3,57759,1,4,0)
+78 ;;=4^Z43.0
+79 ;;^UTILITY(U,$J,358.3,57759,2)
+80 ;;=^5062958
+81 ;;^UTILITY(U,$J,358.3,57760,0)
+82 ;;=Z46.59^^270^2895^13
+83 ;;^UTILITY(U,$J,358.3,57760,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,57760,1,3,0)
+86 ;;=3^Fit/Adjust GI Appliance/Device
+87 ;;^UTILITY(U,$J,358.3,57760,1,4,0)
+88 ;;=4^Z46.59
+89 ;;^UTILITY(U,$J,358.3,57760,2)
+90 ;;=^5063019
+91 ;;^UTILITY(U,$J,358.3,57761,0)
+92 ;;=Z46.6^^270^2895^14
+93 ;;^UTILITY(U,$J,358.3,57761,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,57761,1,3,0)
+96 ;;=3^Fit/Adjust Urinary Device
+97 ;;^UTILITY(U,$J,358.3,57761,1,4,0)
+98 ;;=4^Z46.6
+99 ;;^UTILITY(U,$J,358.3,57761,2)
+100 ;;=^5063020
+101 ;;^UTILITY(U,$J,358.3,57762,0)
+102 ;;=Z93.1^^270^2895^15
+103 ;;^UTILITY(U,$J,358.3,57762,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,57762,1,3,0)
+106 ;;=3^Gastrostomy Status
+107 ;;^UTILITY(U,$J,358.3,57762,1,4,0)
+108 ;;=4^Z93.1
+109 ;;^UTILITY(U,$J,358.3,57762,2)
+110 ;;=^5063643
+111 ;;^UTILITY(U,$J,358.3,57763,0)
+112 ;;=Z93.2^^270^2895^16
+113 ;;^UTILITY(U,$J,358.3,57763,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,57763,1,3,0)
+116 ;;=3^Ileostomy Status
+117 ;;^UTILITY(U,$J,358.3,57763,1,4,0)
+118 ;;=4^Z93.2
+119 ;;^UTILITY(U,$J,358.3,57763,2)
+120 ;;=^5063644
+121 ;;^UTILITY(U,$J,358.3,57764,0)
+122 ;;=Z93.4^^270^2895^1
+123 ;;^UTILITY(U,$J,358.3,57764,1,0)
+124 ;;=^358.31IA^4^2
+125 ;;^UTILITY(U,$J,358.3,57764,1,3,0)
+126 ;;=3^Artificial Opening Gastrointestinal Tract Status
+127 ;;^UTILITY(U,$J,358.3,57764,1,4,0)
+128 ;;=4^Z93.4
+129 ;;^UTILITY(U,$J,358.3,57764,2)
+130 ;;=^5063646
+131 ;;^UTILITY(U,$J,358.3,57765,0)
+132 ;;=Z93.6^^270^2895^2