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_search with NOT EQUAL(<> or !=) constraint #163

Open
ansuman273 opened this issue Oct 19, 2016 · 0 comments
Open

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

ansuman273 opened this issue Oct 19, 2016 · 0 comments
Assignees

Comments

@ansuman273
Copy link

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.

@maksym maksym self-assigned this Nov 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants