ohif-viewer/Packages/viewerbase/lib/helpers/formatPN.js

7 lines
197 B
JavaScript
Raw Normal View History

2015-11-06 15:29:09 +01:00
UI.registerHelper('formatPN', function (context, format, options) {
if (!context) {
return undefined;
}
2015-11-06 15:29:09 +01:00
var patientName = context.replace('^', ', ');
return patientName;
});