+ {{entryTimestamp}}
+ {{userName}} accessed record(s) {{getRecordId}} in the {{getCollectionName}} collection.
+
+
+
+ {{/if}}
+
+
+ {{#if logMessageType 'create'}}
+
+
+
+
+ {{entryTimestamp}}
+ {{#if hasPatientInfo}}
+ {{userName}} created record {{getRecordId}} in the {{getCollectionName}} collection, regarding patient {{getPatientName}}.
+ {{else}}
+ {{userName}} created record {{getRecordId}} in the {{getCollectionName}} collection.
+ {{/if}}
+
+
+
+ {{/if}}
+
+
+ {{#if logMessageType 'modify'}}
+
+
+
+
+ {{entryTimestamp}}
+ {{#if hasPatientInfo}}
+ {{userName}} modified record {{getRecordId}} in the {{getCollectionName}} collection, regarding patient {{getPatientName}}.
+ {{else}}
+ {{userName}} modified record {{getRecordId}} in the {{getCollectionName}} collection.
+ {{/if}}
+
+
+
+
+ {{/if}}
+
+
+ {{#if logMessageType 'clone'}}
+
+
+
+
+ {{entryTimestamp}}
+ {{userName}} cloned record {{getRecordId}} in the {{getCollectionName}} collection.
+
+
+
+ {{/if}}
+
+
+ {{#if logMessageType 'delete'}}
+
+
+
+
+ {{entryTimestamp}}
+ {{userName}} deleted record {{getRecordId}} in the {{getCollectionName}} collection.
+
+
+
+ {{/if}}
+
+
+ {{#if logMessageType 'denied'}}
+
+
+
+
+ {{entryTimestamp}}
+ {{userName}} was denied access to record {{getRecordId}} in the {{getCollectionName}} collection.
+
+
+
+ {{/if}}
+
+
+ {{#if logMessageType 'viewed'}}
+
+
+
+
+ {{entryTimestamp}}
+ {{#if hasPatientInfo}}
+ {{userName}} viewed record {{getRecordId}} in the {{getCollectionName}} collection, regarding patient {{getPatientName}}.
+ {{else}}
+ {{userName}} viewed record {{getRecordId}} in the {{getCollectionName}} collection.
+ {{/if}}
+