|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.hub.service.impl.IntraHubPatientServiceImpl
public class IntraHubPatientServiceImpl
Implementation of IntraHubPatientService
Extends : IntraHubAbstract
Constructor Summary | |
---|---|
IntraHubPatientServiceImpl()
needed for ModuleBootstrapHook. |
|
IntraHubPatientServiceImpl(IntraHubService hubService,
HubReplyValidator validator)
Instantiates a new intra hub patient service. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IntraHubPatientServiceImpl(IntraHubService hubService, HubReplyValidator validator) throws TechnicalConnectorException, IntraHubBusinessConnectorException
hubService
- the hub servicevalidator
- the validator
TechnicalConnectorException
- the technical connector exception
IntraHubBusinessConnectorException
- the business connector exceptionpublic IntraHubPatientServiceImpl()
Method Detail |
---|
public PersonType putPatient(PersonType patient) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientService
putPatient
in interface IntraHubPatientService
patient
- the patient
TechnicalConnectorException
- the technical connector exception
IntraHubBusinessConnectorException
- the business connector exceptionIntraHubPatientService.putPatient(be.fgov.ehealth.standards.kmehr.schema.v1.PersonType)
public PersonType getPatient(PatientIdType patientId) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientService
getPatient
in interface IntraHubPatientService
patientId
- the patient id
TechnicalConnectorException
- the technical connector exception
IntraHubBusinessConnectorException
- the business connector exceptionIntraHubPatientService.getPatient(be.fgov.ehealth.hubservices.core.v1.PatientIdType)
public void putPatientConsent(ConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientService
putPatientConsent
in interface IntraHubPatientService
patientConsent
- the patient consent
TechnicalConnectorException
- the technical connector exception
IntraHubBusinessConnectorException
- the business connector exceptionIntraHubPatientService.putPatientConsent(be.fgov.ehealth.hubservices.core.v1.ConsentType)
public ConsentType getPatientConsent(SelectGetPatientConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientService
getPatientConsent
in interface IntraHubPatientService
patientConsent
- the patient consent
TechnicalConnectorException
- the technical connector exception
IntraHubBusinessConnectorException
- the business connector exceptionIntraHubPatientService.getPatientConsent(be.fgov.ehealth.hubservices.core.v1.SelectGetPatientConsentType)
public void revokePatientConsent(ConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubPatientService
revokePatientConsent
in interface IntraHubPatientService
patientConsent
- the patient consent
TechnicalConnectorException
- the technical connector exception
IntraHubBusinessConnectorException
- the business connector exceptionIntraHubPatientService.revokePatientConsent(be.fgov.ehealth.hubservices.core.v1.ConsentType)
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |