Barcode Scanning
Healthcare Supply Manager uses ZXing-based scanning to decode healthcare barcodes instantly. This guide covers all scanning features and modes.
Supported Barcode Types
| Barcode Type | Description | Data Extracted |
|---|---|---|
| GS1-128 | Healthcare standard barcode | GTIN, Lot, Expiration, Serial |
| GS1 DataMatrix | 2D matrix code (common on small items) | GTIN, Lot, Expiration, Serial |
| HIBC | Health Industry Bar Code | Product ID, Lot, Expiration |
| UPC/EAN | Standard retail barcodes | Product ID only |
| QR Code | Quick Response code | Varies by content |
Basic Scanning
- Tap the Scan button on the bottom navigation bar
- Point your camera at the barcode
- Hold steady — the app will automatically detect and scan
- A success sound/vibration indicates successful scan
- Review the extracted information in the bottom sheet
Scanning Tips:
- Ensure adequate lighting — avoid shadows on the barcode
- Hold the camera 4-8 inches from the barcode
- Keep the camera steady while scanning
- For small barcodes, tap to focus on the area
Understanding GS1 Barcodes
GS1 healthcare barcodes contain Application Identifiers (AIs) that encode specific data:
| AI Code | Data Type | Example |
|---|---|---|
| (01) | GTIN (Product ID) | 00312345678901 |
| (10) | Lot/Batch Number | ABC123 |
| (17) | Expiration Date | 251231 (Dec 31, 2025) |
| (21) | Serial Number | XYZ789 |
Stacked UDI Barcode Support
Healthcare products often use stacked barcodes (two separate barcodes on the same label):
- Primary Barcode: Contains GTIN (product identifier)
- Secondary Barcode: Contains lot number, expiration, and serial
The app automatically handles these in two ways:
- Same-frame detection: Both barcodes detected simultaneously and merged
- Two-scan fallback: Scan one barcode, then scan the second within 5 seconds — they'll be combined automatically
Tip: When scanning stacked barcodes, you'll see a "Partial Barcode Detected" prompt if only one barcode is found. Simply scan the second barcode to complete.
Batch Scanning Mode
Scan multiple items rapidly with continuous scanning:
- From the scanner screen, tap "Batch Mode"
- Each detected barcode is added to a queue automatically
- Visual and audio feedback confirms each scan
- Review all scanned items before adding to inventory
- Tap "Complete Batch" when finished
Shelf Scan Mode
Shelf Scan is a continuous-capture mode for counting or verifying a whole shelf in one pass. On devices that support ARKit (iPhone) or ARCore (Android), barcode markers are anchored in 3D as you walk the aisle, so they stay put instead of drifting with the phone.
- Open the navigation drawer and tap Shelf Scan
- Pick a mode — Single for one pass or Continuous for walking sessions
- Optionally tap Bind to Location so saved items get stamped with the correct shelf
- Point and pan; barcodes are captured automatically
- Tap Complete to review and save to inventory
Find Target. Tap the search icon in the app bar to look up a specific product by GTIN or name. The overlay highlights it in a distinct color and buzzes + shows a snackbar the moment it's detected — useful for picks and locating a specific lot on a dense shelf.
Verification mode. Tap the fact-check icon to snapshot the inventory you expect at this location and compare against the scan. Mismatches show a discrepancy badge — Expected 12 · Counted 9 (−3) — with red for under and amber for over.
Fallback. If your device doesn't support ARKit/ARCore, or if Google Play Services for AR isn't installed on Android, Shelf Scan drops back to depth-from-size + IMU tracking. A dismissible banner at the top of the screen signals the fallback; on Android it offers to install the required service.
Note: Shelf Scan includes a brief cooldown between scans of the same barcode to prevent duplicate counts from a single scan. Stacked UDI labels save as a single combined entry (GTIN + lot + expiration together).
FDA UDI Lookup
When scanning unknown products, the app can look up information from the FDA's GUDID database:
- Scan a barcode that's not in your catalog
- Tap "Look up in FDA Database"
- The app queries the FDA GUDID API
- If found, product information is pre-filled
- Review and edit as needed, then save
Information retrieved includes:
- Brand name and manufacturer
- Device description
- Product classification
- Company contact information
Manual Barcode Entry
If a barcode won't scan, you can enter it manually:
- Tap the keyboard icon on the scanner screen
- Enter the barcode number
- Select the barcode format if known
- Tap "Submit"
Scan History
View your recent scans:
- From the scanner screen, tap the history icon
- See a list of recent scans with timestamps
- Tap any item to view details or add to inventory
- Swipe to delete individual history items