change authLevel from "anonymous" to "function" in all function.json
refine API operation patient_load in terraform
update azurerm provider to 2.10.0 and uncomment azurerm_api_management_diagnostic. the issue is fixed in azurerm provider to 2.10.0 hashicorp/terraform-provider-azurerm#6619
add API operation patient_update in terraform
change {registration-id} to {patientId}, method get -> put in function.json of UpdatePatient
Create Azure Key Vault to store sensitive information like Mongo DB connection string. Function app will use system assigned managed identity to get secret instead of keeping sensitive data in app settings.