1. An automated system for encoding a subjective experience of a patient's pain, the system comprising: a software function configured to encode a subjective description of a patient's pain to represent a degree or description of pain; and a pain code array, wherein the pain code array comprises encoded numeric values representing a plurality of different aspects of subjective patient descriptions of pain.