|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommonObjectBuilder
Interface for all CommonObjectBuilders Every class that implement this interface is able to create all the common part of a kmehr request
Default impl : CommonObjectBuilderImpl
Factory :
RequestObjectBuilderFactory
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 concernedHcp)
Deprecated. |
Method Detail |
---|
@Deprecated TherapeuticLink createTherapeuticLink(Patient patient, String hcpType, String therLinkType, Date startDate, Date endDate, String comment, HcParty concernedHcp) throws TechnicalConnectorException
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 linkconcernedHcp
- The HCP concerned by the link. If it's null, then we will use session info by default
TechnicalConnectorException
- Deprecated : replaced by the other functionTherapeuticLink createTherapeuticLink(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, Patient patient, String hcpType, String therLinkType, String comment, HcParty concernedHcp) throws TechnicalConnectorException
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 linkconcernedHcp
- The HCP concerned by the link. If it's null, then we will use session info by default
TechnicalConnectorException
Author createAuthor(List<HcParty> list) throws TechnicalConnectorException
list
- list of professionals to add in the author part
TechnicalConnectorException
String createKmehrID() throws TechnicalConnectorException
TechnicalConnectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |