FHIR Chat · Search by a part of Patient.identifier.value · implementers

Stream: implementers

Topic: Search by a part of Patient.identifier.value


view this post on Zulip Dimitar Dimitrov (Oct 16 2019 at 07:11):

Hello everyone.
I am trying to implement search by a part of Patient.identifyer.value. As far as I saw the identifier search is TOKEN based search so it is not possible to do that. Do you have any consideration about such kind of functionality? I have implemented separate API service (implementation of CQRS pattern) which uses HAPI FHIR implementation. So one of the variants is to make the search internally by getting all the patients and filter over them, but it seems that this is not so convenient.
Thanks in advance.

view this post on Zulip Grahame Grieve (Oct 16 2019 at 10:41):

the identifier search is TOKEN based search so it is not possible to do that

I don't follow that - what issue do you see?

view this post on Zulip Dimitar Dimitrov (Oct 16 2019 at 12:29):

I don't follow that - what issue do you see?

The requirement for the patient search of the system that we develop is to have a possibility to search with a part of the identifier value attribute. The users want to enter only a part from the identifier.value in order to find a resources that have a match.

view this post on Zulip Grahame Grieve (Oct 16 2019 at 12:39):

I don't recall discussing this issue with regard to any token search in the past. Anyone?

view this post on Zulip Brian Postlethwaite (Oct 17 2019 at 09:05):

Nope. Nothing I can think of.

view this post on Zulip John Moehrke (Oct 17 2019 at 12:38):

that would be very dangerous. Much like is the result in the USA of organizations using only the last 4 digits of the SSN. Might be okay to verify the result you got are for the patient (post query inspection of results), but as a query key is going to have way too many false-positives.

view this post on Zulip Grahame Grieve (Oct 17 2019 at 21:30):

there are cases where it makes sense, I think, even with that downside


Last updated: Apr 12 2022 at 19:14 UTC