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

Domain object, liquibase changeset, and hibernate mapping for EncounterProvider

    XMLWordPrintable

    Details

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

      Description

      Add a many-to-many table to map which providers participated in a given encounter, along with the role they played in that encounter. We will need an explicit domain object to represent this mapping (since it has additional attributes besides pointers to the two tables).

      Domain object: org.openmrs.EncounterProvider
      Table: encounter_provider

      Table columns:

      • encounter_provider_id – integer primary key
      • encounter_id references encounter – required
      • provider_id references provider – required
      • encounter_role_id references encounter_role – required
      • standard audit columns for data: creator, date_created, changed_by, date_changed, voided, date_voided, voided_by, void_reason

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Created:
                  Updated:
                  Resolved: