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

Add support for mapping drugs to other terminologies

    Details

      Description

      • Add a liquibase changeset to add drug_reference_map table with the structure below: (* = not nullable)
        *drug_reference_map_id (int)
        *drug_id (drug.drug_id)
        *term_id (concept_reference_term.concept_reference_term_id)
        *concept_map_type (concept_map_type.concept_map_type_id)
        *creator (users.user_id)
        *date_created (datetime)
        *retired
        retired_by
        date_retired
        changed_by (users.user_id)
        date_changed (datetime)
        *uuid (datetime)
        
        
      • Add DrugReferenceMap Class and DrugReferenceMap.hbm.xml file for it
      • Add drugReferenceMaps(Collection<DrugReferenceMap>) property to Drug Class including getters and setters, getDrugReferenceMaps() should never return null
      • If TRUNK-4151 is already implemented, then one should be able to search in drug.mappings

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gitahi86 Gitahi Ng'ang'a
                Reporter:
                wyclif Wyclif Luyima
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 4 days
                  4d
                  Remaining:
                  Time Spent - 2 days, 5 hours Remaining Estimate - 1 day, 3 hours
                  1d 3h
                  Logged:
                  Time Spent - 2 days, 5 hours Remaining Estimate - 1 day, 3 hours
                  2d 5h