taylorqj
11/27/2023, 4:40 PM/admin/projects/{projectId}/invite
route and noticed we're getting duplicate user accounts if we re-run the invite on an existing user. Our use-case requires that an invite be idempotent and we were hoping that the User would be deduped much like the Profile.
After digging a little bit I noticed in the invite.ts
you de-dupe User for Patient
invites but not Practitioner
. Just wanted to see if this is intentional or not!
Github issue here if this is a real issue: https://github.com/medplum/medplum/issues/3369
Thankstaylorqj
11/27/2023, 6:01 PMProjectMembership
and not actual users. I can see that the ProjectMembership
is a M:1 with user.. that clears things up a bit!
Can close this. Thanks!rahul1
11/28/2023, 7:15 PMtaylorqj
11/28/2023, 7:32 PM