Skip to content

fhir_search with NOT EQUAL(<> or !=) constraint  #163

@ansuman273

Description

@ansuman273

We have a requirement in fhirbase like searching all the Patient records whose name not equal to 'smith'

So we modified fhir_search(SELECT fhir_search('{"resourceType": "Patient", "queryString": "name=smith"}');) as

SELECT fhir_search('{"resourceType": "Patient", "queryString": "name<>smith"}');
but it is throwing error
ERROR: TypeError: Cannot call method 'split' of undefined
DETAIL: plv8_init() LINE 3912: return x.split(',').map(parse_one_value);
********** Error **********

ERROR: TypeError: Cannot call method 'split' of undefined
SQL state: XX000
Detail: plv8_init() LINE 3912: return x.split(',').map(parse_one_value);
Could you please suggest how to do it or any alternative.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions