Closed ejancic closed 11 years ago
These errors are all coming from missing lab name, which I believe is being pulled from the summary field. There's probably a better place to get it from... Will attack it when I get the updated JSON.
This should be sorted now that I've overhauled the lab portions of the CCD a bit. Reopen if not.
We are down to 8 but still a few to work through. Let me know if any of these are data related and I will see if I can change anything on my end
These all make sense to me... just want to double check a few things. Can you send me the XML you're uploading to the tool?
OK...
cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\s]+' for type 'cs'. cvc-attribute.3: The value '' of attribute 'code' on element 'value' is not valid with respect to its type, 'cs'.
This is an empty code attribute on a <value>
tag.
Coming from a missing SNOMED code for the drug allergy. Will look into this a little more closely...
cvc-pattern-valid: Value '' is not facet-valid with respect to pattern '[^\s]+' for type 'cs'. cvc-attribute.3: The value '' of attribute 'code' on element 'code' is not valid with respect to its type, 'cs'.
This is an empty code attribute on a <code>
tag.
Same missing SNOMED code.
cvc-id.2: There are multiple occurrences of ID value 'RXNORM_1'. cvc-attribute.3: The value 'RXNORM_1' of attribute 'ID' on element 'td' is not valid with respect to its type, 'ID'.
Ah, we're using the ID RXNORM_1 on two different HTML tables. I'll have to make them different.
The HITSP errors are all from the fact that we're using ICD9 codesystem instead of SNOMED, as discussed in the thread for issue #10.
Passing validation
I have copied the XML content below. The file is receiving 14 errors on the CCD validator