|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbe.ehealth.business.kmehrcommons.HcPartyUtil
public final class HcPartyUtil
utility class to create HcParty kmehr objects. for more info about HcPartyCodes : https://www.ehealth.fgov.be/standards/kmehr/content/page/tables/198/healthcare-party-type for more info about HcParty : https://www.ehealth.fgov.be/standards/kmehr/content/page/37/hcparty
Method Summary | |
---|---|
static CDHCPARTY |
buildCd(String sv,
String value,
CDHCPARTYschemes scheme,
String sl)
|
static CDHCPARTY |
buildCd(String sv,
String value,
CDHCPARTYschemes scheme,
String sl,
String dn,
String l)
|
static IDHCPARTY |
buildId(String value,
IDHCPARTYschemes scheme)
|
static IDHCPARTY |
buildId(String version,
String value,
IDHCPARTYschemes scheme)
|
static IDHCPARTY |
buildId(String version,
String value,
IDHCPARTYschemes scheme,
String sl)
|
static IDHCPARTY |
createApplicationId(String applicationId)
|
static AuthorType |
createAuthor(String projectName)
create the author |
static List<HcpartyType> |
createAuthorHcParties(String projectName)
Get the list of all Hc Parties that must be created |
static IDHCPARTY |
createCbeId(String cbe)
|
static IDHCPARTY |
createEhpId(String ehpId)
|
static List<HcpartyType> |
createHcpartiesFromConfig(String configName)
Create the list of hcparty |
static IDHCPARTY |
createInssId(String insz)
|
static IDKMEHR |
createKmehrId(String projectName,
String kmehrIdSuffix)
generates an IDKMEHR object with a semi generated kmehr id |
static String |
createKmehrIdPrefix()
Deprecated. |
static String |
createKmehrIdString(String projectName)
creates the kmehrId for the given project, with a generated suffix. |
static String |
createKmehrIdString(String projectName,
String kmehrIdSuffix)
Generate the kmehr id |
static String |
createKmehrIdSuffix()
|
static IDHCPARTY |
createNihiiId(String nihii)
|
static HcpartyType |
createProfessionalParty(String inss,
String nihii,
String professionType)
Create a professional hcparty |
static HcpartyType |
createSingleHcpartyFromConfig(String configName)
Create only one hc party |
static HcpartyType |
createSoftwareIdentifier(String softwareName,
String appId)
create a Software identifier |
static String |
getAuthorKmehrQuality()
|
static String |
retrieveMainAuthorId(String projectName)
retrieves the main author id from configuration. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static String getAuthorKmehrQuality()
public static List<HcpartyType> createHcpartiesFromConfig(String configName) throws TechnicalConnectorException
configName
-
TechnicalConnectorException
public static HcpartyType createSingleHcpartyFromConfig(String configName) throws TechnicalConnectorException
configName
-
TechnicalConnectorException
public static HcpartyType createSoftwareIdentifier(String softwareName, String appId) throws TechnicalConnectorException
softwareName
- appId
- the value to used in the application_ID identifier tag
TechnicalConnectorException
public static HcpartyType createProfessionalParty(String inss, String nihii, String professionType) throws TechnicalConnectorException
inss
- nihii
- professionType
-
TechnicalConnectorException
- if the builder validation failspublic static String createKmehrIdString(String projectName, String kmehrIdSuffix) throws TechnicalConnectorException
projectName
- used to retrieve the main author id from config filekmehrIdSuffix
- if null an autogenerated suffix will be used
TechnicalConnectorException
public static String createKmehrIdString(String projectName) throws TechnicalConnectorException
projectName
- use to retrieve the main author type.
TechnicalConnectorException
public static String retrieveMainAuthorId(String projectName) throws TechnicalConnectorException
projectName
-
TechnicalConnectorException
@Deprecated public static String createKmehrIdPrefix() throws TechnicalConnectorException
TechnicalConnectorException
public static String createKmehrIdSuffix() throws TechnicalConnectorException
TechnicalConnectorException
public static IDKMEHR createKmehrId(String projectName, String kmehrIdSuffix) throws TechnicalConnectorException
projectName
- the projectName, use to retrieve configuration parameterskmehrIdSuffix
- the suffix for the kmehrId : often this needs to be identical to another identifier, if null an id will be build
TechnicalConnectorException
public static IDHCPARTY createInssId(String insz)
insz
- the national security number used as id value
IDHCPARTY
public static IDHCPARTY createNihiiId(String nihii)
public static IDHCPARTY createCbeId(String cbe)
public static IDHCPARTY createApplicationId(String applicationId)
public static IDHCPARTY createEhpId(String ehpId)
public static IDHCPARTY buildId(String version, String value, IDHCPARTYschemes scheme, String sl)
version
- value
- local
- sl
-
public static IDHCPARTY buildId(String version, String value, IDHCPARTYschemes scheme)
public static IDHCPARTY buildId(String value, IDHCPARTYschemes scheme)
public static CDHCPARTY buildCd(String sv, String value, CDHCPARTYschemes scheme, String sl)
hcp
-
public static CDHCPARTY buildCd(String sv, String value, CDHCPARTYschemes scheme, String sl, String dn, String l)
public static List<HcpartyType> createAuthorHcParties(String projectName) throws TechnicalConnectorException
projectName
-
TechnicalConnectorException
public static AuthorType createAuthor(String projectName) throws TechnicalConnectorException
projectName
-
TechnicalConnectorException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |