IBDEI29S ; ; 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,36239,0)
;;=M16.11^^139^1839^12
;;^UTILITY(U,$J,358.3,36239,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36239,1,3,0)
;;=3^OA,Hip,Right
;;^UTILITY(U,$J,358.3,36239,1,4,0)
;;=4^M16.11
;;^UTILITY(U,$J,358.3,36239,2)
;;=^5010771
;;^UTILITY(U,$J,358.3,36240,0)
;;=M16.12^^139^1839^11
;;^UTILITY(U,$J,358.3,36240,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36240,1,3,0)
;;=3^OA,Hip,Left
;;^UTILITY(U,$J,358.3,36240,1,4,0)
;;=4^M16.12
;;^UTILITY(U,$J,358.3,36240,2)
;;=^5010772
;;^UTILITY(U,$J,358.3,36241,0)
;;=M17.11^^139^1839^14
;;^UTILITY(U,$J,358.3,36241,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36241,1,3,0)
;;=3^OA,Knee,Right
;;^UTILITY(U,$J,358.3,36241,1,4,0)
;;=4^M17.11
;;^UTILITY(U,$J,358.3,36241,2)
;;=^5010786
;;^UTILITY(U,$J,358.3,36242,0)
;;=M17.12^^139^1839^13
;;^UTILITY(U,$J,358.3,36242,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36242,1,3,0)
;;=3^OA,Knee,Left
;;^UTILITY(U,$J,358.3,36242,1,4,0)
;;=4^M17.12
;;^UTILITY(U,$J,358.3,36242,2)
;;=^5010787
;;^UTILITY(U,$J,358.3,36243,0)
;;=M19.071^^139^1839^6
;;^UTILITY(U,$J,358.3,36243,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36243,1,3,0)
;;=3^OA,Ankle/Foot,Right
;;^UTILITY(U,$J,358.3,36243,1,4,0)
;;=4^M19.071
;;^UTILITY(U,$J,358.3,36243,2)
;;=^5010820
;;^UTILITY(U,$J,358.3,36244,0)
;;=M19.072^^139^1839^5
;;^UTILITY(U,$J,358.3,36244,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36244,1,3,0)
;;=3^OA,Ankle/Foot,Left
;;^UTILITY(U,$J,358.3,36244,1,4,0)
;;=4^M19.072
;;^UTILITY(U,$J,358.3,36244,2)
;;=^5010821
;;^UTILITY(U,$J,358.3,36245,0)
;;=M19.011^^139^1839^16
;;^UTILITY(U,$J,358.3,36245,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36245,1,3,0)
;;=3^OA,Shoulder,Right
;;^UTILITY(U,$J,358.3,36245,1,4,0)
;;=4^M19.011
;;^UTILITY(U,$J,358.3,36245,2)
;;=^5010808
;;^UTILITY(U,$J,358.3,36246,0)
;;=M19.012^^139^1839^15
;;^UTILITY(U,$J,358.3,36246,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36246,1,3,0)
;;=3^OA,Shoulder,Left
;;^UTILITY(U,$J,358.3,36246,1,4,0)
;;=4^M19.012
;;^UTILITY(U,$J,358.3,36246,2)
;;=^5010809
;;^UTILITY(U,$J,358.3,36247,0)
;;=M19.021^^139^1839^8
;;^UTILITY(U,$J,358.3,36247,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36247,1,3,0)
;;=3^OA,Elbow,Right
;;^UTILITY(U,$J,358.3,36247,1,4,0)
;;=4^M19.021
;;^UTILITY(U,$J,358.3,36247,2)
;;=^5010811
;;^UTILITY(U,$J,358.3,36248,0)
;;=M19.022^^139^1839^7
;;^UTILITY(U,$J,358.3,36248,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36248,1,3,0)
;;=3^OA,Elbow,Left
;;^UTILITY(U,$J,358.3,36248,1,4,0)
;;=4^M19.022
;;^UTILITY(U,$J,358.3,36248,2)
;;=^5010812
;;^UTILITY(U,$J,358.3,36249,0)
;;=M19.031^^139^1839^18
;;^UTILITY(U,$J,358.3,36249,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36249,1,3,0)
;;=3^OA,Wrist,Right
;;^UTILITY(U,$J,358.3,36249,1,4,0)
;;=4^M19.031
;;^UTILITY(U,$J,358.3,36249,2)
;;=^5010814
;;^UTILITY(U,$J,358.3,36250,0)
;;=M19.032^^139^1839^17
;;^UTILITY(U,$J,358.3,36250,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36250,1,3,0)
;;=3^OA,Wrist,Left
;;^UTILITY(U,$J,358.3,36250,1,4,0)
;;=4^M19.032
;;^UTILITY(U,$J,358.3,36250,2)
;;=^5010815
;;^UTILITY(U,$J,358.3,36251,0)
;;=M19.041^^139^1839^10
;;^UTILITY(U,$J,358.3,36251,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36251,1,3,0)
;;=3^OA,Hand,Right
;;^UTILITY(U,$J,358.3,36251,1,4,0)
;;=4^M19.041
;;^UTILITY(U,$J,358.3,36251,2)
;;=^5010817
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI29S 3770 printed Nov 22, 2024@17:34:43 Page 2
IBDEI29S ; ; 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,36239,0)
+2 ;;=M16.11^^139^1839^12
+3 ;;^UTILITY(U,$J,358.3,36239,1,0)
+4 ;;=^358.31IA^4^2
+5 ;;^UTILITY(U,$J,358.3,36239,1,3,0)
+6 ;;=3^OA,Hip,Right
+7 ;;^UTILITY(U,$J,358.3,36239,1,4,0)
+8 ;;=4^M16.11
+9 ;;^UTILITY(U,$J,358.3,36239,2)
+10 ;;=^5010771
+11 ;;^UTILITY(U,$J,358.3,36240,0)
+12 ;;=M16.12^^139^1839^11
+13 ;;^UTILITY(U,$J,358.3,36240,1,0)
+14 ;;=^358.31IA^4^2
+15 ;;^UTILITY(U,$J,358.3,36240,1,3,0)
+16 ;;=3^OA,Hip,Left
+17 ;;^UTILITY(U,$J,358.3,36240,1,4,0)
+18 ;;=4^M16.12
+19 ;;^UTILITY(U,$J,358.3,36240,2)
+20 ;;=^5010772
+21 ;;^UTILITY(U,$J,358.3,36241,0)
+22 ;;=M17.11^^139^1839^14
+23 ;;^UTILITY(U,$J,358.3,36241,1,0)
+24 ;;=^358.31IA^4^2
+25 ;;^UTILITY(U,$J,358.3,36241,1,3,0)
+26 ;;=3^OA,Knee,Right
+27 ;;^UTILITY(U,$J,358.3,36241,1,4,0)
+28 ;;=4^M17.11
+29 ;;^UTILITY(U,$J,358.3,36241,2)
+30 ;;=^5010786
+31 ;;^UTILITY(U,$J,358.3,36242,0)
+32 ;;=M17.12^^139^1839^13
+33 ;;^UTILITY(U,$J,358.3,36242,1,0)
+34 ;;=^358.31IA^4^2
+35 ;;^UTILITY(U,$J,358.3,36242,1,3,0)
+36 ;;=3^OA,Knee,Left
+37 ;;^UTILITY(U,$J,358.3,36242,1,4,0)
+38 ;;=4^M17.12
+39 ;;^UTILITY(U,$J,358.3,36242,2)
+40 ;;=^5010787
+41 ;;^UTILITY(U,$J,358.3,36243,0)
+42 ;;=M19.071^^139^1839^6
+43 ;;^UTILITY(U,$J,358.3,36243,1,0)
+44 ;;=^358.31IA^4^2
+45 ;;^UTILITY(U,$J,358.3,36243,1,3,0)
+46 ;;=3^OA,Ankle/Foot,Right
+47 ;;^UTILITY(U,$J,358.3,36243,1,4,0)
+48 ;;=4^M19.071
+49 ;;^UTILITY(U,$J,358.3,36243,2)
+50 ;;=^5010820
+51 ;;^UTILITY(U,$J,358.3,36244,0)
+52 ;;=M19.072^^139^1839^5
+53 ;;^UTILITY(U,$J,358.3,36244,1,0)
+54 ;;=^358.31IA^4^2
+55 ;;^UTILITY(U,$J,358.3,36244,1,3,0)
+56 ;;=3^OA,Ankle/Foot,Left
+57 ;;^UTILITY(U,$J,358.3,36244,1,4,0)
+58 ;;=4^M19.072
+59 ;;^UTILITY(U,$J,358.3,36244,2)
+60 ;;=^5010821
+61 ;;^UTILITY(U,$J,358.3,36245,0)
+62 ;;=M19.011^^139^1839^16
+63 ;;^UTILITY(U,$J,358.3,36245,1,0)
+64 ;;=^358.31IA^4^2
+65 ;;^UTILITY(U,$J,358.3,36245,1,3,0)
+66 ;;=3^OA,Shoulder,Right
+67 ;;^UTILITY(U,$J,358.3,36245,1,4,0)
+68 ;;=4^M19.011
+69 ;;^UTILITY(U,$J,358.3,36245,2)
+70 ;;=^5010808
+71 ;;^UTILITY(U,$J,358.3,36246,0)
+72 ;;=M19.012^^139^1839^15
+73 ;;^UTILITY(U,$J,358.3,36246,1,0)
+74 ;;=^358.31IA^4^2
+75 ;;^UTILITY(U,$J,358.3,36246,1,3,0)
+76 ;;=3^OA,Shoulder,Left
+77 ;;^UTILITY(U,$J,358.3,36246,1,4,0)
+78 ;;=4^M19.012
+79 ;;^UTILITY(U,$J,358.3,36246,2)
+80 ;;=^5010809
+81 ;;^UTILITY(U,$J,358.3,36247,0)
+82 ;;=M19.021^^139^1839^8
+83 ;;^UTILITY(U,$J,358.3,36247,1,0)
+84 ;;=^358.31IA^4^2
+85 ;;^UTILITY(U,$J,358.3,36247,1,3,0)
+86 ;;=3^OA,Elbow,Right
+87 ;;^UTILITY(U,$J,358.3,36247,1,4,0)
+88 ;;=4^M19.021
+89 ;;^UTILITY(U,$J,358.3,36247,2)
+90 ;;=^5010811
+91 ;;^UTILITY(U,$J,358.3,36248,0)
+92 ;;=M19.022^^139^1839^7
+93 ;;^UTILITY(U,$J,358.3,36248,1,0)
+94 ;;=^358.31IA^4^2
+95 ;;^UTILITY(U,$J,358.3,36248,1,3,0)
+96 ;;=3^OA,Elbow,Left
+97 ;;^UTILITY(U,$J,358.3,36248,1,4,0)
+98 ;;=4^M19.022
+99 ;;^UTILITY(U,$J,358.3,36248,2)
+100 ;;=^5010812
+101 ;;^UTILITY(U,$J,358.3,36249,0)
+102 ;;=M19.031^^139^1839^18
+103 ;;^UTILITY(U,$J,358.3,36249,1,0)
+104 ;;=^358.31IA^4^2
+105 ;;^UTILITY(U,$J,358.3,36249,1,3,0)
+106 ;;=3^OA,Wrist,Right
+107 ;;^UTILITY(U,$J,358.3,36249,1,4,0)
+108 ;;=4^M19.031
+109 ;;^UTILITY(U,$J,358.3,36249,2)
+110 ;;=^5010814
+111 ;;^UTILITY(U,$J,358.3,36250,0)
+112 ;;=M19.032^^139^1839^17
+113 ;;^UTILITY(U,$J,358.3,36250,1,0)
+114 ;;=^358.31IA^4^2
+115 ;;^UTILITY(U,$J,358.3,36250,1,3,0)
+116 ;;=3^OA,Wrist,Left
+117 ;;^UTILITY(U,$J,358.3,36250,1,4,0)
+118 ;;=4^M19.032
+119 ;;^UTILITY(U,$J,358.3,36250,2)
+120 ;;=^5010815
+121 ;;^UTILITY(U,$J,358.3,36251,0)
+122 ;;=M19.041^^139^1839^10
+123 ;;^UTILITY(U,$J,358.3,36251,1,0)
+124 ;;=^358.31IA^4^2
+125 ;;^UTILITY(U,$J,358.3,36251,1,3,0)
+126 ;;=3^OA,Hand,Right
+127 ;;^UTILITY(U,$J,358.3,36251,1,4,0)
+128 ;;=4^M19.041
+129 ;;^UTILITY(U,$J,358.3,36251,2)
+130 ;;=^5010817