fhirbase / fhirbase-plv8

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

Unsupported sorting of search results by date #94

Closed szymonp-kainos closed 7 years ago

szymonp-kainos commented 8 years ago

Executing query

select fhir_search('{"resourceType": "Observation", "queryString": "patient=jayson&code=8310-5&_count=10&_sort:desc=date"}')

returns error

ERROR: Error: Unsupported search type [undefined]}
SQL state: XX000
Detail: plv8_init() LINE 2696:       throw new Error("Unsupported search type [" + searchType + "]}");

Observation contains searching by date, so sorting should also be possible.

Tested on beta 18

szymonp-kainos commented 8 years ago

What's the status on this issue ?

Andrzej-Pietrzak commented 7 years ago

Rested on a forked 1.6 release: This seems to be fixed, I'm not seeing any issues we've seen before. I believe that this can be closed