IBDEI2IQ ; ; 04-FEB-2020
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
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,40210,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40210,1,3,0)
;;=3^Pain in Left Elbow
;;^UTILITY(U,$J,358.3,40210,1,4,0)
;;=4^M25.522
;;^UTILITY(U,$J,358.3,40210,2)
;;=^5011606
;;^UTILITY(U,$J,358.3,40211,0)
;;=M25.531^^152^2006^120
;;^UTILITY(U,$J,358.3,40211,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40211,1,3,0)
;;=3^Pain in Right Wrist
;;^UTILITY(U,$J,358.3,40211,1,4,0)
;;=4^M25.531
;;^UTILITY(U,$J,358.3,40211,2)
;;=^5011608
;;^UTILITY(U,$J,358.3,40212,0)
;;=M25.532^^152^2006^110
;;^UTILITY(U,$J,358.3,40212,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40212,1,3,0)
;;=3^Pain in Left Wrist
;;^UTILITY(U,$J,358.3,40212,1,4,0)
;;=4^M25.532
;;^UTILITY(U,$J,358.3,40212,2)
;;=^5011609
;;^UTILITY(U,$J,358.3,40213,0)
;;=M25.551^^152^2006^116
;;^UTILITY(U,$J,358.3,40213,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40213,1,3,0)
;;=3^Pain in Right Hip
;;^UTILITY(U,$J,358.3,40213,1,4,0)
;;=4^M25.551
;;^UTILITY(U,$J,358.3,40213,2)
;;=^5011611
;;^UTILITY(U,$J,358.3,40214,0)
;;=M25.552^^152^2006^106
;;^UTILITY(U,$J,358.3,40214,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40214,1,3,0)
;;=3^Pain in Left Hip
;;^UTILITY(U,$J,358.3,40214,1,4,0)
;;=4^M25.552
;;^UTILITY(U,$J,358.3,40214,2)
;;=^5011612
;;^UTILITY(U,$J,358.3,40215,0)
;;=M25.561^^152^2006^117
;;^UTILITY(U,$J,358.3,40215,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40215,1,3,0)
;;=3^Pain in Right Knee
;;^UTILITY(U,$J,358.3,40215,1,4,0)
;;=4^M25.561
;;^UTILITY(U,$J,358.3,40215,2)
;;=^5011614
;;^UTILITY(U,$J,358.3,40216,0)
;;=M25.562^^152^2006^107
;;^UTILITY(U,$J,358.3,40216,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40216,1,3,0)
;;=3^Pain in Left Knee
;;^UTILITY(U,$J,358.3,40216,1,4,0)
;;=4^M25.562
;;^UTILITY(U,$J,358.3,40216,2)
;;=^5011615
;;^UTILITY(U,$J,358.3,40217,0)
;;=M25.571^^152^2006^111
;;^UTILITY(U,$J,358.3,40217,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40217,1,3,0)
;;=3^Pain in Right Ankle
;;^UTILITY(U,$J,358.3,40217,1,4,0)
;;=4^M25.571
;;^UTILITY(U,$J,358.3,40217,2)
;;=^5011617
;;^UTILITY(U,$J,358.3,40218,0)
;;=M25.572^^152^2006^101
;;^UTILITY(U,$J,358.3,40218,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40218,1,3,0)
;;=3^Pain in Left Ankle
;;^UTILITY(U,$J,358.3,40218,1,4,0)
;;=4^M25.572
;;^UTILITY(U,$J,358.3,40218,2)
;;=^5011618
;;^UTILITY(U,$J,358.3,40219,0)
;;=M79.601^^152^2006^112
;;^UTILITY(U,$J,358.3,40219,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40219,1,3,0)
;;=3^Pain in Right Arm
;;^UTILITY(U,$J,358.3,40219,1,4,0)
;;=4^M79.601
;;^UTILITY(U,$J,358.3,40219,2)
;;=^5013325
;;^UTILITY(U,$J,358.3,40220,0)
;;=M79.602^^152^2006^102
;;^UTILITY(U,$J,358.3,40220,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40220,1,3,0)
;;=3^Pain in Left Arm
;;^UTILITY(U,$J,358.3,40220,1,4,0)
;;=4^M79.602
;;^UTILITY(U,$J,358.3,40220,2)
;;=^5013326
;;^UTILITY(U,$J,358.3,40221,0)
;;=M79.604^^152^2006^118
;;^UTILITY(U,$J,358.3,40221,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40221,1,3,0)
;;=3^Pain in Right Leg
;;^UTILITY(U,$J,358.3,40221,1,4,0)
;;=4^M79.604
;;^UTILITY(U,$J,358.3,40221,2)
;;=^5013328
;;^UTILITY(U,$J,358.3,40222,0)
;;=M79.605^^152^2006^108
;;^UTILITY(U,$J,358.3,40222,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,40222,1,3,0)
;;=3^Pain in Left Leg
;;^UTILITY(U,$J,358.3,40222,1,4,0)
;;=4^M79.605
;;^UTILITY(U,$J,358.3,40222,2)
;;=^5013329
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI2IQ 3776 printed Dec 13, 2024@02:29:32 Page 2
IBDEI2IQ ; ; 04-FEB-2020
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 04, 2020
+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,40210,1,0)
+2 ;;=^358.31IA^4^2
+3 ;;^UTILITY(U,$J,358.3,40210,1,3,0)
+4 ;;=3^Pain in Left Elbow
+5 ;;^UTILITY(U,$J,358.3,40210,1,4,0)
+6 ;;=4^M25.522
+7 ;;^UTILITY(U,$J,358.3,40210,2)
+8 ;;=^5011606
+9 ;;^UTILITY(U,$J,358.3,40211,0)
+10 ;;=M25.531^^152^2006^120
+11 ;;^UTILITY(U,$J,358.3,40211,1,0)
+12 ;;=^358.31IA^4^2
+13 ;;^UTILITY(U,$J,358.3,40211,1,3,0)
+14 ;;=3^Pain in Right Wrist
+15 ;;^UTILITY(U,$J,358.3,40211,1,4,0)
+16 ;;=4^M25.531
+17 ;;^UTILITY(U,$J,358.3,40211,2)
+18 ;;=^5011608
+19 ;;^UTILITY(U,$J,358.3,40212,0)
+20 ;;=M25.532^^152^2006^110
+21 ;;^UTILITY(U,$J,358.3,40212,1,0)
+22 ;;=^358.31IA^4^2
+23 ;;^UTILITY(U,$J,358.3,40212,1,3,0)
+24 ;;=3^Pain in Left Wrist
+25 ;;^UTILITY(U,$J,358.3,40212,1,4,0)
+26 ;;=4^M25.532
+27 ;;^UTILITY(U,$J,358.3,40212,2)
+28 ;;=^5011609
+29 ;;^UTILITY(U,$J,358.3,40213,0)
+30 ;;=M25.551^^152^2006^116
+31 ;;^UTILITY(U,$J,358.3,40213,1,0)
+32 ;;=^358.31IA^4^2
+33 ;;^UTILITY(U,$J,358.3,40213,1,3,0)
+34 ;;=3^Pain in Right Hip
+35 ;;^UTILITY(U,$J,358.3,40213,1,4,0)
+36 ;;=4^M25.551
+37 ;;^UTILITY(U,$J,358.3,40213,2)
+38 ;;=^5011611
+39 ;;^UTILITY(U,$J,358.3,40214,0)
+40 ;;=M25.552^^152^2006^106
+41 ;;^UTILITY(U,$J,358.3,40214,1,0)
+42 ;;=^358.31IA^4^2
+43 ;;^UTILITY(U,$J,358.3,40214,1,3,0)
+44 ;;=3^Pain in Left Hip
+45 ;;^UTILITY(U,$J,358.3,40214,1,4,0)
+46 ;;=4^M25.552
+47 ;;^UTILITY(U,$J,358.3,40214,2)
+48 ;;=^5011612
+49 ;;^UTILITY(U,$J,358.3,40215,0)
+50 ;;=M25.561^^152^2006^117
+51 ;;^UTILITY(U,$J,358.3,40215,1,0)
+52 ;;=^358.31IA^4^2
+53 ;;^UTILITY(U,$J,358.3,40215,1,3,0)
+54 ;;=3^Pain in Right Knee
+55 ;;^UTILITY(U,$J,358.3,40215,1,4,0)
+56 ;;=4^M25.561
+57 ;;^UTILITY(U,$J,358.3,40215,2)
+58 ;;=^5011614
+59 ;;^UTILITY(U,$J,358.3,40216,0)
+60 ;;=M25.562^^152^2006^107
+61 ;;^UTILITY(U,$J,358.3,40216,1,0)
+62 ;;=^358.31IA^4^2
+63 ;;^UTILITY(U,$J,358.3,40216,1,3,0)
+64 ;;=3^Pain in Left Knee
+65 ;;^UTILITY(U,$J,358.3,40216,1,4,0)
+66 ;;=4^M25.562
+67 ;;^UTILITY(U,$J,358.3,40216,2)
+68 ;;=^5011615
+69 ;;^UTILITY(U,$J,358.3,40217,0)
+70 ;;=M25.571^^152^2006^111
+71 ;;^UTILITY(U,$J,358.3,40217,1,0)
+72 ;;=^358.31IA^4^2
+73 ;;^UTILITY(U,$J,358.3,40217,1,3,0)
+74 ;;=3^Pain in Right Ankle
+75 ;;^UTILITY(U,$J,358.3,40217,1,4,0)
+76 ;;=4^M25.571
+77 ;;^UTILITY(U,$J,358.3,40217,2)
+78 ;;=^5011617
+79 ;;^UTILITY(U,$J,358.3,40218,0)
+80 ;;=M25.572^^152^2006^101
+81 ;;^UTILITY(U,$J,358.3,40218,1,0)
+82 ;;=^358.31IA^4^2
+83 ;;^UTILITY(U,$J,358.3,40218,1,3,0)
+84 ;;=3^Pain in Left Ankle
+85 ;;^UTILITY(U,$J,358.3,40218,1,4,0)
+86 ;;=4^M25.572
+87 ;;^UTILITY(U,$J,358.3,40218,2)
+88 ;;=^5011618
+89 ;;^UTILITY(U,$J,358.3,40219,0)
+90 ;;=M79.601^^152^2006^112
+91 ;;^UTILITY(U,$J,358.3,40219,1,0)
+92 ;;=^358.31IA^4^2
+93 ;;^UTILITY(U,$J,358.3,40219,1,3,0)
+94 ;;=3^Pain in Right Arm
+95 ;;^UTILITY(U,$J,358.3,40219,1,4,0)
+96 ;;=4^M79.601
+97 ;;^UTILITY(U,$J,358.3,40219,2)
+98 ;;=^5013325
+99 ;;^UTILITY(U,$J,358.3,40220,0)
+100 ;;=M79.602^^152^2006^102
+101 ;;^UTILITY(U,$J,358.3,40220,1,0)
+102 ;;=^358.31IA^4^2
+103 ;;^UTILITY(U,$J,358.3,40220,1,3,0)
+104 ;;=3^Pain in Left Arm
+105 ;;^UTILITY(U,$J,358.3,40220,1,4,0)
+106 ;;=4^M79.602
+107 ;;^UTILITY(U,$J,358.3,40220,2)
+108 ;;=^5013326
+109 ;;^UTILITY(U,$J,358.3,40221,0)
+110 ;;=M79.604^^152^2006^118
+111 ;;^UTILITY(U,$J,358.3,40221,1,0)
+112 ;;=^358.31IA^4^2
+113 ;;^UTILITY(U,$J,358.3,40221,1,3,0)
+114 ;;=3^Pain in Right Leg
+115 ;;^UTILITY(U,$J,358.3,40221,1,4,0)
+116 ;;=4^M79.604
+117 ;;^UTILITY(U,$J,358.3,40221,2)
+118 ;;=^5013328
+119 ;;^UTILITY(U,$J,358.3,40222,0)
+120 ;;=M79.605^^152^2006^108
+121 ;;^UTILITY(U,$J,358.3,40222,1,0)
+122 ;;=^358.31IA^4^2
+123 ;;^UTILITY(U,$J,358.3,40222,1,3,0)
+124 ;;=3^Pain in Left Leg
+125 ;;^UTILITY(U,$J,358.3,40222,1,4,0)
+126 ;;=4^M79.605
+127 ;;^UTILITY(U,$J,358.3,40222,2)
+128 ;;=^5013329