org.openmrs.util
Class OpenmrsConstants

java.lang.Object
  extended by org.openmrs.util.OpenmrsConstants

public final class OpenmrsConstants
extends java.lang.Object

Constants used in OpenMRS. Contents built from build properties (version, version_short, and expected_database). Some are set at runtime (database, database version). This file should contain all privilege names and global property names. Those strings added to the static CORE_* methods will be written to the database at startup if they don't exist yet.


Nested Class Summary
static class OpenmrsConstants.PERSON_TYPE
          These enumerations should be used in ObsService and PersonService getters to help determine which type of object to restrict on
 
Field Summary
static java.lang.String ANONYMOUS_ROLE
           
static java.lang.String APPLICATION_DATA_DIRECTORY
          The directory that will store filesystem data about openmrs like module omods, generated data exports, etc.
static java.lang.String APPLICATION_DATA_DIRECTORY_RUNTIME_PROPERTY
          The name of the runtime property that a user can set that will specify where openmrs's application directory is
static java.lang.String AUTHENTICATED_ROLE
           
static java.lang.String AUTO_UPDATE_DATABASE_RUNTIME_PROPERTY
          The name of the runtime property that a user can set that will specify whether the database is automatically updated on startup
static java.lang.Integer CIVIL_STATUS_CONCEPT_ID
           
static int CONCEPT_CLASS_DRUG
          This is the hard coded primary key of the concept class for DRUG.
static java.lang.String CONCEPT_PROPOSAL_CONCEPT
           
static java.lang.String CONCEPT_PROPOSAL_REJECT
           
static java.lang.String CONCEPT_PROPOSAL_SYNONYM
           
static java.lang.String CONCEPT_PROPOSAL_UNMAPPED
           
static java.lang.String DATABASE_BUSINESS_NAME
           
static java.lang.String DATABASE_NAME
           
static java.lang.String DATABASE_VERSION
          Deprecated. the database doesn't have just one main version now that we are using liquibase.
static java.lang.String DATABASE_VERSION_EXPECTED
          Deprecated. the database doesn't have just one main version now that we are using liquibase.
static java.util.Locale GLOBAL_DEFAULT_LOCALE
          Deprecated. use LocaleUtility.getDefaultLocale()
static java.lang.String[] GLOBAL_PROPERTIES_OF_PERSON_ATTRIBUTES
          Array of all core global property names that represent comma-separated lists of PersonAttributeTypes.
static java.lang.String GLOBAL_PROPERTY_COMPLEX_OBS_DIR
           
static java.lang.String GLOBAL_PROPERTY_CONCEPTS_LOCKED
           
static java.lang.String GLOBAL_PROPERTY_DEFAULT_LOCALE
           
static java.lang.String GLOBAL_PROPERTY_DEFAULT_LOCALE_DEFAULT_VALUE
           
static java.lang.String GLOBAL_PROPERTY_DEFAULT_PATIENT_IDENTIFIER_VALIDATOR
           
static java.lang.String GLOBAL_PROPERTY_DEFAULT_SERIALIZER
           
static java.lang.String GLOBAL_PROPERTY_DEFAULT_THEME
           
static java.lang.String GLOBAL_PROPERTY_DRUG_FREQUENCIES
           
static java.lang.String GLOBAL_PROPERTY_ENCOUNTER_FORM_OBS_SORT_ORDER
           
static java.lang.String GLOBAL_PROPERTY_FALSE_CONCEPT
           
static java.lang.String GLOBAL_PROPERTY_GZIP_ENABLED
           
static java.lang.String GLOBAL_PROPERTY_HL7_ARCHIVE_DIRECTORY
           
static java.lang.String GLOBAL_PROPERTY_IGNORE_MISSING_NONLOCAL_PATIENTS
           
static java.lang.String GLOBAL_PROPERTY_IMPLEMENTATION_ID
           
static java.lang.String GLOBAL_PROPERTY_LOCALE_ALLOWED_LIST
           
static java.lang.String GLOBAL_PROPERTY_LOCATION_WIDGET_TYPE
           
static java.lang.String GLOBAL_PROPERTY_LOG_LEVEL
           
static java.lang.String GLOBAL_PROPERTY_MEDICAL_RECORD_OBSERVATIONS
           
static java.lang.String GLOBAL_PROPERTY_MIN_SEARCH_CHARACTERS
           
static java.lang.String GLOBAL_PROPERTY_NEWPATIENTFORM_RELATIONSHIPS
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_HEADER_ATTRIBUTES
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_IMPORTANT_TYPES
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_PREFIX
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_REGEX
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_SEARCH_PATTERN
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_IDENTIFIER_SUFFIX
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_LISTING_ATTRIBUTES
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_SEARCH_MATCH_ANYWHERE
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_SEARCH_MATCH_MODE
           
static java.lang.String GLOBAL_PROPERTY_PATIENT_VIEWING_ATTRIBUTES
           
static java.lang.String GLOBAL_PROPERTY_PERSON_SEARCH_MAX_RESULTS
           
static int GLOBAL_PROPERTY_PERSON_SEARCH_MAX_RESULTS_DEFAULT_VALUE
           
static java.lang.String GLOBAL_PROPERTY_PROBLEM_LIST
           
static java.lang.String GLOBAL_PROPERTY_REPORT_BUG_URL
           
static java.lang.String GLOBAL_PROPERTY_REPORT_XML_MACROS
          Deprecated. 
static java.lang.String GLOBAL_PROPERTY_SHOW_PATIENT_NAME
           
static java.lang.String GLOBAL_PROPERTY_STANDARD_DRUG_REGIMENS
           
static java.lang.String GLOBAL_PROPERTY_TRUE_CONCEPT
           
static java.lang.String GLOBAL_PROPERTY_USER_HEADER_ATTRIBUTES
           
static java.lang.String GLOBAL_PROPERTY_USER_LISTING_ATTRIBUTES
           
static java.lang.String GLOBAL_PROPERTY_USER_VIEWING_ATTRIBUTES
           
static java.lang.String GP_GRAPH_COLOR_ABSOLUTE
          Global property name for absolute color for patient graphs.
static java.lang.String GP_GRAPH_COLOR_CRITICAL
          Global property name for critical color for patient graphs.
static java.lang.String GP_GRAPH_COLOR_NORMAL
          Global property name for normal color for patient graphs.
