def get_sfs_barcode(redcap_record: dict) -> str:
    """
    Find SFS barcode within *redcap_record*.

    SFS barcode should be scanned into `sfs_barcode`, but if the scanner isn't
    working then barcode will be manually entered into `sfs_barcode_manual`
    """
    barcode = redcap_record['sfs_barcode']

    if barcode == '':
        barcode = redcap_record['sfs_barcode_manual']

    return barcode