public final class ConsentBuilderImpl extends Object implements ConsentBuilder
ConsentBuilder.| Constructor and Description |
|---|
ConsentBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
ConsentType |
createNewConsent(PatientIdType patient,
List<CDCONSENT> consent,
org.joda.time.DateTime signdate,
AuthorWithPatientAndPersonType author)
Method which create a consent type to create a new consent.
|
SelectGetPatientConsentType |
createSelectGetPatientConsent(PatientIdType patient,
List<CDCONSENT> consent)
Method which create SelectGetPatientConsentType based on patient and consentType.
|
public SelectGetPatientConsentType createSelectGetPatientConsent(PatientIdType patient, List<CDCONSENT> consent) throws TechnicalConnectorException, WsConsentBusinessConnectorException, InstantiationException
ConsentBuildercreateSelectGetPatientConsent in interface ConsentBuilderpatient - for which the consent had to be doneconsent - the list of CDCONSENTTechnicalConnectorExceptionWsConsentBusinessConnectorExceptionInstantiationExceptionbe.ehealth.businessconnector.wsconsent.builders.ConsentBuilder#createSelectGetPatientConsent(be.fgov.ehealth.hubservices.core.v2.PatientIdType,
be.fgov.ehealth.hubservices.core.v2.SelectGetPatientConsentType.Consent)public ConsentType createNewConsent(PatientIdType patient, List<CDCONSENT> consent, org.joda.time.DateTime signdate, AuthorWithPatientAndPersonType author) throws TechnicalConnectorException, WsConsentBusinessConnectorException, InstantiationException
ConsentBuildercreateNewConsent in interface ConsentBuilderpatient - for which the consent had to be doneconsent - the list of CDCONSENTsigndate - the date when the consent is signedauthor - Identification of the author (‘end-user’ ) performing the request.TechnicalConnectorExceptionWsConsentBusinessConnectorExceptionInstantiationExceptionConsentBuilder.createNewConsent(be.fgov.ehealth.hubservices.core.v2.PatientIdType,
java.util.List, org.joda.time.DateTime, be.fgov.ehealth.hubservices.core.v2.AuthorWithPatientAndPersonType)
Connector Packaging generic 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.