static java.lang.String GP_PASSWORD_CANNOT_MATCH_USERNAME_OR_SYSTEMID
          Global property name that allows specification of whether user passwords can match username or system id.
static java.lang.String GP_PASSWORD_CUSTOM_REGEX
          Global property name that allows specification of a regular expression that passwords must adhere to
static java.lang.String GP_PASSWORD_MINIMUM_LENGTH
          Global property name that allows specification of whether user passwords have a minimum length requirement Allowable values are any integer
static java.lang.String GP_PASSWORD_REQUIRES_DIGIT
          Global property name that allows specification of whether user passwords must contain digits.
static java.lang.String GP_PASSWORD_REQUIRES_NON_DIGIT
          Global property name that allows specification of whether user passwords require non-digits.
static java.lang.String GP_PASSWORD_REQUIRES_UPPER_AND_LOWER_CASE
          Global property name that allows specification of whether user passwords must contain both upper and lower case characters.
static java.lang.String IMPLEMENTATION_ID_REMOTE_CONNECTION_URL
          URL to the concept source id verification server
static java.util.Locale ITALIAN_LANGUAGE
           
static java.lang.String LOG_CLASS_DEFAULT
           
static java.lang.String LOG_LEVEL_DEBUG
           
static java.lang.String LOG_LEVEL_ERROR
           
static java.lang.String LOG_LEVEL_FATAL
           
static java.lang.String LOG_LEVEL_INFO
           
static java.lang.String LOG_LEVEL_TRACE
           
static java.lang.String LOG_LEVEL_WARN
           
static java.lang.String LUHN_IDENTIFIER_VALIDATOR
           
static boolean OBSCURE_PATIENTS
          Set true from runtime configuration to obscure patients for system demonstrations
static java.lang.String OBSCURE_PATIENTS_FAMILY_NAME
           
static java.lang.String OBSCURE_PATIENTS_GIVEN_NAME
           
static java.lang.String OBSCURE_PATIENTS_MIDDLE_NAME
           
static java.lang.String OPENMRS_VERSION
          This holds the current openmrs code version.
static java.lang.String OPENMRS_VERSION_SHORT
          This holds the current openmrs code version in a short space-less string.
The format is:
major.minor.maintenance.revision-suffix
static java.lang.String OPERATING_SYSTEM
           
static java.lang.String OPERATING_SYSTEM_FREEBSD
           
static java.lang.String OPERATING_SYSTEM_KEY
           
static java.lang.String OPERATING_SYSTEM_LINUX
           
static java.lang.String OPERATING_SYSTEM_OSX
           
static java.lang.String OPERATING_SYSTEM_SUNOS
           
static java.lang.String OPERATING_SYSTEM_WINDOWS_VISTA
           
static java.lang.String OPERATING_SYSTEM_WINDOWS_XP
           
static int ORDERTYPE_DRUG
          This is the hard coded primary key of the order type for DRUG.
static java.util.Locale PORTUGUESE_LANGUAGE
           
static java.lang.String PRIV_ADD_ALLERGIES
           
static java.lang.String PRIV_ADD_COHORTS
           
static java.lang.String PRIV_ADD_CONCEPT_PROPOSALS
           
static java.lang.String PRIV_ADD_ENCOUNTERS
           
static java.lang.String PRIV_ADD_OBS
           
static java.lang.String PRIV_ADD_ORDERS
           
static java.lang.String PRIV_ADD_PATIENT_IDENTIFIERS
           
static java.lang.String PRIV_ADD_PATIENT_PROGRAMS
           
static java.lang.String PRIV_ADD_PATIENTS
           
static java.lang.String PRIV_ADD_PERSONS
           
static java.lang.String PRIV_ADD_PROBLEMS
           
static java.lang.String PRIV_ADD_RELATIONSHIPS
           
static java.lang.String PRIV_ADD_REPORT_OBJECTS
          Deprecated. 
static java.lang.String PRIV_ADD_REPORTS
          Deprecated. 
static java.lang.String PRIV_ADD_USERS
           
static java.lang.String PRIV_DASHBOARD_DEMOGRAPHICS
           
static java.lang.String PRIV_DASHBOARD_ENCOUNTERS
           
static java.lang.String PRIV_DASHBOARD_FORMS
           
static java.lang.String PRIV_DASHBOARD_GRAPHS
           
static java.lang.String PRIV_DASHBOARD_OVERVIEW
           
static java.lang.String PRIV_DASHBOARD_REGIMEN
           
static java.lang.String PRIV_DASHBOARD_SUMMARY
           
static java.lang.String PRIV_DELETE_ALLERGIES
           
static java.lang.String PRIV_DELETE_COHORTS
           
static java.lang.String PRIV_DELETE_CONCEPT_PROPOSALS
           
static java.lang.String PRIV_DELETE_ENCOUNTERS
           
static java.lang.String PRIV_DELETE_OBS
           
static java.lang.String PRIV_DELETE_ORDERS
           
static java.lang.String PRIV_DELETE_PATIENT_IDENTIFIERS
           
static java.lang.String PRIV_DELETE_PATIENT_PROGRAMS
           
static java.lang.String PRIV_DELETE_PATIENTS
           
static java.lang.String PRIV_DELETE_PERSONS
           
static java.lang.String PRIV_DELETE_PROBLEMS
           
static java.lang.String PRIV_DELETE_RELATIONSHIPS
           
static java.lang.String PRIV_DELETE_REPORT_OBJECTS
          Deprecated. 
static java.lang.String PRIV_DELETE_REPORTS
          Deprecated. 
static java.lang.String PRIV_DELETE_USERS
           
static java.lang.String PRIV_EDIT_ALLERGIES
           
static java.lang.String PRIV_EDIT_COHORTS
           
static java.lang.String PRIV_EDIT_CONCEPT_PROPOSALS
           
static java.lang.String PRIV_EDIT_ENCOUNTERS
           
static java.lang.String PRIV_EDIT_OBS
           
static java.lang.String PRIV_EDIT_ORDERS
           
static java.lang.String PRIV_EDIT_PATIENT_IDENTIFIERS
           
static java.lang.String PRIV_EDIT_PATIENT_PROGRAMS
           
static java.lang.String PRIV_EDIT_PATIENTS
           
static java.lang.String PRIV_EDIT_PERSONS
           
static java.lang.String PRIV_EDIT_PROBLEMS
           
static java.lang.String PRIV_EDIT_RELATIONSHIPS
           
