Users Manual Part 2
432 Patient ID handling
Roche Diagnostics
cobas
®
pulse · Software version 01.03 · User Assistance · Publication version 1.0
• Regular expressions are checked by the Glucose app
for correct regex syntax only. If the stated (project
specific) format "id<index>" is not correctly used, the
regex will be saved in the database, but will not result
in the intended behavior.
Example of regex with two groups:
(?<id1>[A-Z]{3}).(?<id2>[A-Z]{3})\$
This configuration item can contain wide characters.
Item ID
PATIENT_ID_PATTERN_BCS
Available values/format
ST:0-500 (regular expression)
No default value set.
Examples:
• Example 1:
Input checked for pattern and completely used as ID
Regular expression: PA\d{1,5}
Input: "PA123"
Extracted ID: "PA123"
• Example 2:
Part of input used as ID
Regular expression: (PA\d{1,5}).*
Input: "PA321;Max Mustermann;1970-01-01"
Extracted ID: "PA321"
• Example 3:
Multiple parts of input used as ID
Regular expression: (?<id0>[A-Z]{3})x(?<id1>[A-Z]
{3})\$
Input: "ABCxDEF$"
Extracted ID: "ABCDEF"
• Example 4:
Multiple parts of input used as ID in a different order
Regular expression: (?<id1>[A-Z]{3})x(?<id0>[A-Z]
{3})\$
Input: "ABCxDEF$"
Extracted ID: "DEFABC"
• Example 5:
Extract the ID between first occurrence of “$” and first
occurrence of “+”. The ID must start with one alpha
character (A-Z/a-z), followed by seven numbers
(0-9).
Regex with one group: .*\$([a-zA-Z]\d{7})\+.*
Input: ~Jane Doe%$X1234567+5715486266Z?
01-09-1979
Extracted ID: "X1234567"
• Example 6:
Extract the ID between 3rd and 4th semicolon (; =
0x3b).
11 General configuration