fix #5558 prevent previous name and address with session pid in new patient form...
commite563ad2c2c4e70889060f4d8be331e06bdceac63
authorstephen waite <stephen.waite@cmsvt.com>
Tue, 12 Jul 2022 20:47:31 +0000 (12 16:47 -0400)
committerGitHub <noreply@github.com>
Tue, 12 Jul 2022 20:47:31 +0000 (12 16:47 -0400)
tree59d05634807eac2a25885c67eed9e87c83186b1f
parentd9ec1f75971950416644423a087ed0e93d8c0e45
fix #5558 prevent previous name and address with session pid in new patient form (#5561)

* clear patient when click on add new

* follow Brady's advice

* send in a flag instead

* use data_type for compare
interface/new/new_comprehensive.php
library/options.inc.php
library/templates/address_list_form.php