web stats
The getHL7Serializer() method is deprecated and will soon be removed. - Mirth Community

Go Back   Mirth Community > Mirth Connect > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 03-30-2019, 03:26 AM
shuhaibk54 shuhaibk54 is offline
Mirth Newb
 
Join Date: Jan 2018
Location: Abudhabi
Posts: 23
shuhaibk54 is on a distinguished road
Send a message via AIM to shuhaibk54 Send a message via Skype™ to shuhaibk54
Default The getHL7Serializer() method is deprecated and will soon be removed.

Dear All,

How we can stop below warning message , any other alternative method for same .

[2019-03-30 16:35:55,846] ERROR (com.mirth.connect.server.userutil.SerializerFacto ry:247): The getHL7Serializer() method is deprecated and will soon be removed.
Please use the "Convert HL7 v2.x" templates from the References tab instead. Look at the tooltips to see the available property keys.
The new method will strip namespaces by default unless the 'stripNamespaces' property is set to false.

Thanks,
Shuhaib
Reply With Quote
  #2  
Old 04-01-2019, 10:23 PM
shuhaibk54 shuhaibk54 is offline
Mirth Newb
 
Join Date: Jan 2018
Location: Abudhabi
Posts: 23
shuhaibk54 is on a distinguished road
Send a message via AIM to shuhaibk54 Send a message via Skype™ to shuhaibk54
Default

var xmlACK = new XML(SerializerFactory.getHL7Serializer().toXML(res ponse.getMessage()));
var Messagecontrolid=xmlACK['MSA']['MSA.2']['MSA.2.1'].toString();

This my code .my code is working fine . I wan to stop getting error/warning message while it converts .

---------------------------------------------Server log----------------------
([2019-04-01 18:16:50,469] ERROR (com.mirth.connect.server.userutil.SerializerFacto ry:247): The getHL7Serializer() method is deprecated and will soon be removed. Please use the "Convert HL7 v2.x" templates from the References tab instead. Look at the tooltips to see the available property keys. The new method will strip namespaces by default unless the 'stripNamespaces' property is set to false.)
Reply With Quote
Reply

Tags
hl7 conversion, serializer

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 11:33 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation