Resolved styling issues from Clinical Meteor packages, added HIPAA Audit Log package

This commit is contained in:
Erik Ziegler committed 2016-01-25 22:35:53 +01:00
1 parent 98222abd0a
commit 2ea9eae0aa
28 files changed
+968 -22

No files matched your search

+15
View File
@@ -55,6 +55,21 @@ getStudyMetadata = function(studyInstanceUid, doneCallback) {
// Finally, we fire the doneCallback with this study meta data
doneCallback(study);
// Temporary: Testing out the Clinical Meteor HIPAA Audit log
if (Meteor.user()) {
log.info('Adding access to HIPAA Log');
var hipaaEvent = {
eventType: "access",
userId: Meteor.userId(),
userName: Meteor.user().profile.fullName,
collectionName: "Studies",
recordId: studyInstanceUid,
patientId: null,
patientName: null
};
HipaaLogger.logEvent(hipaaEvent);
}
});
};