public void GivenIAddTheAllergiesParameterWithAStartPeriod()
        {
            IEnumerable <Tuple <string, Base> > tuples = new Tuple <string, Base>[] {
                Tuple.Create(FhirConst.GetStructuredRecordParams.kTimePeriod, (Base)TimePeriodHelper.GetTimePeriodStartDateOnly()),
                Tuple.Create(FhirConst.GetStructuredRecordParams.kResolvedAllergies, (Base) new FhirBoolean(false))
            };

            _httpContext.HttpRequestConfiguration.BodyParameters.Add(FhirConst.GetStructuredRecordParams.kAllergies, tuples);
        }
Esempio n. 2
0
 public void AddATimePeriodParameterWithStartDateOnly()
 {
     _httpContext.HttpRequestConfiguration.BodyParameters.Add(FhirConst.GetCareRecordParams.kTimePeriod, TimePeriodHelper.GetTimePeriodStartDateOnly());
 }