static java.lang.String PRIV_EDIT_REPORT_OBJECTS
          Deprecated. 
static java.lang.String PRIV_EDIT_REPORTS
          Deprecated. 
static java.lang.String PRIV_EDIT_USER_PASSWORDS
           
static java.lang.String PRIV_EDIT_USERS
           
static java.lang.String PRIV_FORM_ENTRY
           
static java.lang.String PRIV_MANAGE_ALERTS
           
static java.lang.String PRIV_MANAGE_CONCEPT_CLASSES
           
static java.lang.String PRIV_MANAGE_CONCEPT_DATATYPES
           
static java.lang.String PRIV_MANAGE_CONCEPT_NAME_TAGS
           
static java.lang.String PRIV_MANAGE_CONCEPT_SOURCES
           
static java.lang.String PRIV_MANAGE_CONCEPTS
           
static java.lang.String PRIV_MANAGE_ENCOUNTER_TYPES
           
static java.lang.String PRIV_MANAGE_FIELD_TYPES
           
static java.lang.String PRIV_MANAGE_FORMS
           
static java.lang.String PRIV_MANAGE_GLOBAL_PROPERTIES
           
static java.lang.String PRIV_MANAGE_IDENTIFIER_TYPES
           
static java.lang.String PRIV_MANAGE_IMPLEMENTATION_ID
           
static java.lang.String PRIV_MANAGE_LOCATION_TAGS
           
static java.lang.String PRIV_MANAGE_LOCATIONS
           
static java.lang.String PRIV_MANAGE_MIME_TYPES
          Deprecated. 
static java.lang.String PRIV_MANAGE_MODULES
           
static java.lang.String PRIV_MANAGE_ORDER_TYPES
           
static java.lang.String PRIV_MANAGE_PERSON_ATTRIBUTE_TYPES
           
static java.lang.String PRIV_MANAGE_PRIVILEGES
           
static java.lang.String PRIV_MANAGE_PROGRAMS
           
static java.lang.String PRIV_MANAGE_RELATIONSHIP_TYPES
           
static java.lang.String PRIV_MANAGE_RELATIONSHIPS
          Deprecated. replacing with ADD/EDIT/DELETE privileges
static java.lang.String PRIV_MANAGE_ROLES
           
static java.lang.String PRIV_MANAGE_SCHEDULER
           
static java.lang.String PRIV_PURGE_COHORTS
           
static java.lang.String PRIV_PURGE_CONCEPT_CLASSES
           
static java.lang.String PRIV_PURGE_CONCEPT_DATATYPES
           
static java.lang.String PRIV_PURGE_CONCEPT_PROPOSALS
           
static java.lang.String PRIV_PURGE_CONCEPT_SOURCES
           
static java.lang.String PRIV_PURGE_CONCEPTS
           
static java.lang.String PRIV_PURGE_ENCOUNTER_TYPES
           
static java.lang.String PRIV_PURGE_ENCOUNTERS
           
static java.lang.String PRIV_PURGE_FIELD_TYPES
           
static java.lang.String PRIV_PURGE_FORMS
           
static java.lang.String PRIV_PURGE_GLOBAL_PROPERTIES
           
static java.lang.String PRIV_PURGE_IDENTIFIER_TYPES
           
static java.lang.String PRIV_PURGE_LOCATION_TAGS
           
static java.lang.String PRIV_PURGE_LOCATIONS
           
static java.lang.String PRIV_PURGE_MIME_TYPES
          Deprecated. 
static java.lang.String PRIV_PURGE_OBS
           
static java.lang.String PRIV_PURGE_ORDER_TYPES
           
static java.lang.String PRIV_PURGE_ORDERS
           
static java.lang.String PRIV_PURGE_PATIENT_IDENTIFIERS
           
static java.lang.String PRIV_PURGE_PATIENT_PROGRAMS
           
static java.lang.String PRIV_PURGE_PATIENTS
           
static java.lang.String PRIV_PURGE_PERSON_ATTRIBUTE_TYPES
           
static java.lang.String PRIV_PURGE_PERSONS
           
static java.lang.String PRIV_PURGE_PRIVILEGES
           
static java.lang.String PRIV_PURGE_RELATIONSHIP_TYPES
           
static java.lang.String PRIV_PURGE_RELATIONSHIPS
           
static java.lang.String PRIV_PURGE_ROLES
           
static java.lang.String PRIV_PURGE_USERS
           
static java.lang.String PRIV_RUN_REPORTS
          Deprecated. 
static java.lang.String PRIV_SQL_LEVEL_ACCESS
           
static java.lang.String PRIV_VIEW_ADMIN_FUNCTIONS
           
static java.lang.String PRIV_VIEW_ALLERGIES
           
static java.lang.String PRIV_VIEW_CONCEPT_CLASSES
           
static java.lang.String PRIV_VIEW_CONCEPT_DATATYPES
           
static java.lang.String PRIV_VIEW_CONCEPT_PROPOSALS
           
static java.lang.String PRIV_VIEW_CONCEPT_SOURCES
           
static java.lang.String PRIV_VIEW_CONCEPTS
           
static java.lang.String PRIV_VIEW_DATABASE_CHANGES
           
static java.lang.String PRIV_VIEW_ENCOUNTER_TYPES
           
static java.lang.String PRIV_VIEW_ENCOUNTERS
           
static java.lang.String PRIV_VIEW_FIELD_TYPES
           
static java.lang.String PRIV_VIEW_FORMS
           
static java.lang.String PRIV_VIEW_GLOBAL_PROPERTIES
           
static java.lang.String PRIV_VIEW_IDENTIFIER_TYPES
           
static java.lang.String PRIV_VIEW_LOCATIONS
           
static java.lang.String PRIV_VIEW_MIME_TYPES
          Deprecated. 
static java.lang.String PRIV_VIEW_NAVIGATION_MENU
           
static java.lang.String PRIV_VIEW_OBS
           
static java.lang.String PRIV_VIEW_ORDER_TYPES
           
static java.lang.String PRIV_VIEW_ORDERS
           
static java.lang.String PRIV_VIEW_PATIENT_COHORTS
           
static java.lang.String PRIV_VIEW_PATIENT_IDENTIFIERS
           
static java.lang.String PRIV_VIEW_PATIENT_PROGRAMS
           
static java.lang.String PRIV_VIEW_PATIENTS
           
