Stream: hapi
Topic: We would like a custom sp implemented for the Connectahon.
Eric Haas (Dec 18 2020 at 22:36):
We would like a custom sp implemented for the Argonaut Patient List Track at Connectahon 26 on the HAPI R4 reference server, Is that possible?
The Search parameter is documented here: https://hackmd.io/f-1jjPG7T-Wsz4-k0XqJHg
and a Jira ticket for R5 inclusion here: FHIR-28291
Patrick Werner (Dec 21 2020 at 09:51):
Hi @Eric Haas Hmmm, normally it should be sufficient to POST the SearchParameter to a hapi Server. The public hapi server seems to have this function disabled, right @James Agnew ?
I tested it on my Testserver, it works. Just POST the SearchParamter to a hapi Server.
After this you can use the Searchparameter as hapi automatically creates search indexes.
Jens Villadsen (Dec 21 2020 at 12:03):
@Eric Haas Yep, they are disabled on the public HAPI server - you would need to spin up your own as @Patrick Werner says. It should be pretty strait forward using eg. the https://github.com/hapifhir/hapi-fhir-jpaserver-starter
Lin Zhang (Dec 21 2020 at 13:40):
Also helpful for me. Thank you both:rose:
Lin Zhang (Dec 21 2020 at 23:47):
@Patrick Werner @Jens Villadsen Could this method be used to resolve the following issue? Thanks.
The search parameter "name" is not working for the Patient resource. It returns a searchset with total = 0.
See HAPI-FHIR Issue #2259 on GitHub:
https://github.com/hapifhir/hapi-fhir/issues/2259
Lin Zhang (Dec 22 2020 at 01:45):
Ah, it's working. I mean my customized searchparameter but not the sp "name". Thanks.
Patrick Werner (Dec 22 2020 at 12:57):
Nice to hear. Have you tried to create a contains or equals SP?
Lin Zhang (Dec 22 2020 at 13:52):
Yeah, mysp:contains also works.:smiling_face:
Last updated: Apr 12 2022 at 19:14 UTC