public final class CommonObjectBuilderImpl extends Object implements CommonObjectBuilder
CommonObjectBuilder
requires following config property : kmehr.therlink.identifier.id.idhcparty ( or kmehr.default.identifier.id.idhcparty if default
properties for kmehr are used )| Constructor and Description |
|---|
CommonObjectBuilderImpl() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
@Deprecated public TherapeuticLink createTherapeuticLink(Patient patient, String hcpType, String therLinkType, Date startDate, Date endDate, String comment, HcParty hcp) throws TechnicalConnectorException
CommonObjectBuildercreateTherapeuticLink in interface CommonObjectBuilderpatient - 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 defaultTechnicalConnectorException - Deprecated : replaced by the other functionpublic Author createAuthor(List<HcParty> list) throws TechnicalConnectorException
CommonObjectBuildercreateAuthor in interface CommonObjectBuilderlist - list of professionals to add in the author partTechnicalConnectorExceptionpublic String createKmehrID() throws TechnicalConnectorException
CommonObjectBuildercreateKmehrID in interface CommonObjectBuilderTechnicalConnectorExceptionpublic TherapeuticLink createTherapeuticLink(org.joda.time.DateTime startDate, org.joda.time.DateTime endDate, Patient patient, String hcpType, String therLinkType, String comment, HcParty concernedHcp) throws TechnicalConnectorException
CommonObjectBuildercreateTherapeuticLink in interface CommonObjectBuilderstartDate - 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 defaultTechnicalConnectorExceptionbe.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)
Connector Packaging generic 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.