Only expose barcodes of selected patients.
Rename patient to patients, assume array.
Support strings as patients attribute.