XMLWordPrintable

    Details

    • Complexity:
      Low
    • Sprint:
      Platform 2.0 Beta Sprint 1

      Description

      Create a custom data type and its associated handler for locations. You can look for examples in the org.openmrs.customdatatype.datatype and org.openmrs.web.attribute.handler packages.

      Dev Notes:

      The datatype and handler should extend BaseMetadataDatatype and BaseMetadataFieldGenDatatypeHandler respectively. Since the legacy UI has been moved to a module, it means the FieldGenHandlers should be added to the module.

      e.g. the BooleanCustomDatatype: https://github.com/openmrs/openmrs-core/blob/master/api/src/main/java/org/openmrs/customdatatype/datatype/BooleanDatatype.java

      and its handler: https://github.com/openmrs/openmrs-core/blob/master/web/src/main/java/org/openmrs/web/attribute/handler/BooleanFieldGenDatatypeHandler.java

      See Visit Attribute Type page for an example usage of the hander: http://demo.openmrs.org/openmrs/admin/visits/visitAttributeType.form (login admin:test)

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                wyclif Wyclif Luyima
                Reporter:
                dkayiwa Daniel Kayiwa
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - 2 hours Original Estimate - 2 hours
                    2h
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 5 hours
                    5h