Map data fields

Use the codemap.lua module to map one set of codes to another, and to validate code membership