You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It ended with an exception like java.lang.IllegalArgumentException: maritalStatus not found in Patient though we supply maritalStatus via a custom search parameter in FhirEngineConfiguration like below:
FhirEngineProvider.init(
FhirEngineConfiguration(
customSearchParameters =
listOf(
SearchParameter().apply {
addBase("Patient")
name = "maritalStatus"
code = "maritalStatus"
type = Enumerations.SearchParamType.TOKEN
expression = "Patient.maritalStatus.coding.code"
description = "Search the maritalStatus of Patient"
},
),
),
)
Expected behavior x-fhir-query should consider the custom search parameter to pull related data.
Would you like to work on the issue?
A PR is created which resolves the issue.
The text was updated successfully, but these errors were encountered:
asad-zaman
changed the title
Custom Search Parameter does not consider in x-fhir-query
Custom Search Parameter does not Consider in x-fhir-query
May 29, 2024
Describe the bug
Support for Custom Search Parameter implemented here #1382. But this doesn't work when we try to pull data via
x-fhir-query
.Component
Core library - Engine
To Reproduce
Steps to reproduce the behavior:
application/x-fhir-query
expression in the Questionnaire to pullPatient
datajava.lang.IllegalArgumentException: maritalStatus not found in Patient
though we supplymaritalStatus
via a custom search parameter inFhirEngineConfiguration
like below:Expected behavior
x-fhir-query
should consider the custom search parameter to pull related data.Would you like to work on the issue?
A PR is created which resolves the issue.
The text was updated successfully, but these errors were encountered: