/**
 * A nurse needs to find the missing medications that a patient should be taking. The nurse has a list of medications that the patient is currently taking, and a list of all medications that the patient should be taking.
 *
 * @param patientMeds the list of medications that the patient is currently taking
 * @param nurseMeds the list of all medications that the patient should be taking
 * @return a list of medications that the patient is not currently taking
 */
fun findMissingMeds(patientMeds: List<String>, nurseMeds: List<String>): List<String> {

    val missingMeds = mutableListOf<String>()
    for (med in nurseMeds) {
        if (med !in patientMeds) {
            missingMeds.add(med)
        }
    }
    return missingMeds
}
/**
 * A nurse needs to find the missing medications that a patient should be taking. The nurse has a list of medications that the patient is currently taking, and a list of all medications that the patient should be taking.
 *
 * @param patientMeds the list of medications that the patient is currently taking
 * @param nurseMeds the list of all medications that the patient should be taking
 * @return a list of medications that the patient is not currently taking
 */
fun findMissingMeds(patientMeds: List<String>, nurseMeds: List<String>): List<String> {
/**
 * A nurse needs to find the missing medications that a patient should be taking. The nurse has a list of medications that the patient is currently taking, and a list of all medications that the patient should be taking.
 *
 * @param patientMeds the list of medications that the patient is currently taking
 * @param nurseMeds the list of all medications that the patient should be taking
 * @return a list of medications that the patient is not currently taking
 */
fun findMissingMeds(patientMeds: List<String>, nurseMeds: List<String>): List<String> {

    val missingMeds = mutableListOf<String>()
    for (med in nurseMeds) {
        if (med !in patientMeds) {
            missingMeds.add(med)
        }
    }
    return missingMeds
}