簡體   English   中英

嘗試使用Java從ccd.xml讀取HtmlElement

[英]Trying to read HtmlElement from ccd.xml using java

我正在使用Java解析ccd.xml。 我可以使用java對象訪問ccd的每個節點/元素。

查詢:htmlElement進入ccd的任何節點時。 我的Java對象未到達該節點? 我可以獲取templateId,標題,但是到達ccd.xml的文本節點后,我的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>

任何幫助,不勝感激。

看一下MDHT-一個讀/寫CDA內容的開源項目文本屬性是混合內容https://www.projects.openhealthtools.org/sf/projects/mdht/

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM