/**
 * This exercise is designed to test your understanding of accessing values in a dictionary using the 'NOT' operator.
 * You are given a dictionary 'patient_vaccines' which consists of various patients and their vaccination status.
 * Your task is to check if a patient has not received any vaccination and return the list of these patients.
 * Please solve the exercise by completing the Kotlin code.
 */
fun checkVaccinationStatus(patientVaccines: Map<String, List<String>>): List<String> {

    // Initialize an empty list to store patients who have not received any vaccination
    val patientsWithoutVaccination = mutableListOf<String>()

    // Iterate through each patient in the dictionary
    for ((patient, vaccines) in patientVaccines) {
        // Check if the patient has not received any vaccination using the 'NOT' operator
        if (vaccines.isEmpty()) {
            // Append the patient to the list if they have not received any vaccination
            patientsWithoutVaccination.add(patient)
        }
    }

    // Return the list of patients who have not received any vaccination
    return patientsWithoutVaccination
}
/**
 * This exercise is designed to test your understanding of accessing values in a dictionary using the 'NOT' operator.
 * You are given a dictionary 'patient_vaccines' which consists of various patients and their vaccination status.
 * Your task is to check if a patient has not received any vaccination and return the list of these patients.
 * Please solve the exercise by completing the Kotlin code.
 */
fun checkVaccinationStatus(patientVaccines: Map<String, List<String>>): List<String> {
/**
 * This exercise is designed to test your understanding of accessing values in a dictionary using the 'NOT' operator.
 * You are given a dictionary 'patient_vaccines' which consists of various patients and their vaccination status.
 * Your task is to check if a patient has not received any vaccination and return the list of these patients.
 * Please solve the exercise by completing the Kotlin code.
 */
fun checkVaccinationStatus(patientVaccines: Map<String, List<String>>): List<String> {

    // Initialize an empty list to store patients who have not received any vaccination
    val patientsWithoutVaccination = mutableListOf<String>()

    // Iterate through each patient in the dictionary
    for ((patient, vaccines) in patientVaccines) {
        // Check if the patient has not received any vaccination using the 'NOT' operator
        if (vaccines.isEmpty()) {
            // Append the patient to the list if they have not received any vaccination
            patientsWithoutVaccination.add(patient)
        }
    }

    // Return the list of patients who have not received any vaccination
    return patientsWithoutVaccination
}