static java.lang.String PRIV_VIEW_PERSON_ATTRIBUTE_TYPES
           
static java.lang.String PRIV_VIEW_PERSONS
           
static java.lang.String PRIV_VIEW_PRIVILEGES
           
static java.lang.String PRIV_VIEW_PROBLEMS
           
static java.lang.String PRIV_VIEW_PROGRAMS
           
static java.lang.String PRIV_VIEW_RELATIONSHIP_TYPES
           
static java.lang.String PRIV_VIEW_RELATIONSHIPS
           
static java.lang.String PRIV_VIEW_REPORT_OBJECTS
          Deprecated. 
static java.lang.String PRIV_VIEW_REPORTS
          Deprecated. 
static java.lang.String PRIV_VIEW_ROLES
           
static java.lang.String PRIV_VIEW_UNPUBLISHED_FORMS
           
static java.lang.String PRIV_VIEW_USERS
           
static java.lang.String PROPOSED_CONCEPT_IDENTIFIER
           
static java.lang.String PROVIDER_ROLE
           
static java.lang.String RAW_VIEW
           
static java.lang.String REGEX_LARGE
           
static java.lang.String REGEX_SMALL
           
static java.lang.String REPORT_OBJECT_TYPE_PATIENTDATAPRODUCER
          Deprecated. 
static java.lang.String REPORT_OBJECT_TYPE_PATIENTFILTER
          Deprecated. 
static java.lang.String REPORT_OBJECT_TYPE_PATIENTSEARCH
          Deprecated. 
static java.lang.String SHORT_SERIALIZATION
          Marker put into the serialization session map to tell @Replace methods whether or not to do just the very basic serialization
static java.util.Locale SPANISH_LANGUAGE
           
static java.lang.String SUPERUSER_ROLE
           
static java.lang.String TEXT_VIEW
           
static boolean UNIX_BASED_OPERATING_SYSTEM
          Shortcut booleans used to make some OS specific checks more generic; note the *nix flavored check is missing some less obvious choices
static java.lang.String USER_PROPERTY_CHANGE_PASSWORD
           
static java.lang.String USER_PROPERTY_DEFAULT_LOCALE
           
static java.lang.String USER_PROPERTY_DEFAULT_LOCATION
           
static java.lang.String USER_PROPERTY_LOCKOUT_TIMESTAMP
          Name of the user_property that stores the time the user was locked out due to too many login attempts
static java.lang.String USER_PROPERTY_LOGIN_ATTEMPTS
          Name of the user_property that stores the number of unsuccessful login attempts this user has made
static java.lang.String USER_PROPERTY_NOTIFICATION
           
static java.lang.String USER_PROPERTY_NOTIFICATION_ADDRESS
           
static java.lang.String USER_PROPERTY_NOTIFICATION_FORMAT
           
static java.lang.String USER_PROPERTY_PROFICIENT_LOCALES
          A user property name.
static java.lang.String USER_PROPERTY_SHOW_RETIRED
           
static java.lang.String USER_PROPERTY_SHOW_VERBOSE
           
static boolean WINDOWS_BASED_OPERATING_SYSTEM
           
static boolean WINDOWS_VISTA_OPERATING_SYSTEM
           
 
Constructor Summary
OpenmrsConstants()
           
 
Method Summary
static java.util.Collection<java.lang.String> AUTO_ROLES()
          These roles are given to a user automatically and cannot be assigned
static java.util.Collection<java.lang.String> CONCEPT_PROPOSAL_STATES()
           
static java.util.List<GlobalProperty> CORE_GLOBAL_PROPERTIES()
          At OpenMRS startup these global properties/default values/descriptions are inserted into the database if they do not exist yet.
static java.util.Map<java.lang.String,java.lang.String> CORE_PRIVILEGES()
          These are the privileges that are required by OpenMRS.
static java.util.Map<java.lang.String,java.lang.String> CORE_ROLES()
          All roles returned by this method are inserted into the database if they do not exist already.
static java.util.Map<java.lang.String,java.lang.String> GENDER()
          A gender character to gender name map
TODO issues with localization.
static java.util.Collection<java.util.Locale> OPENMRS_CONCEPT_LOCALES()
          Deprecated.  
static java.util.Map<java.lang.String,java.lang.String> OPENMRS_LOCALE_DATE_PATTERNS()
          Deprecated. use the Context.getDateFormat()
static java.util.Collection<java.util.Locale> OPENMRS_LOCALES()
          Deprecated.  
static java.util.Collection<java.lang.String> STOP_WORDS()
          These words are ignored in concept and patient searches
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORDERTYPE_DRUG

public static final int ORDERTYPE_DRUG
This is the hard coded primary key of the order type for DRUG. This has to be done because some logic in the API acts on this order type

See Also:
Constant Field Values

CONCEPT_CLASS_DRUG

public static final int CONCEPT_CLASS_DRUG
This is the hard coded primary key of the concept class for DRUG. This has to be done because some logic in the API acts on this concept class

See Also:
Constant Field Values

OPENMRS_VERSION

public static final java.lang.String OPENMRS_VERSION
This holds the current openmrs code version. This version is a string containing spaces and words.
The format is:
major.minor.maintenance suffix Build buildNumber


OPENMRS_VERSION_SHORT

public static final java.lang.String OPENMRS_VERSION_SHORT
This holds the current openmrs code version in a short space-less string.
The format is:
major.minor.maintenance.revision-suffix


DATABASE_VERSION_EXPECTED

@Deprecated
public static final java.lang.String DATABASE_VERSION_EXPECTED
Deprecated. the database doesn't have just one main version now that we are using liquibase.
See DatabaseUpdater.updatesRequired() to see what changesets in the liquibase-update-to-latest.xml file in the openmrs api jar file need to be run to bring the db up to date with what the api requires.


DATABASE_NAME

public static java.lang.String DATABASE_NAME

DATABASE_BUSINESS_NAME

public static java.lang.String DATABASE_BUSINESS_NAME

DATABASE_VERSION

@Deprecated
public static java.lang.String DATABASE_VERSION
Deprecated. the database doesn't have just one main version now that we are using liquibase.
See DatabaseUpdater.updatesRequired() to see what changesets in the liquibase-update-to-latest.xml file in the openmrs api jar file need to be run to bring the db up to date with what the api requires.


OBSCURE_PATIENTS

