How senaite/senaite.patient works
Project type and purpose
• From the README and file tree, this is a Plone/Zope add-on (“senaite.patient”) that plugs into the SENAITE LIMS platform to provide patient handling.
• It consists of Python/ZCML backend components (content types, adapters, views, indexers, upgrade handlers) and a small set of frontend assets (JS/Coffee, SCSS, PT templates) built via webpack.
File structure
• Top-level files: buildout.cfg, setup.py/cfg, requirements.txt, CI workflows, docs/ for changelog, tests.
• src/senaite/patient: the core Python package implementing Plone content types (patient, sample, folder), ZCML config (configure.zcml scattered in adapters/, browser/, catalog/, jsonapi/, upgrade/), permissions, profiles (GenericSetup for install/uninstall), upgrade scripts, validators, vocabularies, i18n resources.
• webpack/: build pipeline for CoffeeScript components, SCSS, JS entry points, producing senaite.patient bundles consumed by the Plone resource registry.
README for additional insights
• Confirms the add-on nature (“adds Patient handling to SENAITE LIMS”).