Function createHealthCheckResponse