IBDEI3FM ; ; 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,57739,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57739,1,3,0)
;;=3^Laceration w/ FB,Right Foot,Subs Encntr
;;^UTILITY(U,$J,358.3,57739,1,4,0)
;;=4^S91.321D
;;^UTILITY(U,$J,358.3,57739,2)
;;=^5044330
;;^UTILITY(U,$J,358.3,57740,0)
;;=S81.021D^^270^2894^26
;;^UTILITY(U,$J,358.3,57740,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57740,1,3,0)
;;=3^Laceration w/ FB,Right Knee,Subs Encntr
;;^UTILITY(U,$J,358.3,57740,1,4,0)
;;=4^S81.021D
;;^UTILITY(U,$J,358.3,57740,2)
;;=^5040042
;;^UTILITY(U,$J,358.3,57741,0)
;;=S81.821D^^270^2894^28
;;^UTILITY(U,$J,358.3,57741,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57741,1,3,0)
;;=3^Laceration w/ FB,Right Lower Leg,Subs Encntr
;;^UTILITY(U,$J,358.3,57741,1,4,0)
;;=4^S81.821D
;;^UTILITY(U,$J,358.3,57741,2)
;;=^5040081
;;^UTILITY(U,$J,358.3,57742,0)
;;=S91.002D^^270^2894^30
;;^UTILITY(U,$J,358.3,57742,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57742,1,3,0)
;;=3^Open Wound,Left Ankle,Subs Encntr
;;^UTILITY(U,$J,358.3,57742,1,4,0)
;;=4^S91.002D
;;^UTILITY(U,$J,358.3,57742,2)
;;=^5044133
;;^UTILITY(U,$J,358.3,57743,0)
;;=S91.302D^^270^2894^32
;;^UTILITY(U,$J,358.3,57743,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57743,1,3,0)
;;=3^Open Wound,Left Foot,Subs Encntr
;;^UTILITY(U,$J,358.3,57743,1,4,0)
;;=4^S91.302D
;;^UTILITY(U,$J,358.3,57743,2)
;;=^5044318
;;^UTILITY(U,$J,358.3,57744,0)
;;=S81.002D^^270^2894^34
;;^UTILITY(U,$J,358.3,57744,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57744,1,3,0)
;;=3^Open Wound,Left Knee,Subs Encntr
;;^UTILITY(U,$J,358.3,57744,1,4,0)
;;=4^S81.002D
;;^UTILITY(U,$J,358.3,57744,2)
;;=^5040030
;;^UTILITY(U,$J,358.3,57745,0)
;;=S81.802D^^270^2894^36
;;^UTILITY(U,$J,358.3,57745,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57745,1,3,0)
;;=3^Open Wound,Left Lower Leg,Subs Encntr
;;^UTILITY(U,$J,358.3,57745,1,4,0)
;;=4^S81.802D
;;^UTILITY(U,$J,358.3,57745,2)
;;=^5040069
;;^UTILITY(U,$J,358.3,57746,0)
;;=S91.001D^^270^2894^38
;;^UTILITY(U,$J,358.3,57746,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57746,1,3,0)
;;=3^Open Wound,Right Ankle,Subs Encntr
;;^UTILITY(U,$J,358.3,57746,1,4,0)
;;=4^S91.001D
;;^UTILITY(U,$J,358.3,57746,2)
;;=^5044130
;;^UTILITY(U,$J,358.3,57747,0)
;;=S91.301D^^270^2894^40
;;^UTILITY(U,$J,358.3,57747,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57747,1,3,0)
;;=3^Open Wound,Right Foot,Subs Encntr
;;^UTILITY(U,$J,358.3,57747,1,4,0)
;;=4^S91.301D
;;^UTILITY(U,$J,358.3,57747,2)
;;=^5044315
;;^UTILITY(U,$J,358.3,57748,0)
;;=S81.001D^^270^2894^42
;;^UTILITY(U,$J,358.3,57748,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57748,1,3,0)
;;=3^Open Wound,Right Knee,Subs Encntr
;;^UTILITY(U,$J,358.3,57748,1,4,0)
;;=4^S81.001D
;;^UTILITY(U,$J,358.3,57748,2)
;;=^5040027
;;^UTILITY(U,$J,358.3,57749,0)
;;=S81.801D^^270^2894^44
;;^UTILITY(U,$J,358.3,57749,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57749,1,3,0)
;;=3^Open Wound,Right Lower Leg,Subs Encntr
;;^UTILITY(U,$J,358.3,57749,1,4,0)
;;=4^S81.801D
;;^UTILITY(U,$J,358.3,57749,2)
;;=^5040066
;;^UTILITY(U,$J,358.3,57750,0)
;;=Z43.3^^270^2895^3
;;^UTILITY(U,$J,358.3,57750,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57750,1,3,0)
;;=3^Attention to Colostomy
;;^UTILITY(U,$J,358.3,57750,1,4,0)
;;=4^Z43.3
;;^UTILITY(U,$J,358.3,57750,2)
;;=^5062961
;;^UTILITY(U,$J,358.3,57751,0)
;;=Z43.5^^270^2895^4
;;^UTILITY(U,$J,358.3,57751,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57751,1,3,0)
;;=3^Attention to Cystostomy
;;^UTILITY(U,$J,358.3,57751,1,4,0)
;;=4^Z43.5
;;^UTILITY(U,$J,358.3,57751,2)
;;=^5062963
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3FM 3987 printed Nov 22, 2024@17:57:58 Page 2
IBDEI3FM ; ; 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,57739,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,57739,1,3,0)
+4 ;;=3^Laceration w/ FB,Right Foot,Subs Encntr
+5 ;;^UTILITY(U,$J,358.3,57739,1,4,0)
+6 ;;=4^S91.321D
+7 ;;^UTILITY(U,$J,358.3,57739,2)
+8 ;;=^5044330
+9 ;;^UTILITY(U,$J,358.3,57740,0)
+10 ;;=S81.021D^^270^2894^26
+11 ;;^UTILITY(U,$J,358.3,57740,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,57740,1,3,0)
+14 ;;=3^Laceration w/ FB,Right Knee,Subs Encntr
+15 ;;^UTILITY(U,$J,358.3,57740,1,4,0)
+16 ;;=4^S81.021D
+17 ;;^UTILITY(U,$J,358.3,57740,2)
+18 ;;=^5040042
+19 ;;^UTILITY(U,$J,358.3,57741,0)
+20 ;;=S81.821D^^270^2894^28
+21 ;;^UTILITY(U,$J,358.3,57741,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,57741,1,3,0)
+24 ;;=3^Laceration w/ FB,Right Lower Leg,Subs Encntr
+25 ;;^UTILITY(U,$J,358.3,57741,1,4,0)
+26 ;;=4^S81.821D
+27 ;;^UTILITY(U,$J,358.3,57741,2)
+28 ;;=^5040081
+29 ;;^UTILITY(U,$J,358.3,57742,0)
+30 ;;=S91.002D^^270^2894^30
+31 ;;^UTILITY(U,$J,358.3,57742,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,57742,1,3,0)
+34 ;;=3^Open Wound,Left Ankle,Subs Encntr
+35 ;;^UTILITY(U,$J,358.3,57742,1,4,0)
+36 ;;=4^S91.002D
+37 ;;^UTILITY(U,$J,358.3,57742,2)
+38 ;;=^5044133
+39 ;;^UTILITY(U,$J,358.3,57743,0)
+40 ;;=S91.302D^^270^2894^32
+41 ;;^UTILITY(U,$J,358.3,57743,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,57743,1,3,0)
+44 ;;=3^Open Wound,Left Foot,Subs Encntr
+45 ;;^UTILITY(U,$J,358.3,57743,1,4,0)
+46 ;;=4^S91.302D
+47 ;;^UTILITY(U,$J,358.3,57743,2)
+48 ;;=^5044318
+49 ;;^UTILITY(U,$J,358.3,57744,0)
+50 ;;=S81.002D^^270^2894^34
+51 ;;^UTILITY(U,$J,358.3,57744,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,57744,1,3,0)
+54 ;;=3^Open Wound,Left Knee,Subs Encntr
+55 ;;^UTILITY(U,$J,358.3,57744,1,4,0)
+56 ;;=4^S81.002D
+57 ;;^UTILITY(U,$J,358.3,57744,2)
+58 ;;=^5040030
+59 ;;^UTILITY(U,$J,358.3,57745,0)
+60 ;;=S81.802D^^270^2894^36
+61 ;;^UTILITY(U,$J,358.3,57745,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,57745,1,3,0)
+64 ;;=3^Open Wound,Left Lower Leg,Subs Encntr
+65 ;;^UTILITY(U,$J,358.3,57745,1,4,0)
+66 ;;=4^S81.802D
+67 ;;^UTILITY(U,$J,358.3,57745,2)
+68 ;;=^5040069
+69 ;;^UTILITY(U,$J,358.3,57746,0)
+70 ;;=S91.001D^^270^2894^38
+71 ;;^UTILITY(U,$J,358.3,57746,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,57746,1,3,0)
+74 ;;=3^Open Wound,Right Ankle,Subs Encntr
+75 ;;^UTILITY(U,$J,358.3,57746,1,4,0)
+76 ;;=4^S91.001D
+77 ;;^UTILITY(U,$J,358.3,57746,2)
+78 ;;=^5044130
+79 ;;^UTILITY(U,$J,358.3,57747,0)
+80 ;;=S91.301D^^270^2894^40
+81 ;;^UTILITY(U,$J,358.3,57747,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,57747,1,3,0)
+84 ;;=3^Open Wound,Right Foot,Subs Encntr
+85 ;;^UTILITY(U,$J,358.3,57747,1,4,0)
+86 ;;=4^S91.301D
+87 ;;^UTILITY(U,$J,358.3,57747,2)
+88 ;;=^5044315
+89 ;;^UTILITY(U,$J,358.3,57748,0)
+90 ;;=S81.001D^^270^2894^42
+91 ;;^UTILITY(U,$J,358.3,57748,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,57748,1,3,0)
+94 ;;=3^Open Wound,Right Knee,Subs Encntr
+95 ;;^UTILITY(U,$J,358.3,57748,1,4,0)
+96 ;;=4^S81.001D
+97 ;;^UTILITY(U,$J,358.3,57748,2)
+98 ;;=^5040027
+99 ;;^UTILITY(U,$J,358.3,57749,0)
+100 ;;=S81.801D^^270^2894^44
+101 ;;^UTILITY(U,$J,358.3,57749,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,57749,1,3,0)
+104 ;;=3^Open Wound,Right Lower Leg,Subs Encntr
+105 ;;^UTILITY(U,$J,358.3,57749,1,4,0)
+106 ;;=4^S81.801D
+107 ;;^UTILITY(U,$J,358.3,57749,2)
+108 ;;=^5040066
+109 ;;^UTILITY(U,$J,358.3,57750,0)
+110 ;;=Z43.3^^270^2895^3
+111 ;;^UTILITY(U,$J,358.3,57750,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,57750,1,3,0)
+114 ;;=3^Attention to Colostomy
+115 ;;^UTILITY(U,$J,358.3,57750,1,4,0)
+116 ;;=4^Z43.3
+117 ;;^UTILITY(U,$J,358.3,57750,2)
+118 ;;=^5062961
+119 ;;^UTILITY(U,$J,358.3,57751,0)
+120 ;;=Z43.5^^270^2895^4
+121 ;;^UTILITY(U,$J,358.3,57751,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,57751,1,3,0)
+124 ;;=3^Attention to Cystostomy
+125 ;;^UTILITY(U,$J,358.3,57751,1,4,0)
+126 ;;=4^Z43.5
+127 ;;^UTILITY(U,$J,358.3,57751,2)
+128 ;;=^5062963