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

Customizing mammography hanging_protocol mappings

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

  1. Display a study from the modality in the IMPAX Client Image area.

  2. From the Image area context or top toolbar, click Service Window. Service Window

    Or, if using the context toolbar text menu (Ctrl + right-click), select Information > Service Window.

  3. 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

  1. On the Setup tab, click Source Manager. Source Manager

  2. Switch to the Field Mappings tab.

  3. From the Station name list at the bottom of the tab, select the modality to customize.

  4. From the Mapping list, select object_detail.hanging_protocol.

  5. Double-click the Expression field and type

    getdicomstring(0x00200062) + ' ' + getdicomstring(0x00185101)

  6. Click Save. 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

  1. On the Setup tab, click Source Manager. Source Manager

  2. Switch to the Field Mappings tab.

  3. From the Station name list at the bottom of the tab, select the modality to be customized.

  4. From the Mapping list, select object_detail.hanging_protocol.

  5. 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))), " )

  6. Click Save. 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

General: Image Area Tools > Service Window operation


See also


Topic number: 10034

Applies to: IMPAX 6.5.1 Server Knowledge Base