public class IntraHubTherapeuticLinkServiceImpl extends Object implements IntraHubTherapeuticLinkService, ConfigurationModuleBootstrap.ModuleBootstrapHook
IntraHubTherapeuticLinkService
Extends : IntraHubAbstract
Constructor and Description |
---|
IntraHubTherapeuticLinkServiceImpl()
needed for ModuleBootstrapHook.
|
IntraHubTherapeuticLinkServiceImpl(IntraHubService hubService,
HubReplyValidator validator)
Instantiates a new intra hub therapeutic link service.
|
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
Collection<TherapeuticLinkType> |
getTherapeuticLink(SelectGetHCPartyPatientConsentType patientConsent)
Gets the therapeutic link.
|
void |
putTherapeuticLink(TherapeuticLinkType therapeuticLink)
Put therapeutic link.
|
void |
revokeTherapeuticLink(TherapeuticLinkType therapeuticLink)
Revoke therapeutic link.
|
public IntraHubTherapeuticLinkServiceImpl(IntraHubService hubService, HubReplyValidator validator) throws TechnicalConnectorException, IntraHubBusinessConnectorException
hubService
- the hub servicevalidator
- the validatorTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic IntraHubTherapeuticLinkServiceImpl()
public void putTherapeuticLink(TherapeuticLinkType therapeuticLink) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTherapeuticLinkService
putTherapeuticLink
in interface IntraHubTherapeuticLinkService
therapeuticLink
- the therapeutic linkTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionIntraHubTherapeuticLinkService.putTherapeuticLink(be.fgov.ehealth.hubservices.core.v1.TherapeuticLinkType)
public Collection<TherapeuticLinkType> getTherapeuticLink(SelectGetHCPartyPatientConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTherapeuticLinkService
getTherapeuticLink
in interface IntraHubTherapeuticLinkService
patientConsent
- the patient consentTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionIntraHubTherapeuticLinkService.getTherapeuticLink(be.fgov.ehealth.hubservices.core.v1.SelectGetHCPartyPatientConsentType)
public void revokeTherapeuticLink(TherapeuticLinkType therapeuticLink) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTherapeuticLinkService
revokeTherapeuticLink
in interface IntraHubTherapeuticLinkService
therapeuticLink
- the therapeutic linkTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionIntraHubTherapeuticLinkService.revokeTherapeuticLink(be.fgov.ehealth.hubservices.core.v1.TherapeuticLinkType)
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.