web stats
Mirth 3.0 API's for retreiving messages for a time range - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 09-23-2013, 06:00 AM
asrikantan asrikantan is offline
What's HL7?
 
Join Date: Sep 2013
Posts: 1
asrikantan is on a distinguished road
Default Mirth 3.0 API's for retreiving messages for a time range

Hi,
In mirth 3.0 the message table seems to be normalized. Each channel also now creates its own set of tables. For each channel, there are

d_m (message table)
d_mm (metadata table)
d_mc (content table)
d_mcm (custom metadata table)
d_ma (attachment table)
d_ms (statistics table)

Is there any API to retrieve messages for a given time range?
Reply With Quote
  #2  
Old 09-23-2013, 10:11 AM
narupley's Avatar
narupley narupley is online now
Mirth Employee
 
Join Date: Oct 2010
Posts: 7,119
narupley is on a distinguished road
Default

Technically yes, you can look at DonkeyMessageController for such an API. However, it's important to note that since this is an internal class, the API is unsupported. That means that we could completely change that class in 3.1 (or even for the 3.0 GA), and we would not support any channel/script migration between versions. The only APIs we would support are those present in the now-hosted Javadocs.
__________________
Step 1: JAVA CACHE...DID YOU CLEAR ...wait, ding dong the witch is dead?

Nicholas Rupley
Work: 949-237-6069
Always include what Mirth Connect version you're working with. Also include (if applicable) the code you're using and full stacktraces for errors (use CODE tags). Posting your entire channel is helpful as well; make sure to scrub any PHI/passwords first.


- How do I foo?
- You just bar.
Reply With Quote
Reply

Tags
mirtdb, mirth 3.0

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 12:50 AM.


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