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

When create a form it places Patient_name table rather than Person_name in the Field table

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Non-Essential
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Platform 2.0.0
    • Component/s: None
    • Labels:
    • Complexity:
      Low

      Description

      When I create a form, some fields are created by default, such as PATIENT.GIVEN_NAME. Such fields are stored in the "field" table. However, when checking data in the "field" table, I don't understand why the table_name is stored as patient_name. Is it supposed to be person_name, because there's no physical patient_name table.

      Darius Jazayeri responded
      Hi David,

      You are correct, it appears that we've put the wrong value in table_name for those fields. It should be person_name.

      I guess the code that processes forms must not actually be looking at that table_name, though I'm not sure offhand where that happens.

        Gliffy Diagrams

          Attachments

            Attachments-Category-Modification

              Activity

                People

                • Assignee:
                  shekhar Shekharreddy Mittapelly
                  Reporter:
                  jblaya Joaquin Blaya
                  Watchers:
                  Ben Wolfe, Daniel Kayiwa, Deepika Teegapuram, Joaquin Blaya, Lance Goodridge, rithika naik, Rosu Ovidiu, Shekharreddy Mittapelly, Wyclif Luyima
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: