Variables associated with completeness of medical record documentation in the emergency department