Skip to main content



      Home
Home » Eclipse Projects » Model Driven Health Tools » API to get value from HTML content (MDHT API to get value from HTML content using reference tag)
API to get value from HTML content [message #1774212] Wed, 11 October 2017 14:07 Go to next message
Eclipse UserFriend
I'm working on ingesting Clinical Documents , I noticed, most of the Code in the xml refers to html value using reference tag.

Is there API in MDHT model to get the value from html tag based on reference value?

HTML
<td>
   <content styleCode="xSecondary" ID="_bb87f47b-09d5-4b7a-9baa-0c0fd6fe93b3">Current every day smoker</content>
</td>


XML

<value xsi:type="CD" code="449868002" codeSystem="2.16.840.1.113883.6.96">
  <originalText>
    <reference value="#_bb87f47b-09d5-4b7a-9baa-0c0fd6fe93b3" />
   </originalText>
</value>
Re: API to get value from HTML content [message #1774213 is a reply to message #1774212] Wed, 11 October 2017 14:25 Go to previous message
Eclipse UserFriend
Yes

Section section = ....

section.getText().getText("_bb87f47b-09d5-4b7a-9baa-0c0fd6fe93b3");

will return the text for id _bb87f47b-09d5-4b7a-9baa-0c0fd6fe93b3
Previous Topic:How to set sdtc:deceasedInd on a patient
Next Topic:C32 Parser Jars in MDHT-MODEL
Goto Forum:
  


Current Time: Sat Jul 12 15:58:16 EDT 2025

Powered by FUDForum. Page generated in 0.02496 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top