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

Set a person's birthdate from their age on a date

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed
    • Should
    • Resolution: Fixed
    • None
    • OpenMRS 1.4.0
    • None
    • None

    Description

      The person object is capable of storing birthdate information in 2 fields:

      • birthDate (Date)
      • birthDateEstimated (Boolean)

      The API should support setting the person's birthdate from an age directly by using these fields. This should support the current standard of representing estimated birth dates as "January 1" on the appropriate year.

      I propose adding a method on the Person object:

      public void setBirthdateFromAge(int age, Date ageOnDate);

      Gliffy Diagrams

        Attachments

          Activity

            People

              mseaton Mike Seaton
              mseaton Mike Seaton
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: