Quantcast
Channel: HL7 SDK - Open Source CDA R2 Implementation for .NET and COM
Viewing all articles
Browse latest Browse all 148

Updated Wiki: Documentation

$
0
0

CDA object model for Delphi 6/7

Newer Delphi releases that support .NET are able to utilize .NET assemblies to parse and generate CDA documents. But what about older but still popular D6/D7? I've spent some time to experiment with Delphi Data Binding XML wizard. Results are the following (D7):

1.Data Binding Wizard crashes with stack overflow on processing composite CDA XML Schema. The workaround is to merge multiple xsd files into single one and restart the wizard.

2.Automatically generated .pas file contains ~50 errors that are related to poorly designed CDA XSD types. Fortunately, they are easy to correct (or simply comment).

3.Classes generated by Data Binding Wizard use the "lazy intitialization" pattern to avoid null reference problems. That means that new elements will be added to in-memory document on first call even if they are not present in the original XML document. That can accidentally tamper your CDA

4.XML serializer does not respect element order defined in the CDA XML schemas.

 

 


Viewing all articles
Browse latest Browse all 148

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>