diff --git a/htdocs/ViewSchedule.vue b/htdocs/ViewSchedule.vue index f6c3d1a..a610714 100644 --- a/htdocs/ViewSchedule.vue +++ b/htdocs/ViewSchedule.vue @@ -115,6 +115,7 @@ re = /Dr[\.\s]*\b([a-z][\w-]*)/gi; while(matches = re.exec(row.NOTE)) res[matches[1].toLowerCase()] = matches[1]; } + if((matches = this.practitioner[row.PATIENTNAME]) && (matches = matches.replace(/\W+/g, '-').replace(/^-+|-+$/g, ''))) res[matches.toLowerCase()] = matches.toUpperCase(); return res; }, filter_conj(tags) {