public BloodPressure(StructuredDateTime when, NonNegativeInt systolic, NonNegativeInt diastolic) : this() { if (when == null) { throw new ArgumentNullException("when"); } if (systolic == null) { throw new ArgumentNullException("systolic"); } if (diastolic == null) { throw new ArgumentNullException("diastolic"); } When = when; Systolic = systolic; Diastolic = diastolic; }
internal static string ToTextValue(NonNegativeInt obj) { return (obj != null) ? XmlConvert.ToString(obj.Value) : null; }