passing application name to core patient registration