-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can this be used for parsing C-CDA document to C# Objects Model? #13
Comments
Hello, can i import ccd.xml data to mysql Database? |
Examples for using Everest can be found here: https://github.com/MohawkMEDIC/everest/wiki/CDA-Tutorial . |
Thank you. Is it possible? |
Hi, GPMR is telling you that it has nothing to do. You need to instruct it whether you want to compile MIF files to C#, Java, HTML, etc. Unless you are trying to compile MIF files to C# or Java you do not need to run GPMR. GPMR is really just for rendering HL7 standards (MIF files). This has already been done in the default distribution. I suggest getting a copy of the Everest developers guide: http://www.lulu.com/ca/en/shop/justin-fyfe/advanced-everest-developers-handbook/hardcover/product-21300345.html which shows how to create a project, load and create CDAs and use the formatting/validation. An older version of the book is available for free: http://te.marc-hi.ca/projects/EV/downloads/HL7v3%20Application%20Programming%20Interface.pdf , however this covers a very old version of Everest. The concepts still apply. Basically, the steps to parse a CDA are the same as any HL7v3 message:
In code it is something like this:
|
Thank you ... |
we are getting following error message This we get during run time if we remove typeof from the formatter.parse if we keep then the program do not run... this is the error that we get even before we run the program Error 2 Argument '2': cannot convert from 'System.Type' to 'System.Reflection.Assembly' |
I am unable to solve that error. i also have http://te.marc-hi.ca/projects/EV/downloads/HL7v3%20Application%20Programming%20Interface.pdf this book. can you suggest me how i can solve that error. |
Hi, The error you're describing is stating the nature of the issue: 'MARC.Everest.DataTypes.IVL`1[MARC.Everest.DataTypes.TS]' to 'MARC.Everest.DataTypes.TS' Means that your CCDA is trying to place an IVL where a TS is supposed to be. You can probably set the formatter compatibility mode settings to allow flavor and type imposing. The details from the graph result will tell you where this error exists via the The other error: 'MARC.Everest.Formatters.XML.ITS1.XmlIts1Formatter.Parse(System.IO.Stream, System.Reflection.Assembly)' Is a compile error. The function signature looks like it is looking for an Assembly reference rather than a type. The easiest solution is to just pass the assembly in which the ClinicalDocument class exists with : |
Hi, Please help: I am getting this error: Can't find valid conversion to from 'MARC.Everest.DataTypes.EN' to 'MARC.Everest.DataTypes.ON' that is when parser the ccda in this line of code: thanks |
Hi,
I am new to HL7 documents. Can this be used for parsing C-CDA (Consoldiated CDA )document to C# Objects Model? Any examples for this?
The text was updated successfully, but these errors were encountered: