From: Walter k. <wa...@co...> - 2024-10-23 14:39:32
|
<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto">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.<div><br></div><div><br id="lineBreakAtBeginningOfSignature"><div dir="ltr">Sent from my iPhone</div><div dir="ltr"><br><blockquote type="cite">On Oct 23, 2024, at 10:32 AM, Shreeja J <mai...@gm...> wrote:<br><br></blockquote></div><blockquote type="cite"><div dir="ltr"><div dir="auto"><div>Hi James,</div><div dir="auto"><br></div><div dir="auto">Any thoughts on this?</div><div dir="auto"><br></div><div dir="auto">Appreciate any guidance you can provide.</div><div dir="auto"><br></div><div dir="auto">Thanks </div><div dir="auto">Shreeja<br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Sun, 20 Oct, 2024, 12:13 pm Shreeja J, <<a href="mailto:mai...@gm...">mai...@gm...</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello Team,<div>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 <code>system</code>, <code>code</code>, and <code>display</code> values for HL7 terminologies. <br></div><div><p> For example, if I pass a code like "MR", I would expect the method to return: <br></p><p>{<br></p><p> "type": {<br> "coding": [{<br> "system": "<a href="http://terminology.hl7.org/CodeSystem/v2-0203" target="_blank" rel="noreferrer">http://terminology.hl7.org/CodeSystem/v2-0203</a>",<br> "code": "MR"<br> }]<br> }<br>}<br></p><p> Similarly, if the code "2028-9" is passed, the expected output would be: </p>{<br> "system": "urn:oid:2.16.840.1.113883.6.238",<br> "code": "2028-9",<br> "display": "Asian"<br>}<br><p> For the code "confirmed", the output should be: </p>{<br> "coding": [{<br> "system": "<a href="http://terminology.hl7.org/CodeSystem/condition-ver-status" target="_blank" rel="noreferrer">http://terminology.hl7.org/CodeSystem/condition-ver-status</a>",<br> "code": "confirmed",<br> "display": "Confirmed"<br> }]<br>}</div><div> 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.</div><div><br></div><div>Thanks,</div><div>Shreeja</div></div> </blockquote></div></div></div> <span>_______________________________________________</span><br><span>Hl7api-devel mailing list</span><br><span>Hl7...@li...</span><br><span>https://lists.sourceforge.net/lists/listinfo/hl7api-devel</span><br></div></blockquote></div></body></html> |