public class TherLinkServiceImpl extends Object implements TherLinkService, ConfigurationModuleBootstrap.ModuleBootstrapHook
TherLinkService
Constructor and Description |
---|
TherLinkServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
GetTherapeuticLinkResponse |
getTherapeuticLink(SAMLToken token,
GetTherapeuticLinkRequest request)
Get a therapeutic link
|
HasTherapeuticLinkResponse |
hasTherapeuticLink(SAMLToken token,
HasTherapeuticLinkRequest request)
Check if a therapeutic link exists between the patient and healthcare party
|
PutTherapeuticLinkResponse |
putTherapeuticLink(SAMLToken token,
PutTherapeuticLinkRequest request)
Put a therapeutic link
|
RevokeTherapeuticLinkResponse |
revokeTherapeuticLink(SAMLToken token,
RevokeTherapeuticLinkRequest request)
Revoke a therapeutic link
|
public PutTherapeuticLinkResponse putTherapeuticLink(SAMLToken token, PutTherapeuticLinkRequest request) throws TherLinkBusinessConnectorException, TechnicalConnectorException
TherLinkService
putTherapeuticLink
in interface TherLinkService
token
- the tokenrequest
- the putTherapeuticLink requestTherLinkBusinessConnectorException
TechnicalConnectorException
public GetTherapeuticLinkResponse getTherapeuticLink(SAMLToken token, GetTherapeuticLinkRequest request) throws TechnicalConnectorException, TherLinkBusinessConnectorException
TherLinkService
getTherapeuticLink
in interface TherLinkService
token
- the tokenrequest
- the getTherapeuticLink requestTechnicalConnectorException
TherLinkBusinessConnectorException
public RevokeTherapeuticLinkResponse revokeTherapeuticLink(SAMLToken token, RevokeTherapeuticLinkRequest request) throws TechnicalConnectorException, TherLinkBusinessConnectorException
TherLinkService
revokeTherapeuticLink
in interface TherLinkService
token
- the tokenrequest
- the requestTechnicalConnectorException
TherLinkBusinessConnectorException
public HasTherapeuticLinkResponse hasTherapeuticLink(SAMLToken token, HasTherapeuticLinkRequest request) throws TechnicalConnectorException, TherLinkBusinessConnectorException
TherLinkService
hasTherapeuticLink
in interface TherLinkService
token
- the tokenrequest
- the requestTechnicalConnectorException
TherLinkBusinessConnectorException
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.