|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ohf.ihe.common.hl7v2.format.Config
public class Config
This class is for the configuration of the CX datatypes used in XDS. In the 2005-2006 Connectathon compliant XDS profile CX.4.1 (assigning authority name) was permitted. The 2006-2007 Connectathon compliant XDS specification has incurred a perminant change PROHIBITING the use of CX.4.1. This config option allows you to turn on and off the usage of CX.4.1. The default behavior is to NOT use CX.4.1.
| Constructor Summary | |
|---|---|
Config(boolean includeCxAssigningAuthorityName)
Sets if the HL7V2MessageFormat class will include the Assigning Authority Name attibute from the
CX object when it formats messages. |
|
| Method Summary | |
|---|---|
static Config |
instant()
Gets an instance of the Config. |
boolean |
isIncludeCxAssigningAuthorityName()
Controls if the HL7V2MessageFormat class will include the Assigning Authority Name attibute from the
CX object when it formats messages. |
static void |
setDefaultIncludeCxAssigningAuthorityName(boolean defaultIncludeCxAssigningAuthorityName)
Changes the default value used to initialize includeCxAssigningAuthorityName. |
static void |
start(boolean INCLUDE_CX_ASSIGNING_AUTHORITY_NAME)
Starts the context of this configuration. |
static void |
stop()
Stops the context of this configuration. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Config(boolean includeCxAssigningAuthorityName)
HL7V2MessageFormat class will include the Assigning Authority Name attibute from the
CX object when it formats messages.
include_cx_assigning_authority_name - | Method Detail |
|---|
public static Config instant()
public static void setDefaultIncludeCxAssigningAuthorityName(boolean defaultIncludeCxAssigningAuthorityName)
defaultIncludeCxAssigningAuthorityName - public static void start(boolean INCLUDE_CX_ASSIGNING_AUTHORITY_NAME)
HL7V2MessageFormat class will include the Assigning Authority Name attibute from the
CX object when it formats messages.
include_cx_assigning_authority_name - public static void stop()
public boolean isIncludeCxAssigningAuthorityName()
HL7V2MessageFormat class will include the Assigning Authority Name attibute from the
CX object when it formats messages.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||