FHIR Chat · Custom Search Parameters · hapi

Stream: hapi

Topic: Custom Search Parameters


view this post on Zulip Andrew Broadbent (Apr 24 2017 at 15:03):

Hi, I'm wondering if anyone can help me with an issue I'm having testing out custom search parameters. I've recently updated to 2.3 and have put together a test situation to attempt to create a custom search parameter and use it.

In the scenario, I've created a profile on observation, and two extensions to go with it, it represents a blood pressure reading (this is not important, it's just a simple test case). I upload them, then upload a search parameter to search for the systolic reading. Finally I upload the data, which contains three resources, each with an integer value for the systolic reading.

The problem I'm having is, if I set the search parameters type to 'number', the server returns 'Failed to call access method' when I attempt to upload the data. If I change it's type to token, I can upload the data, and I can search on it, but obviously I then can't perform > or < searches. We've tested changing it to all other codes on the recommended list and all others fail.

This seems like a bug, but I just wanted to check here and see if anyone might have an idea what's wrong?

Here's a link to the data, to replicate what I've done, upload profiles.xml (bundle), searchParameter.json (single resource), data.xml (bundle): https://www.dropbox.com/s/9945v2y0febfcri/TestData.zip?dl=0

TestData.zip

view this post on Zulip Andrew Broadbent (Apr 26 2017 at 14:48):

Hey just giving this another nudge. Is there anyone who I could discuss search parameters with? It's pretty critical to our application and we're hitting this error very frequently right now.

view this post on Zulip Grahame Grieve (Apr 27 2017 at 06:47):

@James Agnew - for you to follow up


Last updated: Apr 12 2022 at 19:14 UTC