def METHOD_NAME(code_set: _CodeSet) -> typing.List[model.Value]:
    def value(id_: str, code: _Code) -> model.Value:
        name = _NAME_REPLACEMENTS.get((id_, code.value), code.name)
        return model.Value(name=name, value=code.value)
    return [value(code_set.id_, code) for code in code_set.codes]