PID 3 is the field that contains identifiers for a patient.
It is allowed to repeat with '~' separating the repeating field.
Example of PID 3
12345678^^^^Pkey~A1234567^^^^HKID~3087269^^^^DOCNO
It mean:
Patient key = 12345678
HKID = A1234567
Document No (e.g. Passport) = 3087269
Sample Input HL7 Message:
Mirth Connect is used to map out the HKID no
and re-written the PID 3 field to contain the HKID no only.
The following Javascript code is used:
The output message becomes: