IBDEI3EC ; ; 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,57111,1,4,0)
;;=4^I82.4Y1
;;^UTILITY(U,$J,358.3,57111,2)
;;=^5007877
;;^UTILITY(U,$J,358.3,57112,0)
;;=I82.4Y2^^264^2849^16
;;^UTILITY(U,$J,358.3,57112,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57112,1,3,0)
;;=3^AC Embol & Thromb Lt Prox LE Deep Veins
;;^UTILITY(U,$J,358.3,57112,1,4,0)
;;=4^I82.4Y2
;;^UTILITY(U,$J,358.3,57112,2)
;;=^5007878
;;^UTILITY(U,$J,358.3,57113,0)
;;=I82.4Y3^^264^2849^6
;;^UTILITY(U,$J,358.3,57113,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57113,1,3,0)
;;=3^AC Embol & Thromb Bil Prox LE Deep Veins
;;^UTILITY(U,$J,358.3,57113,1,4,0)
;;=4^I82.4Y3
;;^UTILITY(U,$J,358.3,57113,2)
;;=^5007879
;;^UTILITY(U,$J,358.3,57114,0)
;;=I82.611^^264^2849^29
;;^UTILITY(U,$J,358.3,57114,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57114,1,3,0)
;;=3^AC Embol & Thromb Rt UE Superfic Veins
;;^UTILITY(U,$J,358.3,57114,1,4,0)
;;=4^I82.611
;;^UTILITY(U,$J,358.3,57114,2)
;;=^5007915
;;^UTILITY(U,$J,358.3,57115,0)
;;=I82.612^^264^2849^19
;;^UTILITY(U,$J,358.3,57115,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57115,1,3,0)
;;=3^AC Embol & Thromb Lt UE Superfic Veins
;;^UTILITY(U,$J,358.3,57115,1,4,0)
;;=4^I82.612
;;^UTILITY(U,$J,358.3,57115,2)
;;=^5007916
;;^UTILITY(U,$J,358.3,57116,0)
;;=I82.613^^264^2849^9
;;^UTILITY(U,$J,358.3,57116,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57116,1,3,0)
;;=3^AC Embol & Thromb Bil UE Superfic Vein
;;^UTILITY(U,$J,358.3,57116,1,4,0)
;;=4^I82.613
;;^UTILITY(U,$J,358.3,57116,2)
;;=^5007917
;;^UTILITY(U,$J,358.3,57117,0)
;;=I82.621^^264^2849^28
;;^UTILITY(U,$J,358.3,57117,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57117,1,3,0)
;;=3^AC Embol & Thromb Rt UE Deep Veins
;;^UTILITY(U,$J,358.3,57117,1,4,0)
;;=4^I82.621
;;^UTILITY(U,$J,358.3,57117,2)
;;=^5007919
;;^UTILITY(U,$J,358.3,57118,0)
;;=I82.622^^264^2849^18
;;^UTILITY(U,$J,358.3,57118,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57118,1,3,0)
;;=3^AC Embol & Thromb Lt UE Deep Veins
;;^UTILITY(U,$J,358.3,57118,1,4,0)
;;=4^I82.622
;;^UTILITY(U,$J,358.3,57118,2)
;;=^5007920
;;^UTILITY(U,$J,358.3,57119,0)
;;=I82.623^^264^2849^8
;;^UTILITY(U,$J,358.3,57119,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57119,1,3,0)
;;=3^AC Embol & Thromb Bil UE Deep Veins
;;^UTILITY(U,$J,358.3,57119,1,4,0)
;;=4^I82.623
;;^UTILITY(U,$J,358.3,57119,2)
;;=^5007921
;;^UTILITY(U,$J,358.3,57120,0)
;;=I82.601^^264^2849^30
;;^UTILITY(U,$J,358.3,57120,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57120,1,3,0)
;;=3^AC Embol & Thromb Rt UE Veins,Unspec
;;^UTILITY(U,$J,358.3,57120,1,4,0)
;;=4^I82.601
;;^UTILITY(U,$J,358.3,57120,2)
;;=^5007912
;;^UTILITY(U,$J,358.3,57121,0)
;;=I82.602^^264^2849^20
;;^UTILITY(U,$J,358.3,57121,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57121,1,3,0)
;;=3^AC Embol & Thromb Lt UE Veins,Unspec
;;^UTILITY(U,$J,358.3,57121,1,4,0)
;;=4^I82.602
;;^UTILITY(U,$J,358.3,57121,2)
;;=^5007913
;;^UTILITY(U,$J,358.3,57122,0)
;;=I82.603^^264^2849^10
;;^UTILITY(U,$J,358.3,57122,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57122,1,3,0)
;;=3^AC Embol & Thromb Bil UE Veins,Unspec
;;^UTILITY(U,$J,358.3,57122,1,4,0)
;;=4^I82.603
;;^UTILITY(U,$J,358.3,57122,2)
;;=^5007914
;;^UTILITY(U,$J,358.3,57123,0)
;;=I82.A11^^264^2849^21
;;^UTILITY(U,$J,358.3,57123,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,57123,1,3,0)
;;=3^AC Embol & Thromb Rt Ax Vein
;;^UTILITY(U,$J,358.3,57123,1,4,0)
;;=4^I82.A11
;;^UTILITY(U,$J,358.3,57123,2)
;;=^5007942
;;^UTILITY(U,$J,358.3,57124,0)
;;=I82.A12^^264^2849^11
;;^UTILITY(U,$J,358.3,57124,1,0)
;;=^358.31IA^4^2
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI3EC 3981 printed Dec 13, 2024@02:47:07 Page 2
IBDEI3EC ; ; 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,57111,1,4,0)
+2 ;;=4^I82.4Y1
+3 ;;^UTILITY(U,$J,358.3,57111,2)
+4 ;;=^5007877
+5 ;;^UTILITY(U,$J,358.3,57112,0)
+6 ;;=I82.4Y2^^264^2849^16
+7 ;;^UTILITY(U,$J,358.3,57112,1,0)
+8 ;;=^358.31IA^4^2
+9 ;;^UTILITY(U,$J,358.3,57112,1,3,0)
+10 ;;=3^AC Embol & Thromb Lt Prox LE Deep Veins
+11 ;;^UTILITY(U,$J,358.3,57112,1,4,0)
+12 ;;=4^I82.4Y2
+13 ;;^UTILITY(U,$J,358.3,57112,2)
+14 ;;=^5007878
+15 ;;^UTILITY(U,$J,358.3,57113,0)
+16 ;;=I82.4Y3^^264^2849^6
+17 ;;^UTILITY(U,$J,358.3,57113,1,0)
+18 ;;=^358.31IA^4^2
+19 ;;^UTILITY(U,$J,358.3,57113,1,3,0)
+20 ;;=3^AC Embol & Thromb Bil Prox LE Deep Veins
+21 ;;^UTILITY(U,$J,358.3,57113,1,4,0)
+22 ;;=4^I82.4Y3
+23 ;;^UTILITY(U,$J,358.3,57113,2)
+24 ;;=^5007879
+25 ;;^UTILITY(U,$J,358.3,57114,0)
+26 ;;=I82.611^^264^2849^29
+27 ;;^UTILITY(U,$J,358.3,57114,1,0)
+28 ;;=^358.31IA^4^2
+29 ;;^UTILITY(U,$J,358.3,57114,1,3,0)
+30 ;;=3^AC Embol & Thromb Rt UE Superfic Veins
+31 ;;^UTILITY(U,$J,358.3,57114,1,4,0)
+32 ;;=4^I82.611
+33 ;;^UTILITY(U,$J,358.3,57114,2)
+34 ;;=^5007915
+35 ;;^UTILITY(U,$J,358.3,57115,0)
+36 ;;=I82.612^^264^2849^19
+37 ;;^UTILITY(U,$J,358.3,57115,1,0)
+38 ;;=^358.31IA^4^2
+39 ;;^UTILITY(U,$J,358.3,57115,1,3,0)
+40 ;;=3^AC Embol & Thromb Lt UE Superfic Veins
+41 ;;^UTILITY(U,$J,358.3,57115,1,4,0)
+42 ;;=4^I82.612
+43 ;;^UTILITY(U,$J,358.3,57115,2)
+44 ;;=^5007916
+45 ;;^UTILITY(U,$J,358.3,57116,0)
+46 ;;=I82.613^^264^2849^9
+47 ;;^UTILITY(U,$J,358.3,57116,1,0)
+48 ;;=^358.31IA^4^2
+49 ;;^UTILITY(U,$J,358.3,57116,1,3,0)
+50 ;;=3^AC Embol & Thromb Bil UE Superfic Vein
+51 ;;^UTILITY(U,$J,358.3,57116,1,4,0)
+52 ;;=4^I82.613
+53 ;;^UTILITY(U,$J,358.3,57116,2)
+54 ;;=^5007917
+55 ;;^UTILITY(U,$J,358.3,57117,0)
+56 ;;=I82.621^^264^2849^28
+57 ;;^UTILITY(U,$J,358.3,57117,1,0)
+58 ;;=^358.31IA^4^2
+59 ;;^UTILITY(U,$J,358.3,57117,1,3,0)
+60 ;;=3^AC Embol & Thromb Rt UE Deep Veins
+61 ;;^UTILITY(U,$J,358.3,57117,1,4,0)
+62 ;;=4^I82.621
+63 ;;^UTILITY(U,$J,358.3,57117,2)
+64 ;;=^5007919
+65 ;;^UTILITY(U,$J,358.3,57118,0)
+66 ;;=I82.622^^264^2849^18
+67 ;;^UTILITY(U,$J,358.3,57118,1,0)
+68 ;;=^358.31IA^4^2
+69 ;;^UTILITY(U,$J,358.3,57118,1,3,0)
+70 ;;=3^AC Embol & Thromb Lt UE Deep Veins
+71 ;;^UTILITY(U,$J,358.3,57118,1,4,0)
+72 ;;=4^I82.622
+73 ;;^UTILITY(U,$J,358.3,57118,2)
+74 ;;=^5007920
+75 ;;^UTILITY(U,$J,358.3,57119,0)
+76 ;;=I82.623^^264^2849^8
+77 ;;^UTILITY(U,$J,358.3,57119,1,0)
+78 ;;=^358.31IA^4^2
+79 ;;^UTILITY(U,$J,358.3,57119,1,3,0)
+80 ;;=3^AC Embol & Thromb Bil UE Deep Veins
+81 ;;^UTILITY(U,$J,358.3,57119,1,4,0)
+82 ;;=4^I82.623
+83 ;;^UTILITY(U,$J,358.3,57119,2)
+84 ;;=^5007921
+85 ;;^UTILITY(U,$J,358.3,57120,0)
+86 ;;=I82.601^^264^2849^30
+87 ;;^UTILITY(U,$J,358.3,57120,1,0)
+88 ;;=^358.31IA^4^2
+89 ;;^UTILITY(U,$J,358.3,57120,1,3,0)
+90 ;;=3^AC Embol & Thromb Rt UE Veins,Unspec
+91 ;;^UTILITY(U,$J,358.3,57120,1,4,0)
+92 ;;=4^I82.601
+93 ;;^UTILITY(U,$J,358.3,57120,2)
+94 ;;=^5007912
+95 ;;^UTILITY(U,$J,358.3,57121,0)
+96 ;;=I82.602^^264^2849^20
+97 ;;^UTILITY(U,$J,358.3,57121,1,0)
+98 ;;=^358.31IA^4^2
+99 ;;^UTILITY(U,$J,358.3,57121,1,3,0)
+100 ;;=3^AC Embol & Thromb Lt UE Veins,Unspec
+101 ;;^UTILITY(U,$J,358.3,57121,1,4,0)
+102 ;;=4^I82.602
+103 ;;^UTILITY(U,$J,358.3,57121,2)
+104 ;;=^5007913
+105 ;;^UTILITY(U,$J,358.3,57122,0)
+106 ;;=I82.603^^264^2849^10
+107 ;;^UTILITY(U,$J,358.3,57122,1,0)
+108 ;;=^358.31IA^4^2
+109 ;;^UTILITY(U,$J,358.3,57122,1,3,0)
+110 ;;=3^AC Embol & Thromb Bil UE Veins,Unspec
+111 ;;^UTILITY(U,$J,358.3,57122,1,4,0)
+112 ;;=4^I82.603
+113 ;;^UTILITY(U,$J,358.3,57122,2)
+114 ;;=^5007914
+115 ;;^UTILITY(U,$J,358.3,57123,0)
+116 ;;=I82.A11^^264^2849^21
+117 ;;^UTILITY(U,$J,358.3,57123,1,0)
+118 ;;=^358.31IA^4^2
+119 ;;^UTILITY(U,$J,358.3,57123,1,3,0)
+120 ;;=3^AC Embol & Thromb Rt Ax Vein
+121 ;;^UTILITY(U,$J,358.3,57123,1,4,0)
+122 ;;=4^I82.A11
+123 ;;^UTILITY(U,$J,358.3,57123,2)
+124 ;;=^5007942
+125 ;;^UTILITY(U,$J,358.3,57124,0)
+126 ;;=I82.A12^^264^2849^11
+127 ;;^UTILITY(U,$J,358.3,57124,1,0)
+128 ;;=^358.31IA^4^2