Stream: implementers
Topic: Search _filter for Medication
Dimitar Dimitrov (Feb 09 2020 at 16:49):
Hello all.
I am trying to produce a search URL for Medications by using _filter parameter. The Medication resources have their codes as it shown in the example:
...
"code": {
"coding": [
{
"system": "http://terminology.elmediko.com/CodeSystem/medication-codes-sat",
"code": "PT009509",
"display": "VIDAZA INJECTION VIAL DRY 100MG 1"
}
]
},
....
The FHIR implementation uses HAPI FHIR JPA server R4. I tried different formats for the search URL using the sw (starts with) and co modifiers, but unsuccessfully. Does anybody knows whether I can use starts-with(sw) or contains(co) operators over the Medication.code.coding[*].display property with _filter parameter, or I must implement my own REST facade to facilitate such kind of searches?
Thanks in advance?
Lloyd McKenzie (Feb 10 2020 at 00:02):
@James Agnew
Last updated: Apr 12 2022 at 19:14 UTC