for unit test checkPatientIdentifiers_shouldThrowErrorWhenPatientHasIdenticalIdentifiers
Developers expect a DuplicateIdentifierException to be thrown during testing, but this not the case. The reason for this is because a PatientIdentifierException is thrown before a DuplicateIdentifierException can be raise. To fix this, the "location" field of the PatientIdentifier field must be initialized.
See pull request for the fix: