org.openmrs.hl7
Class HL7Constants

java.lang.Object
  extended by org.openmrs.hl7.HL7Constants

public class HL7Constants
extends java.lang.Object

Constants used by the hl7 package


Field Summary
static java.lang.Integer CLASS_DRUG
           
static java.lang.String HL7_ARCHIVE_DIRECTORY_NAME
          default name for HL7_archives destination directory
static java.lang.String HL7_AUTHORITY_LOCAL
           
static java.lang.String HL7_AUTHORITY_UUID
           
static java.lang.String HL7_BOOLEAN
           
static java.lang.String HL7_CODED
           
static java.lang.String HL7_CODED_WITH_EXCEPTIONS
           
static java.lang.String HL7_DATE
           
static java.lang.String HL7_DATETIME
           
static java.lang.Object HL7_ID_PATIENT
           
static java.lang.Object HL7_ID_PERSON
           
static java.lang.String HL7_LOCAL_CONCEPT
          Used in hl7 sextuplets: 123^Primary name^99DCT^345^Chosen name^99NAM
static java.lang.String HL7_LOCAL_CONCEPT_NAME
           
static java.lang.String HL7_LOCAL_DRUG
           
static java.lang.String HL7_LOCAL_RELATIONSHIP
           
static java.lang.String HL7_NUMERIC
           
static int HL7_STATUS_DELETED
           
static java.lang.Integer HL7_STATUS_ERROR
           
static java.lang.Integer HL7_STATUS_MIGRATED
           
static java.lang.Integer HL7_STATUS_PENDING
           
static java.lang.Integer HL7_STATUS_PROCESSED
           
static java.lang.Integer HL7_STATUS_PROCESSING
           
static java.lang.String HL7_TEXT
           
static java.lang.String HL7_TIME
           
static int MIGRATION_MAX_BATCH_SIZE
          the maximum number if archives to fetch per query to save on memory
static java.lang.String NUMBER_OF_FAILED_TRANSFERS_KEY
          the key to be used for numberOfFailedTransfers in the progressStatusMap
static java.lang.String NUMBER_TRANSFERRED_KEY
          the key to be used for numberTransferred archives in the progressStatusMap
static java.lang.String PRIV_ADD_HL7_IN_ARCHIVE
           
static java.lang.String PRIV_ADD_HL7_IN_EXCEPTION
           
static java.lang.String PRIV_ADD_HL7_IN_QUEUE
           
static java.lang.String PRIV_ADD_HL7_SOURCE
           
static java.lang.String PRIV_DELETE_HL7_IN_ARCHIVE
           
static java.lang.String PRIV_DELETE_HL7_IN_EXCEPTION
           
static java.lang.String PRIV_DELETE_HL7_IN_QUEUE
           
static java.lang.String PRIV_MANAGE_HL7_SOURCE
           
static java.lang.String PRIV_PURGE_HL7_IN_ARCHIVE
           
static java.lang.String PRIV_PURGE_HL7_IN_EXCEPTION
           
static java.lang.String PRIV_PURGE_HL7_IN_QUEUE
           
static java.lang.String PRIV_PURGE_HL7_SOURCE
           
static java.lang.String PRIV_UPDATE_HL7_IN_ARCHIVE
           
static java.lang.String PRIV_UPDATE_HL7_IN_EXCEPTION
           
static java.lang.String PRIV_UPDATE_HL7_IN_QUEUE
           
static java.lang.String PRIV_VIEW_HL7_IN_ARCHIVE
           
static java.lang.String PRIV_VIEW_HL7_IN_EXCEPTION
           
static java.lang.String PRIV_VIEW_HL7_IN_QUEUE
           
static java.lang.String PRIV_VIEW_HL7_SOURCE
           
static java.util.Hashtable<java.lang.String,java.lang.String> simpleDatatypes
           
static long THREAD_SLEEP_PERIOD
          time taken before static/state properties of an instance of the hl7 in archive migration thread are reset
 
Constructor Summary
HL7Constants()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIV_ADD_HL7_SOURCE

public static final java.lang.String PRIV_ADD_HL7_SOURCE
See Also:
Constant Field Values

PRIV_VIEW_HL7_SOURCE

public static final java.lang.String PRIV_VIEW_HL7_SOURCE
See Also:
Constant Field Values

PRIV_MANAGE_HL7_SOURCE

public static final java.lang.String PRIV_MANAGE_HL7_SOURCE
See Also:
Constant Field Values

PRIV_PURGE_HL7_SOURCE

public static final java.lang.String PRIV_PURGE_HL7_SOURCE
See Also:
Constant Field Values

PRIV_ADD_HL7_IN_QUEUE

public static final java.lang.String PRIV_ADD_HL7_IN_QUEUE
See Also:
Constant Field Values

PRIV_VIEW_HL7_IN_QUEUE

public static final java.lang.String PRIV_VIEW_HL7_IN_QUEUE
See Also:
Constant Field Values

PRIV_UPDATE_HL7_IN_QUEUE

public static final java.lang.String PRIV_UPDATE_HL7_IN_QUEUE
See Also:
Constant Field Values

PRIV_DELETE_HL7_IN_QUEUE

public static final java.lang.String PRIV_DELETE_HL7_IN_QUEUE
See Also:
Constant Field Values

PRIV_PURGE_HL7_IN_QUEUE

public static final java.lang.String PRIV_PURGE_HL7_IN_QUEUE
See Also:
Constant Field Values

PRIV_ADD_HL7_IN_ARCHIVE

public static final java.lang.String PRIV_ADD_HL7_IN_ARCHIVE
See Also:
Constant Field Values

PRIV_VIEW_HL7_IN_ARCHIVE

