hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
1.98k stars 1.3k forks source link

SearchParamMatcher `_id` Matching Bug #6137

Open melihaydogd opened 1 month ago

melihaydogd commented 1 month ago

Describe the bug When matching with _id field, the search param matcher uses StringParam instead of TokenParam. This should be TokenParam according to the FHIR specifications.

To Reproduce Steps to reproduce the behavior:

  1. Try to use SearchParamMatcher with _id parameter.

Expected behavior It should correctly matches the _id parameter.

Environment (please complete the following information):

melihaydogd commented 1 month ago

6138 is open for the fix.