Any person, subject to this code must be punished as a court-martial may direct, if he, for the purpose of avoiding work, duty, or service in the military forces:
(1) feigns illness, physical disablement, mental lapse, or derangement;
(2) intentionally inflicts self-injury;
(3) hires or attempts to hire any other person to do his duty.