GE HealthCare interview question

Writing logical programs.