Uploaded image for project: 'OpenMRS Core'
  1. OpenMRS Core
  2. TRUNK-6012

Change the max age limit of 120 years to 140 years in openmrs-core

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Closed
    • Priority: Could
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Customization
    • Labels:
    • Complexity:
      Low

      Description

      Reffering to https://talk.openmrs.org/t/patient-age-limitation-in-registration-page/34248/7 A patient needed to be recorded as 121 years old. The openmrs-core codebase has a hardcoded max age limit of 120 years. 

      Due to this, I don’t think you will be able to enter date beyond this, since the backend will reject it, even if the UI accepts it. This will need a code change in openmrs-core. 

       

      Per Ian's suggestion in the chat, let's set it to a max of 140 years. 

        Gliffy Diagrams

          Attachments

            Activity

              People

              Assignee:
              ndacyayisenga TAYEBWA NOAH
              Reporter:
              ndacyayisenga TAYEBWA NOAH
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: