requirements = ["Requirements on H&S in supplier codes and contracts", "Discloses injury rate or lost days in supply chain in last reporting period", "Discloses fatalities for workers in supply chain in last reporting period", "Discloses occupational disease rate in supply chain in last reporting period"] all = (source, target) -> for element in source if element not in target return false return true if all(requirements, CHRB_d27bs1) "Yes" else if "None of the above" in CHRB_d27bs1 "No" else "Partially"