web stats
How to retrieve patient consent data - Mirth Community

Go Back   Mirth Community > Mirth Results > General Discussion

Thread Tools Display Modes
Old 08-11-2011, 10:26 AM
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
Old 08-23-2011, 03:34 PM
brendanh brendanh is offline
Mirth Employee
Join Date: Aug 2006
Posts: 191

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.

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

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 06:51 AM.

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