A function designed to break out of loops given information (or the lackthereof) contained in the DICOM header.

nextHeader(dcm, string, reference, str.warning, htmlfile = NULL,
  heading = 3, numeric = FALSE)

Arguments

dcm

is the DICOM list structure.

string

is a character string to be matched with the DICOM header.

reference

is the scalar/vector of character strings to check against the DICOM header output.

str.warning

is a text string for the warning.

htmlfile

is the hwriter object for the HTML file (default = NULL.

heading

is the HTML tag <H?> (default = 3).

numeric

is the argument to be passed to matchHeader.

Value

An expression to be evaluated and HTML content.

References

Digital Imaging and Communications in Medicine (DICOM)
http://medical.nema.org

See also

Author

Brandon Whitcher bwhitcher@gmail.com