FHIR Chat · Custom operation · implementers

Stream: implementers

Topic: Custom operation


view this post on Zulip Tuan Do (Jul 25 2019 at 23:04):

How i #implement o custom operation #implementers

view this post on Zulip Lloyd McKenzie (Jul 26 2019 at 00:05):

Are you asking how to define one, how to declare that you implement one, or how to write the code to support one? (And if the latter, what reference implementation language are you using, if any?)

view this post on Zulip Tuan Do (Jul 26 2019 at 01:00):

I need write the code a custom operation. Implementation language i using is java and i deverlop hapi fhir server

view this post on Zulip James Agnew (Jul 26 2019 at 01:03):

You can find information on developing custom operations in HAPI FHIR here: http://hapifhir.io/doc_rest_operations.html#_toc_extended_operations

view this post on Zulip Tuan Do (Jul 26 2019 at 01:05):

You can find information on developing custom operations in HAPI FHIR here: http://hapifhir.io/doc_rest_operations.html#_toc_extended_operations

I will read it, thank you

view this post on Zulip Tuan Do (Jul 26 2019 at 03:15):

@James Agnew i created @Operation(name="$closure") in main class

view this post on Zulip Tuan Do (Jul 26 2019 at 03:16):

build and deploy ok but when i invoke this method with url http://localhost:8088/fhir/$closure

view this post on Zulip Tuan Do (Jul 26 2019 at 03:17):

i receive a message in attach

view this post on Zulip Tuan Do (Jul 26 2019 at 03:17):

can you help me

view this post on Zulip Tuan Do (Jul 26 2019 at 03:18):

Screenshot-71.png

view this post on Zulip James Agnew (Jul 26 2019 at 09:50):

You need to put your operation methods in a resource provider class and then register that class with the server.

See http://hapifhir.io/doc_rest_server.html


Last updated: Apr 12 2022 at 19:14 UTC