of mandamus is a legal remedy for a legal right. There must be a well-defined, clear and certain legal right to the thing demanded. It is long established rule that a license to practice medicine is a privilege or franchise granted by the government.