//[SelfValidation(Ruleset = "Initial")]
        public void Initial(/*ValidationResults results*/)
        {
            try
            {
                if (string.IsNullOrEmpty(param.http_Accept))
                {
                    throw new WadoInvalidParamException("http_Accept");
                }

                {
                    List <Mime.Types> accept_mimes = Mime.ReadMimeList(param.http_Accept, true);

                    if (!accept_mimes.Contains(Mime.Types.wildcard) &&
                        !accept_mimes.Contains(Mime.Types.application_dicom) &&
                        !accept_mimes.Contains(Mime.Types.image_jpeg) &&
                        !accept_mimes.Contains(Mime.Types.application_text) &&
                        !accept_mimes.Contains(Mime.Types.application_html))
                    {
                        throw new WadoInvalidParamException("http_Accept");
                    }
                }

                //check object query parameters
                if (string.IsNullOrEmpty(param.studyUID))
                {
                    throw new WadoMissingParamException("studyUID");
                }
                if (string.IsNullOrEmpty(param.seriesUID))
                {
                    throw new WadoMissingParamException("seriesUID");
                }
                if (string.IsNullOrEmpty(param.objectUID))
                {
                    throw new WadoMissingParamException("objectUID");
                }
            }
            catch (System.Exception ex)
            {
                //results.AddResult(new ValidationResult(ex.Message, this, "Wado_URI_Params_Validation", "", null));
                throw;
            }
        }