Stream: implementers
Topic: Hapi, Java, Terminology
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
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.
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)
Grahame Grieve (Jun 17 2019 at 18:09):
see http://hl7.org/fhir/terminologies.html#valuesets for more information
Michael Lawley (Jun 18 2019 at 00:27):
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