be.ehealth.businessconnector.wsconsent.builders
Interface RequestObjectBuilder

All Known Implementing Classes:
RequestObjectBuilderImpl

public interface RequestObjectBuilder

Interface RequestObjectBuilder. Default impl : RequestObjectBuilderImpl Factory : RequestObjectBuilderFactory


Method Summary
 GetPatientConsentRequest createGetRequest(AuthorWithPatientType author, SelectGetPatientConsentType consentType)
          Method which allows an end-user to check the existence of an informed patient consent (and to get the information about this consent – ‘active’ or ‘inactive’).
 PutPatientConsentRequest createPutRequest(AuthorWithPatientType author, ConsentType consentType)
          Method which allows an end-user to declare an informed patient consent.
 RevokePatientConsentRequest createRevokeRequest(AuthorWithPatientType author, ConsentType existingConsentType)
          Method which allows an end-user to declare the revocation of an informed patient consent.
 

Method Detail

createPutRequest

PutPatientConsentRequest createPutRequest(AuthorWithPatientType author,
                                          ConsentType consentType)
                                          throws TechnicalConnectorException,
                                                 WsConsentBusinessConnectorException,
                                                 InstantiationException
Method which allows an end-user to declare an informed patient consent. Once the consent is declared, it is considered as ‘active’ consent.

Parameters:
author - Identification of the author (‘end-user’ ) performing the request.
consentType - ConsentType element
Returns:
PutPatientConsentRequest
Throws:
TechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException

createRevokeRequest

RevokePatientConsentRequest createRevokeRequest(AuthorWithPatientType author,
                                                ConsentType existingConsentType)
                                                throws TechnicalConnectorException,
                                                       WsConsentBusinessConnectorException,
                                                       InstantiationException
Method which allows an end-user to declare the revocation of an informed patient consent. Once the consent is revoked, it is considered as ‘inactive’ consent.

Parameters:
author - Identification of the author (‘end-user’ ) performing the request.
existingConsentType - ConsentType element
Returns:
RevokePatientConsentRequest object
Throws:
TechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException

createGetRequest

GetPatientConsentRequest createGetRequest(AuthorWithPatientType author,
                                          SelectGetPatientConsentType consentType)
                                          throws TechnicalConnectorException,
                                                 WsConsentBusinessConnectorException,
                                                 InstantiationException
Method which allows an end-user to check the existence of an informed patient consent (and to get the information about this consent – ‘active’ or ‘inactive’).

Parameters:
author - Identification of the author (‘end-user’ ) performing the request.
consentType - ConsentType element
Returns:
GetPatientConsentRequest object
Throws:
TechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException



Connector Packaging PERSPHYSICIAN 3.10.2 API
Copyright © {inceptionYear}-2016 eHealth. All Rights Reserved.