This file is indexed.

/usr/include/dcmtk/dcmiod/modenhusimage.h is in libdcmtk-dev 3.6.2-3build3.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
/*
 *
 *  Copyright (C) 2015-2016, Open Connections GmbH
 *  All rights reserved.  See COPYRIGHT file for details.
 *
 *  This software and supporting documentation are maintained by
 *
 *    OFFIS e.V.
 *    R&D Division Health
 *    Escherweg 2
 *    D-26121 Oldenburg, Germany
 *
 *
 *  Module: dcmiod
 *
 *  Author: Michael Onken
 *
 *  Purpose: Class for managing the Enhanced US Image Module
 *
 */

#ifndef MODENHUSIMAGE_H
#define MODENHUSIMAGE_H

#include "dcmtk/config/osconfig.h"
#include "dcmtk/dcmiod/modbase.h"
#include "dcmtk/dcmiod/iodmacro.h"

/** Class representing the Enhanced US Image Module:
 *
 *  Image Type: (CS, 2 as defined in part 3, 1)
 *  Samples Per Pixel: (US, 1, 1)
 *  Photometric Interpretation (CS, 1, 1)
 *  Rows: (US, 1, 1)
 *  Columns: (US, 1, 1)
 *  Bits Allocated: (US, 1, 1)
 *  Bits Stored: (US, 1, 1)
 *  High Bit: (US, 1, 1)
 *  Pixel Representation: (US, 1, 1)
 *  Dimension Organization Type (CS, 1, 1)
 *  Acquisition DateTime (DT, 1, 1)
 *  Acquisition Duration (FD, 1, 1)
 *  Pixel Spacing (DS, 2, 1)
 *  Position Measuring Device Used (CS, 1, 1C)
 *  Lossy Image Compression: (CS,  1, 1)
 *  Lossy Image Compression Ratio: (DS, 1-n, 1C)
 *  Lossy Image Compression Method: (CS, 1-n, 1C)
 *  Presentation LUT Shape: (CS, 1, 1)
 *  Rescale Slope: (DS, 1, 1)
 *  Rescale Intercept: (DS, 1, 1)
 *  Mandatory View And Slice Progression Macro (type 1)
 *  Burned In Annotation: (CS, 1, 1)
 *  Recognizable Visual Features: (CS, 1, 3)
 *  Transducer Scan Pattern Code Sequence: (SQ, 1, 1)
 *  Transducer Geometry Code Sequence: (SQ, 1, 1)
 *  Transducer Beam Steering Code Sequence: (SQ, 1, 1)
 *  Transducer Application Code Sequence: (SQ, 1, 1)
 *  Processing Function: (LO, 1, 3)
 *  Mechanical Index: (DS, 1, 1)
 *  Bone Thermal Index: (DS, 1, 1)
 *  Cranial Thermal Index: (DS, 1, 1)
 *  Soft Tissue Thermal Index: (DS, 1, 1)
 *  Depth(s) of Focus: (FD, 1-n, 1)
 *  Depth(s) of Scan Field: (IS, 1, 1)
 */
class DCMTK_DCMIOD_EXPORT IODEnhUSImageModule : public IODModule
{

public:

  /** Constructor
   *  @param  item The item to be used for data storage. If NULL, the
   *          class creates an empty data container.
   *  @param  rules The rule set where this classes rules are added to. If NULL, the
   *          class creates an empty rule set.
   */
  IODEnhUSImageModule(OFshared_ptr<DcmItem> item,
                      OFshared_ptr<IODRules> rules);

  /** Constructor
   */
  IODEnhUSImageModule();

  /** Destructor
   */
  virtual ~IODEnhUSImageModule();

  /** Resets rules to their original values.
   */
  virtual void resetRules();

  /** Get name of module
   *  @return Name of the module ("EnhancedUSImageModule")
   */
  virtual OFString getName() const;

  /** Read attributes from given item into this class. Overwrites
   *  fucntion of base class IODComponent.
   *  @param source  The source to read from
   *  @param clearOldData If OFTrue, old data is cleared before reading. Otherwise
   *         old data is overwritten (or amended)
   *  @result EC_Normal if reading was successful, error otherwise
   */
  virtual OFCondition read(DcmItem& source,
                           const OFBool clearOldData = OFTrue);

