Multiple demographics datasets | Sev | 2018-05-22 10:38 |
Status: Closed | ||
Hello Our users have requested that we hide demographics data from all but a small set of admin users for our LabKey instance. To strike a balance between setting up this level of security and still being able to use datasets that refer back to the participantid in the Demographics table, we have created a separate AdminDemographics dataset to supplement the Demographics dataset. AdminDemographics contains PHI such as MRN, Names, Birth dates, etc and the Demographics dataset contains only the participant ID column. We keep these in sync with triggers. We created the AdminDemographics dataset via: The impact of this was that MRN was not allowed to be set by users when adding new records, breaking the ability to add new patients to the system. We were able to correct this by manually resetting the additional key column back to none. I also noticed if I select the 'Demographic Data' check box the MRN is settable on insert. My questions:
EDIT: I attached csv files for the admindemographics entries in the study.dataset and exp.domaindescriptor tables in case that is helpful Thanks! Sev |
||