fhirbase / fhirbase-plv8

[DEPRECATED] Fhirbase 2.0 is an FHIR relational storage
https://health-samurai.io/fhirbase
Other
105 stars 39 forks source link

Incorrect search behavior #162

Closed ratp0is0n closed 7 years ago

ratp0is0n commented 7 years ago

The following query doesn't work because the second patient guid starts with 'eb' and it is a registered prefix (operator) in FHIR:

SELECT fhir_search_sql('{"resourceType": "Provenance", 
"queryString": "patient=235d1b44-23dc-4d17-9df8-819851886322,eb4648e5-62a5-4513-ab39-02d9b610f700"}');
maksym commented 7 years ago

Provenance.patient search parameter has reference type so try to use something like patient=Patient/id