rMedRQ function

DEPRECATED