<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def addCodedValue(self, name, code):
 """ adds a coded value to the domain Inputs: name - name of the domain code - value """

        i = {"name" : name, "code" : code}
        if i not in self._codedValues:
            self._codedValues.append(i)