make sure process:merge performed
fix patient submit record spec
add app logs