User safety for battery powerd device against misuse of power supply
You need to study isolation. If you put a USB connector on the device, you'll need two means of patient protection, 5kV of isolation, and 250V working voltage to be medically safe. There are isolated DC-DC modules available. All of this is contained in IEC-60601. Study it. People are killed by designers that don't follow the rules.