OpenPatientRecord service creates duplicate patient records owned by different users

Description

When requesting patient records with a specific external identifier, if a private (inaccessible) patient record already exist, then a duplicate is created. This will later break opening the patient record again.

Environment

None

Assignee

Sergiu Dumitriu

Reporter

Sergiu Dumitriu

Labels

None

External issue ID

None

Fix versions

Affects versions

Priority

Medium
Configure