Hans,
You haven't got a headache.
If you had known the gory details of Pharmaceutical quality systems and the abbreviations, then you would have a perpetual headache.
Basically, the Active Pharmaceutical Ingredient ( API ) is tested by the manufacturer for impurities ( eg related substances and process impurities such as residual catalysts, solvents ), and efficacy. These tests, or a subset, are repeated for each batch of product manufactured.
The stability of the unformulated API is also tested under various conditions to ensure it doesn't degrade before use. All of that information is provided to regulators in Drug Master Files for prior approval before it can be commercially marketed.
Note that any change to the approved process will require a major reinvestigation of the effects on product quality.
Typical cost for new API approval = about three times the annual proposed total bonus payments to AIG staff.
The formulator is required to repeat most tests on each batch of their own products to show that they haven't added toxins, encouraged API degradation, or affected efficacy.
If the API and formulation are in compendial protocols ( eg Pharmacopeia, Codex, or Formulary ) then some of the testing may be foregone, but then the manufacturer has to show compliance with all the compendial requirements.
The compendial and regulator requirements often use ICH Q-series guidelines for the whole process, and terms like verification and validation are defined in their documents, available at the ICH www site.
However, in many countries, it's only health foods ( eg "organic" ) that escape most form of chemical quality control.
Hope the above doesn't cause a headache...
Please keep having fun,
Bruce hamilton