I have ruby module which will validate the XML file against CDA schema. The XML file type is
text/xml
If the file is identified as CDA then
1.What content type I need to set to the file so that the application which renders the XML file can identify it as CDA.
I have googled like "content types for CDA", "MIME types for CDA" and much more but I could not locate the answer.
Any links, suggestions is appreciated.
A CDA is just XML like any other XML file. It will have an associated schema that it has to validate against. The validation of the XML against the CDA.xsd is what makes it a CDA (Clinical Document Architecture) file.
So, I guess to answer the question, it will be a text/xml MIME type, like any other XML file.