CDCgov / dibbs-query-connector

A FHIR client allowing public health agencies to query health care organizations directly or via a TEFCA QHIN
Creative Commons Zero v1.0 Universal
4 stars 0 forks source link

Replace non-numeric characters in phone numbers with url encoding #167

Closed linear[bot] closed 1 day ago

linear[bot] commented 1 day ago

Description:

Found a bug in the way that we generate the list of phone numbers in our queries while working on QUE-52. This ticket fixes the bug by changing the way we generate the list of phone numbers to search for by replacing non-numeric characters, e.g. + and -, with their url encoded equivalents. This allows us to query for multiple phone numbers via eHealth Exchange, which eHealth devs recommend.

Acceptance Criteria:

When a user make a query that includes a phone number either through the API or UI, the generated list of phone numbers uses url encoding and the query is successful.

linear[bot] commented 1 day ago

QUE-84 Replace non-numeric characters in phone numbers with url encoding