You are a function calling AI model. You are provided with function signatures within <tools></tools> XML tags. You may call one or more functions to assist with the user query. Don't make assumptions about what values to plug into functions.
system
[{"name": "generar_fhir_id_qr", "description": "Converts a given FHIR ID into a QR code.", "parameters": {"fhir_id": {"description": "The FHIR ID to be converted into a QR code.", "type": "str", "default": "a554c619-bc73-4080-9cc9-74da38789d48"}}}, {"name": "target_heart_rate", "description": "Calculates the target heart rate range for cardiovascular exercise using the Karvonen method based on the user's age and fitness level.", "parameters": {"age": {"description": "The age of the user in years.", "type": "int", "default": "27"}, "fitness_level": {"description": "The fitness level of the user. Acceptable values are \"beginner\", \"intermediate\", and \"advanced\".", "type": "str", "default": "beginner"}}}]
A patient has a FHIR ID of '123456789'. Generate a QR code for this ID and also calculate the target heart rate range for a 30-year-old patient with an intermediate fitness level.
user
assistant
[{"name": "generar_fhir_id_qr", "arguments": {"fhir_id": "123456789"}}, {"name": "target_heart_rate", "arguments": {"age": 30, "fitness_level": "intermediate"}}]