Exemplo n.º 1
0
        public void should_define_the_dose_parameter_as_a_function_of_body_surface_area_and_dose_per_body_surface_area()
        {
            var dose = ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE);

            dose.Formula.IsExplicit().ShouldBeTrue();
            dose.Formula.ObjectPaths.Select(x => x.Alias).ShouldContain(CoreConstants.Parameters.BSA, CoreConstants.Parameters.DOSE_PER_BODY_SURFACE_AREA);
        }
Exemplo n.º 2
0
        public void should_define_the_dose_parameter_as_a_function_of_body_weight_and_dose_per_body_weight()
        {
            var dose = ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE);

            dose.Formula.IsExplicit().ShouldBeTrue();
            dose.Formula.ObjectPaths.Select(x => x.Alias).ShouldContain("BW", CoreConstants.Parameters.DOSE_PER_BODY_WEIGHT);
        }
Exemplo n.º 3
0
 public void the_value_of_dose_per_body_surface_area_should_be_zero()
 {
     ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE_PER_BODY_SURFACE_AREA).Value.ShouldBeEqualTo(0);
 }
Exemplo n.º 4
0
 public void should_update_the_dose_per_body_weight_parameter_value()
 {
     ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE_PER_BODY_WEIGHT).Value.ShouldBeEqualTo(_schemaItemIV.Dose.Value);
 }
Exemplo n.º 5
0
 public void should_hide_the_dose_per_body_surface_area_parameter()
 {
     DoseParameterShouldBeHidden(ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE_PER_BODY_SURFACE_AREA));
 }
Exemplo n.º 6
0
 public void should_hide_the_dose_parameter()
 {
     DoseParameterShouldBeHidden(ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE));
 }
Exemplo n.º 7
0
 public void the_value_of_dose_per_body_weight_should_be_zero()
 {
     ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE_PER_BODY_WEIGHT).Value.ShouldBeEqualTo(0);
 }
Exemplo n.º 8
0
 public void should_update_the_dose_per_body_surface_parameter_value()
 {
     ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE_PER_BODY_SURFACE_AREA).Value.ShouldBeEqualTo(_schemaItemIV.Dose.Value);
 }
Exemplo n.º 9
0
 public void should_hide_the_dose_per_body_weight_parameter()
 {
     DoseParameterShouldBeHidden(ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE_PER_BODY_WEIGHT));
 }
Exemplo n.º 10
0
 public void should_update_the_dose_parameter_value()
 {
     ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE).Value.ShouldBeEqualTo(_schemaItemIV.Dose.Value);
 }
Exemplo n.º 11
0
        public void should_define_the_dose_parameter_as_a_constant_formula()
        {
            var dose = ApplicationParameterContainer.Parameter(CoreConstants.Parameters.DOSE);

            dose.Formula.IsConstant().ShouldBeTrue();
        }