     "auditSourceID": { type: String, required: false }
   "participantObjectIdentification": [ ParticipantObjectIdentificationSchema ]
 
-exports.Audit = mongoose.model 'Audit', AuditRecordSchema+exports.Audit = mongoose.model 'Audit', AuditRecordSchema


AuditRecordSchema = new Schema
  "rawMessage":  { type: String, required: false }
  "eventIdentification":
    "eventDateTime": { type: Date, required: true, default: Date.now }
    "eventOutcomeIndicator": { type: String, required: false }

  "displayName": { type: String, required: false }
  "codeSystemName": { type: String, required: false }

syslogSchema =
  "prival": { type: Number, required: false }
  "facilityID": { type: Number, required: false }
  "severityID": { type: Number, required: false }
  "facility": { type: String, required: false }
  "severity": { type: String, required: false }
  "type": { type: String, required: false }
  "time": { type: Date, required: false }
  "host": { type: String, required: false }
  "appName": { type: String, required: false }
  "pid": { type: String, required: false }
  "msgID": { type: String, required: false }

ActiveParticipantSchema = new Schema
  "userID": { type: String, required: false }
