Adding notes addon to a recordSet (is that what you need?) is pretty simple.
Examples are all over the place, contacts, projects, tickets. It's simply definition of addon, then addon function that gives ID for notes it is supposed to show (it's usually something like <record_set_name>.'/'.$record['id'] - this gives you unique note sets per recordsets and for each record in there.
Having 2 or more instances of notes addons for recordSet is not a big deal either. Just make sure to put something different in each "key" passed to attachment addon.
For instance:
'CRM/Contacts/personal/'.$r['id']
'CRM/Contacts/medical/'.$r['id']
Hope this helps,
Arek