IBDEI3FK ; ; 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,57714,1,3,0)
;;=3^Complications of Procedures NEC,Init Encntr
;;^UTILITY(U,$J,358.3,57714,1,4,0)
;;=4^T81.89XA
;;^UTILITY(U,$J,358.3,57714,2)
;;=^5054662
;;^UTILITY(U,$J,358.3,57715,0)
;;=L12.8^^270^2894^45
;;^UTILITY(U,$J,358.3,57715,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57715,1,3,0)
;;=3^Pemphigoid,Other
;;^UTILITY(U,$J,358.3,57715,1,4,0)
;;=4^L12.8
;;^UTILITY(U,$J,358.3,57715,2)
;;=^5009101
;;^UTILITY(U,$J,358.3,57716,0)
;;=L88.^^270^2894^46
;;^UTILITY(U,$J,358.3,57716,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57716,1,3,0)
;;=3^Pyoderma Gangrenosum
;;^UTILITY(U,$J,358.3,57716,1,4,0)
;;=4^L88.
;;^UTILITY(U,$J,358.3,57716,2)
;;=^186812
;;^UTILITY(U,$J,358.3,57717,0)
;;=S91.002A^^270^2894^29
;;^UTILITY(U,$J,358.3,57717,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57717,1,3,0)
;;=3^Open Wound,Left Ankle,Init Encntr
;;^UTILITY(U,$J,358.3,57717,1,4,0)
;;=4^S91.002A
;;^UTILITY(U,$J,358.3,57717,2)
;;=^5044132
;;^UTILITY(U,$J,358.3,57718,0)
;;=S91.302A^^270^2894^31
;;^UTILITY(U,$J,358.3,57718,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57718,1,3,0)
;;=3^Open Wound,Left Foot,Init Encntr
;;^UTILITY(U,$J,358.3,57718,1,4,0)
;;=4^S91.302A
;;^UTILITY(U,$J,358.3,57718,2)
;;=^5044317
;;^UTILITY(U,$J,358.3,57719,0)
;;=S81.002A^^270^2894^33
;;^UTILITY(U,$J,358.3,57719,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57719,1,3,0)
;;=3^Open Wound,Left Knee,Init Encntr
;;^UTILITY(U,$J,358.3,57719,1,4,0)
;;=4^S81.002A
;;^UTILITY(U,$J,358.3,57719,2)
;;=^5040029
;;^UTILITY(U,$J,358.3,57720,0)
;;=S81.802A^^270^2894^35
;;^UTILITY(U,$J,358.3,57720,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57720,1,3,0)
;;=3^Open Wound,Left Lower Leg,Init Encntr
;;^UTILITY(U,$J,358.3,57720,1,4,0)
;;=4^S81.802A
;;^UTILITY(U,$J,358.3,57720,2)
;;=^5040068
;;^UTILITY(U,$J,358.3,57721,0)
;;=S91.001A^^270^2894^37
;;^UTILITY(U,$J,358.3,57721,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57721,1,3,0)
;;=3^Open Wound,Right Ankle,Init Encntr
;;^UTILITY(U,$J,358.3,57721,1,4,0)
;;=4^S91.001A
;;^UTILITY(U,$J,358.3,57721,2)
;;=^5044129
;;^UTILITY(U,$J,358.3,57722,0)
;;=S91.301A^^270^2894^39
;;^UTILITY(U,$J,358.3,57722,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57722,1,3,0)
;;=3^Open Wound,Right Foot,Init Encntr
;;^UTILITY(U,$J,358.3,57722,1,4,0)
;;=4^S91.301A
;;^UTILITY(U,$J,358.3,57722,2)
;;=^5044314
;;^UTILITY(U,$J,358.3,57723,0)
;;=S81.001A^^270^2894^41
;;^UTILITY(U,$J,358.3,57723,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57723,1,3,0)
;;=3^Open Wound,Right Knee,Init Encntr
;;^UTILITY(U,$J,358.3,57723,1,4,0)
;;=4^S81.001A
;;^UTILITY(U,$J,358.3,57723,2)
;;=^5040026
;;^UTILITY(U,$J,358.3,57724,0)
;;=S81.801A^^270^2894^43
;;^UTILITY(U,$J,358.3,57724,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57724,1,3,0)
;;=3^Open Wound,Right Lower Leg,Init Encntr
;;^UTILITY(U,$J,358.3,57724,1,4,0)
;;=4^S81.801A
;;^UTILITY(U,$J,358.3,57724,2)
;;=^5040065
;;^UTILITY(U,$J,358.3,57725,0)
;;=I83.892^^270^2894^48
;;^UTILITY(U,$J,358.3,57725,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57725,1,3,0)
;;=3^Varicose Veins,Left Lower Extrem w/ Oth Complications
;;^UTILITY(U,$J,358.3,57725,1,4,0)
;;=4^I83.892
;;^UTILITY(U,$J,358.3,57725,2)
;;=^5008016
;;^UTILITY(U,$J,358.3,57726,0)
;;=I83.229^^270^2894^49
;;^UTILITY(U,$J,358.3,57726,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57726,1,3,0)
;;=3^Varicose Veins,Left Lower Extrem w/ Ulcer & Inflam Unspec Site
;;^UTILITY(U,$J,358.3,57726,1,4,0)
;;=4^I83.229
;;^UTILITY(U,$J,358.3,57726,2)
;;=^5008010
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3FK 3955 printed Dec 13, 2024@02:47:48 Page 2
IBDEI3FK ; ; 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,57714,1,3,0)
+2 ;;=3^Complications of Procedures NEC,Init Encntr
+3 ;;^UTILITY(U,$J,358.3,57714,1,4,0)
+4 ;;=4^T81.89XA
+5 ;;^UTILITY(U,$J,358.3,57714,2)
+6 ;;=^5054662
+7 ;;^UTILITY(U,$J,358.3,57715,0)
+8 ;;=L12.8^^270^2894^45
+9 ;;^UTILITY(U,$J,358.3,57715,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,57715,1,3,0)
+12 ;;=3^Pemphigoid,Other
+13 ;;^UTILITY(U,$J,358.3,57715,1,4,0)
+14 ;;=4^L12.8
+15 ;;^UTILITY(U,$J,358.3,57715,2)
+16 ;;=^5009101
+17 ;;^UTILITY(U,$J,358.3,57716,0)
+18 ;;=L88.^^270^2894^46
+19 ;;^UTILITY(U,$J,358.3,57716,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,57716,1,3,0)
+22 ;;=3^Pyoderma Gangrenosum
+23 ;;^UTILITY(U,$J,358.3,57716,1,4,0)
+24 ;;=4^L88.
+25 ;;^UTILITY(U,$J,358.3,57716,2)
+26 ;;=^186812
+27 ;;^UTILITY(U,$J,358.3,57717,0)
+28 ;;=S91.002A^^270^2894^29
+29 ;;^UTILITY(U,$J,358.3,57717,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,57717,1,3,0)
+32 ;;=3^Open Wound,Left Ankle,Init Encntr
+33 ;;^UTILITY(U,$J,358.3,57717,1,4,0)
+34 ;;=4^S91.002A
+35 ;;^UTILITY(U,$J,358.3,57717,2)
+36 ;;=^5044132
+37 ;;^UTILITY(U,$J,358.3,57718,0)
+38 ;;=S91.302A^^270^2894^31
+39 ;;^UTILITY(U,$J,358.3,57718,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,57718,1,3,0)
+42 ;;=3^Open Wound,Left Foot,Init Encntr
+43 ;;^UTILITY(U,$J,358.3,57718,1,4,0)
+44 ;;=4^S91.302A
+45 ;;^UTILITY(U,$J,358.3,57718,2)
+46 ;;=^5044317
+47 ;;^UTILITY(U,$J,358.3,57719,0)
+48 ;;=S81.002A^^270^2894^33
+49 ;;^UTILITY(U,$J,358.3,57719,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,57719,1,3,0)
+52 ;;=3^Open Wound,Left Knee,Init Encntr
+53 ;;^UTILITY(U,$J,358.3,57719,1,4,0)
+54 ;;=4^S81.002A
+55 ;;^UTILITY(U,$J,358.3,57719,2)
+56 ;;=^5040029
+57 ;;^UTILITY(U,$J,358.3,57720,0)
+58 ;;=S81.802A^^270^2894^35
+59 ;;^UTILITY(U,$J,358.3,57720,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,57720,1,3,0)
+62 ;;=3^Open Wound,Left Lower Leg,Init Encntr
+63 ;;^UTILITY(U,$J,358.3,57720,1,4,0)
+64 ;;=4^S81.802A
+65 ;;^UTILITY(U,$J,358.3,57720,2)
+66 ;;=^5040068
+67 ;;^UTILITY(U,$J,358.3,57721,0)
+68 ;;=S91.001A^^270^2894^37
+69 ;;^UTILITY(U,$J,358.3,57721,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,57721,1,3,0)
+72 ;;=3^Open Wound,Right Ankle,Init Encntr
+73 ;;^UTILITY(U,$J,358.3,57721,1,4,0)
+74 ;;=4^S91.001A
+75 ;;^UTILITY(U,$J,358.3,57721,2)
+76 ;;=^5044129
+77 ;;^UTILITY(U,$J,358.3,57722,0)
+78 ;;=S91.301A^^270^2894^39
+79 ;;^UTILITY(U,$J,358.3,57722,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,57722,1,3,0)
+82 ;;=3^Open Wound,Right Foot,Init Encntr
+83 ;;^UTILITY(U,$J,358.3,57722,1,4,0)
+84 ;;=4^S91.301A
+85 ;;^UTILITY(U,$J,358.3,57722,2)
+86 ;;=^5044314
+87 ;;^UTILITY(U,$J,358.3,57723,0)
+88 ;;=S81.001A^^270^2894^41
+89 ;;^UTILITY(U,$J,358.3,57723,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,57723,1,3,0)
+92 ;;=3^Open Wound,Right Knee,Init Encntr
+93 ;;^UTILITY(U,$J,358.3,57723,1,4,0)
+94 ;;=4^S81.001A
+95 ;;^UTILITY(U,$J,358.3,57723,2)
+96 ;;=^5040026
+97 ;;^UTILITY(U,$J,358.3,57724,0)
+98 ;;=S81.801A^^270^2894^43
+99 ;;^UTILITY(U,$J,358.3,57724,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,57724,1,3,0)
+102 ;;=3^Open Wound,Right Lower Leg,Init Encntr
+103 ;;^UTILITY(U,$J,358.3,57724,1,4,0)
+104 ;;=4^S81.801A
+105 ;;^UTILITY(U,$J,358.3,57724,2)
+106 ;;=^5040065
+107 ;;^UTILITY(U,$J,358.3,57725,0)
+108 ;;=I83.892^^270^2894^48
+109 ;;^UTILITY(U,$J,358.3,57725,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,57725,1,3,0)
+112 ;;=3^Varicose Veins,Left Lower Extrem w/ Oth Complications
+113 ;;^UTILITY(U,$J,358.3,57725,1,4,0)
+114 ;;=4^I83.892
+115 ;;^UTILITY(U,$J,358.3,57725,2)
+116 ;;=^5008016
+117 ;;^UTILITY(U,$J,358.3,57726,0)
+118 ;;=I83.229^^270^2894^49
+119 ;;^UTILITY(U,$J,358.3,57726,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,57726,1,3,0)
+122 ;;=3^Varicose Veins,Left Lower Extrem w/ Ulcer & Inflam Unspec Site
+123 ;;^UTILITY(U,$J,358.3,57726,1,4,0)
+124 ;;=4^I83.229
+125 ;;^UTILITY(U,$J,358.3,57726,2)
+126 ;;=^5008010