web stats
How to retrieve patient consent data - Mirth Community

Go Back   Mirth Community > Mirth Results > General Discussion

Reply
 
Thread Tools Display Modes
  #1  
Old 08-11-2011, 12:26 PM
EricTang EricTang is offline
Mirth Newb
 
Join Date: Jul 2011
Posts: 23
EricTang is on a distinguished road
Default How to retrieve patient consent data

Hi All,

I am trying to retrieve the patient consent data through the MR web services. Which method should I call? and could you provide me a sample request?
thanks in advance.
Reply With Quote
  #2  
Old 08-23-2011, 05:34 PM
brendanh brendanh is offline
Mirth Employee
 
Join Date: Aug 2006
Posts: 190
brendanh
Default

You should be able to call the following method to get a String of the XML for all of the data for a patient that matches within the parameters. Once you marshal that into an Object you should be able to find the patient's list of consents. If you check the Java Documentation, you can get more information about the structure of the model.

Code:
public String getClinicalDocumentModel(String subjectId, String facilityId, Date beginDate, Date afterDate) throws Exception
__________________
Brendan Haverlock | Mirth Software Engineer | Mirth Corporation
Reply With Quote
Reply

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 -7. The time now is 06:02 PM.


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