hcildltest

This is a parse testing tool for the LDL file.

hcildltest [-a] [-d n] [-e enc] [-i] [-f format] 
[-V vers] [-v var] [-t test] [-M message] 
[-c drivercontrol][-n] [-F fieldname] [-w searchExp] 
[-p sepChars] file
  • -a processes all records in the file.
  • -d n shows data at detail level n.
  • -e enc encodes from enc to UTF-8.
  • -i displays field addresses using index notation.
  • -f format specifies the file format:
    • -f len10 specifies 10-byte length-encoded.
    • -f nl specifies newline terminated. This is the default.
    • -f eof specifies end-of-file terminated.
  • -V vers is the ldl version. This is a generic type; the default depends on the type.
  • -v var is the ldl variant. This defaults to ’’.
  • -t test is used to select which test to run:
    • numbers tests Nn number conversions.
    • parse test parses a message. This is the default.
  • -M message is the message file for the DICOM message.
  • -c drivercontrol is used to set the content to message metadata DRIVERCONTROL. You can input any content to set to drivercontrol using this option.

    For ldl parse, -c drivercontrol is required, where drivercontrol is {TransferSyntax***}.

    See DICOM transfer syntax values.

    Example:

    hcildltest –i –f eof –V 2014 –v test –M C_MOVE 
    –c "{TransferSyntax 1.2.840.10008.1.2}" c_store.dat  
  • -n displays field names.
  • -F fieldname displays only the field name.
  • -w searchExp indicates only the lines of output that match the search expression are printed. This is case-sensitive.
  • -p sepChars are the separator characters used for parsing or encoding. This should be in keyed list format.
  • file is the data file with which to test.