public static boolean OBSCURE_PATIENTS
Set true from runtime configuration to obscure patients for system demonstrations


OBSCURE_PATIENTS_GIVEN_NAME

public static java.lang.String OBSCURE_PATIENTS_GIVEN_NAME

OBSCURE_PATIENTS_MIDDLE_NAME

public static java.lang.String OBSCURE_PATIENTS_MIDDLE_NAME

OBSCURE_PATIENTS_FAMILY_NAME

public static java.lang.String OBSCURE_PATIENTS_FAMILY_NAME

REGEX_LARGE

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

REGEX_SMALL

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

CIVIL_STATUS_CONCEPT_ID

public static final java.lang.Integer CIVIL_STATUS_CONCEPT_ID

APPLICATION_DATA_DIRECTORY

public static java.lang.String APPLICATION_DATA_DIRECTORY
The directory that will store filesystem data about openmrs like module omods, generated data exports, etc. This shouldn't be accessed directory, the OpenmrsUtil.getApplicationDataDirectory() should be used. This should be null here. This constant will hold the value of the user's runtime property for the application_data_directory and is set programmatically at startup. This value is set in the openmrs startup method. If this is null, the getApplicationDataDirectory() uses some OS heuristics to determine where to put an app data dir.

See Also:
APPLICATION_DATA_DIRECTORY_RUNTIME_PROPERTY, OpenmrsUtil.getApplicationDataDirectory(), OpenmrsUtil.startup(java.util.Properties)

APPLICATION_DATA_DIRECTORY_RUNTIME_PROPERTY

public static java.lang.String APPLICATION_DATA_DIRECTORY_RUNTIME_PROPERTY
The name of the runtime property that a user can set that will specify where openmrs's application directory is

See Also:
APPLICATION_DATA_DIRECTORY

AUTO_UPDATE_DATABASE_RUNTIME_PROPERTY

public static java.lang.String AUTO_UPDATE_DATABASE_RUNTIME_PROPERTY
The name of the runtime property that a user can set that will specify whether the database is automatically updated on startup


PRIV_VIEW_CONCEPTS

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

PRIV_MANAGE_CONCEPTS

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

PRIV_PURGE_CONCEPTS

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

PRIV_MANAGE_CONCEPT_NAME_TAGS

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

PRIV_VIEW_CONCEPT_PROPOSALS

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

PRIV_ADD_CONCEPT_PROPOSALS

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

PRIV_EDIT_CONCEPT_PROPOSALS

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

PRIV_DELETE_CONCEPT_PROPOSALS

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

PRIV_PURGE_CONCEPT_PROPOSALS

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

PRIV_VIEW_USERS

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

PRIV_ADD_USERS

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

PRIV_EDIT_USERS

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

PRIV_DELETE_USERS

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

PRIV_PURGE_USERS

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

PRIV_EDIT_USER_PASSWORDS

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

PRIV_VIEW_ENCOUNTERS

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

PRIV_ADD_ENCOUNTERS

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

PRIV_EDIT_ENCOUNTERS

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

PRIV_DELETE_ENCOUNTERS

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

PRIV_PURGE_ENCOUNTERS

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

PRIV_VIEW_ENCOUNTER_TYPES

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

PRIV_MANAGE_ENCOUNTER_TYPES

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

PRIV_PURGE_ENCOUNTER_TYPES

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

PRIV_VIEW_LOCATIONS

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

PRIV_MANAGE_LOCATIONS

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

PRIV_PURGE_LOCATIONS

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

PRIV_MANAGE_LOCATION_TAGS

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

PRIV_PURGE_LOCATION_TAGS

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

PRIV_VIEW_OBS

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

PRIV_ADD_OBS

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

PRIV_EDIT_OBS

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

PRIV_DELETE_OBS

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

PRIV_PURGE_OBS

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

PRIV_VIEW_MIME_TYPES

@Deprecated
public static final java.lang.String PRIV_VIEW_MIME_TYPES
Deprecated. 
See Also:
Constant Field Values

PRIV_PURGE_MIME_TYPES

@Deprecated
public static final java.lang.String PRIV_PURGE_MIME_TYPES
Deprecated. 
See Also:
Constant Field Values

PRIV_VIEW_PATIENTS

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

PRIV_ADD_PATIENTS

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

PRIV_EDIT_PATIENTS

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

PRIV_DELETE_PATIENTS

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

PRIV_PURGE_PATIENTS

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

PRIV_VIEW_PATIENT_IDENTIFIERS

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

PRIV_ADD_PATIENT_IDENTIFIERS

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

PRIV_EDIT_PATIENT_IDENTIFIERS

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

PRIV_DELETE_PATIENT_IDENTIFIERS

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

PRIV_PURGE_PATIENT_IDENTIFIERS

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

PRIV_VIEW_PATIENT_COHORTS

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

PRIV_ADD_COHORTS

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

PRIV_EDIT_COHORTS

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

PRIV_DELETE_COHORTS

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

PRIV_PURGE_COHORTS

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

PRIV_VIEW_ORDERS

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

PRIV_ADD_ORDERS

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

PRIV_EDIT_ORDERS

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

PRIV_DELETE_ORDERS

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

PRIV_PURGE_ORDERS

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

PRIV_VIEW_FORMS

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

PRIV_MANAGE_FORMS

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

PRIV_PURGE_FORMS

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

PRIV_FORM_ENTRY

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

PRIV_VIEW_REPORTS

@Deprecated
public static final java.lang.String PRIV_VIEW_REPORTS
Deprecated. 
See Also:
Constant Field Values

PRIV_ADD_REPORTS

@Deprecated
public static final java.lang.String PRIV_ADD_REPORTS
Deprecated. 
See Also:
Constant Field Values

PRIV_EDIT_REPORTS

@Deprecated
public static final java.lang.String PRIV_EDIT_REPORTS
Deprecated. 
See Also:
Constant Field Values

PRIV_DELETE_REPORTS

@Deprecated
public static final java.lang.String PRIV_DELETE_REPORTS
Deprecated. 
See Also:
Constant Field Values

PRIV_RUN_REPORTS

@Deprecated
public static final java.lang.String PRIV_RUN_REPORTS
Deprecated. 
See Also:
Constant Field Values

PRIV_VIEW_REPORT_OBJECTS

@Deprecated
public static final java.lang.String PRIV_VIEW_REPORT_OBJECTS
Deprecated. 
See Also:
Constant Field Values

