public class IntraHubPatientServiceImpl extends Object implements IntraHubPatientService, ConfigurationModuleBootstrap.ModuleBootstrapHook
IntraHubPatientService Extends : IntraHubAbstract| Constructor and Description |
|---|
IntraHubPatientServiceImpl()
needed for ModuleBootstrapHook.
|
IntraHubPatientServiceImpl(IntraHubService hubService,
HubReplyValidator validator)
Instantiates a new intra hub patient service.
|
| Modifier and Type | Method and Description |
|---|---|
void |
bootstrap() |
PersonType |
getPatient(PatientIdType patientId)
Gets the patient.
|
ConsentType |
getPatientConsent(SelectGetPatientConsentType patientConsent)
Gets the patient consent.
|
PersonType |
putPatient(PersonType patient)
Put patient.
|
void |
putPatientConsent(ConsentType patientConsent)
Put patient consent.
|
void |
revokePatientConsent(ConsentType patientConsent)
Revoke patient consent.
|
public IntraHubPatientServiceImpl(IntraHubService hubService, HubReplyValidator validator) throws TechnicalConnectorException, IntraHubBusinessConnectorException
hubService - the hub servicevalidator - the validatorTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionpublic IntraHubPatientServiceImpl()
public PersonType putPatient(PersonType patient) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientServiceputPatient in interface IntraHubPatientServicepatient - the patientTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubPatientService.putPatient(be.fgov.ehealth.standards.kmehr.schema.v1.PersonType)public PersonType getPatient(PatientIdType patientId) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientServicegetPatient in interface IntraHubPatientServicepatientId - the patient idTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubPatientService.getPatient(be.fgov.ehealth.hubservices.core.v1.PatientIdType)public void putPatientConsent(ConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientServiceputPatientConsent in interface IntraHubPatientServicepatientConsent - the patient consentTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubPatientService.putPatientConsent(be.fgov.ehealth.hubservices.core.v1.ConsentType)public ConsentType getPatientConsent(SelectGetPatientConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientServicegetPatientConsent in interface IntraHubPatientServicepatientConsent - the patient consentTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubPatientService.getPatientConsent(be.fgov.ehealth.hubservices.core.v1.SelectGetPatientConsentType)public void revokePatientConsent(ConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientServicerevokePatientConsent in interface IntraHubPatientServicepatientConsent - the patient consentTechnicalConnectorException - the technical connector exceptionIntraHubBusinessConnectorException - the business connector exceptionIntraHubPatientService.revokePatientConsent(be.fgov.ehealth.hubservices.core.v1.ConsentType)public void bootstrap()
bootstrap in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging generic 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.