HL7 CDA Validator
The tool uses the normative CDA XML Schemas to validate the input documents. The validation runs synchronously and on the client side (no data is sent to the server).
CDA document (XML)
1
<?xml version="1.0"?>2
<ClinicalDocument xmlns="urn:hl7-org:v3" xmlns:voc="urn:hl7-org:v3/voc" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:hl7-org:v3 CDA.xsd">3
<typeId root="2.16.840.1.113883.1.3" extension="POCD_HD000040"/>4
<templateId root="2.16.840.1.113883.3.27.1776"/>5
<id extension="c266" root="2.16.840.1.113883.19.4"/>6
<code code="11488-4" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC" displayName="Consultation note"/>7
<title>Good Health Clinic Consultation Note</title>8
<effectiveTime value="20000407"/>9
<confidentialityCode code="N" codeSystem="2.16.840.1.113883.5.25"/>10
<languageCode code="en-US"/>11
<setId extension="BB35" root="2.16.840.1.113883.19.7"/>12
<versionNumber value="2"/>13
<recordTarget>14
<patientRole>15
<id extension="12345" root="2.16.840.1.113883.19.5"/>16
<patient>17
<name>18
<given>Henry</given>19
<family>Levin</family>20
<suffix>the 7th</suffix>21
</name>22
<administrativeGenderCode code="M" codeSystem="2.16.840.1.113883.5.1"/>23
<birthTime value="19320924"/>24
</patient>25
<providerOrganization>26
<id root="2.16.840.1.113883.19.5"/>27
</providerOrganization>28
</patientRole>29
</recordTarget>30
<author>31
<time value="2000040714"/>32
<assignedAuthor>33
<id extension="KP00017" root="2.16.840.1.113883.19.5"/>34
<assignedPerson>35
<name>36
<given>Robert</given>37
<family>Dolin</family>38
<suffix>MD</suffix>39
</name>40
</assignedPerson>41
<representedOrganization>42
<id root="2.16.840.1.113883.19.5"/>43
</representedOrganization>44
</assignedAuthor>45
</author>46
<custodian>47
<assignedCustodian>48
<representedCustodianOrganization>49
<id root="2.16.840.1.113883.19.5"/>50
<name>Good Health Clinic</name>51
</representedCustodianOrganization>52
</assignedCustodian>53
</custodian>54
<component>55
<structuredBody>56
<component>57
<section>58
<code code="10164-2" codeSystem="2.16.840.1.113883.6.1" codeSystemName="LOINC"/>59
<title>History of Present Illness</title>60
<text>61
<content styleCode="Bold">Henry Levin, the 7<sup>th</sup>62
</content> is a 67 year old male referred for further asthma management. Onset of asthma in his <content revised="delete">twenties</content>63
<content revised="insert">teens</content>. He was hospitalized twice last year, and already twice this year. He has not been able to be weaned off steroids for the past several months. 64
</text>65
</section>66
</component>67
</structuredBody>68
</component>69
</ClinicalDocument>The XML document to validate.
Validation result
Error