PRIV_ADD_REPORT_OBJECTS

@Deprecated
public static final java.lang.String PRIV_ADD_REPORT_OBJECTS
Deprecated. 
See Also:
Constant Field Values

PRIV_EDIT_REPORT_OBJECTS

@Deprecated
public static final java.lang.String PRIV_EDIT_REPORT_OBJECTS
Deprecated. 
See Also:
Constant Field Values

PRIV_DELETE_REPORT_OBJECTS

@Deprecated
public static final java.lang.String PRIV_DELETE_REPORT_OBJECTS
Deprecated. 
See Also:
Constant Field Values

PRIV_MANAGE_IDENTIFIER_TYPES

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

PRIV_VIEW_IDENTIFIER_TYPES

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

PRIV_PURGE_IDENTIFIER_TYPES

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

PRIV_MANAGE_MIME_TYPES

@Deprecated
public static final java.lang.String PRIV_MANAGE_MIME_TYPES
Deprecated. 
See Also:
Constant Field Values

PRIV_VIEW_CONCEPT_CLASSES

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

PRIV_MANAGE_CONCEPT_CLASSES

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

PRIV_PURGE_CONCEPT_CLASSES

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

PRIV_VIEW_CONCEPT_DATATYPES

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

PRIV_MANAGE_CONCEPT_DATATYPES

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

PRIV_PURGE_CONCEPT_DATATYPES

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

PRIV_VIEW_PRIVILEGES

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

PRIV_MANAGE_PRIVILEGES

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

PRIV_PURGE_PRIVILEGES

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

PRIV_VIEW_ROLES

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

PRIV_MANAGE_ROLES

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

PRIV_PURGE_ROLES

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

PRIV_VIEW_FIELD_TYPES

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

PRIV_MANAGE_FIELD_TYPES

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

PRIV_PURGE_FIELD_TYPES

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

PRIV_VIEW_ORDER_TYPES

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

PRIV_MANAGE_ORDER_TYPES

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

PRIV_PURGE_ORDER_TYPES

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

PRIV_VIEW_RELATIONSHIP_TYPES

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

PRIV_MANAGE_RELATIONSHIP_TYPES

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

PRIV_PURGE_RELATIONSHIP_TYPES

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

PRIV_MANAGE_ALERTS

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

PRIV_MANAGE_CONCEPT_SOURCES

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

PRIV_VIEW_CONCEPT_SOURCES

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

PRIV_PURGE_CONCEPT_SOURCES

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

PRIV_VIEW_NAVIGATION_MENU

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

PRIV_VIEW_ADMIN_FUNCTIONS

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

PRIV_VIEW_UNPUBLISHED_FORMS

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

PRIV_VIEW_PROGRAMS

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

PRIV_MANAGE_PROGRAMS

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

PRIV_VIEW_PATIENT_PROGRAMS

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

PRIV_ADD_PATIENT_PROGRAMS

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

PRIV_EDIT_PATIENT_PROGRAMS

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

PRIV_DELETE_PATIENT_PROGRAMS

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

PRIV_PURGE_PATIENT_PROGRAMS

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

PRIV_DASHBOARD_OVERVIEW

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

PRIV_DASHBOARD_REGIMEN

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

PRIV_DASHBOARD_ENCOUNTERS

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

PRIV_DASHBOARD_DEMOGRAPHICS

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

PRIV_DASHBOARD_GRAPHS

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

PRIV_DASHBOARD_FORMS

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

PRIV_DASHBOARD_SUMMARY

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

PRIV_VIEW_GLOBAL_PROPERTIES

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

PRIV_MANAGE_GLOBAL_PROPERTIES

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

PRIV_PURGE_GLOBAL_PROPERTIES

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

PRIV_MANAGE_MODULES

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

PRIV_MANAGE_SCHEDULER

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

PRIV_VIEW_PERSON_ATTRIBUTE_TYPES

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

PRIV_MANAGE_PERSON_ATTRIBUTE_TYPES

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

PRIV_PURGE_PERSON_ATTRIBUTE_TYPES

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

PRIV_VIEW_PERSONS

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

PRIV_ADD_PERSONS

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

PRIV_EDIT_PERSONS

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

PRIV_DELETE_PERSONS

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

PRIV_PURGE_PERSONS

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

PRIV_MANAGE_RELATIONSHIPS

public static final java.lang.String PRIV_MANAGE_RELATIONSHIPS
Deprecated. replacing with ADD/EDIT/DELETE privileges
See Also:
Constant Field Values

PRIV_VIEW_RELATIONSHIPS

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

PRIV_ADD_RELATIONSHIPS

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

PRIV_EDIT_RELATIONSHIPS

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

PRIV_DELETE_RELATIONSHIPS

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

PRIV_PURGE_RELATIONSHIPS

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

PRIV_VIEW_DATABASE_CHANGES

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

PRIV_MANAGE_IMPLEMENTATION_ID

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

PRIV_SQL_LEVEL_ACCESS

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

PRIV_VIEW_PROBLEMS

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

PRIV_ADD_PROBLEMS

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

PRIV_EDIT_PROBLEMS

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

PRIV_DELETE_PROBLEMS

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

PRIV_VIEW_ALLERGIES

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

PRIV_ADD_ALLERGIES

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

PRIV_EDIT_ALLERGIES

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

PRIV_DELETE_ALLERGIES

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

SUPERUSER_ROLE

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

ANONYMOUS_ROLE

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

AUTHENTICATED_ROLE

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

PROVIDER_ROLE

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

GLOBAL_PROPERTY_DRUG_FREQUENCIES

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

GLOBAL_PROPERTY_CONCEPTS_LOCKED

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

GLOBAL_PROPERTY_PATIENT_LISTING_ATTRIBUTES

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

GLOBAL_PROPERTY_PATIENT_VIEWING_ATTRIBUTES

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

GLOBAL_PROPERTY_PATIENT_HEADER_ATTRIBUTES

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

GLOBAL_PROPERTY_USER_LISTING_ATTRIBUTES

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

GLOBAL_PROPERTY_USER_VIEWING_ATTRIBUTES

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

GLOBAL_PROPERTY_USER_HEADER_ATTRIBUTES

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

GLOBAL_PROPERTY_HL7_ARCHIVE_DIRECTORY

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

GLOBAL_PROPERTY_DEFAULT_THEME

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

GLOBAL_PROPERTIES_OF_PERSON_ATTRIBUTES

