Characterization of a HPHT diamond detector for clinical applications