Analysis of legal claims—informing litigation systems and quality improvement