ansforge / annuaire-sante-fhir-serveur

MIT License
4 stars 0 forks source link

Search for PractitionerRole::mailbox-mss does not always work #31

Closed der-brecher closed 5 months ago

der-brecher commented 6 months ago

Description du problème

The search for PractitionerRole::mailbox-mss does not work reliably. For certain PractitionerRoles the search does not find the resource.

Fichier•s concerné•s

I tried finding my person under test with MSS e-mail "amelie.agier@aura.mssante.fr" and didn't find it: https://gateway.api.esante.gouv.fr/fhir/v1/PractitionerRole?mailbox-mss=amelie.agier%40aura.mssante.fr

On the other hand, the following request finds another role: https://gateway.api.esante.gouv.fr/fhir/v1/PractitionerRole?mailbox-mss=elena.gyori%40imm.mssante.fr

Just a guess: The first role does contain two mss-addresses whereas the second role only contains one mail address. Could be a clue towards the bug.

Solution proposée

Please fix this issue.

der-brecher commented 5 months ago

Sorry, this is no issue. I requested the wrong resource. The person does have this e-mail but as a mail at Practitioner instead of PractitionerRole.