我正在使用java解析ccd.xml。我可以使用java对象访问ccd的每个节点/元素。
查询:而htmlElement来自ccd的任意节点。我的java对象没有到达那个节点吗?我可以获取templateId,title,但是在到达ccd.xml的text节点后,我的java对象不能显示表节点。
示例ccd.xml如下所示:
<component>
<section>
<templateId root='2.16.840.1.113883.10.20.1.9'/> <!-- Payers section template -->
<code code="48768-6" codeSystem="2.16.840.1.113883.6.1"/>
<title>Payers</title>
<text>
<table border="1" width="100%">
<thead>
<tr><th>Payer name</th><th>Policy type / Coverage type</th><th>Covered party ID</th> <th>Authorization(s)</th></tr>
</thead>
<tbody>
<tr>
<td>Good Health Insurance</td>
<td>Extended healthcare / Self</td>
<td>14d4a520-7aae-11db-9fe1-0800200c9a66</td>
<td>Colonoscopy</td>
</tr>
</tbody>
</table>
</text>
</section>
</component>任何帮助都非常感谢。
发布于 2013-09-24 23:23:52
看看MDHT --一个读/写CDA内容的开源项目,它的文本属性是一个混合内容的https://www.projects.openhealthtools.org/sf/projects/mdht/。
https://stackoverflow.com/questions/18958731
复制相似问题