/// <summary>Initializes a new instance of the <see cref="FormatField"/> class.</summary> /// <param name="name"> The name.</param> /// <param name="title"> The title.</param> /// <param name="description"> The description.</param> /// <param name="type"> The type.</param> /// <param name="measureType"> The type of the measure.</param> /// <param name="isRequired"> True if this object is required, false if not.</param> /// <param name="countMin"> The count minimum.</param> /// <param name="countMax"> The count maximum.</param> /// <param name="options"> The options allowed for this question (choices).</param> public FormatField( string name, string title, string description, FieldType type, FhirMeasureType measureType, bool isRequired, int?countMin, int?countMax, List <FormatFieldOption> options) { Name = name; Title = title; Description = description; Type = type; MeasureType = measureType; IsRequired = isRequired; CountMin = countMin; CountMax = countMax; Options = options; AdditionalFieldDescription = string.Empty; }
/// <summary>Initializes a new instance of the <see cref="FormatField"/> class.</summary> /// <param name="name"> The name.</param> /// <param name="title"> The title.</param> /// <param name="description"> The description.</param> /// <param name="type"> The type.</param> /// <param name="measureType"> The type of the measure.</param> /// <param name="isRequired"> True if this object is required, false if not.</param> /// <param name="countMin"> The count minimum.</param> /// <param name="countMax"> The count maximum.</param> /// <param name="options"> The options allowed for this question (choices).</param> /// <param name="additionalFieldDescription">Additional field name for description joining.</param> public FormatField( string name, string title, string description, FieldType type, FhirMeasureType measureType, bool isRequired, int?countMin, int?countMax, List <FormatFieldOption> options, string additionalFieldDescription) : this( name, title, description, type, measureType, isRequired, countMin, countMax, options) { AdditionalFieldDescription = additionalFieldDescription; }