Uploaded image for project: 'Legacy UI Module'
  1. Legacy UI Module
  2. LUI-32

Error creating patient for large location IDs > 1000

    XMLWordPrintable

    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.

        Gliffy Diagrams

          Attachments

          1. Error creating patient 3.JPG
            Error creating patient 3.JPG
            18 kB
          2. Error creating patient.JPG
            Error creating patient.JPG
            74 kB
          3. Capture.PNG
            Capture.PNG
            112 kB
          4. Capture2.PNG
            Capture2.PNG
            111 kB

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 days
                  2d
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 2 days
                  2d