Table of Contents | ||
---|---|---|
|
Introduction
Interest or focus on the Based on the centres or collection protocol need, interest on what to see as participant header might be different based on centers or collection protocol needs. Example . For example some collection protocols needs participants participant's PPID, first name, and last name as the header, some wants to see MPI. Therefore it is important that participant header can be configured as per protocol or centers centres needs.
This configuration can be done at two levels.
...
Code Block | ||
---|---|---|
| ||
{ "name" : "common", "data" : { "participantHeaderTmpl" : “<span>{{cpr.ppid}}</span>” } } |
...
Below are some examples of header template
PPID (MRN) - Show PPID and MRN of site 'New York' if exist. MRN should be display only if user has PHI access.
Code Block language xml <span>{{cpr.ppid}}</span> <span ng-if="userCtx.hasPhiAccess" ng-repeat="pmi in cpr.participant.pmis"> <span ng-if="pmi.siteName=='Pune'"> ({{pmi.mrn}}) </span> </span>
PPI (MPI) - Show PPID and master patient index if exist. Master patient index should be display only if user has PHI access.
Code Block language xml <span>{{cpr.ppid}}</span> <span ng-if="userCtx.hasPhiAccess && cpr.participant.empi"> <span> ({{cpr.participant.empi}}) </span> </span>
...