Comparative study of certain substituted ions in hydroxyapatite: characterization and effect on cell viability