bug: On add new patient Previous name populates with wrong name #6769
Closed
Description
Describe the bug
Appears name fetch when pid = 0 will return a previously saved name to pid 0.
Unknown how a save to pid = 0 occurs but will add a conditional to prevent a new insert when 0.
To Reproduce
Steps to reproduce the behavior:
Start a new patient add
Client configuration
- Browser:
- OpenEMR version: v7.0.1+
- Operating system: