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

FHIR Patient search doesn't work for Unicode family names #4249

Open
mathias-kogler-snkeos opened this issue Jun 3, 2024 · 0 comments
Open
Labels
bug Something isn't working

Comments

@mathias-kogler-snkeos
Copy link

Describe the bug
FHIR search for FHIR patient resources, that contain Unicode characters in the family name doesn't work.

Environment

Which version of LinuxForHealth FHIR Server?
Version: 5.1.1.6
OS: Windows 2022

To Reproduce
Steps to reproduce the behavior:

  1. POST a FHIR Patient resource containing Unicode characters in the family name to the FHIR server.
    E.g.,
{
	"resourceType": "Patient",
	"identifier": [
		{
			"system": "myuniquesystem",
			"use": "usual",
			"type": {
				"coding": [
					{
						"system": "http://terminology.hl7.org/CodeSystem/v2-0203",
						"code": "MR"
					}
				]
			},
			"value": "ベッカー"
		}
	],
	"name": [
		{
			"family": "ΤΖΌΖΕΦ"
		}
	],
	"gender": "unknown"
}
  1. Try to query for the previously created FHIR Patient resource using /fhir-server/api/v4/Patient?family:contains=ΤΖΌΖΕΦ.
  2. An empty FHIR Bundle resource is returned.

Expected behavior
The query should return the previously created FHIR Patient resource.

Additional context
Querying for FHIR Patient resources via an identifier, that contains Unicode characters, works as expected.
E.g., /fhir-server/api/v4/Patient?identifier=myuniquesystem|ベッカー works as expected and returns the previously created FHIR Patient resource.

@mathias-kogler-snkeos mathias-kogler-snkeos added the bug Something isn't working label Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant