Stream: hapi
Topic: Calling translate operation over conceptMap
Diego Bosca (Jan 18 2021 at 17:09):
I'm trying to use the $translate operation over a given conceptMap, but I haven't been able to find how it is supposed to be called. It seems to not be a method over the ConceptMap java object. How should operations be called from the API?
Lin Zhang (Jan 19 2021 at 00:51):
http://hl7.org/fhir/conceptmap-operation-translate.html
Diego Bosca (Jan 19 2021 at 08:26):
I meant the Java API, I know the place on the specification :)
Lin Zhang (Jan 19 2021 at 12:32):
https://hapifhir.io/hapi-fhir/docs/appendix/javadocs.html
Diego Bosca (Jan 20 2021 at 08:50):
I know the API page itself, but I have no seen any example about how executing operations using that API
Diego Bosca (Jan 21 2021 at 17:07):
I've found and old example that I have translated to R4
client.operation().onType(ConceptMap.class).named("$translate").withParameters(inParams).useHttpGet().execute();
How do I specify the actual id of the ConceptMap to be used?
Lin Zhang (Jan 21 2021 at 23:31):
Specify its _id in your InParams?
Lin Zhang (Jan 21 2021 at 23:42):
Or ... .withId("example_id") ...?
Diego Bosca (Jan 28 2021 at 12:02):
I haven't found any place where the 'withId("example_id")' can be specified on the 'client.operation().onType(ConceptMap.class).named("$translate").withParameters(inParams).useHttpGet().execute();' line.
Rey Limosenero (Jun 17 2021 at 14:40):
(deleted)
Last updated: Apr 12 2022 at 19:14 UTC