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

Rich form field configuration – PII, analytics, identifiers... #6372

Open
rikukissa opened this issue Dec 14, 2023 · 1 comment
Open

Rich form field configuration – PII, analytics, identifiers... #6372

rikukissa opened this issue Dec 14, 2023 · 1 comment

Comments

@rikukissa
Copy link
Member

rikukissa commented Dec 14, 2023

Make it possible for the backend to connect an input datapoint with its original field definition. This enables counties to configure fields

{
  fieldId: 'child.nationalId',
  deduplication: {
    unique: true
  },
  allowCorrection: false,
  pii: true,
  identifier: true,
  identifierType: 'NID'
},
{
  fieldId: 'mother.educationLevel',
  allowCorrection: true,
  pii: false,
  statistic: true
}

Why this is important

Overall, this will reduce core's reliance on forms fields and allows more dynamic form creation and different type of forms without a Medium+ development project.

In the long term, this will enable countries for example to

  • Allow selecting which fields can be corrected
  • Mark form fields are PII. This will also enable us to build integrations where PII is removed before data gets sent.
  • Define which fields to use as identifiers (passport, NID). This would enable countries to add more ID types without core changes.
  • Specify fields that are stored for statistics purposes. These could be made different per country.
  • Define how custom fields should be converted to FHIR

Related:

@rikukissa rikukissa added the Tech label Dec 14, 2023
@rikukissa rikukissa changed the title Refactor client to send unique form field IDs with the form values to gateway on record creation / update Rich form field configuration – PII, analytics, identifiers... Dec 14, 2023
@rikukissa
Copy link
Member Author

Changing this to an experiment so we get this moving quicker

@rikukissa rikukissa added this to the v1.6.1 candidates milestone Aug 23, 2024
@rikukissa rikukissa removed this from the v1.6.1 candidates milestone Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Backlog
Development

No branches or pull requests

1 participant