https://site.healthit.gov/sandbox-ccda/ccda-validatorI am using the validator at
https://site.healthit.gov/sandbox-ccda/ccda-validator. Under "R2.1 2015 Edition", I select the options "Sender", "C-CDA_IG_Only", "No Scenario File". When I validate, it identifies errors indicating items are missing that are not actually missing.
As an example, when I validate the attached file, the first two errors are below indicating the languageCommunication element is missing from the appropriate path and I either am missing the raceCode elment or have an incorrect value for raceCode. But, I can't see what is actually wrong with either of these in the C-CDA file. Follwing the IG at
http://www.hl7.org/ccdasearch/templates/2.16.840.1.113883.10.20.22.1.1.html , I am using a code for raceCode that is from the Value Set at
https://vsac.nlm.nih.gov/valueset/2.16.840.1.113883.3.2074.1.1.3/expansion/Latest. I have similar issues with ethnicGroupCode and other elements. Can anyone see what is wrong with the attached C-CDA?
Result Description: cvc-complex-type.2.4.a: Invalid content was found starting with element 'name'. One of '{"urn:hl7-org:v3":languageCommunication}' is expected.
Line Number: Line number not available
Result Description: Consol US Realm Header (V3) SHALL contain at least one [1..*] recordTarget, where its type is Record Target (CONF:1198-5266) each SHALL contain exactly one [1..1] patientRole, where (CONF:1198-5267) patient Role SHALL contain exactly one [1..1] patient, where (CONF:1198-5283) patient SHALL contain exactly one [1..1] raceCode, which SHALL be selected from ValueSet Race Category Excluding Nulls 2.16.840.1.113883.3.2074.1.1.3 DYNAMIC (CONF:1198-5322)
XPath: /ClinicalDocument/recordTarget/patientRole/patient
Line Number: 30