Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sw operator to _filter search #5666

Merged
merged 1 commit into from
Dec 13, 2024
Merged

Add sw operator to _filter search #5666

merged 1 commit into from
Dec 13, 2024

Conversation

mattwiller
Copy link
Member

Adds support for the sw (starts with) operator to the _filter search parameter. This enables a seamless transition from the current prefix-matching behavior of eq on string parameters to spec-compliant exact matching in Medplum v4

@mattwiller mattwiller added the search Features and fixes related to search label Dec 12, 2024
@mattwiller mattwiller added this to the December 31, 2024 milestone Dec 12, 2024
@mattwiller mattwiller self-assigned this Dec 12, 2024
@mattwiller mattwiller requested a review from a team as a code owner December 12, 2024 20:22
Copy link

vercel bot commented Dec 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
medplum-app ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 8:48pm
medplum-provider ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 8:48pm
medplum-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 8:48pm
medplum-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 12, 2024 8:48pm

@mattwiller mattwiller added this pull request to the merge queue Dec 13, 2024
Merged via the queue into main with commit 9c70321 Dec 13, 2024
35 checks passed
@mattwiller mattwiller deleted the search-starts-with branch December 13, 2024 17:50
medplumbot added a commit that referenced this pull request Dec 14, 2024
## What's Changed

* docs(react-hooks): fix link description text (#5612)
* Preserve sort order for chained search using implicit joins (#5513)
* Use exponential backoff for bot deploy retries (#5618)
* Fsh (FHIR Shorthand) example (#5617)
* Fix markdown formatting on binary-data page (#5521)
* Helm & Terraform Deployment for Medplum app on GCP (#5390)
* Fixes #5616 - replace add/save buttons on search filter editor (#5620)
* Split config settings table into full sections (#5619)
* Add support for enableWhenExpression (#5624)
* Log verbose warning on database statement timeout (#5626)
* Do not fetch client info when client_id is medplum-cli (#5635)
* Disambiguate code column in $expand SQL (#5637)
* Client-side filtering in requestSchema to avoid loading  extra SDs (#5638)
* Address vscode vitest extension errors (#5639)
* Docs: Fixes invalid TS syntax for reverse chained search (#5628)
* Conditionally show DoseSpot icon in medplum-provider (#5623)
* feat(server): add super admin table settings route (#5633)
* Dependency upgrades 2024-12-09 (#5640)
* Support multi select (#5643)
* S3 Native Presigned URLs (#5445)
* Make AuditEventActionLookup exhaustive (#5652)
* Error in Heading caused sidebar issue migration-pipelines.md (#5650)
* Add defaultHeaders optional parameter for MedplumClient Constructor (#5653)
* Use transaction for If-Match check (#5647)
* Enhance audit logs with resource reference and interaction duration (#5649)
* feat(server): add logging for each seed step and duration (#5655)
* Add counter metric for FHIR interactions (#5656)
* docs: Add Multi-Tenant Access Control Implementation Guide (#5621)
* Fix metrics for interaction duration and count (#5659)
* feat(server): log more stats per table, allow tables to be specified (#5662)
* Fixes #5663 - add inner types to base-schema.json (#5665)
* Add sw operator to _filter search (#5666)
* Allow applying slice to singleton elements (#5661)
* Version policy doc (#5670)
* Remove note about _filter not supporting chained search (#5667)
* Questionnaire Builder preserve  whitespace in question (#5648)
* Added NDC constant (#5671)

**Full Changelog**: v3.2.24...v3.2.25
github-merge-queue bot pushed a commit that referenced this pull request Dec 14, 2024
## What's Changed

* docs(react-hooks): fix link description text (#5612)
* Preserve sort order for chained search using implicit joins (#5513)
* Use exponential backoff for bot deploy retries (#5618)
* Fsh (FHIR Shorthand) example (#5617)
* Fix markdown formatting on binary-data page (#5521)
* Helm & Terraform Deployment for Medplum app on GCP (#5390)
* Fixes #5616 - replace add/save buttons on search filter editor (#5620)
* Split config settings table into full sections (#5619)
* Add support for enableWhenExpression (#5624)
* Log verbose warning on database statement timeout (#5626)
* Do not fetch client info when client_id is medplum-cli (#5635)
* Disambiguate code column in $expand SQL (#5637)
* Client-side filtering in requestSchema to avoid loading  extra SDs (#5638)
* Address vscode vitest extension errors (#5639)
* Docs: Fixes invalid TS syntax for reverse chained search (#5628)
* Conditionally show DoseSpot icon in medplum-provider (#5623)
* feat(server): add super admin table settings route (#5633)
* Dependency upgrades 2024-12-09 (#5640)
* Support multi select (#5643)
* S3 Native Presigned URLs (#5445)
* Make AuditEventActionLookup exhaustive (#5652)
* Error in Heading caused sidebar issue migration-pipelines.md (#5650)
* Add defaultHeaders optional parameter for MedplumClient Constructor (#5653)
* Use transaction for If-Match check (#5647)
* Enhance audit logs with resource reference and interaction duration (#5649)
* feat(server): add logging for each seed step and duration (#5655)
* Add counter metric for FHIR interactions (#5656)
* docs: Add Multi-Tenant Access Control Implementation Guide (#5621)
* Fix metrics for interaction duration and count (#5659)
* feat(server): log more stats per table, allow tables to be specified (#5662)
* Fixes #5663 - add inner types to base-schema.json (#5665)
* Add sw operator to _filter search (#5666)
* Allow applying slice to singleton elements (#5661)
* Version policy doc (#5670)
* Remove note about _filter not supporting chained search (#5667)
* Questionnaire Builder preserve  whitespace in question (#5648)
* Added NDC constant (#5671)

**Full Changelog**: v3.2.24...v3.2.25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
search Features and fixes related to search
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants