IMPAX 6.5.1 Server Knowledge Base home > Configuring IMPAX Server with Administration Tools > Source Manager > Customizing field mappings to extract information from images > List of field mapping grammar functions

subfield


This function is used to parse a string into a series of fields, based on a field separator value, and to return the field requested.

Syntax

subfield(input, index, separator )

Parameters

Remarks

The input text string can be another field mapping grammar function.

The output of this function is the selected field as a text string.

Example

A string that includes the patient ID (1234), patient name (TEST^PATIENT), and study start date (2002Jan24) concatenated together as a single string using a forward slash (/) as the separator character.

Element to extract Mapping Text extracted
Patient ID subfield( '1234/TEST^PATIENT/2002Jan24', 0, '/' ) 1234
Patient name subfield( '1234/TEST^PATIENT/2002Jan24', 1, '/' ) TEST^PATIENT
Study start date subfield( '1234/TEST^PATIENT/2002Jan24', 2, '/' ) 2002Jan24

See also


Topic number: 9016

Applies to: IMPAX 6.5.1 Server Knowledge Base