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

7 lines
197 B
JavaScript

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