-
Notifications
You must be signed in to change notification settings - Fork 2
architecture
keinsell edited this page Jan 24, 2025
·
1 revision
erDiagram
INGESTION }|..|{ SUBSTANCE: "uses"
SUBSTANCE ||--o{ ROUTE_OF_ADMINISTRATION: "has multiple"
ROUTE_OF_ADMINISTRATION ||--o{ ROUTE_OF_ADMINISTRATION_DOSAGE: "has multiple"
ROUTE_OF_ADMINISTRATION ||--o{ ROUTE_OF_ADMINISTRATION_PHASE: "has multiple"
COMPOSITE ||--o{ COMPOSITE_COMPONENT: "has multiple"
STACK ||--o{ STACK_ITEM: "has multiple"
STACK_ITEM ||..o| INGESTION: "references"
- Composite: Defines a preset of multiple ingestions that are used together by ingestion of higher-order substance. Good
example is a meal, supplement capsules which contain multiple substances or a cocktail.
- Composite Component: Defines a single ingestion that is part of a composite.
- Stack: Defines a cyclic set of ingestions as of composite. Good example is a stack of supplements that are taken
together.
- StackItem: Defines a single ingestion that is part of a stack.
- Inventory: Defines a set of substances that are available for ingestion.
- InventoryItem: Defines a single substance that is part of an inventory.