Learn R Programming

oro.dicom (version 0.3.1)

nextHeader: Check String Against DICOM Header Field to Produce Error Message or NEXT

Description

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

Usage

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 (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

extractHeader, matchHeader