Make codable values more robust by looking up the text value when the
coded value is set and the coded value if the text value is the only
thing set.
Convert the Glucose Proxy to use the CodableValue type