{"functions":[],"name":"Hospital Appointment System","main":{"rawId":"main","tpe":"Void","name":"main","statements":[{"@type":"Begin","id":"id_1d629ed6_3920_4a0f_aae5_2d0fb5526096"},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"PatientName","lengthValue2":"5","id":"id_dd5904de_a1cb_420a_b1e2_3a8480570231","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"PatientID","lengthValue2":"5","id":"id_470e5e7d_88d6_46e8_ad5f_ade6bc5087f6","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"Specialty","lengthValue2":"5","id":"id_5c228db3_e650_4d4e_9097_6ed7d6d1bb2c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"PreferredTime","lengthValue2":"5","id":"id_d4d3a2ee_45a6_4c2a_8810_db3f8ab00c2c","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"AlternativeTime","lengthValue2":"5","id":"id_04ab13d3_f31d_48b1_8e02_9c2d06fd5c36","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"AcceptAlternative","lengthValue2":"5","id":"id_4adab3f3_a120_485a_9d3b_dfcba1f30a44","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"ContinueChoice","lengthValue2":"5","id":"id_2336db9c_0f7c_4250_a113_351d2f2697b8","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"String","name":"AppointmentStatus","lengthValue2":"5","id":"id_680aef9f_5d95_4582_91b2_3fedd1f1c070","initValue":null},{"lengthValue":-1,"@type":"Declare","lengthValue1":"5","tpe":"Integer","name":"PatientStatus","lengthValue2":"5","id":"id_2c03f929_f028_4edc_8419_71b6ae7e8f5a","initValue":null},{"condition":"ContinueChoice == 1","@type":"DoWhile","id":"id_c35518b8_5592_47f3_8d0e_f8cba161b3a4","body":{"statements":[{"@type":"Assign","name":"PatientName","id":"id_93bd7cb7_9a54_4c90_99bb_bc03ee3bb0a3","value":"\"\""},{"@type":"Assign","name":"PatientID","id":"id_505a7295_e14a_4882_aa67_5292b13e1a01","value":"\"\""},{"@type":"Assign","name":"Specialty","id":"id_f56176dc_f38d_41c2_834b_772cf48ff529","value":"\"\""},{"@type":"Assign","name":"PreferredTime","id":"id_2d16be98_5754_4a0b_945d_abe561cee9db","value":"\"\""},{"@type":"Assign","name":"AlternativeTime","id":"id_9aede79f_c641_4aeb_8589_6cb4a5a3e30c","value":"\"\""},{"@type":"Assign","name":"AppointmentStatus","id":"id_0ba61e29_bfcf_4180_abc4_6867607e98f1","value":"\"\""},{"@type":"Assign","name":"AcceptAlternative","id":"id_18502426_ecc7_42c7_b022_04d2e8d2539c","value":"0"},{"newline":true,"@type":"Output","id":"id_56cab32e_61da_4d0f_9c2a_ef3ed9abe613","value":"\"Welcome to the Hospital Appointment System. 🏥📋\""},{"newline":true,"@type":"Output","id":"id_2800c8ef_2bd3_4511_aaef_a007ae5a4dc7","value":"\"┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈\""},{"condition":"PatientStatus < 1 || PatientStatus > 2","@type":"DoWhile","id":"id_dde219e8_d4ea_46f1_8ebd_5b236acbed8b","body":{"statements":[{"newline":true,"@type":"Output","id":"id_b79338e9_cce4_4dc8_9064_c20ff5e997a6","value":"\"Please enter your patient type:-\""},{"newline":true,"@type":"Output","id":"id_13ce2e71_7d80_40d1_a3e7_d306b8d93845","value":"\"1. New Patient\""},{"newline":true,"@type":"Output","id":"id_7255cfc5_e199_4d6e_96ac_3db76528cb4f","value":"\"2. Existing Patient\""},{"@type":"Input","name":"PatientStatus","id":"id_8ec729ea_87b7_421a_9e67_5c57881a202a","prompt":"(Enter 1 or 2):"},{"falseBlock":{"statements":[],"id":"id_84a31b84_ac24_4b1b_a7ca_8df5c7c20df1"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_097b9c89_2854_4b7e_aede_4464f6dbac9f","value":"\"● ═════════════════════════════════════════ ●\""},{"newline":true,"@type":"Output","id":"id_d49e7e1c_6eee_40cb_a35e_beba5aafa902","value":"\"║ ⛔ Invalid choice. Please enter 1 or 2. ║\""},{"newline":true,"@type":"Output","id":"id_855606b7_b8ba_4f18_bbf8_bccb3c8cbd78","value":"\"● ═════════════════════════════════════════ ●\""}],"id":"id_f8f43334_2830_4964_b69d_e32f33371a87"},"condition":"(PatientStatus != 1) && (PatientStatus != 2)","@type":"If","id":"id_6e016027_91d5_4077_abba_7297e9b1eeba"}],"id":"id_bfc47123_37db_4b9d_a561_ca5371955c5f"}},{"newline":true,"@type":"Output","id":"id_0af482bf_7871_4aa8_b9f2_3ad0d1983a98","value":"\"┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈\""},{"falseBlock":{"statements":[{"condition":"length(PatientName) < 3 || charAt(PatientName, 0) == \"0\" || charAt(PatientName, 0) == \"1\" || charAt(PatientName, 0) == \"2\" || charAt(PatientName, 0) == \"3\" || charAt(PatientName, 0) == \"4\" || charAt(PatientName, 0) == \"5\" || charAt(PatientName, 0) == \"6\" || charAt(PatientName, 0) == \"7\" || charAt(PatientName, 0) == \"8\" || charAt(PatientName, 0) == \"9\" || charAt(PatientName, 0) == \"!\" || charAt(PatientName, 0) == \"@\" || charAt(PatientName, 0) == \"#\" || charAt(PatientName, 0) == \"$\" || charAt(PatientName, 0) == \"%\" || charAt(PatientName, 0) == \"^\" || charAt(PatientName, 0) == \"&\" || charAt(PatientName, 0) == \"*\" || charAt(PatientName, 0) == \"-\" || charAt(PatientName, 0) == \"_\" || charAt(PatientName, 0) == \"+\" || charAt(PatientName, 0) == \"=\" || charAt(PatientName, 0) == \",\" || charAt(PatientName, 0) == \"(\" || charAt(PatientName, 0) == \")\" || charAt(PatientName, 0) == \".\" || charAt(PatientName, 1) == \"0\" || charAt(PatientName, 1) == \"1\" || charAt(PatientName, 1) == \"2\" || charAt(PatientName, 1) == \"3\" || charAt(PatientName, 1) == \"4\" || charAt(PatientName, 1) == \"5\" || charAt(PatientName, 1) == \"6\" || charAt(PatientName, 1) == \"7\" || charAt(PatientName, 1) == \"8\" || charAt(PatientName, 1) == \"9\" || charAt(PatientName, 1) == \"!\" || charAt(PatientName, 1) == \"@\" || charAt(PatientName, 1) == \"#\" || charAt(PatientName, 1) == \"$\" || charAt(PatientName, 1) == \"%\" || charAt(PatientName, 1) == \"^\" || charAt(PatientName, 1) == \"&\" || charAt(PatientName, 1) == \"*\" || charAt(PatientName, 1) == \"-\" || charAt(PatientName, 1) == \"_\" || charAt(PatientName, 1) == \"+\" || charAt(PatientName, 1) == \"=\" || charAt(PatientName, 1) == \",\" || charAt(PatientName, 1) == \"(\" || charAt(PatientName, 1) == \")\" || charAt(PatientName, 1) == \".\" || charAt(PatientName, 2) == \"0\" || charAt(PatientName, 2) == \"1\" || charAt(PatientName, 2) == \"2\" || charAt(PatientName, 2) == \"3\" || charAt(PatientName, 2) == \"4\" || charAt(PatientName, 2) == \"5\" || charAt(PatientName, 2) == \"6\" || charAt(PatientName, 2) == \"7\" || charAt(PatientName, 2) == \"8\" || charAt(PatientName, 2) == \"9\" || charAt(PatientName, 2) == \"!\" || charAt(PatientName, 2) == \"@\" || charAt(PatientName, 2) == \"#\" || charAt(PatientName, 2) == \"$\" || charAt(PatientName, 2) == \"%\" || charAt(PatientName, 2) == \"^\" || charAt(PatientName, 2) == \"&\" || charAt(PatientName, 2) == \"*\" || charAt(PatientName, 2) == \"-\" || charAt(PatientName, 2) == \"_\" || charAt(PatientName, 2) == \"+\" || charAt(PatientName, 2) == \"=\" || charAt(PatientName, 2) == \",\" || charAt(PatientName, 2) == \"(\" || charAt(PatientName, 2) == \")\" || charAt(PatientName, 2) == \".\" || charAt(PatientName, 3) == \"0\" || charAt(PatientName, 3) == \"1\" || charAt(PatientName, 3) == \"2\" || charAt(PatientName, 3) == \"3\" || charAt(PatientName, 3) == \"4\" || charAt(PatientName, 3) == \"5\" || charAt(PatientName, 3) == \"6\" || charAt(PatientName, 3) == \"7\" || charAt(PatientName, 3) == \"8\" || charAt(PatientName, 3) == \"9\" || charAt(PatientName, 3) == \"!\" || charAt(PatientName, 3) == \"@\" || charAt(PatientName, 3) == \"#\" || charAt(PatientName, 3) == \"$\" || charAt(PatientName, 3) == \"%\" || charAt(PatientName, 3) == \"^\" || charAt(PatientName, 3) == \"&\" || charAt(PatientName, 3) == \"*\" || charAt(PatientName, 3) == \"-\" || charAt(PatientName, 3) == \"_\" || charAt(PatientName, 3) == \"+\" || charAt(PatientName, 3) == \"=\" || charAt(PatientName, 3) == \",\" || charAt(PatientName, 3) == \"(\" || charAt(PatientName, 3) == \")\" || charAt(PatientName, 3) == \".\" || charAt(PatientName, 4) == \"0\" || charAt(PatientName, 4) == \"1\" || charAt(PatientName, 4) == \"2\" || charAt(PatientName, 4) == \"3\" || charAt(PatientName, 4) == \"4\" || charAt(PatientName, 4) == \"5\" || charAt(PatientName, 4) == \"6\" || charAt(PatientName, 4) == \"7\" || charAt(PatientName, 4) == \"8\" || charAt(PatientName, 4) == \"9\" || charAt(PatientName, 4) == \"!\" || charAt(PatientName, 4) == \"@\" || charAt(PatientName, 4) == \"#\" || charAt(PatientName, 4) == \"$\" || charAt(PatientName, 4) == \"%\" || charAt(PatientName, 4) == \"^\" || charAt(PatientName, 4) == \"&\" || charAt(PatientName, 4) == \"*\" || charAt(PatientName, 4) == \"-\" || charAt(PatientName, 4) == \"_\" || charAt(PatientName, 4) == \"+\" || charAt(PatientName, 4) == \"=\" || charAt(PatientName, 4) == \",\" || charAt(PatientName, 4) == \"(\" || charAt(PatientName, 4) == \")\" || charAt(PatientName, 4) == \".\" || charAt(PatientName, 5) == \"0\" || charAt(PatientName, 5) == \"1\" || charAt(PatientName, 5) == \"2\" || charAt(PatientName, 5) == \"3\" || charAt(PatientName, 5) == \"5\" || charAt(PatientName, 5) == \"6\" || charAt(PatientName, 5) == \"7\" || charAt(PatientName, 5) == \"8\" || charAt(PatientName, 5) == \"9\" || charAt(PatientName, 5) == \"!\" || charAt(PatientName, 5) == \"@\" || charAt(PatientName, 5) == \"#\" || charAt(PatientName, 5) == \"$\" || charAt(PatientName, 5) == \"%\" || charAt(PatientName, 5) == \"^\" || charAt(PatientName, 5) == \"&\" || charAt(PatientName, 5) == \"*\" || charAt(PatientName, 5) == \"-\" || charAt(PatientName, 5) == \"_\" || charAt(PatientName, 5) == \"+\" || charAt(PatientName, 5) == \"=\" || charAt(PatientName, 5) == \",\" || charAt(PatientName, 5) == \"(\" || charAt(PatientName, 5) == \")\" || charAt(PatientName, 5) == \".\" || charAt(PatientName, 6) == \"0\" || charAt(PatientName, 6) == \"1\" || charAt(PatientName, 6) == \"2\" || charAt(PatientName, 6) == \"3\" || charAt(PatientName, 6) == \"4\" || charAt(PatientName, 6) == \"5\" || charAt(PatientName, 6) == \"6\" || charAt(PatientName, 6) == \"7\" || charAt(PatientName, 6) == \"8\" || charAt(PatientName, 6) == \"9\" || charAt(PatientName, 6) == \"!\" || charAt(PatientName, 6) == \"@\" || charAt(PatientName, 6) == \"#\" || charAt(PatientName, 6) == \"$\" || charAt(PatientName, 6) == \"%\" || charAt(PatientName, 6) == \"^\" || charAt(PatientName, 6) == \"&\" || charAt(PatientName, 6) == \"*\" || charAt(PatientName, 6) == \"-\" || charAt(PatientName, 6) == \"_\" || charAt(PatientName, 6) == \"+\" || charAt(PatientName, 6) == \"=\" || charAt(PatientName, 6) == \",\" || charAt(PatientName, 6) == \"(\" || charAt(PatientName, 6) == \")\" || charAt(PatientName, 6) == \".\" || charAt(PatientName, 7) == \"0\" || charAt(PatientName, 7) == \"1\" || charAt(PatientName, 7) == \"2\" || charAt(PatientName, 7) == \"3\" || charAt(PatientName, 7) == \"4\" || charAt(PatientName, 7) == \"5\" || charAt(PatientName, 7) == \"6\" || charAt(PatientName, 7) == \"7\" || charAt(PatientName, 7) == \"8\" || charAt(PatientName, 7) == \"9\" || charAt(PatientName, 7) == \"!\" || charAt(PatientName, 7) == \"@\" || charAt(PatientName, 7) == \"#\" || charAt(PatientName, 7) == \"$\" || charAt(PatientName, 7) == \"%\" || charAt(PatientName, 7) == \"^\" || charAt(PatientName, 7) == \"&\" || charAt(PatientName, 7) == \"*\" || charAt(PatientName, 7) == \"-\" || charAt(PatientName, 7) == \"_\" || charAt(PatientName, 7) == \"+\" || charAt(PatientName, 7) == \"=\" || charAt(PatientName, 7) == \",\" || charAt(PatientName, 7) == \"(\" || charAt(PatientName, 7) == \")\" || charAt(PatientName, 7) == \".\" || charAt(PatientName, 8) == \"0\" || charAt(PatientName, 8) == \"1\" || charAt(PatientName, 8) == \"2\" || charAt(PatientName, 8) == \"3\" || charAt(PatientName, 8) == \"4\" || charAt(PatientName, 8) == \"5\" || charAt(PatientName, 8) == \"6\" || charAt(PatientName, 8) == \"7\" || charAt(PatientName, 8) == \"8\" || charAt(PatientName, 8) == \"9\" || charAt(PatientName, 8) == \"!\" || charAt(PatientName, 8) == \"@\" || charAt(PatientName, 8) == \"#\" || charAt(PatientName, 8) == \"$\" || charAt(PatientName, 8) == \"%\" || charAt(PatientName, 8) == \"^\" || charAt(PatientName, 8) == \"&\" || charAt(PatientName, 8) == \"*\" || charAt(PatientName, 8) == \"-\" || charAt(PatientName, 8) == \"_\" || charAt(PatientName, 8) == \"+\" || charAt(PatientName, 8) == \"=\" || charAt(PatientName, 8) == \",\" || charAt(PatientName, 8) == \"(\" || charAt(PatientName, 8) == \")\" || charAt(PatientName, 8) == \".\" || charAt(PatientName, 9) == \"0\" || charAt(PatientName, 9) == \"1\" || charAt(PatientName, 9) == \"2\" || charAt(PatientName, 9) == \"3\" || charAt(PatientName, 9) == \"4\" || charAt(PatientName, 9) == \"5\" || charAt(PatientName, 9) == \"6\" || charAt(PatientName, 9) == \"7\" || charAt(PatientName, 9) == \"8\" || charAt(PatientName, 9) == \"9\" || charAt(PatientName, 9) == \"!\" || charAt(PatientName, 9) == \"@\" || charAt(PatientName, 9) == \"#\" || charAt(PatientName, 9) == \"$\" || charAt(PatientName, 9) == \"%\" || charAt(PatientName, 9) == \"^\" || charAt(PatientName, 9) == \"&\" || charAt(PatientName, 9) == \"*\" || charAt(PatientName, 9) == \"-\" || charAt(PatientName, 9) == \"_\" || charAt(PatientName, 9) == \"+\" || charAt(PatientName, 9) == \"=\" || charAt(PatientName, 9) == \",\" || charAt(PatientName, 9) == \"(\" || charAt(PatientName, 9) == \")\" || charAt(PatientName, 9) == \".\" || charAt(PatientName, 10) == \"0\" || charAt(PatientName, 10) == \"1\" || charAt(PatientName, 10) == \"2\" || charAt(PatientName, 10) == \"3\" || charAt(PatientName, 10) == \"4\" || charAt(PatientName, 10) == \"5\" || charAt(PatientName, 10) == \"6\" || charAt(PatientName, 10) == \"7\" || charAt(PatientName, 10) == \"8\" || charAt(PatientName, 10) == \"9\" || charAt(PatientName, 10) == \"!\" || charAt(PatientName, 10) == \"@\" || charAt(PatientName, 10) == \"#\" || charAt(PatientName, 10) == \"$\" || charAt(PatientName, 10) == \"%\" || charAt(PatientName, 10) == \"^\" || charAt(PatientName, 10) == \"&\" || charAt(PatientName, 10) == \"*\" || charAt(PatientName, 10) == \"-\" || charAt(PatientName, 10) == \"_\" || charAt(PatientName, 10) == \"+\" || charAt(PatientName, 10) == \"=\" || charAt(PatientName, 10) == \",\" || charAt(PatientName, 10) == \"(\" || charAt(PatientName, 10) == \")\" || charAt(PatientName, 10) == \".\"","@type":"DoWhile","id":"id_8fe06803_80f0_43d7_adaf_046bfde8534a","body":{"statements":[{"@type":"Input","name":"PatientName","id":"id_335a2853_125e_41de_a7af_33a291bac24c","prompt":"Please enter the patient's full name:"},{"falseBlock":{"statements":[],"id":"id_d5a61b08_9828_443e_adf5_c3f14b99ebcc"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c801418a_3bb2_4dec_acb7_fc85aea4e166","value":"\"● ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════ ●\""},{"newline":true,"@type":"Output","id":"id_375b7ed9_b38a_4200_bc5c_a9b8ad4357b0","value":"\"║⛔ Invalid Name: Please ensure the name is at least 3 characters long and contains no numbers or special symbols.║\""},{"newline":true,"@type":"Output","id":"id_07cee9e4_63cd_4eee_92fc_57035d14993a","value":"\"● ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════ ●\""}],"id":"id_d1c2bbf3_ac92_4ddc_80f7_331a1b57382d"},"condition":"length(PatientName) < 3 || charAt(PatientName, 0) == \"0\" || charAt(PatientName, 0) == \"1\" || charAt(PatientName, 0) == \"2\" || charAt(PatientName, 0) == \"3\" || charAt(PatientName, 0) == \"4\" || charAt(PatientName, 0) == \"5\" || charAt(PatientName, 0) == \"6\" || charAt(PatientName, 0) == \"7\" || charAt(PatientName, 0) == \"8\" || charAt(PatientName, 0) == \"9\" || charAt(PatientName, 0) == \"!\" || charAt(PatientName, 0) == \"@\" || charAt(PatientName, 0) == \"#\" || charAt(PatientName, 0) == \"$\" || charAt(PatientName, 0) == \"%\" || charAt(PatientName, 0) == \"^\" || charAt(PatientName, 0) == \"&\" || charAt(PatientName, 0) == \"*\" || charAt(PatientName, 0) == \"-\" || charAt(PatientName, 0) == \"_\" || charAt(PatientName, 0) == \"+\" || charAt(PatientName, 0) == \"=\" || charAt(PatientName, 0) == \",\" || charAt(PatientName, 0) == \"(\" || charAt(PatientName, 0) == \")\" || charAt(PatientName, 0) == \".\" || charAt(PatientName, 1) == \"0\" || charAt(PatientName, 1) == \"1\" || charAt(PatientName, 1) == \"2\" || charAt(PatientName, 1) == \"3\" || charAt(PatientName, 1) == \"4\" || charAt(PatientName, 1) == \"5\" || charAt(PatientName, 1) == \"6\" || charAt(PatientName, 1) == \"7\" || charAt(PatientName, 1) == \"8\" || charAt(PatientName, 1) == \"9\" || charAt(PatientName, 1) == \"!\" || charAt(PatientName, 1) == \"@\" || charAt(PatientName, 1) == \"#\" || charAt(PatientName, 1) == \"$\" || charAt(PatientName, 1) == \"%\" || charAt(PatientName, 1) == \"^\" || charAt(PatientName, 1) == \"&\" || charAt(PatientName, 1) == \"*\" || charAt(PatientName, 1) == \"-\" || charAt(PatientName, 1) == \"_\" || charAt(PatientName, 1) == \"+\" || charAt(PatientName, 1) == \"=\" || charAt(PatientName, 1) == \",\" || charAt(PatientName, 1) == \"(\" || charAt(PatientName, 1) == \")\" || charAt(PatientName, 1) == \".\" || charAt(PatientName, 2) == \"0\" || charAt(PatientName, 2) == \"1\" || charAt(PatientName, 2) == \"2\" || charAt(PatientName, 2) == \"3\" || charAt(PatientName, 2) == \"4\" || charAt(PatientName, 2) == \"5\" || charAt(PatientName, 2) == \"6\" || charAt(PatientName, 2) == \"7\" || charAt(PatientName, 2) == \"8\" || charAt(PatientName, 2) == \"9\" || charAt(PatientName, 2) == \"!\" || charAt(PatientName, 2) == \"@\" || charAt(PatientName, 2) == \"#\" || charAt(PatientName, 2) == \"$\" || charAt(PatientName, 2) == \"%\" || charAt(PatientName, 2) == \"^\" || charAt(PatientName, 2) == \"&\" || charAt(PatientName, 2) == \"*\" || charAt(PatientName, 2) == \"-\" || charAt(PatientName, 2) == \"_\" || charAt(PatientName, 2) == \"+\" || charAt(PatientName, 2) == \"=\" || charAt(PatientName, 2) == \",\" || charAt(PatientName, 2) == \"(\" || charAt(PatientName, 2) == \")\" || charAt(PatientName, 2) == \".\" || charAt(PatientName, 3) == \"0\" || charAt(PatientName, 3) == \"1\" || charAt(PatientName, 3) == \"2\" || charAt(PatientName, 3) == \"3\" || charAt(PatientName, 3) == \"4\" || charAt(PatientName, 3) == \"5\" || charAt(PatientName, 3) == \"6\" || charAt(PatientName, 3) == \"7\" || charAt(PatientName, 3) == \"8\" || charAt(PatientName, 3) == \"9\" || charAt(PatientName, 3) == \"!\" || charAt(PatientName, 3) == \"@\" || charAt(PatientName, 3) == \"#\" || charAt(PatientName, 3) == \"$\" || charAt(PatientName, 3) == \"%\" || charAt(PatientName, 3) == \"^\" || charAt(PatientName, 3) == \"&\" || charAt(PatientName, 3) == \"*\" || charAt(PatientName, 3) == \"-\" || charAt(PatientName, 3) == \"_\" || charAt(PatientName, 3) == \"+\" || charAt(PatientName, 3) == \"=\" || charAt(PatientName, 3) == \",\" || charAt(PatientName, 3) == \"(\" || charAt(PatientName, 3) == \")\" || charAt(PatientName, 3) == \".\" || charAt(PatientName, 4) == \"0\" || charAt(PatientName, 4) == \"1\" || charAt(PatientName, 4) == \"2\" || charAt(PatientName, 4) == \"3\" || charAt(PatientName, 4) == \"4\" || charAt(PatientName, 4) == \"5\" || charAt(PatientName, 4) == \"6\" || charAt(PatientName, 4) == \"7\" || charAt(PatientName, 4) == \"8\" || charAt(PatientName, 4) == \"9\" || charAt(PatientName, 4) == \"!\" || charAt(PatientName, 4) == \"@\" || charAt(PatientName, 4) == \"#\" || charAt(PatientName, 4) == \"$\" || charAt(PatientName, 4) == \"%\" || charAt(PatientName, 4) == \"^\" || charAt(PatientName, 4) == \"&\" || charAt(PatientName, 4) == \"*\" || charAt(PatientName, 4) == \"-\" || charAt(PatientName, 4) == \"_\" || charAt(PatientName, 4) == \"+\" || charAt(PatientName, 4) == \"=\" || charAt(PatientName, 4) == \",\" || charAt(PatientName, 4) == \"(\" || charAt(PatientName, 4) == \")\" || charAt(PatientName, 4) == \".\" || charAt(PatientName, 5) == \"0\" || charAt(PatientName, 5) == \"1\" || charAt(PatientName, 5) == \"2\" || charAt(PatientName, 5) == \"3\" || charAt(PatientName, 5) == \"5\" || charAt(PatientName, 5) == \"6\" || charAt(PatientName, 5) == \"7\" || charAt(PatientName, 5) == \"8\" || charAt(PatientName, 5) == \"9\" || charAt(PatientName, 5) == \"!\" || charAt(PatientName, 5) == \"@\" || charAt(PatientName, 5) == \"#\" || charAt(PatientName, 5) == \"$\" || charAt(PatientName, 5) == \"%\" || charAt(PatientName, 5) == \"^\" || charAt(PatientName, 5) == \"&\" || charAt(PatientName, 5) == \"*\" || charAt(PatientName, 5) == \"-\" || charAt(PatientName, 5) == \"_\" || charAt(PatientName, 5) == \"+\" || charAt(PatientName, 5) == \"=\" || charAt(PatientName, 5) == \",\" || charAt(PatientName, 5) == \"(\" || charAt(PatientName, 5) == \")\" || charAt(PatientName, 5) == \".\" || charAt(PatientName, 6) == \"0\" || charAt(PatientName, 6) == \"1\" || charAt(PatientName, 6) == \"2\" || charAt(PatientName, 6) == \"3\" || charAt(PatientName, 6) == \"4\" || charAt(PatientName, 6) == \"5\" || charAt(PatientName, 6) == \"6\" || charAt(PatientName, 6) == \"7\" || charAt(PatientName, 6) == \"8\" || charAt(PatientName, 6) == \"9\" || charAt(PatientName, 6) == \"!\" || charAt(PatientName, 6) == \"@\" || charAt(PatientName, 6) == \"#\" || charAt(PatientName, 6) == \"$\" || charAt(PatientName, 6) == \"%\" || charAt(PatientName, 6) == \"^\" || charAt(PatientName, 6) == \"&\" || charAt(PatientName, 6) == \"*\" || charAt(PatientName, 6) == \"-\" || charAt(PatientName, 6) == \"_\" || charAt(PatientName, 6) == \"+\" || charAt(PatientName, 6) == \"=\" || charAt(PatientName, 6) == \",\" || charAt(PatientName, 6) == \"(\" || charAt(PatientName, 6) == \")\" || charAt(PatientName, 6) == \".\" || charAt(PatientName, 7) == \"0\" || charAt(PatientName, 7) == \"1\" || charAt(PatientName, 7) == \"2\" || charAt(PatientName, 7) == \"3\" || charAt(PatientName, 7) == \"4\" || charAt(PatientName, 7) == \"5\" || charAt(PatientName, 7) == \"6\" || charAt(PatientName, 7) == \"7\" || charAt(PatientName, 7) == \"8\" || charAt(PatientName, 7) == \"9\" || charAt(PatientName, 7) == \"!\" || charAt(PatientName, 7) == \"@\" || charAt(PatientName, 7) == \"#\" || charAt(PatientName, 7) == \"$\" || charAt(PatientName, 7) == \"%\" || charAt(PatientName, 7) == \"^\" || charAt(PatientName, 7) == \"&\" || charAt(PatientName, 7) == \"*\" || charAt(PatientName, 7) == \"-\" || charAt(PatientName, 7) == \"_\" || charAt(PatientName, 7) == \"+\" || charAt(PatientName, 7) == \"=\" || charAt(PatientName, 7) == \",\" || charAt(PatientName, 7) == \"(\" || charAt(PatientName, 7) == \")\" || charAt(PatientName, 7) == \".\" || charAt(PatientName, 8) == \"0\" || charAt(PatientName, 8) == \"1\" || charAt(PatientName, 8) == \"2\" || charAt(PatientName, 8) == \"3\" || charAt(PatientName, 8) == \"4\" || charAt(PatientName, 8) == \"5\" || charAt(PatientName, 8) == \"6\" || charAt(PatientName, 8) == \"7\" || charAt(PatientName, 8) == \"8\" || charAt(PatientName, 8) == \"9\" || charAt(PatientName, 8) == \"!\" || charAt(PatientName, 8) == \"@\" || charAt(PatientName, 8) == \"#\" || charAt(PatientName, 8) == \"$\" || charAt(PatientName, 8) == \"%\" || charAt(PatientName, 8) == \"^\" || charAt(PatientName, 8) == \"&\" || charAt(PatientName, 8) == \"*\" || charAt(PatientName, 8) == \"-\" || charAt(PatientName, 8) == \"_\" || charAt(PatientName, 8) == \"+\" || charAt(PatientName, 8) == \"=\" || charAt(PatientName, 8) == \",\" || charAt(PatientName, 8) == \"(\" || charAt(PatientName, 8) == \")\" || charAt(PatientName, 8) == \".\" || charAt(PatientName, 9) == \"0\" || charAt(PatientName, 9) == \"1\" || charAt(PatientName, 9) == \"2\" || charAt(PatientName, 9) == \"3\" || charAt(PatientName, 9) == \"4\" || charAt(PatientName, 9) == \"5\" || charAt(PatientName, 9) == \"6\" || charAt(PatientName, 9) == \"7\" || charAt(PatientName, 9) == \"8\" || charAt(PatientName, 9) == \"9\" || charAt(PatientName, 9) == \"!\" || charAt(PatientName, 9) == \"@\" || charAt(PatientName, 9) == \"#\" || charAt(PatientName, 9) == \"$\" || charAt(PatientName, 9) == \"%\" || charAt(PatientName, 9) == \"^\" || charAt(PatientName, 9) == \"&\" || charAt(PatientName, 9) == \"*\" || charAt(PatientName, 9) == \"-\" || charAt(PatientName, 9) == \"_\" || charAt(PatientName, 9) == \"+\" || charAt(PatientName, 9) == \"=\" || charAt(PatientName, 9) == \",\" || charAt(PatientName, 9) == \"(\" || charAt(PatientName, 9) == \")\" || charAt(PatientName, 9) == \".\" || charAt(PatientName, 10) == \"0\" || charAt(PatientName, 10) == \"1\" || charAt(PatientName, 10) == \"2\" || charAt(PatientName, 10) == \"3\" || charAt(PatientName, 10) == \"4\" || charAt(PatientName, 10) == \"5\" || charAt(PatientName, 10) == \"6\" || charAt(PatientName, 10) == \"7\" || charAt(PatientName, 10) == \"8\" || charAt(PatientName, 10) == \"9\" || charAt(PatientName, 10) == \"!\" || charAt(PatientName, 10) == \"@\" || charAt(PatientName, 10) == \"#\" || charAt(PatientName, 10) == \"$\" || charAt(PatientName, 10) == \"%\" || charAt(PatientName, 10) == \"^\" || charAt(PatientName, 10) == \"&\" || charAt(PatientName, 10) == \"*\" || charAt(PatientName, 10) == \"-\" || charAt(PatientName, 10) == \"_\" || charAt(PatientName, 10) == \"+\" || charAt(PatientName, 10) == \"=\" || charAt(PatientName, 10) == \",\" || charAt(PatientName, 10) == \"(\" || charAt(PatientName, 10) == \")\" || charAt(PatientName, 10) == \".\"","@type":"If","id":"id_adc0e22d_5850_46af_8780_215722aa828c"}],"id":"id_cb0a33b9_b171_4255_9f45_293bf3e9eaba"}},{"@type":"Input","name":"PatientID","id":"id_5bd9e224_71d6_41db_835d_a0b6a763c225","prompt":"Please enter your patient ID:"},{"newline":true,"@type":"Output","id":"id_74608f0f_4180_42bd_b309_4cf68229d048","value":"\"Welcome, \" + PatientName + \"! Your patient ID has been accepted. You may proceed to book your appointment.\""},{"newline":true,"@type":"Output","id":"id_1adb9029_dcdf_47ff_9245_a98e454afb54","value":"\"┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈\""}],"id":"id_468e21cc_b19b_400b_ad3a_cbdeeaae4bbd"},"trueBlock":{"statements":[{"condition":"length(PatientName) < 3 || charAt(PatientName, 0) == \"0\" || charAt(PatientName, 0) == \"1\" || charAt(PatientName, 0) == \"2\" || charAt(PatientName, 0) == \"3\" || charAt(PatientName, 0) == \"4\" || charAt(PatientName, 0) == \"5\" || charAt(PatientName, 0) == \"6\" || charAt(PatientName, 0) == \"7\" || charAt(PatientName, 0) == \"8\" || charAt(PatientName, 0) == \"9\" || charAt(PatientName, 0) == \"!\" || charAt(PatientName, 0) == \"@\" || charAt(PatientName, 0) == \"#\" || charAt(PatientName, 0) == \"$\" || charAt(PatientName, 0) == \"%\" || charAt(PatientName, 0) == \"^\" || charAt(PatientName, 0) == \"&\" || charAt(PatientName, 0) == \"*\" || charAt(PatientName, 0) == \"-\" || charAt(PatientName, 0) == \"_\" || charAt(PatientName, 0) == \"+\" || charAt(PatientName, 0) == \"=\" || charAt(PatientName, 0) == \",\" || charAt(PatientName, 0) == \"(\" || charAt(PatientName, 0) == \")\" || charAt(PatientName, 0) == \".\" || charAt(PatientName, 1) == \"0\" || charAt(PatientName, 1) == \"1\" || charAt(PatientName, 1) == \"2\" || charAt(PatientName, 1) == \"3\" || charAt(PatientName, 1) == \"4\" || charAt(PatientName, 1) == \"5\" || charAt(PatientName, 1) == \"6\" || charAt(PatientName, 1) == \"7\" || charAt(PatientName, 1) == \"8\" || charAt(PatientName, 1) == \"9\" || charAt(PatientName, 1) == \"!\" || charAt(PatientName, 1) == \"@\" || charAt(PatientName, 1) == \"#\" || charAt(PatientName, 1) == \"$\" || charAt(PatientName, 1) == \"%\" || charAt(PatientName, 1) == \"^\" || charAt(PatientName, 1) == \"&\" || charAt(PatientName, 1) == \"*\" || charAt(PatientName, 1) == \"-\" || charAt(PatientName, 1) == \"_\" || charAt(PatientName, 1) == \"+\" || charAt(PatientName, 1) == \"=\" || charAt(PatientName, 1) == \",\" || charAt(PatientName, 1) == \"(\" || charAt(PatientName, 1) == \")\" || charAt(PatientName, 1) == \".\" || charAt(PatientName, 2) == \"0\" || charAt(PatientName, 2) == \"1\" || charAt(PatientName, 2) == \"2\" || charAt(PatientName, 2) == \"3\" || charAt(PatientName, 2) == \"4\" || charAt(PatientName, 2) == \"5\" || charAt(PatientName, 2) == \"6\" || charAt(PatientName, 2) == \"7\" || charAt(PatientName, 2) == \"8\" || charAt(PatientName, 2) == \"9\" || charAt(PatientName, 2) == \"!\" || charAt(PatientName, 2) == \"@\" || charAt(PatientName, 2) == \"#\" || charAt(PatientName, 2) == \"$\" || charAt(PatientName, 2) == \"%\" || charAt(PatientName, 2) == \"^\" || charAt(PatientName, 2) == \"&\" || charAt(PatientName, 2) == \"*\" || charAt(PatientName, 2) == \"-\" || charAt(PatientName, 2) == \"_\" || charAt(PatientName, 2) == \"+\" || charAt(PatientName, 2) == \"=\" || charAt(PatientName, 2) == \",\" || charAt(PatientName, 2) == \"(\" || charAt(PatientName, 2) == \")\" || charAt(PatientName, 2) == \".\" || charAt(PatientName, 3) == \"0\" || charAt(PatientName, 3) == \"1\" || charAt(PatientName, 3) == \"2\" || charAt(PatientName, 3) == \"3\" || charAt(PatientName, 3) == \"4\" || charAt(PatientName, 3) == \"5\" || charAt(PatientName, 3) == \"6\" || charAt(PatientName, 3) == \"7\" || charAt(PatientName, 3) == \"8\" || charAt(PatientName, 3) == \"9\" || charAt(PatientName, 3) == \"!\" || charAt(PatientName, 3) == \"@\" || charAt(PatientName, 3) == \"#\" || charAt(PatientName, 3) == \"$\" || charAt(PatientName, 3) == \"%\" || charAt(PatientName, 3) == \"^\" || charAt(PatientName, 3) == \"&\" || charAt(PatientName, 3) == \"*\" || charAt(PatientName, 3) == \"-\" || charAt(PatientName, 3) == \"_\" || charAt(PatientName, 3) == \"+\" || charAt(PatientName, 3) == \"=\" || charAt(PatientName, 3) == \",\" || charAt(PatientName, 3) == \"(\" || charAt(PatientName, 3) == \")\" || charAt(PatientName, 3) == \".\" || charAt(PatientName, 4) == \"0\" || charAt(PatientName, 4) == \"1\" || charAt(PatientName, 4) == \"2\" || charAt(PatientName, 4) == \"3\" || charAt(PatientName, 4) == \"4\" || charAt(PatientName, 4) == \"5\" || charAt(PatientName, 4) == \"6\" || charAt(PatientName, 4) == \"7\" || charAt(PatientName, 4) == \"8\" || charAt(PatientName, 4) == \"9\" || charAt(PatientName, 4) == \"!\" || charAt(PatientName, 4) == \"@\" || charAt(PatientName, 4) == \"#\" || charAt(PatientName, 4) == \"$\" || charAt(PatientName, 4) == \"%\" || charAt(PatientName, 4) == \"^\" || charAt(PatientName, 4) == \"&\" || charAt(PatientName, 4) == \"*\" || charAt(PatientName, 4) == \"-\" || charAt(PatientName, 4) == \"_\" || charAt(PatientName, 4) == \"+\" || charAt(PatientName, 4) == \"=\" || charAt(PatientName, 4) == \",\" || charAt(PatientName, 4) == \"(\" || charAt(PatientName, 4) == \")\" || charAt(PatientName, 4) == \".\" || charAt(PatientName, 5) == \"0\" || charAt(PatientName, 5) == \"1\" || charAt(PatientName, 5) == \"2\" || charAt(PatientName, 5) == \"3\" || charAt(PatientName, 5) == \"5\" || charAt(PatientName, 5) == \"6\" || charAt(PatientName, 5) == \"7\" || charAt(PatientName, 5) == \"8\" || charAt(PatientName, 5) == \"9\" || charAt(PatientName, 5) == \"!\" || charAt(PatientName, 5) == \"@\" || charAt(PatientName, 5) == \"#\" || charAt(PatientName, 5) == \"$\" || charAt(PatientName, 5) == \"%\" || charAt(PatientName, 5) == \"^\" || charAt(PatientName, 5) == \"&\" || charAt(PatientName, 5) == \"*\" || charAt(PatientName, 5) == \"-\" || charAt(PatientName, 5) == \"_\" || charAt(PatientName, 5) == \"+\" || charAt(PatientName, 5) == \"=\" || charAt(PatientName, 5) == \",\" || charAt(PatientName, 5) == \"(\" || charAt(PatientName, 5) == \")\" || charAt(PatientName, 5) == \".\" || charAt(PatientName, 6) == \"0\" || charAt(PatientName, 6) == \"1\" || charAt(PatientName, 6) == \"2\" || charAt(PatientName, 6) == \"3\" || charAt(PatientName, 6) == \"4\" || charAt(PatientName, 6) == \"5\" || charAt(PatientName, 6) == \"6\" || charAt(PatientName, 6) == \"7\" || charAt(PatientName, 6) == \"8\" || charAt(PatientName, 6) == \"9\" || charAt(PatientName, 6) == \"!\" || charAt(PatientName, 6) == \"@\" || charAt(PatientName, 6) == \"#\" || charAt(PatientName, 6) == \"$\" || charAt(PatientName, 6) == \"%\" || charAt(PatientName, 6) == \"^\" || charAt(PatientName, 6) == \"&\" || charAt(PatientName, 6) == \"*\" || charAt(PatientName, 6) == \"-\" || charAt(PatientName, 6) == \"_\" || charAt(PatientName, 6) == \"+\" || charAt(PatientName, 6) == \"=\" || charAt(PatientName, 6) == \",\" || charAt(PatientName, 6) == \"(\" || charAt(PatientName, 6) == \")\" || charAt(PatientName, 6) == \".\" || charAt(PatientName, 7) == \"0\" || charAt(PatientName, 7) == \"1\" || charAt(PatientName, 7) == \"2\" || charAt(PatientName, 7) == \"3\" || charAt(PatientName, 7) == \"4\" || charAt(PatientName, 7) == \"5\" || charAt(PatientName, 7) == \"6\" || charAt(PatientName, 7) == \"7\" || charAt(PatientName, 7) == \"8\" || charAt(PatientName, 7) == \"9\" || charAt(PatientName, 7) == \"!\" || charAt(PatientName, 7) == \"@\" || charAt(PatientName, 7) == \"#\" || charAt(PatientName, 7) == \"$\" || charAt(PatientName, 7) == \"%\" || charAt(PatientName, 7) == \"^\" || charAt(PatientName, 7) == \"&\" || charAt(PatientName, 7) == \"*\" || charAt(PatientName, 7) == \"-\" || charAt(PatientName, 7) == \"_\" || charAt(PatientName, 7) == \"+\" || charAt(PatientName, 7) == \"=\" || charAt(PatientName, 7) == \",\" || charAt(PatientName, 7) == \"(\" || charAt(PatientName, 7) == \")\" || charAt(PatientName, 7) == \".\" || charAt(PatientName, 8) == \"0\" || charAt(PatientName, 8) == \"1\" || charAt(PatientName, 8) == \"2\" || charAt(PatientName, 8) == \"3\" || charAt(PatientName, 8) == \"4\" || charAt(PatientName, 8) == \"5\" || charAt(PatientName, 8) == \"6\" || charAt(PatientName, 8) == \"7\" || charAt(PatientName, 8) == \"8\" || charAt(PatientName, 8) == \"9\" || charAt(PatientName, 8) == \"!\" || charAt(PatientName, 8) == \"@\" || charAt(PatientName, 8) == \"#\" || charAt(PatientName, 8) == \"$\" || charAt(PatientName, 8) == \"%\" || charAt(PatientName, 8) == \"^\" || charAt(PatientName, 8) == \"&\" || charAt(PatientName, 8) == \"*\" || charAt(PatientName, 8) == \"-\" || charAt(PatientName, 8) == \"_\" || charAt(PatientName, 8) == \"+\" || charAt(PatientName, 8) == \"=\" || charAt(PatientName, 8) == \",\" || charAt(PatientName, 8) == \"(\" || charAt(PatientName, 8) == \")\" || charAt(PatientName, 8) == \".\" || charAt(PatientName, 9) == \"0\" || charAt(PatientName, 9) == \"1\" || charAt(PatientName, 9) == \"2\" || charAt(PatientName, 9) == \"3\" || charAt(PatientName, 9) == \"4\" || charAt(PatientName, 9) == \"5\" || charAt(PatientName, 9) == \"6\" || charAt(PatientName, 9) == \"7\" || charAt(PatientName, 9) == \"8\" || charAt(PatientName, 9) == \"9\" || charAt(PatientName, 9) == \"!\" || charAt(PatientName, 9) == \"@\" || charAt(PatientName, 9) == \"#\" || charAt(PatientName, 9) == \"$\" || charAt(PatientName, 9) == \"%\" || charAt(PatientName, 9) == \"^\" || charAt(PatientName, 9) == \"&\" || charAt(PatientName, 9) == \"*\" || charAt(PatientName, 9) == \"-\" || charAt(PatientName, 9) == \"_\" || charAt(PatientName, 9) == \"+\" || charAt(PatientName, 9) == \"=\" || charAt(PatientName, 9) == \",\" || charAt(PatientName, 9) == \"(\" || charAt(PatientName, 9) == \")\" || charAt(PatientName, 9) == \".\" || charAt(PatientName, 10) == \"0\" || charAt(PatientName, 10) == \"1\" || charAt(PatientName, 10) == \"2\" || charAt(PatientName, 10) == \"3\" || charAt(PatientName, 10) == \"4\" || charAt(PatientName, 10) == \"5\" || charAt(PatientName, 10) == \"6\" || charAt(PatientName, 10) == \"7\" || charAt(PatientName, 10) == \"8\" || charAt(PatientName, 10) == \"9\" || charAt(PatientName, 10) == \"!\" || charAt(PatientName, 10) == \"@\" || charAt(PatientName, 10) == \"#\" || charAt(PatientName, 10) == \"$\" || charAt(PatientName, 10) == \"%\" || charAt(PatientName, 10) == \"^\" || charAt(PatientName, 10) == \"&\" || charAt(PatientName, 10) == \"*\" || charAt(PatientName, 10) == \"-\" || charAt(PatientName, 10) == \"_\" || charAt(PatientName, 10) == \"+\" || charAt(PatientName, 10) == \"=\" || charAt(PatientName, 10) == \",\" || charAt(PatientName, 10) == \"(\" || charAt(PatientName, 10) == \")\" || charAt(PatientName, 10) == \".\"","@type":"DoWhile","id":"id_82700a78_e191_4202_b310_fb14aca199c6","body":{"statements":[{"@type":"Input","name":"PatientName","id":"id_5f34b57d_351c_4130_bfd0_64050af16cb6","prompt":"Please enter the patient's full name:"},{"falseBlock":{"statements":[],"id":"id_902784da_5352_4d3d_8b26_c976979932fc"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_35feaabf_c6d2_4c61_9152_499bd3d4598c","value":"\"● ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════ ●\""},{"newline":true,"@type":"Output","id":"id_862e1a43_e9c2_488a_9974_bb708d3ab6fc","value":"\"║⛔ Invalid Name: Please ensure the name is at least 3 characters long and contains no numbers or special symbols.║\""},{"newline":true,"@type":"Output","id":"id_186ede3d_93e9_4803_825c_caf24a601259","value":"\"● ═══════════════════════════════════════════════════════════════════════════════════════════════════════════════ ●\""}],"id":"id_06d0dc08_8721_43ec_a996_05a96fc795cc"},"condition":"length(PatientName) < 3 || charAt(PatientName, 0) == \"0\" || charAt(PatientName, 0) == \"1\" || charAt(PatientName, 0) == \"2\" || charAt(PatientName, 0) == \"3\" || charAt(PatientName, 0) == \"4\" || charAt(PatientName, 0) == \"5\" || charAt(PatientName, 0) == \"6\" || charAt(PatientName, 0) == \"7\" || charAt(PatientName, 0) == \"8\" || charAt(PatientName, 0) == \"9\" || charAt(PatientName, 0) == \"!\" || charAt(PatientName, 0) == \"@\" || charAt(PatientName, 0) == \"#\" || charAt(PatientName, 0) == \"$\" || charAt(PatientName, 0) == \"%\" || charAt(PatientName, 0) == \"^\" || charAt(PatientName, 0) == \"&\" || charAt(PatientName, 0) == \"*\" || charAt(PatientName, 0) == \"-\" || charAt(PatientName, 0) == \"_\" || charAt(PatientName, 0) == \"+\" || charAt(PatientName, 0) == \"=\" || charAt(PatientName, 0) == \",\" || charAt(PatientName, 0) == \"(\" || charAt(PatientName, 0) == \")\" || charAt(PatientName, 0) == \".\" || charAt(PatientName, 1) == \"0\" || charAt(PatientName, 1) == \"1\" || charAt(PatientName, 1) == \"2\" || charAt(PatientName, 1) == \"3\" || charAt(PatientName, 1) == \"4\" || charAt(PatientName, 1) == \"5\" || charAt(PatientName, 1) == \"6\" || charAt(PatientName, 1) == \"7\" || charAt(PatientName, 1) == \"8\" || charAt(PatientName, 1) == \"9\" || charAt(PatientName, 1) == \"!\" || charAt(PatientName, 1) == \"@\" || charAt(PatientName, 1) == \"#\" || charAt(PatientName, 1) == \"$\" || charAt(PatientName, 1) == \"%\" || charAt(PatientName, 1) == \"^\" || charAt(PatientName, 1) == \"&\" || charAt(PatientName, 1) == \"*\" || charAt(PatientName, 1) == \"-\" || charAt(PatientName, 1) == \"_\" || charAt(PatientName, 1) == \"+\" || charAt(PatientName, 1) == \"=\" || charAt(PatientName, 1) == \",\" || charAt(PatientName, 1) == \"(\" || charAt(PatientName, 1) == \")\" || charAt(PatientName, 1) == \".\" || charAt(PatientName, 2) == \"0\" || charAt(PatientName, 2) == \"1\" || charAt(PatientName, 2) == \"2\" || charAt(PatientName, 2) == \"3\" || charAt(PatientName, 2) == \"4\" || charAt(PatientName, 2) == \"5\" || charAt(PatientName, 2) == \"6\" || charAt(PatientName, 2) == \"7\" || charAt(PatientName, 2) == \"8\" || charAt(PatientName, 2) == \"9\" || charAt(PatientName, 2) == \"!\" || charAt(PatientName, 2) == \"@\" || charAt(PatientName, 2) == \"#\" || charAt(PatientName, 2) == \"$\" || charAt(PatientName, 2) == \"%\" || charAt(PatientName, 2) == \"^\" || charAt(PatientName, 2) == \"&\" || charAt(PatientName, 2) == \"*\" || charAt(PatientName, 2) == \"-\" || charAt(PatientName, 2) == \"_\" || charAt(PatientName, 2) == \"+\" || charAt(PatientName, 2) == \"=\" || charAt(PatientName, 2) == \",\" || charAt(PatientName, 2) == \"(\" || charAt(PatientName, 2) == \")\" || charAt(PatientName, 2) == \".\" || charAt(PatientName, 3) == \"0\" || charAt(PatientName, 3) == \"1\" || charAt(PatientName, 3) == \"2\" || charAt(PatientName, 3) == \"3\" || charAt(PatientName, 3) == \"4\" || charAt(PatientName, 3) == \"5\" || charAt(PatientName, 3) == \"6\" || charAt(PatientName, 3) == \"7\" || charAt(PatientName, 3) == \"8\" || charAt(PatientName, 3) == \"9\" || charAt(PatientName, 3) == \"!\" || charAt(PatientName, 3) == \"@\" || charAt(PatientName, 3) == \"#\" || charAt(PatientName, 3) == \"$\" || charAt(PatientName, 3) == \"%\" || charAt(PatientName, 3) == \"^\" || charAt(PatientName, 3) == \"&\" || charAt(PatientName, 3) == \"*\" || charAt(PatientName, 3) == \"-\" || charAt(PatientName, 3) == \"_\" || charAt(PatientName, 3) == \"+\" || charAt(PatientName, 3) == \"=\" || charAt(PatientName, 3) == \",\" || charAt(PatientName, 3) == \"(\" || charAt(PatientName, 3) == \")\" || charAt(PatientName, 3) == \".\" || charAt(PatientName, 4) == \"0\" || charAt(PatientName, 4) == \"1\" || charAt(PatientName, 4) == \"2\" || charAt(PatientName, 4) == \"3\" || charAt(PatientName, 4) == \"4\" || charAt(PatientName, 4) == \"5\" || charAt(PatientName, 4) == \"6\" || charAt(PatientName, 4) == \"7\" || charAt(PatientName, 4) == \"8\" || charAt(PatientName, 4) == \"9\" || charAt(PatientName, 4) == \"!\" || charAt(PatientName, 4) == \"@\" || charAt(PatientName, 4) == \"#\" || charAt(PatientName, 4) == \"$\" || charAt(PatientName, 4) == \"%\" || charAt(PatientName, 4) == \"^\" || charAt(PatientName, 4) == \"&\" || charAt(PatientName, 4) == \"*\" || charAt(PatientName, 4) == \"-\" || charAt(PatientName, 4) == \"_\" || charAt(PatientName, 4) == \"+\" || charAt(PatientName, 4) == \"=\" || charAt(PatientName, 4) == \",\" || charAt(PatientName, 4) == \"(\" || charAt(PatientName, 4) == \")\" || charAt(PatientName, 4) == \".\" || charAt(PatientName, 5) == \"0\" || charAt(PatientName, 5) == \"1\" || charAt(PatientName, 5) == \"2\" || charAt(PatientName, 5) == \"3\" || charAt(PatientName, 5) == \"5\" || charAt(PatientName, 5) == \"6\" || charAt(PatientName, 5) == \"7\" || charAt(PatientName, 5) == \"8\" || charAt(PatientName, 5) == \"9\" || charAt(PatientName, 5) == \"!\" || charAt(PatientName, 5) == \"@\" || charAt(PatientName, 5) == \"#\" || charAt(PatientName, 5) == \"$\" || charAt(PatientName, 5) == \"%\" || charAt(PatientName, 5) == \"^\" || charAt(PatientName, 5) == \"&\" || charAt(PatientName, 5) == \"*\" || charAt(PatientName, 5) == \"-\" || charAt(PatientName, 5) == \"_\" || charAt(PatientName, 5) == \"+\" || charAt(PatientName, 5) == \"=\" || charAt(PatientName, 5) == \",\" || charAt(PatientName, 5) == \"(\" || charAt(PatientName, 5) == \")\" || charAt(PatientName, 5) == \".\" || charAt(PatientName, 6) == \"0\" || charAt(PatientName, 6) == \"1\" || charAt(PatientName, 6) == \"2\" || charAt(PatientName, 6) == \"3\" || charAt(PatientName, 6) == \"4\" || charAt(PatientName, 6) == \"5\" || charAt(PatientName, 6) == \"6\" || charAt(PatientName, 6) == \"7\" || charAt(PatientName, 6) == \"8\" || charAt(PatientName, 6) == \"9\" || charAt(PatientName, 6) == \"!\" || charAt(PatientName, 6) == \"@\" || charAt(PatientName, 6) == \"#\" || charAt(PatientName, 6) == \"$\" || charAt(PatientName, 6) == \"%\" || charAt(PatientName, 6) == \"^\" || charAt(PatientName, 6) == \"&\" || charAt(PatientName, 6) == \"*\" || charAt(PatientName, 6) == \"-\" || charAt(PatientName, 6) == \"_\" || charAt(PatientName, 6) == \"+\" || charAt(PatientName, 6) == \"=\" || charAt(PatientName, 6) == \",\" || charAt(PatientName, 6) == \"(\" || charAt(PatientName, 6) == \")\" || charAt(PatientName, 6) == \".\" || charAt(PatientName, 7) == \"0\" || charAt(PatientName, 7) == \"1\" || charAt(PatientName, 7) == \"2\" || charAt(PatientName, 7) == \"3\" || charAt(PatientName, 7) == \"4\" || charAt(PatientName, 7) == \"5\" || charAt(PatientName, 7) == \"6\" || charAt(PatientName, 7) == \"7\" || charAt(PatientName, 7) == \"8\" || charAt(PatientName, 7) == \"9\" || charAt(PatientName, 7) == \"!\" || charAt(PatientName, 7) == \"@\" || charAt(PatientName, 7) == \"#\" || charAt(PatientName, 7) == \"$\" || charAt(PatientName, 7) == \"%\" || charAt(PatientName, 7) == \"^\" || charAt(PatientName, 7) == \"&\" || charAt(PatientName, 7) == \"*\" || charAt(PatientName, 7) == \"-\" || charAt(PatientName, 7) == \"_\" || charAt(PatientName, 7) == \"+\" || charAt(PatientName, 7) == \"=\" || charAt(PatientName, 7) == \",\" || charAt(PatientName, 7) == \"(\" || charAt(PatientName, 7) == \")\" || charAt(PatientName, 7) == \".\" || charAt(PatientName, 8) == \"0\" || charAt(PatientName, 8) == \"1\" || charAt(PatientName, 8) == \"2\" || charAt(PatientName, 8) == \"3\" || charAt(PatientName, 8) == \"4\" || charAt(PatientName, 8) == \"5\" || charAt(PatientName, 8) == \"6\" || charAt(PatientName, 8) == \"7\" || charAt(PatientName, 8) == \"8\" || charAt(PatientName, 8) == \"9\" || charAt(PatientName, 8) == \"!\" || charAt(PatientName, 8) == \"@\" || charAt(PatientName, 8) == \"#\" || charAt(PatientName, 8) == \"$\" || charAt(PatientName, 8) == \"%\" || charAt(PatientName, 8) == \"^\" || charAt(PatientName, 8) == \"&\" || charAt(PatientName, 8) == \"*\" || charAt(PatientName, 8) == \"-\" || charAt(PatientName, 8) == \"_\" || charAt(PatientName, 8) == \"+\" || charAt(PatientName, 8) == \"=\" || charAt(PatientName, 8) == \",\" || charAt(PatientName, 8) == \"(\" || charAt(PatientName, 8) == \")\" || charAt(PatientName, 8) == \".\" || charAt(PatientName, 9) == \"0\" || charAt(PatientName, 9) == \"1\" || charAt(PatientName, 9) == \"2\" || charAt(PatientName, 9) == \"3\" || charAt(PatientName, 9) == \"4\" || charAt(PatientName, 9) == \"5\" || charAt(PatientName, 9) == \"6\" || charAt(PatientName, 9) == \"7\" || charAt(PatientName, 9) == \"8\" || charAt(PatientName, 9) == \"9\" || charAt(PatientName, 9) == \"!\" || charAt(PatientName, 9) == \"@\" || charAt(PatientName, 9) == \"#\" || charAt(PatientName, 9) == \"$\" || charAt(PatientName, 9) == \"%\" || charAt(PatientName, 9) == \"^\" || charAt(PatientName, 9) == \"&\" || charAt(PatientName, 9) == \"*\" || charAt(PatientName, 9) == \"-\" || charAt(PatientName, 9) == \"_\" || charAt(PatientName, 9) == \"+\" || charAt(PatientName, 9) == \"=\" || charAt(PatientName, 9) == \",\" || charAt(PatientName, 9) == \"(\" || charAt(PatientName, 9) == \")\" || charAt(PatientName, 9) == \".\" || charAt(PatientName, 10) == \"0\" || charAt(PatientName, 10) == \"1\" || charAt(PatientName, 10) == \"2\" || charAt(PatientName, 10) == \"3\" || charAt(PatientName, 10) == \"4\" || charAt(PatientName, 10) == \"5\" || charAt(PatientName, 10) == \"6\" || charAt(PatientName, 10) == \"7\" || charAt(PatientName, 10) == \"8\" || charAt(PatientName, 10) == \"9\" || charAt(PatientName, 10) == \"!\" || charAt(PatientName, 10) == \"@\" || charAt(PatientName, 10) == \"#\" || charAt(PatientName, 10) == \"$\" || charAt(PatientName, 10) == \"%\" || charAt(PatientName, 10) == \"^\" || charAt(PatientName, 10) == \"&\" || charAt(PatientName, 10) == \"*\" || charAt(PatientName, 10) == \"-\" || charAt(PatientName, 10) == \"_\" || charAt(PatientName, 10) == \"+\" || charAt(PatientName, 10) == \"=\" || charAt(PatientName, 10) == \",\" || charAt(PatientName, 10) == \"(\" || charAt(PatientName, 10) == \")\" || charAt(PatientName, 10) == \".\"","@type":"If","id":"id_e6bd4ece_5500_4a62_a1c5_36a7aed2cce9"}],"id":"id_2181f794_1d1c_4408_aa95_7970df9f5c94"}},{"@type":"Assign","name":"PatientID","id":"id_6154a3c6_508c_451d_a4b8_2b10a121dce4","value":"\"\" + randomInt(900000000)"},{"newline":true,"@type":"Output","id":"id_0066605a_68fa_46a9_9a2f_41eb188a9a1d","value":"\"Welcome, \" + PatientName + \"! Your new patient ID is \" + PatientID + \". \""},{"newline":true,"@type":"Output","id":"id_23c88bd0_9800_4154_969e_cd50f3d48fae","value":"\"Your registration has been completed successfully, you may proceed to book your appointment.\""},{"newline":true,"@type":"Output","id":"id_ac4dd469_a34c_4f2d_8c52_7b98be6fabb4","value":"\"┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈\""}],"id":"id_789032a3_8d18_473d_b324_c665345ee29a"},"condition":"PatientStatus == 1","@type":"If","id":"id_c689d1f3_d9b5_46fc_a9fd_449e13094de1"},{"@type":"Input","name":"Specialty","id":"id_74bdb5d2_0503_4f7d_beec_d6cab0ff81d1","prompt":"Please enter your required medical specialty:"},{"newline":true,"@type":"Output","id":"id_f7b95c0d_3e73_4be4_8aed_96a8f87c9f51","value":"\"┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈\""},{"@type":"Input","name":"PreferredTime","id":"id_f28cd863_70f1_4cb1_a7a3_3fe54b849828","prompt":"Please enter your preferred appointment time (12-hour format, e.g., 9:00 AM or 12:00 PM):"},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_4d7b72bf_5f3b_44fb_8e53_2f6803b7e1b1","value":"\"Your preferred slot is unavailable. The hospital offers an alternative appointment at 3:30 PM.\""},{"condition":"(AcceptAlternative != 1) && (AcceptAlternative != 2)","@type":"DoWhile","id":"id_362fd2dd_901f_41ca_86df_8581e4ca01ac","body":{"statements":[{"newline":true,"@type":"Output","id":"id_7cff6caa_dd12_4931_8bd2_89ea966d1db2","value":"\"Would you like to accept the alternative appointment?\""},{"newline":true,"@type":"Output","id":"id_3456bcb0_1dfb_4efa_aa0b_bfc2d969d607","value":"\"1. Yes ✅\""},{"newline":true,"@type":"Output","id":"id_44c793c7_1252_4248_9d79_2bfeae4e5294","value":"\"2. No ❌\""},{"@type":"Input","name":"AcceptAlternative","id":"id_c2f20c77_ec2f_4e42_ac11_a40d3cab2a99","prompt":"(Enter 1 or 2):"},{"falseBlock":{"statements":[],"id":"id_73c9ed8f_b8b1_42fe_89db_7f58b5d8675a"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_609db053_3813_45cd_a286_896560243a69","value":"\"● ═════════════════════════════════════════ ●\""},{"newline":true,"@type":"Output","id":"id_99b8c5d3_4704_4e4f_91be_fc9ce3c3612c","value":"\"║ ⛔ Invalid choice. Please enter 1 or 2. ║\""},{"newline":true,"@type":"Output","id":"id_50635fae_c1eb_4c6b_90f6_1435a76c366a","value":"\"● ═════════════════════════════════════════ ●\""}],"id":"id_c8b3f45b_1a74_477c_ab70_3869c85f3911"},"condition":"(AcceptAlternative != 1) && (AcceptAlternative != 2)","@type":"If","id":"id_af62d5b2_1c9f_4a56_82bc_4584dcedfae6"}],"id":"id_13736aa6_7689_40a8_80dd_81131973f48d"}},{"falseBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_dbd58fc4_37cd_4060_9229_a5ff894e1c09","value":"\"The alternative appointment was rejected. No appointment has been confirmed.\""},{"@type":"Assign","name":"AppointmentStatus","id":"id_64e13416_24e3_4690_ba44_8fdeef1f843e","value":"\"No appointment confirmed\""}],"id":"id_8a6bafa6_8948_4fe4_a19c_4cf9b7060c4e"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d9bebc52_5b44_45f2_88fb_67528ce380aa","value":"\"Your alternative appointment is confirmed!\""},{"@type":"Assign","name":"AppointmentStatus","id":"id_89bcde62_41b7_4c48_93df_aa465a34f411","value":"\"Confirmed at alternative time (3:30 PM)\""}],"id":"id_aa3ba114_989b_44ed_81d5_360cc16dbde7"},"condition":"AcceptAlternative == 1","@type":"If","id":"id_3c5e4051_0223_443b_9c9a_c7d69302a444"},{"newline":true,"@type":"Output","id":"id_e694f5e7_d0f4_419f_989b_c0f28139ac78","value":"\"┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈\""}],"id":"id_603cf763_dde4_4d69_969f_d1dc3ae948e5"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_c30d9bbf_12c4_4052_99d9_bd1b3871da63","value":"\"Your preferred appointment time is available. Your appointment is confirmed!\""},{"@type":"Assign","name":"AppointmentStatus","id":"id_841bca69_9118_48b0_9067_159ae996f483","value":"\"Confirmed\""},{"newline":true,"@type":"Output","id":"id_b5e9bb54_8fed_44ec_b403_ac4580ac850c","value":"\"┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈\""}],"id":"id_d8b4033b_1e69_4af6_be0f_62638fbd5e8e"},"condition":"PreferredTime == \"3:30 PM\"","@type":"If","id":"id_49048a48_6786_4116_a1de_40fb95e50622"},{"newline":true,"@type":"Output","id":"id_7b1ea01d_b873_4380_902e_277c16aed160","value":"\"----- APPOINTMENT SUMMARY -----\""},{"newline":true,"@type":"Output","id":"id_78970a9a_e0b6_4612_b69a_401a8999b82b","value":"\"Patient Name: \" + PatientName"},{"newline":true,"@type":"Output","id":"id_493b5671_adb0_4374_b83e_2ba99d282185","value":"\"Patient ID: \" + PatientID"},{"newline":true,"@type":"Output","id":"id_156682b5_6d20_4125_ae84_1199ed29eb23","value":"\"Medical Specialty: \" + Specialty"},{"newline":true,"@type":"Output","id":"id_b1ef742f_7098_4dd6_853a_1916972366d6","value":"\"Requested Appointment Time: \" + PreferredTime"},{"newline":true,"@type":"Output","id":"id_7700f3a1_9c46_4fc2_a6eb_01754de742f8","value":"\"Appointment Status: \" + AppointmentStatus"},{"newline":true,"@type":"Output","id":"id_10a573d5_63e1_4c4f_b955_1168c2a22a35","value":"\"┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈\""},{"condition":"(ContinueChoice != 1) && (ContinueChoice != 2)","@type":"DoWhile","id":"id_ab2d870d_32ae_46df_a204_24cf5a532193","body":{"statements":[{"newline":true,"@type":"Output","id":"id_cc72a22a_df96_496d_b3ac_41989a39febb","value":"\"Would you like to process another patient?\""},{"newline":true,"@type":"Output","id":"id_cd1de044_97cd_454c_881e_c170448b58ef","value":"\"1. Yes ✅\""},{"newline":true,"@type":"Output","id":"id_2ff9604e_bea6_4cd3_8241_a9aca6ebaa34","value":"\"2. No ❌\""},{"@type":"Input","name":"ContinueChoice","id":"id_6faf44a6_5e75_4979_a692_92bd19d7708c","prompt":"(Enter 1 or 2):"},{"falseBlock":{"statements":[],"id":"id_a003f4b5_8b56_4211_95fa_fc3233ea6cb4"},"trueBlock":{"statements":[{"newline":true,"@type":"Output","id":"id_d0d9d412_f3a0_4d3e_8b3d_5cc89a27d5e2","value":"\"● ═════════════════════════════════════════ ●\""},{"newline":true,"@type":"Output","id":"id_7429eefe_8686_4548_b9ff_f6003d99509c","value":"\"║ ⛔ Invalid choice. Please enter 1 or 2. ║\""},{"newline":true,"@type":"Output","id":"id_c5b37b8c_b9f9_4371_8f7e_88f17396ac82","value":"\"● ═════════════════════════════════════════ ●\""}],"id":"id_e0cedd1d_02c1_48b2_8322_d140160d7c3c"},"condition":"(ContinueChoice != 1) && (ContinueChoice != 2)","@type":"If","id":"id_3e06fec7_f3e6_4020_91a7_edbaf7bb7057"}],"id":"id_bf53de00_48a9_478f_9d27_d40f8d174f4f"}}],"id":"id_1464cf8e_092d_45f6_a4de_00ecb96cfabf"}},{"@type":"Return","id":"id_aa935bb1_7077_470f_b091_3f7d22f12247","maybeValue":null}],"parameters":[]},"id":"id_9ccf5433_d211_4d04_94b8_ff073105d51a","config":{"showDebugVars":true,"useInputPrompt":true,"echoEnteredValue":true,"showIoBtns":false,"showFunctions":true,"lang":"python","showGenCode":true},"version":"0.3","revision":847}