Wages for work done shall be determined on an equitable basis by special agreements between the internees, the Detaining Power, and, if the case arises, employers other than the Detaining Power, due regard being paid to the obligation of the Detaining Power to provide for free maintenance of internees and for the medical attention which their state of health may require.