/**
 * Given the name, age, and gender of a patient, create a map representing the patient record.
 * The map should have the following keys: 'Name', 'Age', and 'Gender'.
 *
 * @param name The name of the patient.
 * @param age The age of the patient.
 * @param gender The gender of the patient.
 * @return A map representing the patient record.
 */
fun createPatientRecord(name: String, age: Int, gender: String): Map<String, Any> {

    // Create a mutable map to store the patient record
    val patientRecord = mutableMapOf<String, Any>()

    // Add the 'Name' key with the provided name as value
    patientRecord["Name"] = name

    // Add the 'Age' key with the provided age as value
    patientRecord["Age"] = age

    // Add the 'Gender' key with the provided gender as value
    patientRecord["Gender"] = gender

    return patientRecord
}
/**
 * Given the name, age, and gender of a patient, create a map representing the patient record.
 * The map should have the following keys: 'Name', 'Age', and 'Gender'.
 *
 * @param name The name of the patient.
 * @param age The age of the patient.
 * @param gender The gender of the patient.
 * @return A map representing the patient record.
 */
fun createPatientRecord(name: String, age: Int, gender: String): Map<String, Any> {
/**
 * Given the name, age, and gender of a patient, create a map representing the patient record.
 * The map should have the following keys: 'Name', 'Age', and 'Gender'.
 *
 * @param name The name of the patient.
 * @param age The age of the patient.
 * @param gender The gender of the patient.
 * @return A map representing the patient record.
 */
fun createPatientRecord(name: String, age: Int, gender: String): Map<String, Any> {

    // Create a mutable map to store the patient record
    val patientRecord = mutableMapOf<String, Any>()

    // Add the 'Name' key with the provided name as value
    patientRecord["Name"] = name

    // Add the 'Age' key with the provided age as value
    patientRecord["Age"] = age

    // Add the 'Gender' key with the provided gender as value
    patientRecord["Gender"] = gender

    return patientRecord
}