IBDEI0XZ ; ; 01-FEB-2022
;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
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,15305,1,3,0)
;;=3^OA Primary Unilateral,Hip,Left
;;^UTILITY(U,$J,358.3,15305,1,4,0)
;;=4^M16.12
;;^UTILITY(U,$J,358.3,15305,2)
;;=^5010772
;;^UTILITY(U,$J,358.3,15306,0)
;;=M17.11^^58^724^6
;;^UTILITY(U,$J,358.3,15306,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15306,1,3,0)
;;=3^OA Primary Unilateral,Knee,Right
;;^UTILITY(U,$J,358.3,15306,1,4,0)
;;=4^M17.11
;;^UTILITY(U,$J,358.3,15306,2)
;;=^5010786
;;^UTILITY(U,$J,358.3,15307,0)
;;=M17.12^^58^724^5
;;^UTILITY(U,$J,358.3,15307,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15307,1,3,0)
;;=3^OA Primary Unilateral,Knee,Left
;;^UTILITY(U,$J,358.3,15307,1,4,0)
;;=4^M17.12
;;^UTILITY(U,$J,358.3,15307,2)
;;=^5010787
;;^UTILITY(U,$J,358.3,15308,0)
;;=M19.071^^58^724^9
;;^UTILITY(U,$J,358.3,15308,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15308,1,3,0)
;;=3^OA Primary,Ankle/Foot,Right
;;^UTILITY(U,$J,358.3,15308,1,4,0)
;;=4^M19.071
;;^UTILITY(U,$J,358.3,15308,2)
;;=^5010820
;;^UTILITY(U,$J,358.3,15309,0)
;;=M19.072^^58^724^8
;;^UTILITY(U,$J,358.3,15309,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15309,1,3,0)
;;=3^OA Primary,Ankle/Foot,Left
;;^UTILITY(U,$J,358.3,15309,1,4,0)
;;=4^M19.072
;;^UTILITY(U,$J,358.3,15309,2)
;;=^5010821
;;^UTILITY(U,$J,358.3,15310,0)
;;=M19.011^^58^724^17
;;^UTILITY(U,$J,358.3,15310,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15310,1,3,0)
;;=3^OA Primary,Shoulder,Right
;;^UTILITY(U,$J,358.3,15310,1,4,0)
;;=4^M19.011
;;^UTILITY(U,$J,358.3,15310,2)
;;=^5010808
;;^UTILITY(U,$J,358.3,15311,0)
;;=M19.012^^58^724^16
;;^UTILITY(U,$J,358.3,15311,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15311,1,3,0)
;;=3^OA Primary,Shoulder,Left
;;^UTILITY(U,$J,358.3,15311,1,4,0)
;;=4^M19.012
;;^UTILITY(U,$J,358.3,15311,2)
;;=^5010809
;;^UTILITY(U,$J,358.3,15312,0)
;;=M19.021^^58^724^11
;;^UTILITY(U,$J,358.3,15312,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15312,1,3,0)
;;=3^OA Primary,Elbow,Right
;;^UTILITY(U,$J,358.3,15312,1,4,0)
;;=4^M19.021
;;^UTILITY(U,$J,358.3,15312,2)
;;=^5010811
;;^UTILITY(U,$J,358.3,15313,0)
;;=M19.022^^58^724^10
;;^UTILITY(U,$J,358.3,15313,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15313,1,3,0)
;;=3^OA Primary,Elbow,Left
;;^UTILITY(U,$J,358.3,15313,1,4,0)
;;=4^M19.022
;;^UTILITY(U,$J,358.3,15313,2)
;;=^5010812
;;^UTILITY(U,$J,358.3,15314,0)
;;=M19.031^^58^724^20
;;^UTILITY(U,$J,358.3,15314,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15314,1,3,0)
;;=3^OA Primary,Wrist,Right
;;^UTILITY(U,$J,358.3,15314,1,4,0)
;;=4^M19.031
;;^UTILITY(U,$J,358.3,15314,2)
;;=^5010814
;;^UTILITY(U,$J,358.3,15315,0)
;;=M19.032^^58^724^19
;;^UTILITY(U,$J,358.3,15315,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15315,1,3,0)
;;=3^OA Primary,Wrist,Left
;;^UTILITY(U,$J,358.3,15315,1,4,0)
;;=4^M19.032
;;^UTILITY(U,$J,358.3,15315,2)
;;=^5010815
;;^UTILITY(U,$J,358.3,15316,0)
;;=M19.041^^58^724^13
;;^UTILITY(U,$J,358.3,15316,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15316,1,3,0)
;;=3^OA Primary,Hand,Right
;;^UTILITY(U,$J,358.3,15316,1,4,0)
;;=4^M19.041
;;^UTILITY(U,$J,358.3,15316,2)
;;=^5010817
;;^UTILITY(U,$J,358.3,15317,0)
;;=M19.042^^58^724^12
;;^UTILITY(U,$J,358.3,15317,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,15317,1,3,0)
;;=3^OA Primary,Hand,Left
;;^UTILITY(U,$J,358.3,15317,1,4,0)
;;=4^M19.042
;;^UTILITY(U,$J,358.3,15317,2)
;;=^5010818
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI0XZ 3773 printed Nov 22, 2024@17:08:09 Page 2
IBDEI0XZ ; ; 01-FEB-2022
+1 ;;3.0;IB ENCOUNTER FORM IMP/EXP;;FEB 01, 2022
+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,15305,1,3,0)
+2 ;;=3^OA Primary Unilateral,Hip,Left
+3 ;;^UTILITY(U,$J,358.3,15305,1,4,0)
+4 ;;=4^M16.12
+5 ;;^UTILITY(U,$J,358.3,15305,2)
+6 ;;=^5010772
+7 ;;^UTILITY(U,$J,358.3,15306,0)
+8 ;;=M17.11^^58^724^6
+9 ;;^UTILITY(U,$J,358.3,15306,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,15306,1,3,0)
+12 ;;=3^OA Primary Unilateral,Knee,Right
+13 ;;^UTILITY(U,$J,358.3,15306,1,4,0)
+14 ;;=4^M17.11
+15 ;;^UTILITY(U,$J,358.3,15306,2)
+16 ;;=^5010786
+17 ;;^UTILITY(U,$J,358.3,15307,0)
+18 ;;=M17.12^^58^724^5
+19 ;;^UTILITY(U,$J,358.3,15307,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,15307,1,3,0)
+22 ;;=3^OA Primary Unilateral,Knee,Left
+23 ;;^UTILITY(U,$J,358.3,15307,1,4,0)
+24 ;;=4^M17.12
+25 ;;^UTILITY(U,$J,358.3,15307,2)
+26 ;;=^5010787
+27 ;;^UTILITY(U,$J,358.3,15308,0)
+28 ;;=M19.071^^58^724^9
+29 ;;^UTILITY(U,$J,358.3,15308,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,15308,1,3,0)
+32 ;;=3^OA Primary,Ankle/Foot,Right
+33 ;;^UTILITY(U,$J,358.3,15308,1,4,0)
+34 ;;=4^M19.071
+35 ;;^UTILITY(U,$J,358.3,15308,2)
+36 ;;=^5010820
+37 ;;^UTILITY(U,$J,358.3,15309,0)
+38 ;;=M19.072^^58^724^8
+39 ;;^UTILITY(U,$J,358.3,15309,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,15309,1,3,0)
+42 ;;=3^OA Primary,Ankle/Foot,Left
+43 ;;^UTILITY(U,$J,358.3,15309,1,4,0)
+44 ;;=4^M19.072
+45 ;;^UTILITY(U,$J,358.3,15309,2)
+46 ;;=^5010821
+47 ;;^UTILITY(U,$J,358.3,15310,0)
+48 ;;=M19.011^^58^724^17
+49 ;;^UTILITY(U,$J,358.3,15310,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,15310,1,3,0)
+52 ;;=3^OA Primary,Shoulder,Right
+53 ;;^UTILITY(U,$J,358.3,15310,1,4,0)
+54 ;;=4^M19.011
+55 ;;^UTILITY(U,$J,358.3,15310,2)
+56 ;;=^5010808
+57 ;;^UTILITY(U,$J,358.3,15311,0)
+58 ;;=M19.012^^58^724^16
+59 ;;^UTILITY(U,$J,358.3,15311,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,15311,1,3,0)
+62 ;;=3^OA Primary,Shoulder,Left
+63 ;;^UTILITY(U,$J,358.3,15311,1,4,0)
+64 ;;=4^M19.012
+65 ;;^UTILITY(U,$J,358.3,15311,2)
+66 ;;=^5010809
+67 ;;^UTILITY(U,$J,358.3,15312,0)
+68 ;;=M19.021^^58^724^11
+69 ;;^UTILITY(U,$J,358.3,15312,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,15312,1,3,0)
+72 ;;=3^OA Primary,Elbow,Right
+73 ;;^UTILITY(U,$J,358.3,15312,1,4,0)
+74 ;;=4^M19.021
+75 ;;^UTILITY(U,$J,358.3,15312,2)
+76 ;;=^5010811
+77 ;;^UTILITY(U,$J,358.3,15313,0)
+78 ;;=M19.022^^58^724^10
+79 ;;^UTILITY(U,$J,358.3,15313,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,15313,1,3,0)
+82 ;;=3^OA Primary,Elbow,Left
+83 ;;^UTILITY(U,$J,358.3,15313,1,4,0)
+84 ;;=4^M19.022
+85 ;;^UTILITY(U,$J,358.3,15313,2)
+86 ;;=^5010812
+87 ;;^UTILITY(U,$J,358.3,15314,0)
+88 ;;=M19.031^^58^724^20
+89 ;;^UTILITY(U,$J,358.3,15314,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,15314,1,3,0)
+92 ;;=3^OA Primary,Wrist,Right
+93 ;;^UTILITY(U,$J,358.3,15314,1,4,0)
+94 ;;=4^M19.031
+95 ;;^UTILITY(U,$J,358.3,15314,2)
+96 ;;=^5010814
+97 ;;^UTILITY(U,$J,358.3,15315,0)
+98 ;;=M19.032^^58^724^19
+99 ;;^UTILITY(U,$J,358.3,15315,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,15315,1,3,0)
+102 ;;=3^OA Primary,Wrist,Left
+103 ;;^UTILITY(U,$J,358.3,15315,1,4,0)
+104 ;;=4^M19.032
+105 ;;^UTILITY(U,$J,358.3,15315,2)
+106 ;;=^5010815
+107 ;;^UTILITY(U,$J,358.3,15316,0)
+108 ;;=M19.041^^58^724^13
+109 ;;^UTILITY(U,$J,358.3,15316,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,15316,1,3,0)
+112 ;;=3^OA Primary,Hand,Right
+113 ;;^UTILITY(U,$J,358.3,15316,1,4,0)
+114 ;;=4^M19.041
+115 ;;^UTILITY(U,$J,358.3,15316,2)
+116 ;;=^5010817
+117 ;;^UTILITY(U,$J,358.3,15317,0)
+118 ;;=M19.042^^58^724^12
+119 ;;^UTILITY(U,$J,358.3,15317,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,15317,1,3,0)
+122 ;;=3^OA Primary,Hand,Left
+123 ;;^UTILITY(U,$J,358.3,15317,1,4,0)
+124 ;;=4^M19.042
+125 ;;^UTILITY(U,$J,358.3,15317,2)
+126 ;;=^5010818