Four Js Development Tools Forum

Discussions by product => GWS => Topic started by: Salvatore L. on December 03, 2018, 03:35:19 pm



Title: Hl7 cda2 format.
Post by: Salvatore L. on December 03, 2018, 03:35:19 pm
Is there any function in Genero that can help me to create xml files in CDA2 (hl7) format?


Title: Re: Hl7 cda2 format.
Post by: Olivier E. on December 04, 2018, 05:04:15 pm
Hello Salvatore,

CDA2, I think that you mean :

https://en.wikipedia.org/wiki/Clinical_Document_Architecture

In France we do not need this xml specification.

There is no Genero function to create xml files compatible CDA2.

But we have customer in USA or Australia or UK who are medical companies or who works for them. Perhaps they can help you.

Or contact your local support center.

Best regards,

Olivier E. - Four Js


Title: Re: Hl7 cda2 format.
Post by: Candy M. on December 04, 2018, 06:05:35 pm
Salvatore,

We use xml for EDI (Electronic Data Interchange), but have not mapped the HL7.

We use the om.SaxDocumentHandler methods to create the XML.

https://4js.com/online_documentation/fjs-fgl-manual-html/#fgl-topics/c_fgl_ClassSaxDocumentHandler_methods.html

That may give you one idea as how to approach it.

Candy


Title: Re: Hl7 cda2 format.
Post by: Salvatore L. on December 05, 2018, 12:04:38 pm
Thanks for your answer
I'm trying to create an xml file using xml.Serializer.VariableToStax,
I have to create a cda2 xml like allegated file, but I can not generate it perfectly identical and with all the properties.



My xml file is (still incomplete):
Quote
<?xml version="1.0" standalone="yes"?>
<fjs1:ClinicalDocument xmlns:fjs1="urn:hl7-org:v3">
  <fjs1:realmcode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:typeid xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:templateId xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:id>test</fjs1:id>
  <fjs1:code>test</fjs1:code>
  <fjs1:title xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:effectivetime>test</fjs1:effectivetime>
  <fjs1:confidentialitycode>test</fjs1:confidentialitycode>
  <fjs1:languagecode xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:setid xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:versionnumber xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:recordtarget xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:author>test</fjs1:author>
  <fjs1:custodian>test</fjs1:custodian>
  <fjs1:legalAuthenticator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:participant xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:participant xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:nil="true"/>
  <fjs1:inFulfillmentOf>test</fjs1:inFulfillmentOf>
  <fjs1:authorization>test</fjs1:authorization>
  <fjs1:component>test</fjs1:component>
</fjs1:ClinicalDocument>
how do I delete the prefix "fjs1"?


Title: Re: Hl7 cda2 format.
Post by: Nuno T. on January 27, 2023, 02:25:48 pm
Hello,

Have you find a solution to delete the XML prefix fjs1 ?

Thanks in advance.