java code for bodyandalarmandreport