public final class McnHcPartyUtil extends Object
| Modifier and Type | Method and Description |
|---|---|
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 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 String |
retrieveMainAuthorId(String projectName)
retrieves the main author id from configuration.
|
public 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 usedTechnicalConnectorExceptionpublic static String createKmehrIdString(String projectName) throws TechnicalConnectorException
projectName - use to retrieve the main author type.TechnicalConnectorExceptionpublic static String retrieveMainAuthorId(String projectName) throws TechnicalConnectorException
projectName - TechnicalConnectorException@Deprecated public static String createKmehrIdPrefix() throws TechnicalConnectorException
TechnicalConnectorExceptionpublic static String createKmehrIdSuffix() throws TechnicalConnectorException
TechnicalConnectorExceptionpublic 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 buildTechnicalConnectorExceptionpublic static IDHCPARTY createInssId(String insz)
insz - the national security number used as id valueIDHCPARTYpublic static IDHCPARTY buildId(String version, String value, IDHCPARTYschemes scheme, String sl)
version - value - 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)
sv - value - scheme - sl - 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 - TechnicalConnectorExceptionpublic static AuthorType createAuthor(String projectName) throws TechnicalConnectorException
projectName - TechnicalConnectorException
Connector Packaging generic 4.2.0 API
Copyright © {inceptionYear}-2022 eHealth. All Rights Reserved.