A method for authenticating digital records for healthcare systems