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