ansforge / annuaire-sante-fhir-serveur

MIT License
5 stars 0 forks source link

Support for advanced filtering #37

Open der-brecher opened 8 months ago

der-brecher commented 8 months ago

Description du problème

In case a disjunction of two attributes shall be subject to a search, basic FHIR search parameters are not sufficient. In this case, it helps if _filter search parameter with native FHIR query language is supported: https://build.fhir.org/search.html#filter

Fichier•s concerné•s

Practitioner and PractitionerRole both have search parameters mailbox-mss. A search for a practitioner (or one if its roles) by e-mail is not supported using a single request. Sample:

https://gateway.api.esante.gouv.fr/fhir/v1/PractitionerRole?_filter=mailbox-mss co amelie.agier@aura.mssante.fr or practitioner.mailbox-mss co amelie.agier@aura.mssante.fr

Solution proposée

Please support _filter.

mchaabaoui commented 7 months ago

Hi @der-brecher, thank you for the suggestion. Added to the product backlog.