microsoft / fhir-server

A service that implements the FHIR standard
MIT License
1.21k stars 518 forks source link

Add new SQL hash calculation #4737

Open LTA-Thinking opened 1 day ago

LTA-Thinking commented 1 day ago

Description

The SQL query hash has been including parameter values when it shouldn't, which is causing custom queries to be parameter value specific. This is undesired as custom queries should apply regardless of parameter values. This PR changes the way query hashes are generated to remove parameter values.

Related issues

Addresses Bug 131113: SQL query hashes have parameter value hashes included

Testing

Describe how this change was tested.

FHIR Team Checklist

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)