Checking for patient record flagsChecking for Patient Record Flags...