| 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 ZorgVraagCode(BoomParameter): |
|
| 6 | """ |
||
| 7 | Klasse voor boomparameter zorgvraagcode. |
||
| 8 | 1 | ||
| 9 | Boomparameternummers: 220. |
||
| 10 | """ |
||
| 11 | |||
| 12 | # ------------------------------------------------------------------------------------------------------------------ |
||
| 13 | def tel(self, zorg_vraag_attribuut_code: str, subtraject: Subtraject) -> int: |
||
| 14 | """ |
||
| 15 | Geeft het aantal malen (d.w.z. 0 of 1) dat de zorgvraag van een subtraject voldoet aan een |
||
| 16 | 1 | (specialismecode, zorgvraagcode). |
|
| 17 | |||
| 18 | :param str zorg_vraag_attribuut_code: De attribuutcode voor (specialismecode, zorgvraagcode). |
||
| 19 | :param Subtraject subtraject: Het subtraject. |
||
| 20 | |||
| 21 | :rtype: int |
||
| 22 | """ |
||
| 23 | return subtraject.telling_zorg_vraag_attribuut(zorg_vraag_attribuut_code) |
||
| 24 | |||
| 26 |