When I have an example CCD, should I use:
An XSD schema and conclude that I have a valid CCD.
or
I use some other (non-schema based) method. (UML model rules in addition to a valid XML document.)
Is there even such a thing as ccd.xsd
? Even if it only partially guides me to create a valid CCD.
Old question, but I still thought I would answer it because I was looking for a solution to this problem recently and ended up doing a fair amount of research.
I tried using the Everest API which has a built in API to validate various HL7 documents. This is a great way to test within your code if you have generated a valid document.
NIST provides a webservice (and a sample client too!) that can be used (within your code again) to validate documents like CCD/CCDA etc.
If you just need to manually validate a generated document then NIST has another one.
I hope it helps...