Use case
Patient wristbands: what they carry and how they print
A wristband ties one patient to one record. In the United States, a Joint Commission goal for hospitals calls for at least two patient identifiers; the hospital decides the band, the data and the printer. BarcoderX prints the label from the data it is given. This page says what the cited documents say, in our own words, and where BarcoderX stops.
The wristband at a glance
TJC is The Joint Commission's National Performance Goals for the Hospital Program, effective January 2026. GS is the GS1 General Specifications and BR a GS1 healthcare brochure. Gray references point to their sections; see Sources. All data in the drawing is invented.
The documents cited below are the authority on what these labels carry; this page summarizes, in our own words, the parts we read. BarcoderX prints the label from the data it is given. It does not issue identifiers, check that a label matches a person or a product, scan or verify barcodes, report to any regulator, or certify, approve or validate a label under any rule.
- NamePrinted text. The goal calls for at least two patient identifiers and rules out the room number or physical location; which two is the hospital's choice. TJC NPG.01.01.01 EP 1
- Assigned numberA number the hospital assigns, such as a medical record number, is an example the goal gives. TJC NPG.01.01.01 EP 1, Note
- BarcodeBar coding or RFID is named as an example when the code carries two or more personal identifiers. What the code holds is the hospital's decision. TJC NPG.01.01.01 EP 1, Note
What the rules say
In the United States, The Joint Commission's National Performance Goals for hospitals, in the edition effective January 2026, ask a hospital to run a process that identifies patients correctly while it gives care, treatment and services, and that process includes at least two patient identifiers. A patient's room number or physical location is not one of them. TJC NPG.01.01.01 EP 1
A note under that element lists example identifiers: a number the hospital assigns (it names the medical record number), a telephone number or another personal identifier, and bar coding or RFID that carries two or more personal identifiers. TJC NPG.01.01.01 EP 1, Note The goal text does not set out a layout for the band and does not name a barcode type.
Another element has the hospital label blood and other specimen containers while the patient is there. TJC NPG.01.01.01 EP 2 See specimen labels.
This page covers that United States goal only. Rules in other countries differ, and we do not describe them.
Which barcodes, and why
GS1, the standards body behind GTINs and SSCCs, has an identifier for this case, the Global Service Relation Number (GSRN). It is a non-significant number that identifies the relationship between an organization that offers services and the people who receive them. GS 2.5 For a hospital admission, the General Specifications describe the hospital generating a GSRN with Application Identifier (AI) 8018 for each patient and encoding it in a GS1 data carrier on the wristband, the medical record and specimens. The number then links treatments, charges and tests. GS 2.5.2
A GSRN is 18 digits: a GS1 Company Prefix, a service reference and a check digit. GS 1.3.7 The data title for AI (8018) is GSRN - RECIPIENT. GS 3.2, Table 3-1 A GS1 member organization issues the company prefix; the hospital assigns the service reference to each person. BR p. 3
| Barcode | Role on the band | Edition |
|---|---|---|
| GS1-128 carrying AI (8018) | One of the five data carriers GS1 names for a service recipient. GS 2.5.2 | Basic |
| GS1 DataBar Expanded or Expanded Stacked | Also named. The stacked form is used when the symbol area or print mechanism is too narrow for the single-row symbol. GS 2.5.2; GS 5.5.2.3.2 | Basic |
| GS1 Data Matrix or GS1 QR Code | Also named. When demographic attributes accompany the GSRN to verify a patient, the carrier GS1 names is GS1 Data Matrix. GS 2.5.2, 2.5.4 | Ultimate |
| Code 128 with the hospital's own number | Not a GS1 structure. The hospital chooses its number and its barcode; the goal cited above names neither. | Basic |
GS1 requires no standard placement for these symbols. GS 2.5.2 GS1 also states that it does not allocate a patient identifier: identification and privacy responsibility stays with the organization delivering the care. GS 2.5.4
BarcoderX has the Application Identifier dictionary, per-identifier validation, check digits, and SSCC and GTIN helpers built in; you enter data in brackets or with FNC1 and the check digit is computed for you. A service relation number under AI (8018) is checked against its format and check digit, like any other identifier, and not treated as free text. GS1 built in Check digit calculator
The data it needs
Each value is bound into a template from your own data. The values below are invented.
| Field | Sample value | Where it goes |
|---|---|---|
| Patient name | Example Patient | Printed text on the band. Which identifiers the band carries is the hospital's choice; the goal asks for at least two. TJC NPG.01.01.01 EP 1 |
| Assigned number | 0000123 | Printed text, and the value the barcode can carry. A medical record number is the goal's own example. TJC NPG.01.01.01 EP 1, Note |
| Barcode value | The hospital's number, or a GSRN built from your GS1 company prefix | The barcode, element 3. A GSRN goes under AI (8018). GS 2.5.2, 3.2 |
A band is typically printed at admission, from data held in the hospital information system, by your application. The values come from objects, a DataTable, CSV, JSON or XML. Templates and data
How it reaches the printer
The printer commands are the same on both routes, and both run on infrastructure you operate.
- Direct, from your application. The SDK packages send the printer commands from your own .NET process over TCP port 9100, serial, the Windows spooler, CUPS or USB. No API server and no agent is in the path.
- Through your API server. Your application queues a print job through the REST API on your API server. A print agent on the printer's network collects it and writes it to the printer beside it. The agent only dials out, so the printer network needs no inbound port.
Printing starts in your own application, for example when a patient is admitted, and the patient data stays on infrastructure you run. The printer commands are the same on both routes. Delivery to the agent is at-least-once and the agent de-duplicates by job id, so a reconnect does not print a label twice, and a retried request with an idempotency key does not queue a second label.
Which edition covers it
EditionsBasic covers the linear (1D) and postal symbologies, including every GS1 DataBar variant; Ultimate adds the PDF417 family, other multi-row symbologies, every matrix (2D) symbology and GS1 composites, as set out on the pricing page.
For a wristband, GS1-128 and GS1 DataBar Expanded are in Basic, since the pricing page lists Code 128, GS1-128 and every GS1 DataBar variant under Basic. A GS1 Data Matrix or GS1 QR Code is a matrix (2D) symbology and needs Ultimate.
The ZPL behind it
The printer commands come from the template. These are the ZPL commands behind the barcodes on this page; the pallet label guide walks through a GS1-128 label line by line.
What BarcoderX does not do here
- No bedside or mobile app, and no scanning. BarcoderX does not read barcodes. Scanning a band, matching it to a patient or a medication, and every alert belong to the hospital's own systems.
- No identifiers issued. A GS1 member organization issues company prefixes; the hospital assigns each service reference. BarcoderX helps compute the check digit.
- No certification. BarcoderX does not certify, approve or validate a wristband under any rule, and it does not report to any accreditor or regulator.
- No hardware or stock. The wristband stock, the clasp and the printer are the hospital's. BarcoderX has no printer drivers or firmware.
- No hosting. Nothing is hosted for you. The packages, API server and print agent run on your infrastructure; BarcoderX keeps only the developer's account, license keys and the versions they may download.
Keep reading
Specimen labels Food labels GS1-128 and SSCC-18: what goes on a pallet label GS1 check digit calculator Server-side label printing for .NET Print agent: pairing, connection and jobs Barcodes: the symbology registry Pricing: what each edition covers All use casesNew to the printer language? Read the ZPL guides and command reference.
Sources
- The Joint Commission: National Performance Goals, Hospital Program
- Effective January 2026, report generated September 26, 2025. Goal 1, NPG.01.01.01, elements of performance 1 to 3 and the notes. Read in full: that goal. https://
digitalassets.jointcommission.org/ api/ public/ content/ 9ca80055182b4274842a5780a94f2c82 - GS1 General Specifications Standard
- Release 26.0, ratified January 2026. Sections 1.3.7, 2.5, 2.5.2, 2.5.3, 2.5.4, 3.2 (Table 3-1) and 5.5.2.3.2. https://
ref.gs1.org/ standards/ genspecs/ - GS1 Healthcare: patient and caregiver identification brochure (BR)
- Title "Good morning, Mr. Jones, here is your medication", copyright 2018, four pages. Page 3. https://
www.gs1.org/ sites/ default/ files/ docs/ healthcare/ broch_a4_patient_caregiverid.pdf
Written by BarcoderX in its own words; not a publication of the bodies named above, whose documents are the authority. Read on November 14, 2026. Check the current edition before you rely on a detail.
ZPL and ZPL II are trademarks of Zebra Technologies Corporation. BarcoderX is an independent product and is not affiliated with, endorsed by or sponsored by Zebra Technologies.