/**
 * This function calculates the progress of a patient undergoing physical therapy based on the number of rehabilitation sessions attended and the number of days since their last session.
 *
 * @param rehabSessions Number of rehabilitation sessions attended by the patient
 * @param daysSinceLastSession Number of days since the patient's last session
 * @return A message indicating the progress of the patient's physical therapy
 */
fun getPhysicalTherapyProgress(rehabSessions: Int, daysSinceLastSession: Int): String? {

    return if (rehabSessions >= 10) {
        "Excellent progress!"
    } else if (rehabSessions >= 5) {
        "Good progress!"
    } else if (daysSinceLastSession <= 7) {
        "Keep working hard!"
    } else {
        null
    }
}
/**
 * This function calculates the progress of a patient undergoing physical therapy based on the number of rehabilitation sessions attended and the number of days since their last session.
 *
 * @param rehabSessions Number of rehabilitation sessions attended by the patient
 * @param daysSinceLastSession Number of days since the patient's last session
 * @return A message indicating the progress of the patient's physical therapy
 */
fun getPhysicalTherapyProgress(rehabSessions: Int, daysSinceLastSession: Int): String? {
/**
 * This function calculates the progress of a patient undergoing physical therapy based on the number of rehabilitation sessions attended and the number of days since their last session.
 *
 * @param rehabSessions Number of rehabilitation sessions attended by the patient
 * @param daysSinceLastSession Number of days since the patient's last session
 * @return A message indicating the progress of the patient's physical therapy
 */
fun getPhysicalTherapyProgress(rehabSessions: Int, daysSinceLastSession: Int): String? {

    return if (rehabSessions >= 10) {
        "Excellent progress!"
    } else if (rehabSessions >= 5) {
        "Good progress!"
    } else if (daysSinceLastSession <= 7) {
        "Keep working hard!"
    } else {
        null
    }
}