nextHeader: Check String Against DICOM Header Field to Produce Error...

View source: R/header.R

nextHeaderR Documentation

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 lack thereof) 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 <H?> (default = 3).

numeric

is the argument to be passed to matchHeader.

Value

An expression to be evaluated and HTML content.

Author(s)

Brandon Whitcher bwhitcher@gmail.com

References

Digital Imaging and Communications in Medicine (DICOM)
https://www.dicomstandard.org

See Also

extractHeader, matchHeader


bjw34032/oro.dicom documentation built on Feb. 10, 2024, 12:25 a.m.