Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 16th, 2012  |  syntax: None  |  size: 0.58 KB  |  hits: 9  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. class AuditLog {
  2.     static searchable = true
  3.  
  4.     String uuid
  5.         String requestId
  6.         String ipAddress
  7.  
  8.         String username   // User Causing the action
  9.         String patientMrn // Patient affected
  10.         Long encounterId  // Encounter affected
  11.  
  12.         String activity // Overarcing Category
  13.         String detail   // Description of modification
  14.         String action   // Create / Read / Update / Delete
  15.         String data     // JSON
  16.     String practiceUuid
  17.  
  18.     Date storeDate
  19.     Date dateCreated
  20.     Date lastUpdated
  21.  
  22.         static constraints = {
  23.                 patientMrn(nullable: true)
  24.                 encounterId(nullable: true)
  25.                 data(nullable: true)
  26.         }
  27. }