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

Improve migration of concept name tags to types

    Details

    • Complexity:
      Medium

      Description

      The 20100607-1550d changeset uses the 2=short tag to migrate to short concept name type and 20100607-1550f uses tags matching "preferred%" to set name types to be preferred and fully specified name (FSN).

      The 20100607-1550f changeset needs to be fixed to set FSN to preferred UNLESS there is a row with DEFAULT=1 which would become the FSN...

      This was discussed at https://groups.google.com/a/openmrs.org/d/topic/dev/i2rQNRmbh-8/discussion

      Acceptance Criteria:
      1. If a concept has 2 names: "Oral administration" has the "default" tag and "Orally" has the "preferred" tag in 1.6.x then after the upgrade to 1.9.x "Oral administration" is marked as a FSN and "Orally" as a preferred name.
      2. If "Aspirin" has the "preferred" tag and no other name for the same concept has the "default" tag in 1.6.x then after 1.9.x upgrade "Aspirin" is marked as both fully specified and preferred name.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                raff Rafal Korytkowski
                Reporter:
                raff Rafal Korytkowski
              • Votes:
                0 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 - 2 days
                  2d
                  Logged:
                  Time Spent - Not Specified
                  Not Specified