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

Error creating patient for large location IDs > 1000

    Details

    • Complexity:
      Low

      Description

      Hi Everyone,

      I'm trying to create a patient for location IDs greater than 1000. And it fails giving me the error (please see attachments). It seems that the location ID of values greater than 1000 are being converted to string. This is not observed for location IDs of lower values (< 1000).

      Please note that it is not customized code. I'm creating a patient from OpenMRS from the 'Create Patient' link.

      Please see the OpenMRS talk related to this on below link
      https://talk.openmrs.org/t/error-creating-patient-for-large-location-ids/3263

      Workaround:
      Create a patient by assigning a location with ID lower than 1000. Edit this patient later by clicking on the Edit this Patient link on the Demographics tab of that particular patient, and save it.

        Attachments

          Activity

            People

            • Assignee:
              bholagabbar Shreyans Sheth
              Reporter:
              tahira Tahira Niazi
              Designated Committer:
              Daniel Kayiwa
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 2 days
                2d
                Remaining:
                Remaining Estimate - 2 days
                2d
                Logged:
                Time Spent - Not Specified
                Not Specified