Often, patient program enrollments are associated with a particular identifier - for example, a unique identifier that a Treatment Program may use to track it's patients, or a unique identifier that a study may use to track it's participants.
Additionally, these identifiers may need privileges associated with the program. You don't necessarily want, for example, all study participant identifiers to show up by default on the patient's dashboard and to be visible to all.
There are 2 options here which are being considered and need design review:
- Add a simple identifier String to the PatientProgram object/table.
- Optionally link IdentifierType to a Program, and a PatientIdentifier to a PatientProgram, and add securi
ty around these as needed.