Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Must
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: Platform 1.10.0
-
Component/s: Order Entry
-
Labels:
-
Complexity:Low
-
Epic Link:
Description
The duration term for months doesn't get inserted when the set database collation is case insensitive, apparently the code for minutes and months are the same except that they are of different cases, therefore the precondition to insert months fails since it perfoms a case insensitive check for the existence of the term. The quick solution for this is to check by uuid for existence of the term in the preconditions. With that said, concept reference term validator doesn't allow terms with the same code in the same concept source.
TODOs:
Chosen solution at https://notes.openmrs.org/Design-Forum-2014-09-17