Contributing reason, sure, but main reason makes no sense.
i guess if someone gets a meltdown (mental breakdown) after losing a lot of money
Also, the ICD ontology specifically exists for billing purposes and isn't the same as patient diagnostic classification, though there is overlap and people do mistakenly use it as such sometimes. But there's a difference between "emergency visit for X" (treat X) and "emergency visit because of X" (treat Y proximal to X). (I also edited my original comment to include this last part, since it seems likely to create confusion)
https://icdlist.com/icd-10/F63.0
https://icdlist.com/icd-10/Z72.6 "The code is not accepted as a principal diagnosis "