7 lines
197 B
JavaScript
7 lines
197 B
JavaScript
UI.registerHelper('formatPN', function (context, format, options) {
|
|
if (!context) {
|
|
return undefined;
|
|
}
|
|
var patientName = context.replace('^', ', ');
|
|
return patientName;
|
|
}); |