Accuracy of ICD-10-CM encounter diagnoses from health records for identifying self-harm events