I am using MDHT to parse the xml values of CCDA file. But i am not able to read value Non-contributory
form <text> <paragraph>Non-contributory</paragraph></text>
.
Consider following xml content :
`
FAMILY HISTORY
<component>
<section>
<!-- Family history section template -->
<templateId root="2.16.840.1.113883.10.20.22.2.15"/>
<code code="10157-6" displayName="Family History" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>
<title>FAMILY HISTORY</title>
<text>
<paragraph>Non-contributory</paragraph>
</text>
</section>
</component>
`
Any url or reference will be appreciated.
You do not need to parse Text element. Text elements in CCDA document are used to make it human readable format. The same values will also be present in entry elements of the sections.
EDIT: Following code may help
// The console output for this code is:
Ref: Link