I am late to the party on this, and may be missing something, but if you have access to the json itself, you can use the various json utilities to extract the fields you are looking for.
Sent from my iPhone On Oct 23, 2024, at 10:32 AM, Shreeja J <mail2shree...@gmail.com> wrote:
Hi James,
Any thoughts on this?
Appreciate any guidance you can provide.
Thanks Shreeja Hello Team, I am currently working with the HAPI HL7v2 and HAPI FHIR libraries, and I am seeking guidance on utility methods or documentation that would help me retrieve the system , code , and display values for HL7 terminologies.
For example, if I pass a code like "MR", I would expect the method to return:
{
"type": { "coding": [{ "system": "http://terminology.hl7.org/CodeSystem/v2-0203", "code": "MR" }] } }
Similarly, if the code "2028-9" is passed, the expected output would be:
{ "system": "urn:oid:2.16.840.1.113883.6.238", "code": "2028-9", "display": "Asian" }
For the code "confirmed", the output should be:
{ "coding": [{ "system": " http://terminology.hl7.org/CodeSystem/condition-ver-status", "code": "confirmed", "display": "Confirmed" }] } If there are any generic utility methods available that I can leverage to retrieve these details, or if there is any relevant documentation you could guide me to, I would greatly appreciate your assistance.
Thanks, Shreeja
_______________________________________________Hl7api-devel mailing listHl7api-devel@lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/hl7api-devel
|