Black0wL / nephro-planner

Automatically exported from code.google.com/p/nephro-planner
0 stars 0 forks source link

[General] Nephrologists' Management #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Module must manage Nephrologists' :
- Create Nephrologist class (PK: int, auto-increment: +1, seed: 0)
- CRUD operation
- Storage: SQLite

Nephrologist class:
- fields:
    - id (int)
    - name (string)
    - daysOff (list[datetime]/list[date]): half-days off?
    - daysPreferences
    - obligationDays (list[date])
    - daysCounters (int): can declare an enumeration (Activity)
        - NEPHROLOGY
        - DIALYSIS
        - CONSULTATION
        - OBLIGATION
        - OBLIGATION_HOLIDAY
        - OBLIGATION_WEEKEND
        - OTHERS

Original issue reported on code.google.com by christop...@gmail.com on 7 Nov 2014 at 12:32

GoogleCodeExporter commented 9 years ago
    - daysOff: holidays shifts
        - list[datetime]: 3-shifts-based logic...
        - rename?
    - daysPreferences: associates Activity to a structure [initial datetime NOT NULL, frequency timedelta NULL, final datetime NULL] that outputs a set of datetimes on which specific nephrologist would like to practice the specific Activity
        - could reverse association be more useful?
        - rename?
    - obligationDays: mandatory shifts of work
        - list[datetime]: 3-shifts-based logic...
        - rename?

Original comment by christop...@gmail.com on 7 Nov 2014 at 1:07

GoogleCodeExporter commented 9 years ago
    - daysCounters ==> effortWeightCountersTemplate, is a TEMPLATE to be implemented by one-month planning

Original comment by christop...@gmail.com on 7 Nov 2014 at 2:15