IBDEI29E ; ; 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,36070,1,3,0)
;;=3^Trigeminal Neuralgia
;;^UTILITY(U,$J,358.3,36070,1,4,0)
;;=4^G50.0
;;^UTILITY(U,$J,358.3,36070,2)
;;=^121978
;;^UTILITY(U,$J,358.3,36071,0)
;;=M79.10^^139^1830^27
;;^UTILITY(U,$J,358.3,36071,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36071,1,3,0)
;;=3^Myalga,Unspec Site
;;^UTILITY(U,$J,358.3,36071,1,4,0)
;;=4^M79.10
;;^UTILITY(U,$J,358.3,36071,2)
;;=^5157394
;;^UTILITY(U,$J,358.3,36072,0)
;;=M79.11^^139^1830^29
;;^UTILITY(U,$J,358.3,36072,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36072,1,3,0)
;;=3^Myalgia,Mastication Muscle
;;^UTILITY(U,$J,358.3,36072,1,4,0)
;;=4^M79.11
;;^UTILITY(U,$J,358.3,36072,2)
;;=^5157395
;;^UTILITY(U,$J,358.3,36073,0)
;;=M79.12^^139^1830^28
;;^UTILITY(U,$J,358.3,36073,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36073,1,3,0)
;;=3^Myalgia,Auxiliary Muscles,Head/Neck
;;^UTILITY(U,$J,358.3,36073,1,4,0)
;;=4^M79.12
;;^UTILITY(U,$J,358.3,36073,2)
;;=^5157396
;;^UTILITY(U,$J,358.3,36074,0)
;;=M79.18^^139^1830^30
;;^UTILITY(U,$J,358.3,36074,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36074,1,3,0)
;;=3^Myalgia,Other Site
;;^UTILITY(U,$J,358.3,36074,1,4,0)
;;=4^M79.18
;;^UTILITY(U,$J,358.3,36074,2)
;;=^5157397
;;^UTILITY(U,$J,358.3,36075,0)
;;=Z47.1^^139^1831^1
;;^UTILITY(U,$J,358.3,36075,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36075,1,3,0)
;;=3^Aftercare following joint replacement surgery
;;^UTILITY(U,$J,358.3,36075,1,4,0)
;;=4^Z47.1
;;^UTILITY(U,$J,358.3,36075,2)
;;=^5063025
;;^UTILITY(U,$J,358.3,36076,0)
;;=Z96.662^^139^1831^2
;;^UTILITY(U,$J,358.3,36076,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36076,1,3,0)
;;=3^Presence of left artificial ankle joint
;;^UTILITY(U,$J,358.3,36076,1,4,0)
;;=4^Z96.662
;;^UTILITY(U,$J,358.3,36076,2)
;;=^5063710
;;^UTILITY(U,$J,358.3,36077,0)
;;=Z96.622^^139^1831^3
;;^UTILITY(U,$J,358.3,36077,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36077,1,3,0)
;;=3^Presence of left artificial elbow joint
;;^UTILITY(U,$J,358.3,36077,1,4,0)
;;=4^Z96.622
;;^UTILITY(U,$J,358.3,36077,2)
;;=^5063696
;;^UTILITY(U,$J,358.3,36078,0)
;;=Z96.642^^139^1831^4
;;^UTILITY(U,$J,358.3,36078,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36078,1,3,0)
;;=3^Presence of left artificial hip joint
;;^UTILITY(U,$J,358.3,36078,1,4,0)
;;=4^Z96.642
;;^UTILITY(U,$J,358.3,36078,2)
;;=^5063702
;;^UTILITY(U,$J,358.3,36079,0)
;;=Z96.652^^139^1831^5
;;^UTILITY(U,$J,358.3,36079,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36079,1,3,0)
;;=3^Presence of left artificial knee joint
;;^UTILITY(U,$J,358.3,36079,1,4,0)
;;=4^Z96.652
;;^UTILITY(U,$J,358.3,36079,2)
;;=^5063706
;;^UTILITY(U,$J,358.3,36080,0)
;;=Z96.612^^139^1831^6
;;^UTILITY(U,$J,358.3,36080,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36080,1,3,0)
;;=3^Presence of left artificial shoulder joint
;;^UTILITY(U,$J,358.3,36080,1,4,0)
;;=4^Z96.612
;;^UTILITY(U,$J,358.3,36080,2)
;;=^5063693
;;^UTILITY(U,$J,358.3,36081,0)
;;=Z96.632^^139^1831^7
;;^UTILITY(U,$J,358.3,36081,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36081,1,3,0)
;;=3^Presence of left artificial wrist joint
;;^UTILITY(U,$J,358.3,36081,1,4,0)
;;=4^Z96.632
;;^UTILITY(U,$J,358.3,36081,2)
;;=^5063699
;;^UTILITY(U,$J,358.3,36082,0)
;;=Z96.60^^139^1831^14
;;^UTILITY(U,$J,358.3,36082,1,0)
;;=^358.31IA^4^2
;;^UTILITY(U,$J,358.3,36082,1,3,0)
;;=3^Presence of unspecified orthopedic joint implant
--- Routine Detail --- with STRUCTURED ROUTINE LISTING ---[H[J[2J[HIBDEI29E 3806 printed Dec 13, 2024@02:24:20 Page 2
IBDEI29E ; ; 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,36070,1,3,0)
+2 ;;=3^Trigeminal Neuralgia
+3 ;;^UTILITY(U,$J,358.3,36070,1,4,0)
+4 ;;=4^G50.0
+5 ;;^UTILITY(U,$J,358.3,36070,2)
+6 ;;=^121978
+7 ;;^UTILITY(U,$J,358.3,36071,0)
+8 ;;=M79.10^^139^1830^27
+9 ;;^UTILITY(U,$J,358.3,36071,1,0)
+10 ;;=^358.31IA^4^2
+11 ;;^UTILITY(U,$J,358.3,36071,1,3,0)
+12 ;;=3^Myalga,Unspec Site
+13 ;;^UTILITY(U,$J,358.3,36071,1,4,0)
+14 ;;=4^M79.10
+15 ;;^UTILITY(U,$J,358.3,36071,2)
+16 ;;=^5157394
+17 ;;^UTILITY(U,$J,358.3,36072,0)
+18 ;;=M79.11^^139^1830^29
+19 ;;^UTILITY(U,$J,358.3,36072,1,0)
+20 ;;=^358.31IA^4^2
+21 ;;^UTILITY(U,$J,358.3,36072,1,3,0)
+22 ;;=3^Myalgia,Mastication Muscle
+23 ;;^UTILITY(U,$J,358.3,36072,1,4,0)
+24 ;;=4^M79.11
+25 ;;^UTILITY(U,$J,358.3,36072,2)
+26 ;;=^5157395
+27 ;;^UTILITY(U,$J,358.3,36073,0)
+28 ;;=M79.12^^139^1830^28
+29 ;;^UTILITY(U,$J,358.3,36073,1,0)
+30 ;;=^358.31IA^4^2
+31 ;;^UTILITY(U,$J,358.3,36073,1,3,0)
+32 ;;=3^Myalgia,Auxiliary Muscles,Head/Neck
+33 ;;^UTILITY(U,$J,358.3,36073,1,4,0)
+34 ;;=4^M79.12
+35 ;;^UTILITY(U,$J,358.3,36073,2)
+36 ;;=^5157396
+37 ;;^UTILITY(U,$J,358.3,36074,0)
+38 ;;=M79.18^^139^1830^30
+39 ;;^UTILITY(U,$J,358.3,36074,1,0)
+40 ;;=^358.31IA^4^2
+41 ;;^UTILITY(U,$J,358.3,36074,1,3,0)
+42 ;;=3^Myalgia,Other Site
+43 ;;^UTILITY(U,$J,358.3,36074,1,4,0)
+44 ;;=4^M79.18
+45 ;;^UTILITY(U,$J,358.3,36074,2)
+46 ;;=^5157397
+47 ;;^UTILITY(U,$J,358.3,36075,0)
+48 ;;=Z47.1^^139^1831^1
+49 ;;^UTILITY(U,$J,358.3,36075,1,0)
+50 ;;=^358.31IA^4^2
+51 ;;^UTILITY(U,$J,358.3,36075,1,3,0)
+52 ;;=3^Aftercare following joint replacement surgery
+53 ;;^UTILITY(U,$J,358.3,36075,1,4,0)
+54 ;;=4^Z47.1
+55 ;;^UTILITY(U,$J,358.3,36075,2)
+56 ;;=^5063025
+57 ;;^UTILITY(U,$J,358.3,36076,0)
+58 ;;=Z96.662^^139^1831^2
+59 ;;^UTILITY(U,$J,358.3,36076,1,0)
+60 ;;=^358.31IA^4^2
+61 ;;^UTILITY(U,$J,358.3,36076,1,3,0)
+62 ;;=3^Presence of left artificial ankle joint
+63 ;;^UTILITY(U,$J,358.3,36076,1,4,0)
+64 ;;=4^Z96.662
+65 ;;^UTILITY(U,$J,358.3,36076,2)
+66 ;;=^5063710
+67 ;;^UTILITY(U,$J,358.3,36077,0)
+68 ;;=Z96.622^^139^1831^3
+69 ;;^UTILITY(U,$J,358.3,36077,1,0)
+70 ;;=^358.31IA^4^2
+71 ;;^UTILITY(U,$J,358.3,36077,1,3,0)
+72 ;;=3^Presence of left artificial elbow joint
+73 ;;^UTILITY(U,$J,358.3,36077,1,4,0)
+74 ;;=4^Z96.622
+75 ;;^UTILITY(U,$J,358.3,36077,2)
+76 ;;=^5063696
+77 ;;^UTILITY(U,$J,358.3,36078,0)
+78 ;;=Z96.642^^139^1831^4
+79 ;;^UTILITY(U,$J,358.3,36078,1,0)
+80 ;;=^358.31IA^4^2
+81 ;;^UTILITY(U,$J,358.3,36078,1,3,0)
+82 ;;=3^Presence of left artificial hip joint
+83 ;;^UTILITY(U,$J,358.3,36078,1,4,0)
+84 ;;=4^Z96.642
+85 ;;^UTILITY(U,$J,358.3,36078,2)
+86 ;;=^5063702
+87 ;;^UTILITY(U,$J,358.3,36079,0)
+88 ;;=Z96.652^^139^1831^5
+89 ;;^UTILITY(U,$J,358.3,36079,1,0)
+90 ;;=^358.31IA^4^2
+91 ;;^UTILITY(U,$J,358.3,36079,1,3,0)
+92 ;;=3^Presence of left artificial knee joint
+93 ;;^UTILITY(U,$J,358.3,36079,1,4,0)
+94 ;;=4^Z96.652
+95 ;;^UTILITY(U,$J,358.3,36079,2)
+96 ;;=^5063706
+97 ;;^UTILITY(U,$J,358.3,36080,0)
+98 ;;=Z96.612^^139^1831^6
+99 ;;^UTILITY(U,$J,358.3,36080,1,0)
+100 ;;=^358.31IA^4^2
+101 ;;^UTILITY(U,$J,358.3,36080,1,3,0)
+102 ;;=3^Presence of left artificial shoulder joint
+103 ;;^UTILITY(U,$J,358.3,36080,1,4,0)
+104 ;;=4^Z96.612
+105 ;;^UTILITY(U,$J,358.3,36080,2)
+106 ;;=^5063693
+107 ;;^UTILITY(U,$J,358.3,36081,0)
+108 ;;=Z96.632^^139^1831^7
+109 ;;^UTILITY(U,$J,358.3,36081,1,0)
+110 ;;=^358.31IA^4^2
+111 ;;^UTILITY(U,$J,358.3,36081,1,3,0)
+112 ;;=3^Presence of left artificial wrist joint
+113 ;;^UTILITY(U,$J,358.3,36081,1,4,0)
+114 ;;=4^Z96.632
+115 ;;^UTILITY(U,$J,358.3,36081,2)
+116 ;;=^5063699
+117 ;;^UTILITY(U,$J,358.3,36082,0)
+118 ;;=Z96.60^^139^1831^14
+119 ;;^UTILITY(U,$J,358.3,36082,1,0)
+120 ;;=^358.31IA^4^2
+121 ;;^UTILITY(U,$J,358.3,36082,1,3,0)
+122 ;;=3^Presence of unspecified orthopedic joint implant