In healthcare settings, barcode scanners are used to scan patient wristbands, medications, and other medical supplies. The scanned data is then cross-referenced with electronic health records (EHR) to ensure that the correct patient is receiving the correct medication or treatment. This process is known as Barcode Medication Administration (BCMA).