public class IntraHubTransactionServiceImpl extends Object implements IntraHubTransactionService, ConfigurationModuleBootstrap.ModuleBootstrapHook
IntraHubTransactionService
Extends : IntraHubAbstract
Constructor and Description |
---|
IntraHubTransactionServiceImpl()
needed for ModuleBootstrapHook.
|
IntraHubTransactionServiceImpl(IntraHubService hubService,
HubReplyValidator validator)
Instantiates a new intra hub transaction service.
|
Modifier and Type | Method and Description |
---|---|
void |
bootstrap() |
List<IDKMEHR> |
declareTransaction(KmehrHeaderDeclareTransaction input)
Declare transaction.
|
Kmehrmessage |
getTransaction(PatientIdType patient,
TransactionBaseType transaction)
Gets the transaction.
|
KmehrHeaderGetTransactionList |
getTransactionList(PatientIdType patient,
LocalSearchType searchType,
TransactionWithPeriodType transaction)
Gets the transaction list.
|
void |
putTransaction(Kmehrmessage input)
Put transaction.
|
void |
requestPublication(PatientIdType patient,
TransactionWithPeriodType transaction,
String comment)
Request publication.
|
void |
revokeTransaction(PatientIdType patient,
TransactionIdType transaction)
Revoke transaction.
|
public IntraHubTransactionServiceImpl(IntraHubService hubService, HubReplyValidator validator) throws TechnicalConnectorException, IntraHubBusinessConnectorException
hubService
- the hub servicevalidator
- the validatorTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic IntraHubTransactionServiceImpl()
public List<IDKMEHR> declareTransaction(KmehrHeaderDeclareTransaction input) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionService
declareTransaction
in interface IntraHubTransactionService
input
- the kmehr headerTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionbe.ehealth.businessconnector.hub.service.IntraHubTransactionService#declareTransaction(java.lang.String)
public void putTransaction(Kmehrmessage input) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionService
putTransaction
in interface IntraHubTransactionService
input
- the kmehr headerTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionbe.ehealth.businessconnector.hub.service.IntraHubTransactionService#putTransaction(java.lang.String)
public void revokeTransaction(PatientIdType patient, TransactionIdType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionService
revokeTransaction
in interface IntraHubTransactionService
patient
- the patienttransaction
- the transactionTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionIntraHubTransactionService.revokeTransaction(be.fgov.ehealth.hubservices.core.v1.PatientIdType,
be.fgov.ehealth.hubservices.core.v1.TransactionIdType)
public KmehrHeaderGetTransactionList getTransactionList(PatientIdType patient, LocalSearchType searchType, TransactionWithPeriodType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionService
getTransactionList
in interface IntraHubTransactionService
patient
- the patientsearchType
- the search typetransaction
- the transactionTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionIntraHubTransactionService.getTransactionList(be.fgov.ehealth.hubservices.core.v1.PatientIdType,
be.fgov.ehealth.hubservices.core.v1.LocalSearchType, be.fgov.ehealth.hubservices.core.v1.TransactionWithPeriodType)
public Kmehrmessage getTransaction(PatientIdType patient, TransactionBaseType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionService
getTransaction
in interface IntraHubTransactionService
patient
- the patienttransaction
- the transactionTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionIntraHubTransactionService.getTransaction(be.fgov.ehealth.hubservices.core.v1.PatientIdType,
be.fgov.ehealth.hubservices.core.v1.TransactionBaseType)
public void requestPublication(PatientIdType patient, TransactionWithPeriodType transaction, String comment) throws TechnicalConnectorException, IntraHubBusinessConnectorException
IntraHubTransactionService
requestPublication
in interface IntraHubTransactionService
patient
- the patienttransaction
- the transactioncomment
- the commentTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionIntraHubTransactionService.requestPublication(be.fgov.ehealth.hubservices.core.v1.PatientIdType,
be.fgov.ehealth.hubservices.core.v1.TransactionWithPeriodType, java.lang.String)
public void bootstrap()
bootstrap
in interface ConfigurationModuleBootstrap.ModuleBootstrapHook
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.