What happens when the Swissmedic-Update runs?
- Packungen.xls delivers all the information about the drugs. Basically two Packungen.xls files are compared with each other.
- Praeparateliste_mit_WS.xls sets the Export-Flag and is used to see if any Registrations that are not in Packungen.xls are found in Praeparateliste_mit_WS.xls.
- If a package is deleted from Packungen.xls but is still in Praeparatelite_mit_WS.xls no "deactivated-date" is set because the drug is actually still registred with Swissmedic, it just does not have any Package-ID.
- If a package is not found in Packungen.xls and Praeparateliste.xls, which means the registration is deactivated, then the Swissmedic-Renewal-Flag is set to nil.
- The export_flag process and the deletion process are independent
- The deletion information comes from Packungen.xls and the export_flag information comes from Praeparateliste_mit_WS.xls
- The swissmedic expiry date is taken from the column M of Packungen.xls