"""Utility functions for the PainReport system"""