public class RequestObjectBuilderImpl extends Object implements RequestObjectBuilder
RequestObjectBuilder
.Modifier and Type | Field and Description |
---|---|
static String |
WSCONSENT_MAXROWS
the property to retrieve the maximum number of rows for to be retrieved by the get method from the configuration.
|
Constructor and Description |
---|
RequestObjectBuilderImpl()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
GetPatientConsentRequest |
createGetRequest(AuthorWithPatientAndPersonType author,
SelectGetPatientConsentType consent)
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’).
|
GetPatientConsentStatusRequest |
createGetStatusRequest(AuthorWithPatientAndPersonType author,
SelectGetPatientConsentType consent)
Method which allows an end-user to check the status of an intformed patient consent
|
String |
createKmehrID(String firstHcPartyIdOfAuthor)
Method which create Identification of the request.
|
PutPatientConsentRequest |
createPutRequest(AuthorWithPatientAndPersonType author,
ConsentType consent)
Method which allows an end-user to declare an informed patient consent.
|
RevokePatientConsentRequest |
createRevokeRequest(AuthorWithPatientAndPersonType author,
ConsentType consent)
Method which allows an end-user to declare the revocation of an informed patient consent.
|
public static final String WSCONSENT_MAXROWS
public RequestObjectBuilderImpl() throws WsConsentBusinessConnectorException, TechnicalConnectorException, InstantiationException
public PutPatientConsentRequest createPutRequest(AuthorWithPatientAndPersonType author, ConsentType consent) throws TechnicalConnectorException, WsConsentBusinessConnectorException, InstantiationException
RequestObjectBuilder
createPutRequest
in interface RequestObjectBuilder
author
- Identification of the author (‘end-user’ ) performing the request.consent
- ConsentType elementTechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException
be.ehealth.businessconnector.wsconsent.builders.RequestObjectBuilder#createPutPatientConsentRequest(be.fgov.ehealth.hubservices.core.v2.Request,
be.fgov.ehealth.hubservices.core.v2.Consent)
public GetPatientConsentRequest createGetRequest(AuthorWithPatientAndPersonType author, SelectGetPatientConsentType consent) throws TechnicalConnectorException, WsConsentBusinessConnectorException, InstantiationException
RequestObjectBuilder
createGetRequest
in interface RequestObjectBuilder
author
- Identification of the author (‘end-user’ ) performing the request.consent
- ConsentType elementTechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException
be.ehealth.businessconnector.wsconsent.builders.RequestObjectBuilder#createGetPatientConsentRequest(be.fgov.ehealth.hubservices.core.v2.Request,
be.fgov.ehealth.hubservices.core.v2.SelectGetPatientConsent)
public GetPatientConsentStatusRequest createGetStatusRequest(AuthorWithPatientAndPersonType author, SelectGetPatientConsentType consent) throws TechnicalConnectorException, WsConsentBusinessConnectorException, InstantiationException
RequestObjectBuilder
createGetStatusRequest
in interface RequestObjectBuilder
author
- Identification of the author ('end-user') performing the request.consent
- ConsentType elementTechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException
be.ehealth.businessconnector.wsconsent.builders.RequestObjectBuilder#createGetPatientConsentStatusRequest(be.fgov.ehealth.hubservices.core.v2.Request,
be.fgov.ehealth.hubservices.core.v2.SelectGetPatientConsent)
public RevokePatientConsentRequest createRevokeRequest(AuthorWithPatientAndPersonType author, ConsentType consent) throws TechnicalConnectorException, WsConsentBusinessConnectorException, InstantiationException
RequestObjectBuilder
createRevokeRequest
in interface RequestObjectBuilder
author
- Identification of the author (‘end-user’ ) performing the request.consent
- ConsentType elementTechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException
be.ehealth.businessconnector.wsconsent.builders.RequestObjectBuilder#createRevokePatientConsentRequest(be.fgov.ehealth.hubservices.core.v2.Request,
be.fgov.ehealth.hubservices.core.v2.Consent)
public String createKmehrID(String firstHcPartyIdOfAuthor) throws TechnicalConnectorException
firstHcPartyIdOfAuthor
- TechnicalConnectorException
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.