The way medicines are selected for use in public hospitals is under scrutiny after doctors raised concerns.