Originally posted by Gabriel Mendes
Dear Clovertech experts,
I am creating an UPOC Java procedure and I must generate a reply message to be sent to Cloverleaf, and be threated. The problem is that due to the lack of documentation I don't know how to sinalyze how the message is of Reply type.
Here is a part of my code where I am generating the message:
DispositionList dl = new DispositionList();
ReportAcknowledgement reportAcknowledgement = new ReportAcknowledgement();
reportAcknowledgement.setAckCode("AT");
dl.add( DispositionList.CONTINUE,cloverEnv.makeMessage(SimpleXML.convertToXML(reportAcknowledgement)));
I am sending an ACK in XML as reply and I will handle inside cloverleaf with a XSD and translate into a HL7 ACK message to send to the system who's waiting for an acknowledgement.
I probably have to sinalyze that the message is a reply type on makeMessage Method, but I don't know how to do that.
Can somebody give me a hand?