FHIR Chat · Hapi, Java, Terminology · implementers

Stream: implementers

Topic: Hapi, Java, Terminology


view this post on Zulip Zak Guler (Jun 17 2019 at 17:53):

question related to HAPI. I have [vaccine code:3] and [system: http://hl7.org/fhir/ValueSet/vaccine-code]. how can I use HAPI/FHIR to get the [display] and/or the [description] using java?
thanx
Zak

view this post on Zulip Grahame Grieve (Jun 17 2019 at 17:56):

your system should be http://hl7.org/fhir/sid/cvx - that's the URL of the code system that defines the cvx code. the value set URL just identifies a particular selection of codes.

view this post on Zulip Grahame Grieve (Jun 17 2019 at 17:57):

once you do that.. I think you use validateCode on IWorkerContext - you should have one of those hanging around, but for cvx you'll have to set it up with access to a terminology server like http://tx.fhir.org (which is not suitable for production usage)

view this post on Zulip Grahame Grieve (Jun 17 2019 at 18:09):

see http://hl7.org/fhir/terminologies.html#valuesets for more information

view this post on Zulip Michael Lawley (Jun 18 2019 at 00:27):

See http://hapifhir.io/apidocs-r4/org/hl7/fhir/r4/context/IWorkerContext.html#validateCode-java.lang.String-java.lang.String-java.lang.String-

view this post on Zulip Zak Guler (Jun 18 2019 at 02:59):

thank you. I'll look into these two options.


Last updated: Apr 12 2022 at 19:14 UTC