IMPAX 6.5.1 Server Knowledge Base home > Configuring IMPAX Server with Administration Tools > Source Manager > Customizing field mappings to extract information from images
The default field mapping for mammography (MG) studies for object_detail.hanging protocol should be changed to:
getdicomstring(0x200062)+'/'+getdicomsequence( 0x540220, getdicomstring(0x80102), 'SNM3', getdicomstring(0x80100) + '/' + getdicomsequence( 0x540222, 'T', 'T', getdicomstring(0x80100)))
This field mapping extracts the view_code_sequence data in the study's DICOM header and uses it to present mammography images with appropriate hanging protocols for comparative review. Other modalities may not include this sequence, or may include it but not fill it in, or may use other values.
To verify whether a modality uses or fills in the view_code_sequence
Display a study from the modality in the IMPAX Client Image area.
From the Image area context or top toolbar, click Service Window. 
Or, if using the context toolbar text menu (Ctrl + right-click), select Information > Service Window.
In the Display Service Tool window, look for view_code_sequence with a coding_scheme_designator of SNM3.
If that sequence is missing or no SNM3 coding scheme is available, the modality cannot use the default field mapping. A typical view_code_sequence looks something like the following:
0054 0220 (undef.) | view_code_sequence | SQ | 1 | **** Item: length(Undefined) offset(1798)
0008 0100 8 | code_value | SH | 1 | "R-10242"
0008 0102 4 | coding_scheme_designator | SH | 1 | "SNM3"
0008 0104 14 | code_meaning | LO | 1 | "cranio-caudal"For modalities that do not include or fill in the view_code_sequence, you can create a field mapping, based on available DICOM information, to achieve a presentation similar to the default mammography presentation. This topic includes two examples.
The first is for a modality whose the images need to be split into separate series based on image_laterality and view_position, to populate the object_detail.hanging_protocol entry in the database.
To create a hanging protocol based on image_laterality and patient_orientation
On the Setup tab, click Source Manager. 
Switch to the Field Mappings tab.
From the Station name list at the bottom of the tab, select the modality to customize.
From the Mapping list, select object_detail.hanging_protocol.
Double-click the Expression field and type
getdicomstring(0x00200062) + ' ' + getdicomstring(0x00185101)
Click Save. 
From this field mapping, the image_laterality (0020 0062) and view_position (0018 5101) are populated in the MVF database under the object_detail.hanging_protocol table and column.
The second example is for mixed or non-MG modalities.
To create a comparative review field mapping for mixed or non-MG modalities
On the Setup tab, click Source Manager. 
Switch to the Field Mappings tab.
From the Station name list at the bottom of the tab, select the modality to be customized.
From the Mapping list, select object_detail.hanging_protocol.
Double-click the Expression field and type:
select( index( getdicomstring(524384), 'MR', 'CR', 'MG', getdicomstring(524384) ), getdicomstring(1572993) + '|' + getdicomstring(1572992), getdicomstring(1593601), getdicomstring(0x200062)+'/'+getdicomsequence( 0x540220, getdicomstring(0x80102), 'SNM3', getdicomstring(0x80100) + '/' + getdicomsequence( 0x540222, 'T', 'T', getdicomstring(0x80100))), " )
Click Save. 
From this field mapping, the image_laterality (0020 0062) and translated patient_orientation (0020 0020) are populated in the MVF database under the object_detail.hanging_protocol table and column.
Required permissions
Administration Tools: Source Manager > View operation
General: Image Area Tools > Service Window operation
See also
Creating a body part field mapping for mammography (and other) modalities
Creating a field mapping to flip images automatically
Topic number: 10034 Applies to: IMPAX 6.5.1 Server Knowledge Base |