public static final java.lang.String[] GLOBAL_PROPERTIES_OF_PERSON_ATTRIBUTES
Array of all core global property names that represent comma-separated lists of PersonAttributeTypes. (If you rename a PersonAttributeType then these global properties are potentially modified.)


GLOBAL_PROPERTY_PATIENT_IDENTIFIER_REGEX

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

GLOBAL_PROPERTY_PATIENT_IDENTIFIER_PREFIX

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

GLOBAL_PROPERTY_PATIENT_IDENTIFIER_SUFFIX

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

GLOBAL_PROPERTY_PATIENT_IDENTIFIER_SEARCH_PATTERN

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

GLOBAL_PROPERTY_PERSON_SEARCH_MAX_RESULTS

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

GLOBAL_PROPERTY_PERSON_SEARCH_MAX_RESULTS_DEFAULT_VALUE

public static final int GLOBAL_PROPERTY_PERSON_SEARCH_MAX_RESULTS_DEFAULT_VALUE
See Also:
Constant Field Values

GLOBAL_PROPERTY_GZIP_ENABLED

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

GLOBAL_PROPERTY_MEDICAL_RECORD_OBSERVATIONS

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

GLOBAL_PROPERTY_PROBLEM_LIST

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

GLOBAL_PROPERTY_REPORT_XML_MACROS

@Deprecated
public static final java.lang.String GLOBAL_PROPERTY_REPORT_XML_MACROS
Deprecated. 
See Also:
Constant Field Values

GLOBAL_PROPERTY_STANDARD_DRUG_REGIMENS

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

GLOBAL_PROPERTY_SHOW_PATIENT_NAME

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

GLOBAL_PROPERTY_DEFAULT_PATIENT_IDENTIFIER_VALIDATOR

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

GLOBAL_PROPERTY_PATIENT_IDENTIFIER_IMPORTANT_TYPES

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

GLOBAL_PROPERTY_ENCOUNTER_FORM_OBS_SORT_ORDER

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

GLOBAL_PROPERTY_LOCALE_ALLOWED_LIST

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

GLOBAL_PROPERTY_IMPLEMENTATION_ID

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

GLOBAL_PROPERTY_NEWPATIENTFORM_RELATIONSHIPS

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

GLOBAL_PROPERTY_COMPLEX_OBS_DIR

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

GLOBAL_PROPERTY_MIN_SEARCH_CHARACTERS

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

GLOBAL_PROPERTY_DEFAULT_LOCALE

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

GLOBAL_PROPERTY_DEFAULT_LOCALE_DEFAULT_VALUE

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

GLOBAL_PROPERTY_PATIENT_SEARCH_MATCH_MODE

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

GLOBAL_PROPERTY_PATIENT_SEARCH_MATCH_ANYWHERE

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

GLOBAL_PROPERTY_DEFAULT_SERIALIZER

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

GLOBAL_PROPERTY_IGNORE_MISSING_NONLOCAL_PATIENTS

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

GLOBAL_PROPERTY_TRUE_CONCEPT

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

GLOBAL_PROPERTY_FALSE_CONCEPT

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

GLOBAL_PROPERTY_LOCATION_WIDGET_TYPE

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

GLOBAL_PROPERTY_REPORT_BUG_URL

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

GP_PASSWORD_REQUIRES_UPPER_AND_LOWER_CASE

public static java.lang.String GP_PASSWORD_REQUIRES_UPPER_AND_LOWER_CASE
Global property name that allows specification of whether user passwords must contain both upper and lower case characters. Allowable values are "true", "false", and null


GP_PASSWORD_REQUIRES_NON_DIGIT

public static java.lang.String GP_PASSWORD_REQUIRES_NON_DIGIT
Global property name that allows specification of whether user passwords require non-digits. Allowable values are "true", "false", and null


GP_PASSWORD_REQUIRES_DIGIT

public static java.lang.String GP_PASSWORD_REQUIRES_DIGIT
Global property name that allows specification of whether user passwords must contain digits. Allowable values are "true", "false", and null


GP_PASSWORD_CANNOT_MATCH_USERNAME_OR_SYSTEMID

public static java.lang.String GP_PASSWORD_CANNOT_MATCH_USERNAME_OR_SYSTEMID
Global property name that allows specification of whether user passwords can match username or system id. Allowable values are "true", "false", and null


GP_PASSWORD_MINIMUM_LENGTH

public static java.lang.String GP_PASSWORD_MINIMUM_LENGTH
Global property name that allows specification of whether user passwords have a minimum length requirement Allowable values are any integer


GP_PASSWORD_CUSTOM_REGEX

public static java.lang.String GP_PASSWORD_CUSTOM_REGEX
Global property name that allows specification of a regular expression that passwords must adhere to


GP_GRAPH_COLOR_ABSOLUTE

public static final java.lang.String GP_GRAPH_COLOR_ABSOLUTE
Global property name for absolute color for patient graphs.

See Also:
Constant Field Values

GP_GRAPH_COLOR_NORMAL

public static final java.lang.String GP_GRAPH_COLOR_NORMAL
Global property name for normal color for patient graphs.

See Also:
Constant Field Values

GP_GRAPH_COLOR_CRITICAL

public static final java.lang.String GP_GRAPH_COLOR_CRITICAL
Global property name for critical color for patient graphs.

See Also:
Constant Field Values

PROPOSED_CONCEPT_IDENTIFIER

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

CONCEPT_PROPOSAL_UNMAPPED

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

CONCEPT_PROPOSAL_CONCEPT

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

CONCEPT_PROPOSAL_SYNONYM

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

CONCEPT_PROPOSAL_REJECT

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

SPANISH_LANGUAGE

public static java.util.Locale SPANISH_LANGUAGE

PORTUGUESE_LANGUAGE

public static java.util.Locale PORTUGUESE_LANGUAGE

ITALIAN_LANGUAGE

public static java.util.Locale ITALIAN_LANGUAGE

GLOBAL_DEFAULT_LOCALE

public static final java.util.Locale GLOBAL_DEFAULT_LOCALE
Deprecated. use LocaleUtility.getDefaultLocale()

USER_PROPERTY_CHANGE_PASSWORD

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

USER_PROPERTY_DEFAULT_LOCALE

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

USER_PROPERTY_DEFAULT_LOCATION

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

USER_PROPERTY_SHOW_RETIRED

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