  /** Write attributes from this class into given item. Overwrites
   *  function of base class IODComponent.
   *  @param  destination The item to write to
   *  @result EC_Normal if writing was successful, error otherwise
   */
  virtual OFCondition write(DcmItem& destination);

  /** Get Image Type
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getImageType(OFString &value,
                                   const signed long pos = 0);

  /** Get Samples Per Pixel
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
  */
  virtual OFCondition getSamplesPerPixel(Uint16& value,
                                         const unsigned long pos = 0);

  /** Get Photometric Interpretation
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getPhotometricInterpretation(OFString& value,
                                                   const signed long pos = 0);

  /** Get Rows
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getRows(Uint16& value,
                              const unsigned long pos = 0);

  /** Get Columns
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getColumns(Uint16& value,
                                  const unsigned long pos = 0);
   /** Get Bits Allocated
    *  @param  value Reference to variable in which the value should be stored
    *  @param  pos Index of the value to get (0..vm-1)
    *  @return EC_Normal if successful, an error code otherwise
    */
  virtual OFCondition getBitsAllocated(Uint16& value,
                                       const unsigned long pos = 0);

   /** Get Bits Stored
    *  @param  value Reference to variable in which the value should be stored
    *  @param  pos Index of the value to get (0..vm-1)
    *  @return EC_Normal if successful, an error code otherwise
    */
  virtual OFCondition getBitsStored(Uint16& value,
                                  const unsigned long pos = 0);

  /** Get High Bit
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getHighBit(Uint16& value,
                                 const unsigned long pos = 0);

  /** Get Pixel Representation
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getPixelRepresentation(Uint16& value,
                                             const unsigned long pos = 0);

  /** Get Dimension Organization Type
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getDimensionOrganizationType(OFString& value,
                                                   const signed long pos = 0);

  /** Get Acquisition DateTime
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getAcquisitionDateTime(OFString& value,
                                             const signed long pos = 0);

  /** Get Acquisition Duration
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getAcquisitionDuration(Float64& value,
                                             const unsigned long pos = 0);

  /** Get Pixel Spacing
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getPixelSpacing(Float64& value,
                                      const unsigned long pos = 0);

  /** Get Position Measuring Device
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getPositionMeasuringDevice(OFString& value,
                                                 const signed long pos = 0);

  /** Get Lossy Image Compression
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getLossyImageCompression(OFString& value,
                                               const signed long pos = 0);

  /** Get Lossy Image Compression Ratio
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getLossyImageCompressionRatio(Float64& value,
                                                    const unsigned long pos = 0);

  /** Get Lossy Image Compression Method
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getLossyImageCompressionMethod(OFString& value,
                                                     const signed long pos = 0);

  /** Get Presentation LUT Shape
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getPresentationLUTShape(OFString& value,
                                              const signed long pos = 0);
  /** Get Rescale Slope
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getRescaleSlope(Float64& value,
                                      const unsigned long pos = 0);
  /** Get Rescale Intercept
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getRescaleIntercept(OFString& value,
                                          const signed long pos = 0);

  /** Get Burned-In Annotation
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getBurnedInAnnotation(OFString& value,
                                            const signed long pos = 0);
  /** Get Recognizable Visual Features
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getRecognizableVisibleFeatures(OFString& value,
                                                     const signed long pos = 0);
  /** Get Mandatory View And Slice Progression Direction
   *  @return Reference to Mandatory View And Slice Progression Direction
   */
  virtual MandatoryViewAndSliceProgressionDirectionMacro& getMandatoryViewAndSliceProgressionDirection();

  /** Get Anatomy
   *  @return Reference to Anatomy
   */
  virtual GeneralAnatomyMacro& getAnatomy();

  /** Get Transducer Scan Pattern
   *  @return Reference to Transducer Scan Pattern
   */
  virtual CodeSequenceMacro& getTransducerScanPattern();

