LINKMED® Interface Tutorial: Creating Mapper Interface Template

LINKMED® HL7 PID Segment Construction for OUTBOUND Interface

Since the PID (Patient Identification) segment contains permanent identifying and demographic information about a patient, it is used by the applications as the main means of communicating this information to other systems.
For Order/Result interface utilizing an interface intermediate database is recommended.
A minimum of two "Unique Key Identifiers" (UKI) must be selected from HL7 PID segment fields i.e. MRN and Account Numbers for order reconciliation process. LINKMED® can also automatically generate additional UKI if needed

The following is example of out put NVP file for HL7 PID segment construction:

Patient MRN: 226008(Key)*<<< "Unique Key Identifier"
Patient Account Number: 2003845 <<<"Unique Key Identifier"
Patient Visit ID:2
Patient Last Name: DOE
Patient First Name: JANE
Patient Middle Initial: F
Patient DOB: 03/02/1941

HL7 PID segment configuration steps:
Using the description from the above example user can bring up the HL7 PID segment from the Mapper "Segment" column:
1- Select the following segments fields that match the input description above (Result Only).
To access the Field/File Rules features of the Mapper, click inside the yellow box corresponds to the desire segment's field (see screenshot below)

Input Field Description
HL7 Segment Field
Mapper File Rules
Mapper Field Rules
*Patient MRN:
PID_3_1
GotoOffset=0
SearchFor[1]=Patient MRN:

READINUNTILCHAR=C(13)
Patient Account Number:
PID_18_1
GotoOffset=0
SearchFor[1]=Patient Account Number:
READINUNTILCHAR=C(13)
Patient Visit ID:
PID_4_1
GotoOffset=0
SearchFor[1]=Patient Visit ID:
READINUNTILCHAR=C(13)
Patient Last Name:
PID_5_1
GotoOffset=0
SearchFor[1]=Patient Last Name:
READINUNTILCHAR=C(13)
Patient Middle Name:
PID_5_2
GotoOffset=0
SearchFor[1]=Patient Middle Name:
READINUNTILCHAR=C(13)
Patient First Name:
PID_5_3
GotoOffset=0
SearchFor[1]=Patient First Name:
READINUNTILCHAR=C(13)
Patient DOB:
PID_7_1
GotoOffset=0
SearchFor[1]=Patient DOB:
READINUNTILCHAR=C(13)

*Utilizing an intermediate database LINKMED® users need to include the UKI only and the body of results or transcribed report. All HL7 segments fileds data from stored records will be included in HL7 message send to the HIS automatically.

File and Field Rules Configuration