Reminder: Create & find trunk-related issues here. Legacy Trac tickets are still available. Problems? Workflow feedback? Need a module project? Open a support ticket.

OpenMRS Trunk

Concept Dictionary should include column "Set Members" indicating Concept Set Membership

Details

  • Description:
    Hide

    Include a column in the concept dictionary named "Set Members", which contains the concept IDs of all concepts that are members of that set.

    If the field is left blank, this signifies that the concept is not a set.

    If the field contains one or more concepts IDs, this signifies that the concept is in fact a set.

    (In the same way that the existing "Answers" column can be blank or contain one or more concept IDs.)

    This will also allow for concepts to belong to multiple sets.

    Show
    Include a column in the concept dictionary named "Set Members", which contains the concept IDs of all concepts that are members of that set.
    If the field is left blank, this signifies that the concept is not a set.
    If the field contains one or more concepts IDs, this signifies that the concept is in fact a set.
    (In the same way that the existing "Answers" column can be blank or contain one or more concept IDs.)
    This will also allow for concepts to belong to multiple sets.
  1. DownloadDictionaryPatch.patch
    (1 kB)
    Burke Mamlin
    2008-09-17 16:07:28 EDT

Activity

Hide
Ben Wolfe added a comment - 2008-09-16 17:58:29 EDT

The [DownloadDictionaryServlet|source:openmrs/trunk/src/web/org/openmrs/web/servlet/DownloadDictionaryServlet.java] is all that would need to be changed for this. Care to take a stab at creating a patch Dan? How are your java skills?

Show
Ben Wolfe added a comment - 2008-09-16 17:58:29 EDT The [DownloadDictionaryServlet|source:openmrs/trunk/src/web/org/openmrs/web/servlet/DownloadDictionaryServlet.java] is all that would need to be changed for this. Care to take a stab at creating a patch Dan? How are your java skills?
Hide
Daniel Futerman added a comment - 2008-09-17 16:07:28 EDT

Concept Dictionary Patch with "Set Member" column included

Show
Daniel Futerman added a comment - 2008-09-17 16:07:28 EDT Concept Dictionary Patch with "Set Member" column included
Hide
Daniel Futerman added a comment - 2008-09-17 16:18:21 EDT

Added patch DownloadDictionaryPatch.patch

Show
Daniel Futerman added a comment - 2008-09-17 16:18:21 EDT Added patch DownloadDictionaryPatch.patch
Hide
Ben Wolfe added a comment - 2008-09-17 16:50:51 EDT

Excellent work! One minor suggestion: concept names might have double quotes in them. You might want to escape each of them out similar to what line 76 does.

Show
Ben Wolfe added a comment - 2008-09-17 16:50:51 EDT Excellent work! One minor suggestion: concept names might have double quotes in them. You might want to escape each of them out similar to what line 76 does.
Hide
Ben Wolfe added a comment - 2008-12-23 17:49:58 EST

Patch applied to trunk in rev:6453. This will be included in the 1.5 release.

Thanks Daniel!

Show
Ben Wolfe added a comment - 2008-12-23 17:49:58 EST Patch applied to trunk in rev:6453. This will be included in the 1.5 release. Thanks Daniel!

People

Dates

  • Created:
    2008-09-15 22:30:15 EDT
    Updated:
    2010-07-09 01:03:50 EDT
    Resolved:
    2010-07-01 22:42:29 EDT