|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.businessconnector.therlink.builders.impl.CommonObjectBuilderImpl
public final class CommonObjectBuilderImpl
Implementation for CommonObjectBuilder
requires following config property : kmehr.therlink.identifier.id.idhcparty ( or kmehr.default.identifier.id.idhcparty if default
properties for kmehr are used )
Constructor Summary | |
---|---|
CommonObjectBuilderImpl()
|
Method Summary | |
---|---|
Author |
createAuthor(List<HcParty> list)
Creates the author part of the message |
String |
createKmehrID()
Creates the id of the kmehr message |
TherapeuticLink |
createTherapeuticLink(org.joda.time.DateTime startDate,
org.joda.time.DateTime endDate,
Patient patient,
String hcpType,
String therLinkType,
String comment,
HcParty concernedHcp)
Creates a therapeutic link |
TherapeuticLink |
createTherapeuticLink(Patient patient,
String hcpType,
String therLinkType,
Date startDate,
Date endDate,
String comment,
HcParty hcp)
Deprecated. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CommonObjectBuilderImpl()
Method Detail |
---|
@Deprecated public TherapeuticLink createTherapeuticLink(Patient patient, String hcpType, String therLinkType, Date startDate, Date endDate, String comment, HcParty hcp) throws TechnicalConnectorException
CommonObjectBuilder
createTherapeuticLink
in interface CommonObjectBuilder
patient
- the concerned patienthcpType
- the type of the professional concerned by the therapeutic linktherLinkType
- the type of the therapeutic linkstartDate
- the start dateendDate
- (optional) the end datecomment
- (optional) a comment about the therapeutic linkhcp
- The HCP concerned by the link. If it's null, then we will use session info by default
TechnicalConnectorException
- Deprecated : replaced by the other functionpublic Author createAuthor(List<HcParty> list) throws TechnicalConnectorException
CommonObjectBuilder
createAuthor
in interface CommonObjectBuilder
list
- list of professionals to add in the author part
TechnicalConnectorException
public String createKmehrID() throws TechnicalConnectorException
CommonObjectBuilder
createKmehrID
in interface CommonObjectBuilder
TechnicalConnectorException
public TherapeuticLink createTherapeuticLink(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, Patient patient, String hcpType, String therLinkType, String comment, HcParty concernedHcp) throws TechnicalConnectorException
CommonObjectBuilder
createTherapeuticLink
in interface CommonObjectBuilder
startDate
- the start dateendDate
- (optional) the end datepatient
- the concerned patienthcpType
- the type of the professional concerned by the therapeutic linktherLinkType
- the type of the therapeutic linkcomment
- (optional) a comment about the therapeutic linkconcernedHcp
- The HCP concerned by the link. If it's null, then we will use session info by default
TechnicalConnectorException
be.ehealth.businessconnector.therlink.builders.CommonObjectBuilder#createTherapeuticLink(be.ehealth.business.common.domain.Patient,
java.lang.String, java.lang.String, org.joda.time.DateTime, org.joda.time.DateTime, java.lang.String,
be.ehealth.businessconnector.therlink.domain.HcParty)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |