Follow-up Comment #2, task#13398 (group health): I think the below way is simple to code:
code: test_type, gender, age_range a1: test1, man, 1-10 a2: test1, woman, 1-10 a3: test1, man, 10-100 a4: test1, woman, 10-100 I have add gender, max_age, min_age field to TestType module: https://hg.savannah.gnu.org/hgweb/health/rev/85c1b7508663 When I try to add domain to fields like below: name = fields.Many2One( 'gnuhealth.lab.test_type', 'Test Type', required=True, select=True) I have found that domain is very long to test: source is patient, gender, age_num, and we have add gender and age_number to three modules, so, is it worth to add long domain and more code to let user face less item when select test_type? _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/task/?13398> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/