Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: check that personal data fields are not populated for anonymousPerson #74

Open
kd-ods opened this issue Mar 24, 2022 · 0 comments
Labels

Comments

@kd-ods
Copy link
Collaborator

kd-ods commented Mar 24, 2022

There should be a warning if:

PersonStatement.personType is 'anonymousPerson'

AND

  • PersonStatement.names contains any name object with a non-empty string for *name; or
  • PersonStatement.identifiers contains any identifier object with a non-empty string for id; or
  • PersonStatement.birthDate contains a non-empty string

(I think those are the key properties that we would want to flag.)

@kd-ods kd-ods added the test label Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant