You can definitely make solid arguments for or against the ethics of medicine, particularly as a business, and you can definitely make solid arguments for or against the ethics of the military.
My point is more that it's quite difficult to make a lot of arguments at all about software engineering ethics. Find me a book on ethical network administration at Barnes and Noble.
To your ethical claim: can engineers go to prison for being unethical? No. Can physicians? Yes.
Doctors aren’t as politically attractive a target as insurance companies, hospital administrators, or big pharma, but there’s no rational basis for leaving their interests unscathed when tackling unduly expensive medicine."
http://www.slate.com/articles/business/moneybox/2013/02/amer...
Yes! Compared to the noble physician, programmers like like Linus Torvalds (Linux, Git) and Richard Stallman (Emacs, GCC) who freely give away the fruits of their labor, even when it generates billions of dollars in value of which they reap only a tiny fraction, are nowhere near as ethical.
Physicians are so ethical, in fact, that medical bills are number one cause of bankruptcy in the US!