Common or Centralized Approach to Tagging (Design Page)
Background
We want the capability to label (tag) data & metadata throughout OpenMRS. Â Tagging can provide flexible folksonomies for categorizing and/or organizing information.
Requirements
Specific tags are never required or coded into core – i.e., the presence of tags is supported, but the specific values used are up to implementations.
Tags behave like simple strings
API methods for adding, removing, and searching for tags should be consistent across the API
Design Considerations
Do we want to useÂ
java.lang.String
or anÂorg.openmrs.Tag
object for tags? Â e.g., if a concept is tagged with "diabetes" and a patient is tagged with "diabetes" are these related by value or reference?Do we create a centralized tag service? Â Or do we share an interface that is implemented as needed for various domain objects?
See Also
Â
Error rendering macro 'jira' : Unable to locate Jira server for this macro. It may be due to Application Link configuration.