if (FALSE) {
enforce_three_plus_three('1NNN 2NTN 2NNN') # OK
enforce_three_plus_three('1NNN 2NTN 2N') # OK too, albeit in-progress cohort
enforce_three_plus_three('1NNN 1N') # Not OK because should have escalated
}
Run the code above in your browser using DataLab