Skip to content

Commit

Permalink
A minor follow up commit for: MDS doesn't start and shows unfriendly
Browse files Browse the repository at this point in the history
error message after installing - TRUNK-4019
  • Loading branch information
dkayiwa committed Oct 29, 2013
1 parent bf79c32 commit 9af5f48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion api/src/main/java/org/openmrs/module/ModuleFactory.java
Expand Up @@ -562,7 +562,7 @@ public static Module startModuleInternal(Module module, boolean isOpenmrsStartup
// check for required modules
if (!requiredModulesStarted(module)) {
String[] params = {module.getName(), OpenmrsUtil.join(getMissingRequiredModules(module), ", ")};
String message = Context.getMessageSourceService().getMessage("Module.error.moduleCannotBeAdded", params, Context.getLocale());
String message = Context.getMessageSourceService().getMessage("Module.error.moduleCannotBeInstalled", params, Context.getLocale());
throw new ModuleException(message);
}

Expand Down
2 changes: 1 addition & 1 deletion webapp/src/main/webapp/WEB-INF/messages.properties
Expand Up @@ -2010,7 +2010,7 @@ Module.error.idCannotBeEmpty=Module id cannot be empty
Module.error.packageCannotBeEmpty=Package cannot be empty
Module.error.noMessagePropsFile=No message properties file {0} for language {1}
Module.startupError.notification.message=There was an error starting the module: {0}
Module.error.moduleCannotBeAdded=Module {0} cannot be added because it requires the following module(s): {1} Please add and start these modules first.
Module.error.moduleCannotBeInstalled=Module {0} cannot be installed because it requires the following module(s): {1} Please install and start these modules first.

MRNGenerator.title=Generate List of Medical Record Numbers (MRNs)
MRNGenerator.description=It is critically important that patient identifiers be distributed from a central authority. Otherwise, the likelihood of mistakenly assigning the same medical record number (MRN) to more than one person increases. Similarly, a single individual at each clinic should be in charge of assigning new identifiers.<br/><br/>The general format for medical record numbers is 123MT-2, where 123 is a sequential number, MT represents the site-specific suffix, and -2 is the check digit. Below, simply select the site, the starting sequence number, and the number of identifiers you need. A text file containing the medical record numbers (including proper check digits) will be generated and downloaded to your computer.<br/><br/>NOTE: this is merely a service generate the proper check digits in bulk. It is your responsibility to ensure that these numbers are distributed through a controlling central authority ? i.e., identifiers are assigned once and only once to a patient.
Expand Down

0 comments on commit 9af5f48

Please sign in to comment.