ohif-viewer/Packages/viewerbase/lib/helpers/formatPN.js
2015-11-06 15:29:09 +01:00

7 lines
197 B
JavaScript

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