Open-chest cardiac massage is an emergency procedure for managing a heart that is not beating or beating ineffectively (cardiac arrest). It is done in conjunction with the administration of drugs directly into the heart or vein and the use of direct electrical defibrillation.