  /** Get Transducer Geometry Code
   *  @return Reference to Transducer Geometry
   */
  virtual CodeSequenceMacro& getTransducerGeometry();

  /** Get Transducer Beam Steering
   *  @return Reference to Transducer Beam Steering
   */
  virtual OFVector<CodeSequenceMacro*>& getTransducerBeamSteering();

  /** Get Transducer Application
   *  @return Reference to Transducer Application
   */
  virtual CodeSequenceMacro& getTransducerApplication();

  /** Get Processing Function
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getProcessingFunction(OFString& value,
                                            const signed long pos = 0);
  /** Get Mechanical Index
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getMechanicalIndex(Float64& value,
                                         const unsigned long pos = 0);

  /** Get Bone Thermal Index
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getBoneThermalIndex(Float64& value,
                                          const unsigned long pos = 0);

  /** Get Cranial Thermal Index
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getCranialThermalIndex(Float64& value,
                                             const unsigned long pos = 0);

  /** Get Soft Tissue Thermal Index
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1), -1 for all values
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getSoftTissueThermalIndex(Float64& value,
                                                const unsigned long pos = 0);

  /** Get Depth(s) of Focus
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getDepthsOfFocus(Float64& value,
                                       const unsigned long pos = 0);

  /** Get Depth(s) of Scan Field
   *  @param  value Reference to variable in which the value should be stored
   *  @param  pos Index of the value to get (0..vm-1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition getDepthsOfScanField(Float64& value,
                                           const unsigned long pos = 0);

  /** Set Image Type. Image Type contains up to four values. Value 3 and 4 are
   *  optional and can be left empty if desired. The values in their order
   *  of occurrence are:
   *  1) Pixel Data Characteristics: Either ORIGINAL or DERIVED
   *  2) Patient Examination Characteristics: Fixed to "PRIMARY", thus cannot be
   *  influenced through this function.
   *  3) Image Flavor: Defined Terms listed in the standard
   *  4) Derived Pixel Contrast: Defined Terms listed in the standard
   *  @param  pixelDataChar Value 1 of Image Type
   *  @param  imageFlavor Value 3 of Image Type
   *  @param  derivedPixelContrast Value 4 of Image Type
   *  @param  checkValue If OFTrue, the value is checked for conformance.
   *  @return EC_Normal if setting was successful, error otherwise.
   */
  virtual OFCondition setImageType(const DcmIODTypes::IOD_ENHUSIMAGETYPE pixelDataChar,
                                   const OFString& imageFlavor = "",
                                   const OFString& derivedPixelContrast = "",
                                   const OFBool checkValue = OFTrue);

