org.openhealthexchange.openpixpdq.ihe
Interface IPdSupplierAdapter


public interface IPdSupplierAdapter

The PdqSupplierAdapter is the source that provides patient data for a PdSupplier.

Version:
1.0, Apr 25, 2007
Author:
Wenzhi Li

Method Summary
 void cancelQuery(java.lang.String queryTag, java.lang.String messageQueryName)
          Cancels the existing PDQ Query whose reference id is given by pointer.
 PdqResult findPatients(PdqQuery query, MessageHeader header)
          Finds a list of matched patients based on PDQ query parameters.
 

Method Detail

findPatients

PdqResult findPatients(PdqQuery query,
                       MessageHeader header)
                       throws PdSupplierException
Finds a list of matched patients based on PDQ query parameters.

Parameters:
query - the PdqQuery
header - the MessageHeader
Returns:
a PdqResult which contains a list of list of PatientThrows:
PdSupplierException - when there is trouble finding the patients
See Also:
PdqResult

cancelQuery

void cancelQuery(java.lang.String queryTag,
                 java.lang.String messageQueryName)
                 throws PdSupplierException
Cancels the existing PDQ Query whose reference id is given by pointer.

Parameters:
String - the tag of query to be canceled.
messageQueryName - the messageQueryName
Throws:
PdSupplierException - when there is trouble canceling the query.