Beispiel #1
0
        /// <inheritdoc/>
        public string ToDelimitedString()
        {
            CultureInfo culture = CultureInfo.CurrentCulture;

            return(string.Format(
                       culture,
                       StringHelper.StringFormatSequence(0, 34, Configuration.FieldSeparator),
                       Id,
                       DiagnosticRelatedGroup?.ToDelimitedString(),
                       DrgAssignedDateTime.HasValue ? DrgAssignedDateTime.Value.ToString(Consts.DateTimeFormatPrecisionSecond, culture) : null,
                       DrgApprovalIndicator,
                       DrgGrouperReviewCode?.ToDelimitedString(),
                       OutlierType?.ToDelimitedString(),
                       OutlierDays.HasValue ? OutlierDays.Value.ToString(Consts.NumericFormat, culture) : null,
                       OutlierCost?.ToDelimitedString(),
                       DrgPayor?.ToDelimitedString(),
                       OutlierReimbursement?.ToDelimitedString(),
                       ConfidentialIndicator,
                       DrgTransferType?.ToDelimitedString(),
                       NameOfCoder?.ToDelimitedString(),
                       GrouperStatus?.ToDelimitedString(),
                       PcclValueCode?.ToDelimitedString(),
                       EffectiveWeight.HasValue ? EffectiveWeight.Value.ToString(Consts.NumericFormat, culture) : null,
                       MonetaryAmount?.ToDelimitedString(),
                       StatusPatient?.ToDelimitedString(),
                       GrouperSoftwareName,
                       GrouperSoftwareVersion,
                       StatusFinancialCalculation?.ToDelimitedString(),
                       RelativeDiscountSurcharge?.ToDelimitedString(),
                       BasicCharge?.ToDelimitedString(),
                       TotalCharge?.ToDelimitedString(),
                       DiscountSurcharge?.ToDelimitedString(),
                       CalculatedDays.HasValue ? CalculatedDays.Value.ToString(Consts.NumericFormat, culture) : null,
                       StatusGender?.ToDelimitedString(),
                       StatusAge?.ToDelimitedString(),
                       StatusLengthOfStay?.ToDelimitedString(),
                       StatusSameDayFlag?.ToDelimitedString(),
                       StatusSeparationMode?.ToDelimitedString(),
                       StatusWeightAtBirth?.ToDelimitedString(),
                       StatusRespirationMinutes?.ToDelimitedString(),
                       StatusAdmission?.ToDelimitedString()
                       ).TrimEnd(Configuration.FieldSeparator.ToCharArray()));
        }
Beispiel #2
0
 public override string ToString()
 {
     return(MonthlyPrice.ToString("C") + "/" + Period + " (" + TotalCharge.ToString("C") + ")");
 }
Beispiel #3
0
 public override string ToString()
 {
     // Generates the text shown in the combo box
     return(MonthlyPrice.ToString("c") + "/" + Period + " (Total : " + TotalCharge.ToString("c") + ")");
 }