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
IntraHubPatientService
putPatient
in interface IntraHubPatientService
patient
- 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
IntraHubPatientService
getPatient
in interface IntraHubPatientService
patientId
- 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
IntraHubPatientService
putPatientConsent
in interface IntraHubPatientService
patientConsent
- 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
IntraHubPatientService
getPatientConsent
in interface IntraHubPatientService
patientConsent
- 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
IntraHubPatientService
revokePatientConsent
in interface IntraHubPatientService
patientConsent
- 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 PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.