{{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}}
{{/if}}
{{#if logMessageType 'publish'}}
{{entryTimestamp}} {{userName}} published record {{getRecordId}} in the {{getCollectionName}} collection.
{{/if}}
{{#if logMessageType 'unpublish'}}
{{entryTimestamp}} {{userName}} unpublished record {{getRecordId}} in the {{getCollectionName}} collection.
{{/if}}
{{#if logMessageType 'error'}}
{{entryTimestamp}} {{userName}} received a data access error while performing an action! {{getErrorMessage}}