Enhanced error handler with clinical context
     
    
    Usage
    clinicopath_error_handler(
  error,
  function_name = "unknown",
  clinical_context = ""
)
 
    
    Arguments
- error
- The error object 
- function_name
- Name of the function where error occurred 
- clinical_context
- Clinical context for the error