1 /* ----------------------------- MNI Header -----------------------------------
2 @NAME       : spi_element_defs.h
3 @DESCRIPTION: Element definitions for spi
4 @METHOD     :
5 @GLOBALS    :
6 @CALLS      :
7 @CREATED    : November 23, 1993 (Peter Neelin)
8 @MODIFIED   :
9 @COPYRIGHT  :
10               Copyright 1993 Peter Neelin, McConnell Brain Imaging Centre,
11               Montreal Neurological Institute, McGill University.
12               Permission to use, copy, modify, and distribute this
13               software and its documentation for any purpose and without
14               fee is hereby granted, provided that the above copyright
15               notice appear in all copies.  The author and McGill University
16               make no representations about the suitability of this
17               software for any purpose.  It is provided "as is" without
18               express or implied warranty.
19 ---------------------------------------------------------------------------- */
20 
21 /* Define siemens-specific stuff for associations and messages */
22 #define SPI_VISION_AE_TITLE "MRC16505"  /* changed by Leili from OC1SA1MR010000 to MRC16505 */
23 #define SPI_VISION_IMPLEMENTATION_UID "1.3.12.2.1107.5.2" /* Chaged by leili from 2.16.840.1.113669.2.931128 to 1.3.12.2.1107.5.2 */
24 
25 /* Element number for images */
26 #define SPI_IMAGE_ELEMENT 0x0010
27 
28 /* Define spi constants */
29 #define SPI_TRANSVERSE_ORIENTATION 1
30 #define SPI_SAGITTAL_ORIENTATION   2
31 #define SPI_CORONAL_ORIENTATION    3
32 
33 /* Element id's for SPI */
34 GLOBAL_ELEMENT(SPI_Acquisition_columns                , 0x0019, 0x1230, LO);
35 GLOBAL_ELEMENT(SPI_Reconstruction_columns             , 0x0019, 0x1231, LO);
36 GLOBAL_ELEMENT(SPI_Sequence_file_name                 , 0x0019, 0x1511, LO);
37 GLOBAL_ELEMENT(SPI_Image_position                     , 0x0021, 0x1160, DS);
38 GLOBAL_ELEMENT(SPI_Image_normal                       , 0x0021, 0x1161, DS);
39 GLOBAL_ELEMENT(SPI_Image_row                          , 0x0021, 0x116a, DS);
40 GLOBAL_ELEMENT(SPI_Image_column                       , 0x0021, 0x116b, DS);
41 GLOBAL_ELEMENT(SPI_Number_of_3D_raw_partitions_nominal, 0x0021, 0x1330, IS);
42 GLOBAL_ELEMENT(SPI_Number_of_3D_image_partitions      , 0x0021, 0x1334, IS);
43 GLOBAL_ELEMENT(SPI_Actual_3D_partition_number         , 0x0021, 0x1336, IS);
44 GLOBAL_ELEMENT(SPI_Number_of_slices_nominal           , 0x0021, 0x1340, IS);
45 GLOBAL_ELEMENT(SPI_Current_slice_number               , 0x0021, 0x1342, IS);
46 GLOBAL_ELEMENT(SPI_Number_of_echoes                   , 0x0021, 0x1370, IS);
47 
48 // added by rhoge:
49 GLOBAL_ELEMENT(SPI_Registration_date     , 0x0011, 0x1110, DA);
50 GLOBAL_ELEMENT(SPI_Registration_time     , 0x0011, 0x1111, TM);
51 GLOBAL_ELEMENT(SPI_Parameter_file_name   , 0x0019, 0x1510, CS);
52 GLOBAL_ELEMENT(SPI_Protocol              , 0x0029, 0x1020, CS);
53 
54 // (these appear to be public groups, and should be moved
55 //  to dicom_element_defs.h ? )
56 GLOBAL_ELEMENT(SPI_Manufacturer          , 0x0008, 0x0070, CS);
57 GLOBAL_ELEMENT(SPI_Manufacturer_model    , 0x0008, 0x1090, CS);
58 GLOBAL_ELEMENT(SPI_Device_serial_number  , 0x0018, 0x1000, CS);
59 GLOBAL_ELEMENT(SPI_Software_version      , 0x0018, 0x1020, CS);
60 GLOBAL_ELEMENT(SPI_Receiving_coil        , 0x0018, 0x1250, CS);
61 
62 GLOBAL_ELEMENT(SPI_Calibration_date                   , 0x0018, 0x1200, DA);
63 GLOBAL_ELEMENT(SPI_Total_measurement_time_cur         , 0x0019, 0x1211, DS);
64 GLOBAL_ELEMENT(SPI_Nominal_number_of_fourier_lines    , 0x0019, 0x1220, IS);
65 GLOBAL_ELEMENT(SPI_Number_of_fourier_lines_current    , 0x0019, 0x1221, IS);
66 GLOBAL_ELEMENT(SPI_Number_of_fourier_lines_after_zero , 0x0019, 0x1226, IS);
67 GLOBAL_ELEMENT(SPI_Number_of_3d_raw_part_cur          , 0x0021, 0x1331, IS);
68 GLOBAL_ELEMENT(SPI_Order_of_slices                    , 0x0021, 0x134f, IS);
69 GLOBAL_ELEMENT(SPI_First_measured_fourier_line        , 0x0019, 0x1228, IS);
70 GLOBAL_ELEMENT(SPI_Number_of_prescans                 , 0x0019, 0x1270, IS);
71 GLOBAL_ELEMENT(SPI_Magnetic_field_strength            , 0x0019, 0x1412, DS);
72 GLOBAL_ELEMENT(SPI_ADC_voltage                        , 0x0019, 0x1414, DS);
73 GLOBAL_ELEMENT(SPI_ADC_offset                         , 0x0019, 0x1416, DS);
74 GLOBAL_ELEMENT(SPI_Transmitter_amplitude              , 0x0019, 0x1420, DS);
75 GLOBAL_ELEMENT(SPI_Receiver_amplifier_gain            , 0x0019, 0x1451, DS);
76 GLOBAL_ELEMENT(SPI_Receiver_preamplifier_gain         , 0x0019, 0x1452, DS);
77 GLOBAL_ELEMENT(SPI_Phase_gradient_amplitude           , 0x0019, 0x1470, DS);
78 GLOBAL_ELEMENT(SPI_Readout_gradient_amplitude         , 0x0019, 0x1471, DS);
79 GLOBAL_ELEMENT(SPI_Selection_gradient_amplitude       , 0x0019, 0x1472, DS);
80 GLOBAL_ELEMENT(SPI_Sequence_file_owner                , 0x0019, 0x1512, CS);
81 GLOBAL_ELEMENT(SPI_Sequence_description               , 0x0019, 0x1513, CS);
82 GLOBAL_ELEMENT(SPI_Number_of_slices_cur               , 0x0021, 0x1341, IS);
83 GLOBAL_ELEMENT(SPI_Window_center                      , 0x0028, 0x1050, IS);
84 GLOBAL_ELEMENT(SPI_Window_width                       , 0x0028, 0x1051, IS);
85 
86 
87