/**
 * Given a list of patient conditions and a condition, return a list of patients with the specified condition.
 *
 * @param patients A list of patient conditions.
 * @param condition The condition to filter the patients.
 * @return A list of patients with the specified condition.
 */
fun filterPatients(patients: List<String>, condition: String): List<String> {

    // Use filter to get patients with the specified condition
    return patients.filter { it.toLowerCase().startsWith(condition.toLowerCase()) }
}
/**
 * Given a list of patient conditions and a condition, return a list of patients with the specified condition.
 *
 * @param patients A list of patient conditions.
 * @param condition The condition to filter the patients.
 * @return A list of patients with the specified condition.
 */
fun filterPatients(patients: List<String>, condition: String): List<String> {
/**
 * Given a list of patient conditions and a condition, return a list of patients with the specified condition.
 *
 * @param patients A list of patient conditions.
 * @param condition The condition to filter the patients.
 * @return A list of patients with the specified condition.
 */
fun filterPatients(patients: List<String>, condition: String): List<String> {

    // Use filter to get patients with the specified condition
    return patients.filter { it.toLowerCase().startsWith(condition.toLowerCase()) }
}