Both of the sample files provided contains this line (occurred twice in each file)
<value xsi:type="CD" code="Second Floor - Score Total 0-1 = Low Risk" codeSystem="2.16.840.1.113883.6.96" codeSystemName="SNOMED-CT" />
The code attribute in this line needs to contain a valid code. "Second Floor - Score Total 0-1 = Low Risk" maybe is a display name in your system that needs to be mapped to a code.
Here are errors generated when apply the CDA_SDTC.xsd for schema validation:
cvc-pattern-valid: Value 'Second Floor - Score Total 0-1 Low Risk' is not facet-valid with respect to pattern '[^\s]+' for type 'cs'. |
cvc-attribute.3: The value 'Second Floor - Score Total 0-1 Low Risk' of attribute 'code' on element 'value' is not valid with respect to its type, 'cs'. |
|