Describe the legislative purpose for the nurse practice act