public interface RequestObjectBuilder
GenericRequestObjectBuilder
Factory : RequestObjectBuilderFactory
Modifier and Type | Field and Description |
---|---|
static int |
MAXROWS_DEFAULT
MaxRows Constant : the highest possible value for maxRows parameter
|
static String |
MAXROWS_PROPERTY_KEY
optional property to set the maxrows tag in the request.
|
static String |
PROP_HCP_TYPE
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
GetTherapeuticLinkRequest |
createGetTherapeuticLinkRequest(TherapeuticLink query,
int maxRows,
Proof... prooves)
Creates a GetTherapeuticLinkRequest
|
GetTherapeuticLinkRequest |
createGetTherapeuticLinkRequest(TherapeuticLink query,
Proof... prooves)
Creates a GetTherapeuticLinkRequest MaxRows will be replaced with property value of "therlink.maxrows" if it's defined,
otherwise default value1000 will be used
|
HasTherapeuticLinkRequest |
createHasTherapeuticLinkRequest(TherapeuticLink query)
Creates a HasTherapeuticLinkRequest
|
PutTherapeuticLinkRequest |
createPutTherapeuticLinkRequest(org.joda.time.DateTime endDate,
Patient patient,
HcParty concernedHealthCareProfessionel,
String therLinkType,
String comment,
Proof... proofs)
Creates a new
PutTherapeuticLinkRequest |
PutTherapeuticLinkRequest |
createPutTherapeuticLinkRequest(Patient patient,
HcParty concernedHealthCareProfessionel,
Date endDate,
String therLinkType,
String comment,
Proof... proofs)
Deprecated.
|
PutTherapeuticLinkRequest |
createPutTherapeuticLinkRequest(Patient patient,
HcParty hcp,
String therLinkType,
Proof proof)
Creates a putTherapeuticLinkRequest enddate & comment are null by default
|
RevokeTherapeuticLinkRequest |
createRevokeTherapeuticLinkRequest(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
Patient patient,
HcParty hcp,
String therLinkType,
String commentAboutRevokal,
Proof... proofs)
Creates a RevokeTherapeuticLinkRequest
|
RevokeTherapeuticLinkRequest |
createRevokeTherapeuticLinkRequest(Patient patient,
HcParty hcp,
Date startDate,
Date endDate,
String therLinkType,
String commentAboutRevokal,
Proof... proofs)
Deprecated.
|
RevokeTherapeuticLinkRequest |
createRevokeTherapeuticLinkRequest(TherapeuticLink therLink)
Creates a RevokeTherapeuticLinkRequest with a TherapeuticLink as input
|
RevokeTherapeuticLinkRequest |
createRevokeTherapeuticLinkRequestWithProof(TherapeuticLink link,
Proof... proofs)
Creates a RevokeTherapeuticLinkRequest with a TherapeuticLink as input and a proof list
|
List<HcParty> |
getAuthorHcParties()
Gets a list of HcParties that should be included in the author section of the message
|
String |
getEnduserHcpType()
Deprecated.
|
int |
getMaxRows()
won't always return correct value ( 0 instead of null ) in new implementations.
|
static final int MAXROWS_DEFAULT
@Deprecated static final String PROP_HCP_TYPE
static final String MAXROWS_PROPERTY_KEY
@Deprecated PutTherapeuticLinkRequest createPutTherapeuticLinkRequest(Patient patient, HcParty concernedHealthCareProfessionel, Date endDate, String therLinkType, String comment, Proof... proofs) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
PutTherapeuticLinkRequest
patient
- the patient concerned by the therapeutic linktherLinkType
- the type of the therapeutic linkendDate
- (optional) the end date of the therapeutic linkcomment
- (optional) a comment about the therapeutic linkconcernedHealthCareProfessionel
- (optional, default person in current session) the professional concerned by the therapeutic
linkproofs
- (optional and possible empty) list of proofsTechnicalConnectorException
- if an error occured while creating the requestTherLinkBusinessConnectorException
- if a required parameter is not provided, or if the request is not validInstantiationException
PutTherapeuticLinkRequest createPutTherapeuticLinkRequest(org.joda.time.DateTime endDate, Patient patient, HcParty concernedHealthCareProfessionel, String therLinkType, String comment, Proof... proofs) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
PutTherapeuticLinkRequest
patient
- the patient concerned by the therapeutic linktherLinkType
- the type of the therapeutic linkendDate
- (optional) the end date of the therapeutic linkcomment
- (optional) a comment about the therapeutic linkconcernedHealthCareProfessionel
- (optional, default person in current session) the professional concerned by the therapeutic
linkproofs
- (optional and possible empty) list of proofsTechnicalConnectorException
- if an error occured while creating the requestTherLinkBusinessConnectorException
- if a required parameter is not provided, or if the request is not validInstantiationException
@Deprecated RevokeTherapeuticLinkRequest createRevokeTherapeuticLinkRequest(Patient patient, HcParty hcp, Date startDate, Date endDate, String therLinkType, String commentAboutRevokal, Proof... proofs) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
patient
- the patient concerned by the therapeutic linktherLinkType
- the type of the therapeutic linkhcp
- the professional concerned by the therapeutic linkendDate
- (optional) the end date of the therapeutic linkcommentAboutRevokal
- (optional) a comment about the revokalproofs
- (optional and possible empty) a list of proofsTechnicalConnectorException
- if an error occured while creating the requestTherLinkBusinessConnectorException
- if a required parameter is not provided, or if the request is not validInstantiationException
RevokeTherapeuticLinkRequest createRevokeTherapeuticLinkRequest(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, Patient patient, HcParty hcp, String therLinkType, String commentAboutRevokal, Proof... proofs) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
patient
- the patient concerned by the therapeutic linktherLinkType
- the type of the therapeutic linkhcp
- the professional concerned by the therapeutic linkendDate
- (optional) the end date of the therapeutic linkcommentAboutRevokal
- (optional) a comment about the revokalproofs
- (optional and possible empty) a list of proofsTechnicalConnectorException
- if an error occured while creating the requestTherLinkBusinessConnectorException
- if a required parameter is not provided, or if the request is not validInstantiationException
HasTherapeuticLinkRequest createHasTherapeuticLinkRequest(TherapeuticLink query) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
query
- the therapeutic link to retrieveprooves
- a list of proofs (optional and may be empty)TechnicalConnectorException
- if an error occured while creating the requestTherLinkBusinessConnectorException
- if a required parameter is not provided, or if the request is not validInstantiationException
GetTherapeuticLinkRequest createGetTherapeuticLinkRequest(TherapeuticLink query, int maxRows, Proof... prooves) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
maxRows
- should be smaller than 1000query
- the therapeutic link to retrieveprooves
- a list of proofs (optional and may be empty)TechnicalConnectorException
- if an error occured while creating the requestTherLinkBusinessConnectorException
- if a required parameter is not provided, or if the request is not validInstantiationException
GetTherapeuticLinkRequest createGetTherapeuticLinkRequest(TherapeuticLink query, Proof... prooves) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
query
- the therapeutic link to retrieveprooves
- a list of proofs (optional and may be empty)TechnicalConnectorException
- if an error occured while creating the requestTherLinkBusinessConnectorException
- if a required parameter is not provided, or if the request is not validInstantiationException
List<HcParty> getAuthorHcParties() throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
@Deprecated String getEnduserHcpType()
RevokeTherapeuticLinkRequest createRevokeTherapeuticLinkRequest(TherapeuticLink therLink) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
RevokeTherapeuticLinkRequest createRevokeTherapeuticLinkRequestWithProof(TherapeuticLink link, Proof... proofs) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
int getMaxRows()
PutTherapeuticLinkRequest createPutTherapeuticLinkRequest(Patient patient, HcParty hcp, String therLinkType, Proof proof) throws TechnicalConnectorException, TherLinkBusinessConnectorException, InstantiationException
Connector Packaging TRUSSMAKER 4.1.2 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.