3
É4à[1
  ã               @   s   d Z ddlZG dd„ dƒZdS )zV
Special information about breast cancer related issues.

@author: Vertigo Biosystems
é    Nc               @   s„   e Zd Zdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejdd„ ƒZed	d
„ ƒZejdd
„ ƒZedd„ ƒZ	e	jdd„ ƒZ	dd„ Z
dS )ÚBreastCancerc             C   s   d | _ d | _d | _d | _d S )N)Úage_first_menstruationÚnumber_biopsiesÚage_mom_first_live_birthÚnumber_relatives_with_cancer)Úself© r   úW/var/www/vitahealth/hygea.vitahealth/riskmap/src/vbs_riskmap/healthinfo/BreastCancer.pyÚ__init__   s    zBreastCancer.__init__c             C   s   | j S )z!age of first menstruation (years))Ú%_BreastCancer__age_first_menstruation)r   r   r   r	   r      s    z#BreastCancer.age_first_menstruationc             C   s
   || _ dS )z!age of first menstruation (years)N)r   )r   r   r   r   r	   r      s    c             C   s   | j S )znumber of times)Ú_BreastCancer__number_biopsies)r   r   r   r	   r   !   s    zBreastCancer.number_biopsiesc             C   s
   || _ dS )znumber of timesN)r   )r   r   r   r   r	   r   &   s    c             C   s   | j S )zSAge in years of the mom at first birth of a live child
        (0 if no live birth))Ú'_BreastCancer__age_mom_first_live_birth)r   r   r   r	   r   +   s    z%BreastCancer.age_mom_first_live_birthc             C   s
   || _ dS )zSAge in years of the mom at first birth of a live child
        (0 if no live birth)N)r   )r   r   r   r   r	   r   1   s    c             C   s   | j S )z,number of first degree relatives with cancer)Ú+_BreastCancer__number_relatives_with_cancer)r   r   r   r	   r   7   s    z)BreastCancer.number_relatives_with_cancerc             C   s
   || _ dS )z,number of first degree relatives with cancerN)r   )r   r   r   r   r	   r   <   s    c             C   s>   |j dƒ| _|j dƒ| _|j dƒ| _|j dƒ| _tjdƒ dS )z?
        Sets the input parameters in the attributes.

        r   r   r   r   z$BREAST CANCER DATA parameters ended.N)Úgetr   r   r   r   ÚloggingÚinfo)r   Úparamsr   r   r	   Ú
set_paramsA   s
    zBreastCancer.set_paramsN)Ú__name__Ú
__module__Ú__qualname__r
   Úpropertyr   Úsetterr   r   r   r   r   r   r   r	   r      s   
r   )Ú__doc__r   r   r   r   r   r	   Ú<module>   s   