Fix parsing of single-prescription lines.
- VERBESSERT: 'Alternative' Verordnungen wurden nicht erkannt, wenn in der selben Zeile nicht auch eine 'kanonische' Verordnung stand.
This commit is contained in:
@ -180,7 +180,7 @@ namespace zaaReloaded2.Medication
|
||||
string[] lines = Helpers.SplitParagraphs(text);
|
||||
foreach (string line in lines)
|
||||
{
|
||||
if (Prescription.IsCanonicalPrescriptionLine(line))
|
||||
if (Prescription.IsPotentialPrescriptionLine(line))
|
||||
{
|
||||
addition = Prescription.ManyFromLine(line);
|
||||
columns = System.Math.Max(columns, addition.Count);
|
||||
|
Reference in New Issue
Block a user