public static final java.lang.String PRIV_VIEW_HL7_IN_ARCHIVE
See Also:
Constant Field Values

PRIV_UPDATE_HL7_IN_ARCHIVE

public static final java.lang.String PRIV_UPDATE_HL7_IN_ARCHIVE
See Also:
Constant Field Values

PRIV_DELETE_HL7_IN_ARCHIVE

public static final java.lang.String PRIV_DELETE_HL7_IN_ARCHIVE
See Also:
Constant Field Values

PRIV_PURGE_HL7_IN_ARCHIVE

public static final java.lang.String PRIV_PURGE_HL7_IN_ARCHIVE
See Also:
Constant Field Values

PRIV_ADD_HL7_IN_EXCEPTION

public static final java.lang.String PRIV_ADD_HL7_IN_EXCEPTION
See Also:
Constant Field Values

PRIV_VIEW_HL7_IN_EXCEPTION

public static final java.lang.String PRIV_VIEW_HL7_IN_EXCEPTION
See Also:
Constant Field Values

PRIV_UPDATE_HL7_IN_EXCEPTION

public static final java.lang.String PRIV_UPDATE_HL7_IN_EXCEPTION
See Also:
Constant Field Values

PRIV_DELETE_HL7_IN_EXCEPTION

public static final java.lang.String PRIV_DELETE_HL7_IN_EXCEPTION
See Also:
Constant Field Values

PRIV_PURGE_HL7_IN_EXCEPTION

public static final java.lang.String PRIV_PURGE_HL7_IN_EXCEPTION
See Also:
Constant Field Values

HL7_STATUS_PENDING

public static final java.lang.Integer HL7_STATUS_PENDING

HL7_STATUS_PROCESSING

public static final java.lang.Integer HL7_STATUS_PROCESSING

HL7_STATUS_PROCESSED

public static final java.lang.Integer HL7_STATUS_PROCESSED

HL7_STATUS_ERROR

public static final java.lang.Integer HL7_STATUS_ERROR

HL7_TEXT

public static final java.lang.String HL7_TEXT
See Also:
Constant Field Values

HL7_CODED

public static final java.lang.String HL7_CODED
See Also:
Constant Field Values

HL7_CODED_WITH_EXCEPTIONS

public static final java.lang.String HL7_CODED_WITH_EXCEPTIONS
See Also:
Constant Field Values

HL7_NUMERIC

public static final java.lang.String HL7_NUMERIC
See Also:
Constant Field Values

HL7_DATE

public static final java.lang.String HL7_DATE
See Also:
Constant Field Values

HL7_TIME

public static final java.lang.String HL7_TIME
See Also:
Constant Field Values

HL7_DATETIME

public static final java.lang.String HL7_DATETIME
See Also:
Constant Field Values

HL7_BOOLEAN

public static final java.lang.String HL7_BOOLEAN
See Also:
Constant Field Values

HL7_AUTHORITY_UUID

public static final java.lang.String HL7_AUTHORITY_UUID
See Also:
Constant Field Values

HL7_AUTHORITY_LOCAL

public static final java.lang.String HL7_AUTHORITY_LOCAL
See Also:
Constant Field Values

HL7_ID_PERSON

public static final java.lang.Object HL7_ID_PERSON

HL7_ID_PATIENT

public static final java.lang.Object HL7_ID_PATIENT

CLASS_DRUG

public static final java.lang.Integer CLASS_DRUG

HL7_LOCAL_CONCEPT

public static final java.lang.String HL7_LOCAL_CONCEPT
Used in hl7 sextuplets: 123^Primary name^99DCT^345^Chosen name^99NAM

See Also:
Constant Field Values

HL7_LOCAL_CONCEPT_NAME

public static final java.lang.String HL7_LOCAL_CONCEPT_NAME
See Also:
Constant Field Values

HL7_LOCAL_DRUG

public static final java.lang.String HL7_LOCAL_DRUG
See Also:
Constant Field Values

HL7_LOCAL_RELATIONSHIP

public static final java.lang.String HL7_LOCAL_RELATIONSHIP
See Also:
Constant Field Values

HL7_STATUS_DELETED

public static final int HL7_STATUS_DELETED
Since:
1.5
See Also:
Constant Field Values

HL7_STATUS_MIGRATED

public static final java.lang.Integer HL7_STATUS_MIGRATED
Since:
1.7

HL7_ARCHIVE_DIRECTORY_NAME

public static final java.lang.String HL7_ARCHIVE_DIRECTORY_NAME
default name for HL7_archives destination directory

Since:
1.7
See Also:
Constant Field Values

NUMBER_TRANSFERRED_KEY

public static final java.lang.String NUMBER_TRANSFERRED_KEY
the key to be used for numberTransferred archives in the progressStatusMap

Since:
1.7
See Also:
Constant Field Values

NUMBER_OF_FAILED_TRANSFERS_KEY

public static final java.lang.String NUMBER_OF_FAILED_TRANSFERS_KEY
the key to be used for numberOfFailedTransfers in the progressStatusMap

Since:
1.7
See Also:
Constant Field Values

THREAD_SLEEP_PERIOD

public static final long THREAD_SLEEP_PERIOD
time taken before static/state properties of an instance of the hl7 in archive migration thread are reset

Since:
1.7
See Also:
Constant Field Values

MIGRATION_MAX_BATCH_SIZE

public static final int MIGRATION_MAX_BATCH_SIZE
the maximum number if archives to fetch per query to save on memory

Since:
1.7
See Also:
Constant Field Values

simpleDatatypes

public static final java.util.Hashtable<java.lang.String,java.lang.String> simpleDatatypes
Constructor Detail

HL7Constants

public HL7Constants()

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change