Tagpharmacy architecture