| Total Complexity | 1 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | from kerapu.boom.boom_parameter.BoomParameter import BoomParameter |
||
| 2 | from kerapu.lbz.Subtraject import Subtraject |
||
| 3 | |||
| 4 | 1 | ||
| 5 | 1 | class DiagnoseCode(BoomParameter): |
|
| 6 | """ |
||
| 7 | Klasse voor boomparameter diagnosecode. |
||
| 8 | 1 | ||
| 9 | Boomparameternummer: 230. |
||
| 10 | """ |
||
| 11 | |||
| 12 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 13 | def tel(self, diagnose_attribuut_code: str, subtraject: Subtraject) -> int: |
||
| 14 | """ |
||
| 15 | Geeft het aantal malen (d.w.z. 0 of 1) dat een subtraject voldoet aan een een |
||
| 16 | 1 | (specialismecode, diagnosecode) combinatie. |
|
| 17 | |||
| 18 | :param str diagnose_attribuut_code: De attribuutcode voor (specialismecode, diagnosecode) combinatie. |
||
| 19 | :param Subtraject subtraject: Het subtraject. |
||
| 20 | |||
| 21 | :rtype: int |
||
| 22 | """ |
||
| 23 | return subtraject.telling_diagnose_attribuut(diagnose_attribuut_code) |
||
| 24 | |||
| 26 |