Compare commits
No commits in common. "c3a99697b0d1f9b85eb933f1443f3c14a5da4702" and "23ecad4f8f7b441d678ad537baf6348b025429c5" have entirely different histories.
c3a99697b0
...
23ecad4f8f
@ -107,15 +107,16 @@
|
|||||||
var res = {}, re, matches;
|
var res = {}, re, matches;
|
||||||
if((row.RESOURCENAME) && (matches = row.RESOURCENAME.replace(/\W+/g, '-').replace(/^-+|-+$/g, ''))) res[matches.toLowerCase()] = matches;
|
if((row.RESOURCENAME) && (matches = row.RESOURCENAME.replace(/\W+/g, '-').replace(/^-+|-+$/g, ''))) res[matches.toLowerCase()] = matches;
|
||||||
if(row.WALKIN != '0') res['walkin'] = 'WALKIN';
|
if(row.WALKIN != '0') res['walkin'] = 'WALKIN';
|
||||||
if((row.CANCELLED != '0') || (row.NOSHOW != '0')) res['inactive'] = 'INACTIVE';
|
if(row.CANCELLED != '0') res['cancelled'] = 'CANCELLED';
|
||||||
else res['active'] = 'ACTIVE';
|
else if(row.NOSHOW != '0') res['noshow'] = 'NOSHOW';
|
||||||
|
else if(row.CHECKOUT) res['checkedout'] = 'CHECKEDOUT';
|
||||||
|
else if(row.CHECKIN) res['checkedin'] = 'CHECKEDIN';
|
||||||
if(row.NOTE) {
|
if(row.NOTE) {
|
||||||
re = /#([0-9a-z][\w-]*)/gi;
|
re = /#([0-9a-z][\w-]*)/gi;
|
||||||
while(matches = re.exec(row.NOTE)) res[matches[1].toLowerCase()] = matches[1];
|
while(matches = re.exec(row.NOTE)) res[matches[1].toLowerCase()] = matches[1];
|
||||||
re = /Dr[\.\s]*\b([a-z][\w-]*)/gi;
|
re = /Dr[\.\s]*\b([a-z][\w-]*)/gi;
|
||||||
while(matches = re.exec(row.NOTE)) res[matches[1].toLowerCase()] = matches[1];
|
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;
|
return res;
|
||||||
},
|
},
|
||||||
filter_conj(tags) {
|
filter_conj(tags) {
|
||||||
|
Loading…
Reference in New Issue
Block a user