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

Domain object, liquibase, and hibernate mapping for Provider

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Must
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.9 Provider Sprint
    • Component/s: None
    • Labels:
    • Complexity:
      Medium

      Description

      Create the org.openmrs.Provider domain object, as well as the liquibase changeset to create the table, and the hibernate mapping between them.

      Provider extends BaseOpenmrsMetadata

      • Integer providerId // required, primary key
      • Person person // optional, comment: only if the provider has a full person record rather than just being a stub
      • String name // optional
      • String identifer // optional
      • other metadata properties
      • should not have a description property

      Create a ProviderValidator class to check that either name and identifier) are both specified or else person is specified but not both.

      (Look at the latest patch on TRUNK-39 to see if anything can be reused.)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              zabilcm Zabil C.M [X] (Inactive)
              Reporter:
              darius Darius Jazayeri [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: