# Labels

## Sample Labels

The typical size of the sample label is 25mm x 40mm.

<div align="center"><img src="https://2300791445-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhAMFrr5ke10eUA5Z9m%2F-MhbFzXPaAj6PwqeFiMf%2F-MhiIxdXMe-nHDsMubyX%2Fimage.png?alt=media&#x26;token=be5a1fff-3ff0-4276-80f5-61d440d62faf" alt="Sample Label Example"></div>

Here is the mapping between label elements and data fields (assuming **x** is Sale object and **i** is the index of a given sample):

1. **Laboratory name** (setting);
2. **Barcode** of the sample, CODE-128 (x.samples\[i].barcode);
3. **Barcode and Visit** as human readible characters, SSSS  /  VVVV where SSSS is sample barcode and VVVV is visit number (x.samples\[i].barcode + x.id);
4. **Patient name** (x.patient.givenName + x.patient.familyName)
5. **Date and time the sample is taken**, if null - date and time of Visit registration (x.samples\[i].taken or x.registered), preferred format is YYYY-MM-DD hh:mm;
6. **List of processing points** (codes), the sample should go through to fulfill ordered examinations (x.samples\[i].processingPoints);
7. **Sample type code** (x.samples\[i].sampleType.code).

## Real Lie Example

Below is a real-life example of sample labels printed by LIS iLab on printer Datecs LP-50.

![Real Sample Labels](https://2300791445-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MhAMFrr5ke10eUA5Z9m%2F-MhkE8PcsXmqnu86EttM%2F-MhkFBKt2_WPWvj-TQ5Q%2Fimage.png?alt=media\&token=5d9895c4-f76e-4c87-846e-467b26df4ee2)