USER_PROPERTY_SHOW_VERBOSE

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

USER_PROPERTY_NOTIFICATION

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

USER_PROPERTY_NOTIFICATION_ADDRESS

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

USER_PROPERTY_NOTIFICATION_FORMAT

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

USER_PROPERTY_LOGIN_ATTEMPTS

public static final java.lang.String USER_PROPERTY_LOGIN_ATTEMPTS
Name of the user_property that stores the number of unsuccessful login attempts this user has made

See Also:
Constant Field Values

USER_PROPERTY_LOCKOUT_TIMESTAMP

public static final java.lang.String USER_PROPERTY_LOCKOUT_TIMESTAMP
Name of the user_property that stores the time the user was locked out due to too many login attempts

See Also:
Constant Field Values

USER_PROPERTY_PROFICIENT_LOCALES

public static final java.lang.String USER_PROPERTY_PROFICIENT_LOCALES
A user property name. The value should be a comma-separated ordered list of fully qualified locales within which the user is a proficient speaker. The list should be ordered from the most to the least proficiency. Example: proficientLocales = en_US, en_GB, en, fr_RW

See Also:
Constant Field Values

REPORT_OBJECT_TYPE_PATIENTFILTER

@Deprecated
public static final java.lang.String REPORT_OBJECT_TYPE_PATIENTFILTER
Deprecated. 
Report object properties

See Also:
Constant Field Values

REPORT_OBJECT_TYPE_PATIENTSEARCH

@Deprecated
public static final java.lang.String REPORT_OBJECT_TYPE_PATIENTSEARCH
Deprecated. 
See Also:
Constant Field Values

REPORT_OBJECT_TYPE_PATIENTDATAPRODUCER

@Deprecated
public static final java.lang.String REPORT_OBJECT_TYPE_PATIENTDATAPRODUCER
Deprecated. 
See Also:
Constant Field Values

OPERATING_SYSTEM_KEY

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

OPERATING_SYSTEM

public static final java.lang.String OPERATING_SYSTEM

OPERATING_SYSTEM_WINDOWS_XP

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

OPERATING_SYSTEM_WINDOWS_VISTA

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

OPERATING_SYSTEM_LINUX

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

OPERATING_SYSTEM_SUNOS

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

OPERATING_SYSTEM_FREEBSD

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

OPERATING_SYSTEM_OSX

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

IMPLEMENTATION_ID_REMOTE_CONNECTION_URL

public static final java.lang.String IMPLEMENTATION_ID_REMOTE_CONNECTION_URL
URL to the concept source id verification server

See Also:
Constant Field Values

UNIX_BASED_OPERATING_SYSTEM

public static final boolean UNIX_BASED_OPERATING_SYSTEM
Shortcut booleans used to make some OS specific checks more generic; note the *nix flavored check is missing some less obvious choices


WINDOWS_BASED_OPERATING_SYSTEM

public static final boolean WINDOWS_BASED_OPERATING_SYSTEM

WINDOWS_VISTA_OPERATING_SYSTEM

public static final boolean WINDOWS_VISTA_OPERATING_SYSTEM

SHORT_SERIALIZATION

public static final java.lang.String SHORT_SERIALIZATION
Marker put into the serialization session map to tell @Replace methods whether or not to do just the very basic serialization

See Also:
Constant Field Values

GLOBAL_PROPERTY_LOG_LEVEL

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

LOG_CLASS_DEFAULT

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

LOG_LEVEL_TRACE

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

LOG_LEVEL_DEBUG

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

LOG_LEVEL_INFO

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

LOG_LEVEL_WARN

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

LOG_LEVEL_ERROR

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

LOG_LEVEL_FATAL

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

LUHN_IDENTIFIER_VALIDATOR

public static final java.lang.String LUHN_IDENTIFIER_VALIDATOR

RAW_VIEW

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

TEXT_VIEW

public static final java.lang.String TEXT_VIEW
See Also:
Constant Field Values
Constructor Detail

OpenmrsConstants

public OpenmrsConstants()
Method Detail

STOP_WORDS

public static final java.util.Collection<java.lang.String> STOP_WORDS()
These words are ignored in concept and patient searches

Returns:
Collection of words that are ignored

GENDER

public static final java.util.Map<java.lang.String,java.lang.String> GENDER()
A gender character to gender name map
TODO issues with localization. How should this be handled?

Returns:
Map of gender character to gender name

CORE_PRIVILEGES

public static final java.util.Map<java.lang.String,java.lang.String> CORE_PRIVILEGES()
These are the privileges that are required by OpenMRS. Upon startup, if any of these privileges do not exist in the database, they are inserted. These privileges are not allowed to be deleted. They are marked as 'locked' in the administration screens.

Returns:
privileges core to the system

CORE_ROLES

public static final java.util.Map<java.lang.String,java.lang.String> CORE_ROLES()
All roles returned by this method are inserted into the database if they do not exist already. These roles are also forbidden to be deleted from the administration screens.

Returns:
roles that are core to the system

AUTO_ROLES

public static final java.util.Collection<java.lang.String> AUTO_ROLES()
These roles are given to a user automatically and cannot be assigned

Returns:
Collection of the auto-assigned roles

CORE_GLOBAL_PROPERTIES

public static final java.util.List<GlobalProperty> CORE_GLOBAL_PROPERTIES()
At OpenMRS startup these global properties/default values/descriptions are inserted into the database if they do not exist yet.

Returns:
List of the core global properties

CONCEPT_PROPOSAL_STATES

public static final java.util.Collection<java.lang.String> CONCEPT_PROPOSAL_STATES()

OPENMRS_LOCALES

public static final java.util.Collection<java.util.Locale> OPENMRS_LOCALES()
Deprecated. 

Returns:
Collection of locales available to openmrs

OPENMRS_CONCEPT_LOCALES

public static final java.util.Collection<java.util.Locale> OPENMRS_CONCEPT_LOCALES()
Deprecated. 

Returns:
Collection of locales that the concept dictionary should be aware of
See Also:
ConceptService.getLocalesOfConceptNames()

OPENMRS_LOCALE_DATE_PATTERNS

public static final java.util.Map<java.lang.String,java.lang.String> OPENMRS_LOCALE_DATE_PATTERNS()
Deprecated. use the Context.getDateFormat()

Returns:
Mapping of Locales to locale specific date pattern

OpenMRS-1.7.x

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