We would like clarification regarding the validation of QRDA Category I files from Cypress. We have been attempting to validate the documents against the schema that shipped with HL7 Implementation Guide for CDA® Release 2: Quality Reporting Document Architecture, DSTU Release 2. According to the documentation supplied by HL7, this schema should be used to validate QRDA.
20 of the xml patient QRDA files that shipped with the most recent Cypress update failed validation against this schema. Below is a sample of the reasons:
- 25_CAP_ADULT_B.xml: Failed due to invalid codeSystem attribute value in routeCode element <routeCode code="255560000" codeSystem=""/> (validation constraint: @codeSystem member types: oid (SimpleType) uuid (SimpleType))
- 20_Heart_Adult_A.xml: Failed due to invalid unit attribute <value xsi:type="PQ" value="2.2" unit=""/> (validation constraint: [^\s]+)
- 40_GP_Geriatric_B.xml: Fails due to constraint violation of xsi:type="INT" and non-integer value <value xsi:type="INT" value="positive"/> (validation constraint: @value xs:type="integer")
Are these indeed errors in the QRDA documents, or is there a problem with the validation approach we are taking.