Not sure who you mean with "user"... Is it the (human?) user who triggers the export or the recipient of the HL7 export? Maybe an ACK message with corresponding error code and error location comes closest to what you intend to do. However, the recipient of such a message must be aware of this "protocol".
cheers Christian surangakas wrote: > > Hello HAPI devs, > > My name is Suranga, and I'm a volunteer developer for > OpenMRS<http://openmrs.org/about/>. > This is my first email to the HAPI community. > > I'm currently working on a module that will allow us to export OpenMRS > data > in hl7 message format, and of course I'm using HAPI. > However, I need to make a clarification on the correct behavior I should > follow in the event of an error. > > Lets assume that my hl7 message generation fails because of missing data. > In such a case, what should be the right thing to do ? Is there a message > (similar to ACK messages) which I can use to notify the user why the > message generation failed ? > > -- > Thanks and Best Regards, > > Suranga > > ------------------------------------------------------------------------------ > Got visibility? > Most devs has no idea what their production app looks like. > Find out how fast your code is with AppDynamics Lite. > http://ad.doubleclick.net/clk;262219671;13503038;y? > http://info.appdynamics.com/FreeJavaPerformanceDownload.html > _______________________________________________ > Hl7api-devel mailing list > Hl7api-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/hl7api-devel > > -- View this message in context: http://old.nabble.com/How-to-notify-users-when-HAPI-message-generation-fails--tp34431668p34431892.html Sent from the hl7api-devel mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ Hl7api-devel mailing list Hl7api-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hl7api-devel