Licensing of manufacturing of medicines