The way I would solve that is by requiring that any software / documentation required for the operation, maintenance and repair of medical implants must be stored with some appropriate government body. If the company becomes unwilling or unable to service the product the information is made public.