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

Domain object, liquibase, and hibernate mapping for ProviderAttribute

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Non-Essential
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9 Provider Sprint
    • Component/s: None
    • Labels:
      None
    • Complexity:
      Low

      Description

      ProviderAttribute extends BaseOpenmrsData

      • Integer providerAttributeId // required primary key
      • Provider provider // required
      • ProviderAttribute // required
      • String serializedValue // required

      The class should have an "Object getValue()" method that delegates to the provider attribute type's handler's deserialize method.

      Also, add methods to ProviderService:

      • getProviderAttribute(Integer)
      • getProviderAttributeByUuid(String)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              kishoreyekkanti Kishore Yekkanti
              Reporter:
              darius Darius Jazayeri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: