Safeguarding Patient Data in Software as a Medical Device