There should be a fundamental right for patients to know this, otherwise they effectively don't have bodily autonomy.
Merely not being provided with documentation for how the device works and how to control it I could overlook; after all, we don't even have that for the bodies we're born with. Everything we know about how we work is reverse engineered. But the patient is most likely prohibited by law from reverse engineering or otherwise tampering with this device which is now part of their body, and that I cannot condone.
Have you ever seen good software written by a hardware company?
Imagine a pharma company announcing a brand new cure for "baldness" - but people would have to sign NDAs, could not remove their hats in public and so on.