A pregnant worker is entitled to mandatory rest during the six weeks preceding the birth and the six weeks following. The wage is as agreed upon in the employment contract, but may not be less than the legal minimum wage. Internal work regulations may contain instructions for preventing occupational hazards, and for providing first aid in the event of an accident. In the event of accidents or illness, the worker will only receive the medical attention and indemnities agreed by the laws on workplace accidents or social security, under the modalities and conditions specified by said laws. Workers whose contracts end upon retirement for old age or other reason will receive compensation equivalent to severance benefits, if the pension is granted by the Dominican Social Security Institute.