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

hex


This function takes as input a string representation of an unsigned integer, either in decimal or hexadecimal format, and returns the unsigned integer the text string parses to.

Syntax

hex (string)

Parameters

Remarks

This function is typically used to provide the correct parameter format for the getdicomstring() function.

If the value used is an integer literal, you do not have to use the hex function. For example, hex( 1234 ) can be written as 1234.

Examples

Mapping Text extracted
hex( '42' ) 42
hex( '0x2a' ) 42
hex( ' 0x2a ' ) 42

See also


Topic number: 32199

Applies to: IMPAX 6.5.1 Server Knowledge Base