Advancing Medical Representation Learning Through High-Quality Data