Text this: Design of an algorithm for the diagnostic approach of patients with joint pain