Skip to content

Commit

Permalink
Fix CDAWriter.WriteANY writes double attributes xsi:type="CD"
Browse files Browse the repository at this point in the history
  • Loading branch information
Saxos-Simone committed Mar 5, 2024
1 parent 25b8c64 commit 877fc40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/cda/cda_writer.pas
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@ procedure TCDAWriter.WriteCDA(oXml: TXmlBuilder; oDoc: TcdaClinicalDocument);
if (oDT is Tv3PQ) Then
WritePQ(sPath, oXml, sName, oDT as Tv3PQ, bOptional)
Else if (oDT is Tv3CD) Then
WriteCD(sPath, oXml, sName, oDT as Tv3CD, bOptional, true)
WriteCD(sPath, oXml, sName, oDT as Tv3CD, bOptional)
Else if (oDT is Tv3BL) Then
WriteBL(sPath, oXml, sName, oDT as Tv3BL, bOptional)
Else if (oDT is Tv3CS) Then
Expand Down

0 comments on commit 877fc40

Please sign in to comment.