If an HL7 import process needs to pull a single value from a repeating HL7 field, you must update the chart data field's HL7 Reference Field value to use a different format.
To use this format to populate Keyword Values on chart documents, you must use the HL7 Medical Records Chart import process. The format does not work for populating Keyword Values using the AutoFill Keyword Set, Advanced Document Import, or any other HL7 import process.
Consider the following example of a repeating field:
PID|1||20110101^^^^HW~46010223^^^^HHMRN|||
In this example, the PID.3 field is repeating, and each instance of the field is separated by a ~.
20110101^^^^HW~46010223^^^^HHMRN
If the import process should extract 46010223 from this field, you would enter the following in the HL7 Reference Field:
PID.3.1,5=HHMRN
This value is composed of two parts:
-
The first half of this value (PID.3.1) specifies the field (PID.3) and the component (1) where the import process should look for the value.
-
The second half of this value (5=HHMRN) uses a constant (HHMRN) to specify which occurrence of the PID.3.1 field to use. In this example, you want to use the field where component 5 equals HHMRN. The field that matches this description is 46010223^^^^HHMRN.
Once configured, the HL7 Reference Field in Chart Data Field Settings would resemble the following: