fixed issue with codes not getting assigned to coded values out of the patient builder