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

Retired Provider Attribute Types should not be shown when adding/editing providers

    XMLWordPrintable

Details

    Description

      If a Provider Attribute Type is retired, it should no longer appear when adding new or editing existing providers. It currently shows the retired field, and shouldn't.

      Please ensure that when addressing this, we do not lose existing saved provider attribute values for that retired type, but merely don't show them.

      See ProviderFormController for the method with @ModelAttribute whose value is providerAttributeTypes and make sure retired providerAttributeTypes that are excluded

      Gliffy Diagrams

        Attachments

          1. image001.jpg
            image001.jpg
            0.8 kB
          2. image002.jpg
            image002.jpg
            0.3 kB
          3. image003.jpg
            image003.jpg
            0.3 kB
          4. ~WRD000.jpg
            ~WRD000.jpg
            0.8 kB
          5. AttributeTypes.png
            AttributeTypes.png
            129 kB
          6. AttributeType_absdob(deleted).png
            AttributeType_absdob(deleted).png
            139 kB
          7. Adding provider.png
            Adding provider.png
            125 kB
          8. Provider Saved.png
            Provider Saved.png
            123 kB

          Issue Links

            Activity

              People

                jbuczynski Jakub BuczyƄski
                arbaughj James Arbaugh
                Daniel Kayiwa Daniel Kayiwa
                Votes:
                0 Vote for this issue
                Watchers:
                13 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

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