Drawing parallels between preventative medicine and law