public class HubServiceImpl extends Object implements HubService
HubService
Constructor and Description |
---|
HubServiceImpl(SessionValidator sessionValidator)
Instantiates a new Hub Service.
|
Modifier and Type | Method and Description |
---|---|
DeclareTransactionResponse |
declareTransaction(KmehrHeaderDeclareTransaction kmehrHeader)
This operation should be used to declare a transaction within a hub.
|
DeclareTransactionResponse |
declareTransaction(KmehrHeaderDeclareTransaction kmehrHeader,
String breakTheGlass)
This operation should be used to declare a transaction within a hub.
|
GetAccessRightResponse |
getAccessRight(TransactionIdType transaction)
This operation should be used to get access rights on a transaction within a hub.
|
GetAccessRightResponse |
getAccessRight(TransactionIdType transaction,
String breakTheGlass)
This operation should be used to get access rights on a transaction within a hub.
|
GetHCPartyResponse |
getHCParty(HCPartyIdType hcParty)
This operation should be used to retrieve the data associated with a healthcare party within a hub.
|
GetHCPartyResponse |
getHCParty(HCPartyIdType hcParty,
String breakTheGlass)
This operation should be used to retrieve the data associated with a healthcare party within a hub.
|
GetHCPartyConsentResponse |
getHCPartyConsent(HCPartyIdType hcPartyId)
This operation should be used to retrieve the consent of a healthcare party within a hub.
|
GetHCPartyConsentResponse |
getHCPartyConsent(HCPartyIdType hcPartyId,
String breakTheGlass)
This operation should be used to retrieve the consent of a healthcare party within a hub.
|
GetLatestUpdateResponse |
getLatestUpdate(SelectGetLatestUpdateType latestUpdate)
This operation should be used to retrieve the time of the last change made to a transaction.
|
GetLatestUpdateResponse |
getLatestUpdate(SelectGetLatestUpdateType latestUpdate,
String breakTheGlass)
This operation should be used to retrieve the time of the last change made to a transaction.
|
GetPatientResponse |
getPatient(PatientIdType patientId)
This operation should be used to declare the consent of an healthcare party within a hub.
|
GetPatientResponse |
getPatient(PatientIdType patientId,
String breakTheGlass)
This operation should be used to declare the consent of an healthcare party within a hub.
|
GetPatientAuditTrailResponse |
getPatientAuditTrail(SelectGetPatientAuditTrailType patientAuditTrail)
This operation should be used to get the list of transaction accesses for a given patient.
|
GetPatientAuditTrailResponse |
getPatientAuditTrail(SelectGetPatientAuditTrailType patientAuditTrail,
Paginationrequestinfo paginationrequestinfo)
This operation should be used to get the list of transaction accesses for a given patient.
|
GetPatientAuditTrailResponse |
getPatientAuditTrail(SelectGetPatientAuditTrailType patientAuditTrail,
Paginationrequestinfo paginationrequestinfo,
String breakTheGlass)
This operation should be used to get the list of transaction accesses for a given patient.
|
GetPatientAuditTrailResponse |
getPatientAuditTrail(SelectGetPatientAuditTrailType patientAuditTrail,
String breakTheGlass)
This operation should be used to get the list of transaction accesses for a given patient.
|
GetPatientConsentResponse |
getPatientConsent(SelectGetPatientConsentType patientConsent)
This operation should be used to retrieve the consent of a patient within a hub.
|
GetPatientConsentResponse |
getPatientConsent(SelectGetPatientConsentType patientConsent,
String breakTheGlass)
This operation should be used to retrieve the consent of a patient within a hub.
|
GetTherapeuticLinkResponse |
getTherapeuticLink(SelectGetHCPartyPatientConsentType patientConsent)
This operation should be used to get therapeutic link between a patient and a healthcare party within a hub.
|
GetTherapeuticLinkResponse |
getTherapeuticLink(SelectGetHCPartyPatientConsentType patientConsent,
String breakTheGlass)
This operation should be used to get therapeutic link between a patient and a healthcare party within a hub.
|
GetTransactionResponse |
getTransaction(PatientIdType patient,
TransactionBaseType transaction)
This operation should be used to retrieve a transaction (given a transaction identifier) within a hub.
|
GetTransactionResponse |
getTransaction(PatientIdType patient,
TransactionBaseType transaction,
String breakTheGlass)
This operation should be used to retrieve a transaction (given a transaction identifier) within a hub.
|
GetTransactionListResponse |
getTransactionList(PatientIdType patient,
LocalSearchType searchType,
TransactionWithPeriodType transaction)
This operation should be used to get the list of available transactions that fulfill some given criteria.
|
GetTransactionListResponse |
getTransactionList(PatientIdType patient,
LocalSearchType searchType,
TransactionWithPeriodType transaction,
Integer maxRows)
This operation should be used to get the list of available transactions that fulfill some given criteria.
|
GetTransactionListResponse |
getTransactionList(PatientIdType patient,
LocalSearchType searchType,
TransactionWithPeriodType transaction,
Paginationrequestinfo paginationrequestinfo)
This operation should be used to get the list of available transactions that fulfill some given criteria.
|
GetTransactionListResponse |
getTransactionList(PatientIdType patient,
LocalSearchType searchType,
TransactionWithPeriodType transaction,
Paginationrequestinfo paginationrequestinfo,
String breakTheGlass)
This operation should be used to get the list of available transactions that fulfill some given criteria.
|
GetTransactionListResponse |
getTransactionList(PatientIdType patient,
LocalSearchType searchType,
TransactionWithPeriodType transaction,
String breakTheGlass)
This operation should be used to get the list of available transactions that fulfill some given criteria.
|
GetTransactionListResponse |
getTransactionList(PatientIdType patient,
LocalSearchType searchType,
TransactionWithPeriodType transaction,
String breakTheGlass,
Integer maxRows)
This operation should be used to get the list of available transactions that fulfill some given criteria.
|
GetTransactionSetResponse |
getTransactionSet(PatientIdType patient,
TransactionBaseType transaction)
This operation should be used to retrieve a transaction set(given a transaction identifier) within a hub.
|
GetTransactionSetResponse |
getTransactionSet(PatientIdType patient,
TransactionBaseType transaction,
String breakTheGlass)
This operation should be used to retrieve a transaction set(given a transaction identifier) within a hub.
|
PutAccessRightResponse |
putAccessRight(AccessRightType accessRight)
This operation should be used to put an access right on a transaction within a hub.
|
PutAccessRightResponse |
putAccessRight(AccessRightType accessRight,
String breakTheGlass)
This operation should be used to put an access right on a transaction within a hub.
|
PutHCPartyResponse |
putHCParty(HCPartyAdaptedType hcParty)
This operation should be used to create a healthcare party within a hub.
|
PutHCPartyResponse |
putHCParty(HCPartyAdaptedType hcParty,
String breakTheGlass)
This operation should be used to create a healthcare party within a hub.
|
PutHCPartyConsentResponse |
putHCPartyConsent(ConsentHCPartyType consent)
This operation should be used to declare the consent of an healthcare party within a hub.
|
PutHCPartyConsentResponse |
putHCPartyConsent(ConsentHCPartyType consent,
String breakTheGlass)
This operation should be used to declare the consent of an healthcare party within a hub.
|
PutPatientResponse |
putPatient(PersonType patient)
This operation should be used to create a patient within a hub.
|
PutPatientResponse |
putPatient(PersonType patient,
String breakTheGlass)
This operation should be used to create a patient within a hub.
|
PutPatientConsentResponse |
putPatientConsent(ConsentType patientConsent)
This operation should be used to declare the consent of a patient within a hub.
|
PutPatientConsentResponse |
putPatientConsent(ConsentType patientConsent,
String breakTheGlass)
This operation should be used to declare the consent of a patient within a hub.
|
PutTherapeuticLinkResponse |
putTherapeuticLink(TherapeuticLinkType therapeuticLink)
This operation should be used to declare therapeutic link between a patient and a healthcare party within a hub.
|
PutTherapeuticLinkResponse |
putTherapeuticLink(TherapeuticLinkType therapeuticLink,
String breakTheGlass)
This operation should be used to declare therapeutic link between a patient and a healthcare party within a hub.
|
PutTransactionResponse |
putTransaction(Kmehrmessage kmehrHeader)
This operation should be used to declare and to store a given transaction within a hub.
|
PutTransactionResponse |
putTransaction(Kmehrmessage kmehrHeader,
String breakTheGlass)
This operation should be used to declare and to store a given transaction within a hub.
|
PutTransactionSetResponse |
putTransactionSet(Kmehrmessage kmehrHeader)
This operation should be used to declare and to store a given transaction set within a hub.
|
PutTransactionSetResponse |
putTransactionSet(Kmehrmessage kmehrHeader,
String breakTheGlass)
This operation should be used to declare and to store a given transaction set within a hub.
|
RequestPublicationResponse |
requestPublication(PatientIdType patient,
TransactionWithPeriodType transaction,
String comment)
This operation allows a healthcare party to ask to another healthcare party to publish documents related to a patient.
|
RequestPublicationResponse |
requestPublication(PatientIdType patient,
TransactionWithPeriodType transaction,
String comment,
String breakTheGlass)
This operation allows a healthcare party to ask to another healthcare party to publish documents related to a patient.
|
RevokeAccessRightResponse |
revokeAccessRight(SelectRevokeAccessRightType accessRight)
This operation should be used to revoke access right on a transaction within a hub.
|
RevokeAccessRightResponse |
revokeAccessRight(SelectRevokeAccessRightType accessRight,
String breakTheGlass)
This operation should be used to revoke access right on a transaction within a hub.
|
RevokeHCPartyConsentResponse |
revokeHCPartyConsent(ConsentHCPartyType consent)
This operation should be used to revoke the consent of a healthcare party within a hub.
|
RevokeHCPartyConsentResponse |
revokeHCPartyConsent(ConsentHCPartyType consent,
String breakTheGlass)
This operation should be used to revoke the consent of a healthcare party within a hub.
|
RevokePatientConsentResponse |
revokePatientConsent(ConsentType patientConsent)
This operation should be used to revoke the consent of a patient within a hub.
|
RevokePatientConsentResponse |
revokePatientConsent(ConsentType patientConsent,
String breakTheGlass)
This operation should be used to revoke the consent of a patient within a hub.
|
RevokeTherapeuticLinkResponse |
revokeTherapeuticLink(TherapeuticLinkType therapeuticLink)
This operation should be used to revoke a therapeutic link between a patient and a healthcare party within a hub.
|
RevokeTherapeuticLinkResponse |
revokeTherapeuticLink(TherapeuticLinkType therapeuticLink,
String breakTheGlass)
This operation should be used to revoke a therapeutic link between a patient and a healthcare party within a hub.
|
RevokeTransactionResponse |
revokeTransaction(PatientIdType patient,
TransactionBaseType transaction)
This operation should be used to 'unpublish' a given transaction.
|
RevokeTransactionResponse |
revokeTransaction(PatientIdType patient,
TransactionBaseType transaction,
String breakTheGlass)
This operation should be used to 'unpublish' a given transaction.
|
public HubServiceImpl(SessionValidator sessionValidator) throws TechnicalConnectorException
sessionValidator
- the session validatorTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic DeclareTransactionResponse declareTransaction(KmehrHeaderDeclareTransaction kmehrHeader, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
declareTransaction
in interface HubService
kmehrHeader
- A Kmehr message formatted as XML String containing a Patient and a Transaction.breakTheGlass
- Indicates the request as "break-the-glass"DeclareTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionSessionManagementException
IntraHubBusinessConnectorException
public DeclareTransactionResponse declareTransaction(KmehrHeaderDeclareTransaction kmehrHeader) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
declareTransaction
in interface HubService
kmehrHeader
- A Kmehr message formatted as XML String containing a Patient and a Transaction.DeclareTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionSessionManagementException
IntraHubBusinessConnectorException
public PutTransactionResponse putTransaction(Kmehrmessage kmehrHeader, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putTransaction
in interface HubService
kmehrHeader
- A Kmehr message formatted as XML String containing a Patient and a Transaction.breakTheGlass
- Indicates the request as "break-the-glass"PutTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
public PutTransactionResponse putTransaction(Kmehrmessage kmehrHeader) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putTransaction
in interface HubService
kmehrHeader
- A Kmehr message formatted as XML String containing a Patient and a Transaction.PutTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
public RevokeTransactionResponse revokeTransaction(PatientIdType patient, TransactionBaseType transaction, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokeTransaction
in interface HubService
patient
- Patient for which to revoke the transaction.transaction
- Transaction to revoke.breakTheGlass
- Indicates the request as "break-the-glass"RevokeTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
public RevokeTransactionResponse revokeTransaction(PatientIdType patient, TransactionBaseType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokeTransaction
in interface HubService
patient
- Patient for which to revoke the transaction.transaction
- Transaction to revoke.RevokeTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
public GetTransactionListResponse getTransactionList(PatientIdType patient, LocalSearchType searchType, TransactionWithPeriodType transaction, String breakTheGlass, Integer maxRows) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransactionList
in interface HubService
patient
- Patient for which to retrieve the transaction list.searchType
- The search type (local or national)transaction
- Transaction types to search.breakTheGlass
- Indicates the request as "break-the-glass"maxRows
- The maximum number of results returned by the searchGetTransactionListResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionListResponse getTransactionList(PatientIdType patient, LocalSearchType searchType, TransactionWithPeriodType transaction, Integer maxRows) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransactionList
in interface HubService
patient
- Patient for which to retrieve the transaction list.searchType
- The search type (local or national)transaction
- Transaction types to search.maxRows
- The maximum number of results returned by the searchGetTransactionListResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionListResponse getTransactionList(PatientIdType patient, LocalSearchType searchType, TransactionWithPeriodType transaction, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransactionList
in interface HubService
patient
- Patient for which to retrieve the transaction list.searchType
- The search type (local or national)transaction
- Transaction types to search.breakTheGlass
- Indicates the request as "break-the-glass"GetTransactionListResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionListResponse getTransactionList(PatientIdType patient, LocalSearchType searchType, TransactionWithPeriodType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransactionList
in interface HubService
patient
- Patient for which to retrieve the transaction list.searchType
- The search type (local or national)transaction
- Transaction types to search.GetTransactionListResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionListResponse getTransactionList(PatientIdType patient, LocalSearchType searchType, TransactionWithPeriodType transaction, Paginationrequestinfo paginationrequestinfo, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransactionList
in interface HubService
patient
- Patient for which to retrieve the transaction list.searchType
- The search type (local or national)transaction
- Transaction types to search.paginationrequestinfo
- Informations for paginationbreakTheGlass
- Indicates the request as "break-the-glass"GetTransactionListResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionListResponse getTransactionList(PatientIdType patient, LocalSearchType searchType, TransactionWithPeriodType transaction, Paginationrequestinfo paginationrequestinfo) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransactionList
in interface HubService
patient
- Patient for which to retrieve the transaction list.searchType
- The search type (local or national)transaction
- Transaction types to search.paginationrequestinfo
- Informations for paginationGetTransactionListResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionResponse getTransaction(PatientIdType patient, TransactionBaseType transaction, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransaction
in interface HubService
patient
- Patient for which to retrieve the transaction.transaction
- Transaction identificationbreakTheGlass
- Indicates the request as "break-the-glass"GetTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionResponse getTransaction(PatientIdType patient, TransactionBaseType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransaction
in interface HubService
patient
- Patient for which to retrieve the transaction.transaction
- Transaction identificationGetTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic RequestPublicationResponse requestPublication(PatientIdType patient, TransactionWithPeriodType transaction, String comment, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
requestPublication
in interface HubService
patient
- The Patient for who the publication is.transaction
- Transaction types and Health Care Partiescomment
- CommentbreakTheGlass
- Indicates the request as "break-the-glass"RequestPublicationResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic RequestPublicationResponse requestPublication(PatientIdType patient, TransactionWithPeriodType transaction, String comment) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
requestPublication
in interface HubService
patient
- The Patient for who the publication is.transaction
- Transaction types and Health Care Partiescomment
- CommentRequestPublicationResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutHCPartyResponse putHCParty(HCPartyAdaptedType hcParty, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putHCParty
in interface HubService
hcParty
- Information about the healthcare partybreakTheGlass
- Indicates the request as "break-the-glass"PutHCPartyResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutHCPartyResponse putHCParty(HCPartyAdaptedType hcParty) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putHCParty
in interface HubService
hcParty
- Information about the healthcare partyPutHCPartyResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetHCPartyResponse getHCParty(HCPartyIdType hcParty, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getHCParty
in interface HubService
hcParty
- This is the NIHII or SSIN number according to the type of healthcare party. Other local identifiers are allowed.breakTheGlass
- Indicates the request as "break-the-glass"GetHCPartyResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetHCPartyResponse getHCParty(HCPartyIdType hcParty) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getHCParty
in interface HubService
hcParty
- This is the NIHII or SSIN number according to the type of healthcare party. Other local identifiers are allowed.GetHCPartyResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutHCPartyConsentResponse putHCPartyConsent(ConsentHCPartyType consent, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putHCPartyConsent
in interface HubService
consent
- A Consent containing a HCParty and the signature date.breakTheGlass
- Indicates the request as "break-the-glass"PutHCPartyConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutHCPartyConsentResponse putHCPartyConsent(ConsentHCPartyType consent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putHCPartyConsent
in interface HubService
consent
- A Consent containing a HCParty and the signature date.PutHCPartyConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetHCPartyConsentResponse getHCPartyConsent(HCPartyIdType hcPartyId, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getHCPartyConsent
in interface HubService
hcPartyId
- This is the NIHII or INSS number according to the type of healthcare party. Other local identifiers are allowed.breakTheGlass
- Indicates the request as "break-the-glass"GetHCPartyConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetHCPartyConsentResponse getHCPartyConsent(HCPartyIdType hcPartyId) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getHCPartyConsent
in interface HubService
hcPartyId
- This is the NIHII or INSS number according to the type of healthcare party. Other local identifiers are allowed.GetHCPartyConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic RevokeHCPartyConsentResponse revokeHCPartyConsent(ConsentHCPartyType consent, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokeHCPartyConsent
in interface HubService
consent
- A Consent containing a HCParty and the signature date.breakTheGlass
- Indicates the request as "break-the-glass"RevokeHCPartyConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
public RevokeHCPartyConsentResponse revokeHCPartyConsent(ConsentHCPartyType consent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokeHCPartyConsent
in interface HubService
consent
- A Consent containing a HCParty and the signature date.RevokeHCPartyConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
public PutPatientResponse putPatient(PersonType patient, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putPatient
in interface HubService
patient
- Information about a patientbreakTheGlass
- Indicates the request as "break-the-glass"PutPatientResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutPatientResponse putPatient(PersonType patient) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putPatient
in interface HubService
patient
- Information about a patientPutPatientResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetPatientResponse getPatient(PatientIdType patientId, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getPatient
in interface HubService
patientId
- Patient contains only the identifiers of the patient. Several identifiers of the same patient are allowed.breakTheGlass
- Indicates the request as "break-the-glass"GetPatientResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetPatientResponse getPatient(PatientIdType patientId) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getPatient
in interface HubService
patientId
- Patient contains only the identifiers of the patient. Several identifiers of the same patient are allowed.GetPatientResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutPatientConsentResponse putPatientConsent(ConsentType patientConsent, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putPatientConsent
in interface HubService
patientConsent
- Patient Consent data structure that contains signing date of the consent, scope of the consent,
'retrospective'/ 'prospective' attribute.breakTheGlass
- Indicates the request as "break-the-glass"PutPatientConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutPatientConsentResponse putPatientConsent(ConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putPatientConsent
in interface HubService
patientConsent
- Patient Consent data structure that contains signing date of the consent, scope of the consent,
'retrospective'/ 'prospective' attribute.PutPatientConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetPatientConsentResponse getPatientConsent(SelectGetPatientConsentType patientConsent, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getPatientConsent
in interface HubService
patientConsent
- Contains the Patient Identifiers and the scope of the consentbreakTheGlass
- Indicates the request as "break-the-glass"GetPatientConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetPatientConsentResponse getPatientConsent(SelectGetPatientConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getPatientConsent
in interface HubService
patientConsent
- Contains the Patient Identifiers and the scope of the consentGetPatientConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic RevokePatientConsentResponse revokePatientConsent(ConsentType patientConsent, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokePatientConsent
in interface HubService
patientConsent
- Patient Consent data structure that contains signing date of the consent, scope of the consent, 'retrospective'
'prospective' attribute.breakTheGlass
- Indicates the request as "break-the-glass"RevokePatientConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic RevokePatientConsentResponse revokePatientConsent(ConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokePatientConsent
in interface HubService
patientConsent
- Patient Consent data structure that contains signing date of the consent, scope of the consent, 'retrospective'
'prospective' attribute.RevokePatientConsentResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutTherapeuticLinkResponse putTherapeuticLink(TherapeuticLinkType therapeuticLink, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putTherapeuticLink
in interface HubService
therapeuticLink
- A Therapeutic link containing Patient Identifier, HCP identifier, Link type, link start date , link end date
(optional), comment (optional)).breakTheGlass
- Indicates the request as "break-the-glass"PutTherapeuticLinkResponse
the WS response objectSessionManagementException
- the session management exceptionTechnicalConnectorException
IntraHubBusinessConnectorException
public PutTherapeuticLinkResponse putTherapeuticLink(TherapeuticLinkType therapeuticLink) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putTherapeuticLink
in interface HubService
therapeuticLink
- A Therapeutic link containing Patient Identifier, HCP identifier, Link type, link start date , link end date
(optional), comment (optional)).PutTherapeuticLinkResponse
the WS response objectSessionManagementException
- the session management exceptionTechnicalConnectorException
IntraHubBusinessConnectorException
public GetTherapeuticLinkResponse getTherapeuticLink(SelectGetHCPartyPatientConsentType patientConsent, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTherapeuticLink
in interface HubService
patientConsent
- Contains the Patient Identifiers and the scope of the consentbreakTheGlass
- Indicates the request as "break-the-glass"GetTherapeuticLinkResponse
the WS response objectSessionManagementException
- the session management exceptionTechnicalConnectorException
IntraHubBusinessConnectorException
public GetTherapeuticLinkResponse getTherapeuticLink(SelectGetHCPartyPatientConsentType patientConsent) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTherapeuticLink
in interface HubService
patientConsent
- Contains the Patient Identifiers and the scope of the consentGetTherapeuticLinkResponse
the WS response objectSessionManagementException
- the session management exceptionTechnicalConnectorException
IntraHubBusinessConnectorException
public RevokeTherapeuticLinkResponse revokeTherapeuticLink(TherapeuticLinkType therapeuticLink, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokeTherapeuticLink
in interface HubService
therapeuticLink
- the therapeutic linkbreakTheGlass
- Indicates the request as "break-the-glass"RevokeTherapeuticLinkResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic RevokeTherapeuticLinkResponse revokeTherapeuticLink(TherapeuticLinkType therapeuticLink) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokeTherapeuticLink
in interface HubService
therapeuticLink
- the therapeutic linkRevokeTherapeuticLinkResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutAccessRightResponse putAccessRight(AccessRightType accessRight, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putAccessRight
in interface HubService
accessRight
- the access rightbreakTheGlass
- Indicates the request as "break-the-glass"PutAccessRightResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutAccessRightResponse putAccessRight(AccessRightType accessRight) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putAccessRight
in interface HubService
accessRight
- the access rightPutAccessRightResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetAccessRightResponse getAccessRight(TransactionIdType transaction, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getAccessRight
in interface HubService
transaction
- A transaction ID Type containing the Transaction Identifier.breakTheGlass
- Indicates the request as "break-the-glass"GetAccessRightResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetAccessRightResponse getAccessRight(TransactionIdType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getAccessRight
in interface HubService
transaction
- A transaction ID Type containing the Transaction Identifier.GetAccessRightResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic RevokeAccessRightResponse revokeAccessRight(SelectRevokeAccessRightType accessRight, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokeAccessRight
in interface HubService
accessRight
- Contains a transaction and a HC PartybreakTheGlass
- Indicates the request as "break-the-glass"RevokeAccessRightResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic RevokeAccessRightResponse revokeAccessRight(SelectRevokeAccessRightType accessRight) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
revokeAccessRight
in interface HubService
accessRight
- Contains a transaction and a HC PartyRevokeAccessRightResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionSetResponse getTransactionSet(PatientIdType patient, TransactionBaseType transaction, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransactionSet
in interface HubService
patient
- Patient for which to retrieve the transaction.transaction
- Transaction identificationbreakTheGlass
- Indicates the request as "break-the-glass"GetTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetTransactionSetResponse getTransactionSet(PatientIdType patient, TransactionBaseType transaction) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getTransactionSet
in interface HubService
patient
- Patient for which to retrieve the transaction.transaction
- Transaction identificationGetTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic PutTransactionSetResponse putTransactionSet(Kmehrmessage kmehrHeader, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putTransactionSet
in interface HubService
kmehrHeader
- A Kmehr message formatted as XML String containing a Patient and a Transaction.breakTheGlass
- Indicates the request as "break-the-glass"PutTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
public PutTransactionSetResponse putTransactionSet(Kmehrmessage kmehrHeader) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
putTransactionSet
in interface HubService
kmehrHeader
- A Kmehr message formatted as XML String containing a Patient and a Transaction.PutTransactionResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
public GetLatestUpdateResponse getLatestUpdate(SelectGetLatestUpdateType latestUpdate, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getLatestUpdate
in interface HubService
latestUpdate
- Contains the search parameters for the latest update.breakTheGlass
- Indicates the request as "break-the-glass"GetLatestUpdateResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetLatestUpdateResponse getLatestUpdate(SelectGetLatestUpdateType latestUpdate) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getLatestUpdate
in interface HubService
latestUpdate
- Contains the search parameters for the latest update.GetLatestUpdateResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetPatientAuditTrailResponse getPatientAuditTrail(SelectGetPatientAuditTrailType patientAuditTrail, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getPatientAuditTrail
in interface HubService
patientAuditTrail
- Contains the search parameters for the audit trail.breakTheGlass
- Indicates the request as "break-the-glass"GetPatientAuditTrailResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetPatientAuditTrailResponse getPatientAuditTrail(SelectGetPatientAuditTrailType patientAuditTrail) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getPatientAuditTrail
in interface HubService
patientAuditTrail
- Contains the search parameters for the audit trail.GetPatientAuditTrailResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetPatientAuditTrailResponse getPatientAuditTrail(SelectGetPatientAuditTrailType patientAuditTrail, Paginationrequestinfo paginationrequestinfo, String breakTheGlass) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getPatientAuditTrail
in interface HubService
patientAuditTrail
- Contains the search parameters for the audit trail.paginationrequestinfo
- Informations for paginationbreakTheGlass
- Indicates the request as "break-the-glass"GetPatientAuditTrailResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exceptionpublic GetPatientAuditTrailResponse getPatientAuditTrail(SelectGetPatientAuditTrailType patientAuditTrail, Paginationrequestinfo paginationrequestinfo) throws TechnicalConnectorException, IntraHubBusinessConnectorException
HubService
getPatientAuditTrail
in interface HubService
patientAuditTrail
- Contains the search parameters for the audit trail.paginationrequestinfo
- Informations for paginationGetPatientAuditTrailResponse
the WS response objectTechnicalConnectorException
- the technical connector exceptionIntraHubBusinessConnectorException
- the business connector exception
Connector Packaging PERSPHYSICIAN 4.5.4 API
Copyright © {inceptionYear}-2024 eHealth. All Rights Reserved.