cvc-complex-type.2.4.a: Invalid content was found starting with element 'thead'. One of '{"urn:hl7-org:v3":tfoot, "urn:hl7-org:v3":tbody}' is expected.
I check my table in the text node it has two thead and one tbody. I manually inserted a tbody inside a table but the error remains the same. Please help me where i'm wrong.
This is my XML Lab results section text node part.
<cda:templateId root="2.16.840.1.113883.10.20.22.2.3.1" />
<cda:code code="30954-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="RESULTS" />
<cda:title>Lab Results</cda:title>
<cda:text>
<table border="1" width="100%">
<thead>
<tr>
<th>Description</th>
<th>Value</th>
<th>Unit</th>
<th>Flag</th>
<th>Normal Range</th>
<th>Date/Time</th>
</tr>
</thead>
<tbody>
<tr>
<td>WBC Count</td>
<td>85.0</td>
<td>%-MG/ML</td>
<td></td>
<td></td>
<td>06/19/2013 23:49</td>
</tr>
</tbody>
</table>
<table border="1" width="100%">
<thead>
<tr>
<th colspan="30">MICROBIOLOGY</th>
</tr>
</thead>
<thead>
<tr>
<th>Test Code</th>
<th>Result</th>
</tr>
</thead>
<tbody>
<tr>
<td>EJ-SPUTUM CULT</td>
<td>Neg</td>
</tr>
</tbody>
</table>
</cda:text>
Regards,
Sash