Chest pain is the second most common reason patients visit emergency departments ( EDs ) and often results in very low-risk patients being admitted for prolonged observation and advanced cardiac testing .