def value chapter, value=nil
      case chapter
      when /^1\.\d*/
        block = "1. Substance"
      when /^2\.\d*/
        block = "2. General information"
      when /^3\.\d*/
        block = "3. Prediction"
      when /^4\.\d*/
        block = "4. Adequacy (Optional)"
      end
      @report["arrayCalculations"][block]['values'][chapter][1] = value unless value.nil?
      @report["arrayCalculations"][block]['values'][chapter][1]
    end
def value chapter, value=nil
      case chapter
      when /^1\.\d*/
        block = "1. Substance"
      when /^2\.\d*/
        block = "2. General information"
      when /^3\.\d*/
        block = "3. Prediction"
      when /^4\.\d*/
        block = "4. Adequacy (Optional)"
      end
      @report["arrayCalculations"][block]['values'][chapter][1] = value unless value.nil?
      @report["arrayCalculations"][block]['values'][chapter][1]
    end
Initialize a new report instance from QPRF template. With helper functions for Title, Version and Date
 Set or Get a value in the QPRF report
@example for CAS Number
  report = OpenTox::QPRFReport.new
  report.value "1.1", "7732-18-5"

 @param [String] chapter Name of the chapter - e.g.:  "1.1", "1.2", "1.3", "1.4", "1.5 General", "1.5 a.", "1.5 b.", "1.5 c.", "1.5 d.", "2.1" ...
 @param [String] value Value to set. If not set the function returns the current value
 @return [String]  returns Value