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
ConsentBuilder
createSelectGetPatientConsent
in interface ConsentBuilder
patient
- for which the consent had to be doneconsent
- the list of CDCONSENTTechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException
be.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
ConsentBuilder
createNewConsent
in interface ConsentBuilder
patient
- 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.TechnicalConnectorException
WsConsentBusinessConnectorException
InstantiationException
ConsentBuilder.createNewConsent(be.fgov.ehealth.hubservices.core.v2.PatientIdType,
java.util.List, org.joda.time.DateTime, be.fgov.ehealth.hubservices.core.v2.AuthorWithPatientAndPersonType)
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.