  /** Set Rows
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setRows(const Uint16 value,
                              const OFBool checkValue = OFTrue);

  /** Set Columns
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setColumns(const Uint16 value,
                                 const OFBool checkValue = OFTrue);
  /** Set Bits Allocated
   *  @param  value Value to be set, permitted values: 8 or 16
   *  @param  checkValue Check 'value' for conformance if enabled
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setBitsAllocated(const Uint16 value,
                                       const OFBool checkValue = OFTrue);

  /** Set Bits Stored
   *  @param  value Value to be set, permitted values: 8 or 16
   *  @param  checkValue Check 'value' for conformance if enabled
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setBitsStored(const Uint16 value,
                                    const OFBool checkValue = OFTrue);

  /** Set High Bit
   *  @param  value Value to be set, permitted values: 7 or 15
   *  @param  checkValue Check 'value' for conformance if enabled
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setHighBit(const Uint16 value,
                                 const OFBool checkValue = OFTrue);

  /** Set Dimension Organization Type
   *  @param  value Value to be set, permitted values: "3D" or "3D_TEMPORAL"
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (CS) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setDimensionOrganizationType(const OFString& value,
                                                   const OFBool checkValue = OFTrue);

  /** Set Acquisition DateTime
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (DT) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setAcquisitionDateTime(const OFString& value,
                                             const OFBool checkValue = OFTrue);

  /** Set Acquisition Duration
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled,
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setAcquisitionDuration(const Float64 value,
                                             const OFBool checkValue = OFTrue);

  /** Set Pixel Spacing
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (DS) and VM (2)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setPixelSpacing(const OFString& value,
                                      const OFBool checkValue = OFTrue);

  /** Set Position Measuring Device
   *  @param  value Value to be set, permitted values: "RIGID" or "FREEHAND"
   *  @param  checkValue Check 'value' for conformance if enabled
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setPositionMeasuringDevice(const OFString& value,
                                                 const OFBool checkValue = OFTrue);

  /** Set Lossy Image Compression
   *  @param  value Value to be set, permitted values: "00" (not lossy compressed) or "01" (lossy compressed)
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (CS) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setLossyImageCompression(const OFString& value,
                                               const OFBool checkValue = OFTrue);

  /** Set Lossy Image Compression Ratio
   *  @param  value Value to be set, including VR (DS) and VM (1-n)
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (DS)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setLossyImageCompressionRatio(const OFString& value,
                                                    const OFBool checkValue = OFTrue);

  /** Set Lossy Image Compression Method
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (CS)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setLossyImageCompressionMethod(const OFString& value,
                                                     const OFBool checkValue = OFTrue);

  /** Set Recognizable Visual Features
   *  @param  value Value to be set, permitted values: "YES" or "NO"
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (CS) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setRecognizableVisibleFeatures(const OFString& value,
                                                     const OFBool checkValue = OFTrue);

  /** Set Processing Funcion
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (LO) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setProcessingFunction(const OFString& value,
                                            const OFBool checkValue = OFTrue);

  /** Set Mechanical Index
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (DS) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setMechanicalIndex(const OFString& value,
                                         const OFBool checkValue = OFTrue);

  /** Set Bone Thermal Index
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (DS) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setBoneThermalIndex(const OFString& value,
                                          const OFBool checkValue = OFTrue);

  /** Set Cranial Thermal Index
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (DS) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setCranialThermalIndex(const OFString& value,
                                             const OFBool checkValue = OFTrue);

  /** Set Soft Tissue Thermal Index
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (DS) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setSoftTissueThermalIndex(const OFString& value,
                                                const OFBool checkValue = OFTrue);

  /** Set Depth(s) of Focus
   *  @param  value Value to be set
   *  @param  pos Index of the value to set (0..vm-1)
   *  @param  checkValue Check 'value'. Not evaluated (here for consistency with
   *          other setter functions).
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setDepthsOfFocus(const Float64 value,
                                       const unsigned long pos,
                                       const OFBool checkValue = OFTrue);

  /** Set Depth(s) of Focus (convenience function)
   *  @param  values Value(s) to be set
   *  @param  checkValue Check 'value'. Not evaluated (here for consistency with
   *          other setter functions).
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setDepthsOfFocus(const OFVector<Float64>& values,
                                       const OFBool checkValue = OFTrue);

  /** Set Depth(s) of Scan Field
   *  @param  value Value to be set
   *  @param  checkValue Check 'value' for conformance if enabled, including VR (IS) and VM (1)
   *  @return EC_Normal if successful, an error code otherwise
   */
  virtual OFCondition setDepthsOfScanField(const OFString& value,
                                           const OFBool checkValue = OFTrue);


private:

  /// This module's name ("EnhancedUSImageModule")
  static const OFString m_ModuleName;

  /// Mandatory View and Slice Progression Direction
  MandatoryViewAndSliceProgressionDirectionMacro m_MandatoryViewAndSliceProgressionDirection;

  /// General Anatomy Mandatory Macro
  GeneralAnatomyMacro m_Anatomy;

  /// Item of Transducer Scan Pattern Code Sequence
  CodeSequenceMacro m_TransducerScanPattern;

  /// Item of Transducer Geometry Code Sequence
  CodeSequenceMacro m_TransducerGeometry;

  /// Item of Transducer Beam Steering Code Sequence
  OFVector<CodeSequenceMacro*> m_TransducerBeamSteering;

  /// Item of Transducer Application Code Sequence
  CodeSequenceMacro m_TransducerApplication;
};

#endif // MODENHUSIMAGE_H