Stream: hapi
Topic: Experimenting with the HAPI test server website
Georg Fette (Aug 13 2018 at 12:14):
Hi, I played a bit with the HAPI test server available at http://hapi.fhir.org and I have a question regarding the search capabilities:
When I select a resource on the left (e.g. Patient) on the right there is a search page on which several search parameters can be configured. One possible thing is the possibility to add parameters to the search. Via the drop-down-list elements of the resource can be additionallly contrained. But when I select "birthdate" the additional GUI parts vanish that let be define a desired birthdate (I would like to enter somthing like "50" or "> 50"). When I select "deceased" there are additonal GUI parts that let me constrain the elements. But I can only define a code system and a code for the boolean value deceased.
How is the search interface intended to be used correctly ?
Greetings
Georg
James Agnew (Aug 13 2018 at 19:20):
Patient:deceased
is a weird search parameter in that it checks the existence of a value, as opposed to indexing the value itself.
You should put true
as the value (with no value in the system part) if you want to match people who have a deceased value.
Brian Postlethwaite (Aug 13 2018 at 23:21):
And that search parameter has been updated for R4 to also check the boolean value too.
Georg Fette (Aug 14 2018 at 10:29):
I tried 'true' as the value for deceased but I got "Warning! Error during processing: null" when I execute the query.
Brian Postlethwaite (Aug 14 2018 at 10:43):
R4 isn't available yet, its almost to be released to ballot. Any test servers you find will have the old definition
Last updated: Apr 12 2022 at 19:14 UTC