MH: PraxisPusteblume Leistungsnachweis Krankenkasse
This commit is contained in:
@@ -57,12 +57,14 @@ namespace PraxisPusteblume
|
||||
|
||||
private XtraReport CreateServicesOverviewReportForRo(ServicesOverviewRO ro, long? serviceCategoryOid)
|
||||
{
|
||||
var orga = DAOFactory.GenericDAO.GetByID<Organisation>(ro.SupportConceptCostBearer.CostBearer.OrganisationOid);
|
||||
XtraReport report = null;
|
||||
|
||||
ServicesOverviewRO praxisRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
ServicesOverviewRO ifsMedizinRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
ServicesOverviewRO ifsPsychRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
ServicesOverviewRO ifsEingangsdiagnostikRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
ServicesOverviewRO krankenkasseRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
ServicesOverviewRO defaultRo = ServicesOverviewRO.CopyFromRO(ro);
|
||||
|
||||
if (ro.Services != null)
|
||||
@@ -81,6 +83,10 @@ namespace PraxisPusteblume
|
||||
ifsPsychRo.Services.Add(s);
|
||||
}
|
||||
}
|
||||
else if (orga.Function != null && orga.Function.Value.Contains("Krankenkasse"))
|
||||
{
|
||||
krankenkasseRo.Services.Add(s);
|
||||
}
|
||||
else
|
||||
{
|
||||
ifsEingangsdiagnostikRo.Services.Add(s);
|
||||
@@ -112,6 +118,7 @@ namespace PraxisPusteblume
|
||||
report = AddReportToReport<QuittierungsbelegIfsEingangsdiagnostik>(report, ifsEingangsdiagnostikRo);
|
||||
report = AddReportToReport<QuittierungsbelegIfs>(report, ifsPsychRo);
|
||||
report = AddReportToReport<QuittierungsbelegPraxis>(report, ifsMedizinRo);
|
||||
report = AddReportToReport<LeistungsnachweisKrankenkasse>(report, krankenkasseRo);
|
||||
report = AddReportToReport<Quittierungsbeleg>(report, defaultRo);
|
||||
|
||||
//report = AddReportToReport(report, eingliederungshilfe);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -41,6 +41,15 @@ namespace PraxisPusteblume
|
||||
{
|
||||
ro.Costbearer = HoleErstenKostentraeger(ro);
|
||||
}
|
||||
|
||||
if (ro.SupportConceptCostBearer.SupportConcept != null &&
|
||||
ro.SupportConceptCostBearer.SupportConcept.Customer.TerminationDate.HasValue)
|
||||
{
|
||||
checkboxBetreuungDauertAn.Checked = false;
|
||||
checkboxBetreuungBeendet.Checked = true;
|
||||
lblBeendigungsgrund.Text = ro.SupportConceptCostBearer.SupportConcept.Customer.TerminationReason;
|
||||
}
|
||||
|
||||
this.bindingSource1.DataSource = ro;
|
||||
}
|
||||
|
||||
@@ -110,10 +119,11 @@ namespace PraxisPusteblume
|
||||
}
|
||||
}
|
||||
|
||||
if (sd.ServiceCategory == "Entlastungsleistung § 45 b")
|
||||
if (sd.ServiceCategory.StartsWith("IFS - "))
|
||||
{
|
||||
//int einheiten = (int)Math.Floor(sd.Minutes/60);
|
||||
decimal einheiten = (decimal)sd.Minutes / 60m;
|
||||
string leistung = sd.ServiceDescription.ToLower();
|
||||
|
||||
bool wegepauschale = false;
|
||||
if (!key2Wegepauschale.ContainsKey(key))
|
||||
@@ -121,31 +131,46 @@ namespace PraxisPusteblume
|
||||
wegepauschale = true;
|
||||
key2Wegepauschale.Add(key, 1);
|
||||
}
|
||||
|
||||
row = tableRowPflegeeinheiten1;
|
||||
//totalEinheiten1 += einheiten;
|
||||
|
||||
//if (wegepauschale)
|
||||
//{
|
||||
// if (IstWochentagOderFeiertag(sd.StartDate))
|
||||
// {
|
||||
// totalWegepWochenende1++;
|
||||
// wegepauschaleRow = tableRowWegepWochenende1;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// totalWegepWochentags1++;
|
||||
// wegepauschaleRow = tableRowWegepWochentags1;
|
||||
// }
|
||||
//}
|
||||
|
||||
|
||||
// Korrekte Zeile wählen
|
||||
if (leistung.Contains("physio"))
|
||||
{
|
||||
row = tableRowPhysio;
|
||||
unterschriftPhysio.Visible = true;
|
||||
}
|
||||
else if (leistung.Contains("ergo"))
|
||||
{
|
||||
row = tableRowErgo;
|
||||
unterschriftErgo.Visible = true;
|
||||
}
|
||||
else if (leistung.Contains("logop"))
|
||||
{
|
||||
row = tableRowLogopaedie;
|
||||
unterschriftLogopaedie.Visible = true;
|
||||
}
|
||||
|
||||
//totalEinheiten1 += einheiten;
|
||||
|
||||
//if (wegepauschale)
|
||||
//{
|
||||
// if (IstWochentagOderFeiertag(sd.StartDate))
|
||||
// {
|
||||
// totalWegepWochenende1++;
|
||||
// wegepauschaleRow = tableRowWegepWochenende1;
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// totalWegepWochentags1++;
|
||||
// wegepauschaleRow = tableRowWegepWochentags1;
|
||||
// }
|
||||
//}
|
||||
|
||||
decimalValue += einheiten;
|
||||
|
||||
|
||||
text = String.Format("{0:0.#}", decimalValue);
|
||||
row.Cells[column].Text = text;
|
||||
var leistungsform = leistung.Contains("(") && leistung.Contains(")") ? leistung.Substring(leistung.IndexOf("(") + 1, 1).ToUpper() : null;
|
||||
|
||||
//text = String.Format("{0:0.#}", decimalValue);
|
||||
row.Cells[column].Text = leistungsform;
|
||||
|
||||
if (wegepauschaleRow != null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user