Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 18:07 Go to next message
Santhosh Manickam is currently offline Santhosh ManickamFriend
Messages: 4
Registered: October 2017
Junior Member
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 18:25 Go to previous message
Sean Muir is currently offline Sean MuirFriend
Messages: 64
Registered: September 2015
Member
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: Wed Oct 09 01:03:52 GMT 2024

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

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

Back to the top