Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Reverting incorrect content changes RE: global properties

Overview

The idgen module provides a facility for managing identifier generation and allocation within an OpenMRS implementation. Below is an overview of the primary components and how they are meant to be used.

...

Problem: An error occurs when submitting the "Create Patient" form and a blank page is displayed. (OpenMRS 1.6.x, tribe-module not installed)

No Format

ERROR - errorhandler_jsp._jspService(72) |2010-10-22 10:52:21,853| Error on page /openmrs/WEB-INF/view/module/idgen/editPatientForm.jsp
org.springframework.beans.NotReadablePropertyException: Invalid property 'tribe' of bean class org.openmrs.web.controller.patient.ShortPatientModel: Bean property 'tribe' is not readable or has an invalid getter method: Does the return type of the getter match the parameter type of the setter?
        at org.springframework.beans.BeanWrapperImpl.getPropertyValue(BeanWrapperImpl.java:540)

Solution:

Make sure the settings (formerly global properties 1.8 and below) value of use_patient_attribute.tribe is set to false.

Problem:

You've created an identifier type and an identifier source.  You create or edit the patient and attempt to add a new identifier. The new identifier type appears in the dropdown list, but there's no checkbox to auto-generate it.

Solution:

Confirm that you enabled auto-generation. See the "Auto Generation Configuration" section of this page.

The long edit patient form doesn't currently have a checkbox. Use the short patient edit form to add the new identifier.

Problem:

You've created an identifier type and enabled automatic generation. When you add the new identifier to a patient, the "generate" checkbox appears but nothing happens when you click it. The Identifier field remains blank. When you save, there's an error message that patients must have at least one identifier.

...