I'm afraid that won't work; the field can contain a boolean from a checkbox (true and false) for regular measures, but it can also contain a number (1, 2, 3, 4, 5) for Episode of Care measures which are truthy but should not be converted to 1.

I'll add a comment to that effect.