Indian Harbor Insurance Company (“Indian Harbor”), as subrogee of Elkco Properties, Inc., (“Elkco”) and Greenbriar Group, L.L.C. (“Greenbriar”) (collectively, hereinafter “Greenbriar parties”) appeal the district court’s order granting summary judgment in favor of Timothy Haines and the district court’s order granting Haines’ subsequent motion to dismiss. We affirm the judgment of the district court.
I.
This case arises out of a fire occurring at an apartment complex owned by Greenbr-iar. The property was managed by Elkco, which is also a majority owner of Greenbr-iar. The property was insured by Indian Harbor. The Greenbriar parties allege that the fire started when Haines, a maintenance worker leased from Oasis Outsourcing, Inc. (“Oasis”), negligently soldered a water valve located in the shower of an apartment at the complex. The fire damage was fairly extensive, and Indian Harbor paid $1,163,434.66 on Greenbriar and Elkco’s claim.
The Greenbriar parties initiated this suit in November 2010, asserting a single claim of negligence against Haines and Oasis. On February 14, 2011, Haines filed a voluntary petition in bankruptcy under Chapter 7 of the Bankruptcy Code, thereby staying this action. The Greenbriar parties sought relief in the bankruptcy court. They filed a motion to lift stay and for leave to proceed “to prosecute a property damage claim against the debtor, Timothy J. Haines, and to proceed solely to the extent of any applicable insurance.” The Greenbriar parties believed that Haines, as a leased employee of Oasis, might be covered under Oasis’s commercial general liability policy issued by Lexington Insurance Company (“Lexington”). The bankruptcy court granted the Greenbriar parties’ request for relief “to the extent requested in the motion.” Subject to the order allowing the Greenbriar parties to proceed to the extent of any applicable insurance, Haines received a discharge order in the bankruptcy proceeding.
Having obtained relief from the bankruptcy court to prosecute their claim against Haines, the Greenbriar parties reengaged in this proceeding. After a flurry of procedural feints, thrusts, and parries, the parties realigned themselves and ended up with claims, counterclaims, and third-party claims against each other. As relevant here, in its second amended
Haines and the Greenbriar parties filed motions for summary judgment. The district court initially denied both motions. With respect to the Greenbriar parties’ motion, the district court found that there were disputed issues of material fact regarding both Haines’ negligence and a potential intervening cause giving rise to a defense. With respect to Haines’ motion, the district court found that it was not ripe for adjudication because Haines’ liability for the fire had not been established. The district court held that only after liability had been established would the issue of whether an insurer must indemnify its insured arise. Despite this ruling, the district court noted that when the issue was properly before it, it would find that Haines was not an employee of Oasis, and, therefore, Haines would not be an insured within the meaning of the Lexington policy-
Haines filed a motion to reconsider and/or enlarge findings. In ruling on this motion, the district court, relying on new authority, held that Haines’ declaratory judgment action was ripe for resolution prior to any liability determination being made. The court then reached the substance of Haines’ declaratory judgment action and held that Haines was not an employee of Oasis and, therefore, was not an insured within the meaning of the Lexington policy. Because the bankruptcy court order allowed the Greenbriar parties to proceed only to the extent of any applicable insurance, and because the district court determined that Haines was not covered by the Lexington policy or any other insurance policy, the district court then dismissed the Greenbriar parties’ claims against Haines.
II.
The court first turns its attention to the district court order granting Haines’ motion for summary judgment. We review the district court’s grant of summary judgment for corrections of errors at law. See Boelman v. Grinnell Mut. Reins. Co.,
A.
The Greenbriar parties first contend that the district court erred in
Haines filed his counterclaim and third-party claim for declaratory relief pursuant to Iowa Rule of Civil Procedure 1.1102. As relevant here, Rule 1.1102 provides that “[a]ny person interested in an oral or written contract, ... or whose rights, status or other legal relations are affected by any ... contract ... may have any question of the construction or validity thereof or arising thereunder determined, and obtain a declaration of rights, status or legal relations thereunder.” Here, Haines sought a declaration of his rights, status, and legal relationships in two respects. First, he sought a declaration of whether he was an employee of Greenbriar or Oasis under the service agreements between Greenbriar and Oasis. Second, Haines sought a determination of whether he was an “insured” within the meaning of the Lexington policy, which turned on his employment status. The relevant language of the Lexington policy provides as follows:
Each of the following is also an insured:
Your “volunteer workers” only while performing duties related to the conduct of your business, or your “employees” ... but only for acts within the scope of their employment by you or while performing duties related to the conduct of your business.
[[Image here]]
“Volunteer worker” means a person who is not your “employee”, and who donates his or her work and acts at the direction of and within the scope of duties determined by you, and is not paid a fee, salary, or other compensation by you or anyone else for their work performed for you.
“Employee” includes a “leased worker.” “Employee” does not include a “temporary worker.”
“Leased worker” means a person leased to you by a labor leasing firm under an agreement between you and the labor leasing firm, to perform duties related to the conduct of your business. “Leased worker” does not include a “temporary worker.”
“Temporary worker” means a person who is furnished to you to substitute for a permanent “employee” on leave or to meet seasonal or short term workload conditions.
Although not dispositive of the issue before us, it should be noted that at no point did the Greenbriar parties seek to dismiss, stay, or sever Haines’ claim for declaratory relief on the grounds that the claims were not ripe. The ripeness issue was raised only in the Greenbriar parties’ resistance to Haines’ motion for summary judgment.
The mere filing of a declaratory judgment action does not, in and of itself, create a justiciable controversy. This is because the declaratory judgment rules do not create substantive rights; instead, they merely provide a mechanism to secure judicial relief in an expeditious man
Haines’ claim for declaratory relief under the facts and circumstances of this case is an “antagonistic assertion” of his right to relief under the Bankruptcy Code and a denial of the Greenbriar parties’ right to proceed in derogation of that right. Haines availed himself of the protections afforded by the Bankruptcy Code and obtained a discharge order. Generally, a discharge order serves “as an injunction against the commencement or continuation of an action” against the debtor for prepetition liabilities. 11 U.S.C. § 524(a)(2). A discharge order advances one of the primary purposes of the Bankruptcy Code: to permit the debtor “to start afresh” with “a .new opportunity in life and a clear field for future effort, unhampered” by the obligations of preexisting liabilities. Local Loan Co. v. Hunt,
The Greenbriar parties argue that an action to determine coverage under an indemnity policy cannot be ripe until such time as liability of the insured is established and the duty to indemnify arises. The Greenbriar parties rely on Travelers Insurance Cos. v. Penda Corp.,
The rule allowing a coverage action to proceed prior to the resolution of the related liability action where the issues in each case are separable is well accepted. See Kelly v. Iowa Mut. Ins. Co.,
Although the rule has not been explicitly adopted in Iowa, it is consistent with Iowa law. For example, in Iowa Mutual Insurance Co. v. McCarthy,
The rationale underlying the majority rule is that the coverage action should be allowed to proceed in the interest of judicial economy unless the facts developed in the coverage action could prejudice the insured in the liability action. See, e.g., Wells Dairy, Inc. v. Travelers Indem. Co. of Illinois,
The Greenbriar parties also argue that Haines’ claim was not ripe because Lexington was not a party to this proceeding. The Greenbriar parties argue they were and are prejudiced by not having the opportunity to conduct discovery related to Lexington. We conclude that Lexington’s presence as a party in this proceeding was unnecessary for the district court to determine whether Haines was an insured within the meaning of the policy. The policy was in the summary judgment record before the court. The service agreements governing the relationship between Haines, Greenbriar, and Oasis were before the court. The Greenbriar parties and Haines had adverse interests in the determination of the issues presented, and they had incentive to, and did in fact, fully litigate the same. There was and is no further factual development regarding Lexington necessary to resolve Haines’ declaratory judgment action. To the extent that any additional discovery was necessary, the Greenbriar parties failed to request additional time to conduct such discovery. See Iowa R. Civ. P. 1.981(6) (setting forth procedure to conduct additional discovery related to adjudication of summary judgment motion); Bitner v. Ottumwa Sch. Dist.,
Additionally, the Greenbriar parties cannot now complain that Lexington is not at the table when they are the ones who pulled away the chair. Lexington sought to intervene in this proceeding, but the Greenbriar- parties successfully resisted the motion, arguing that Lexington did not meet the requirements for intervention as a matter of right or permissive intervention under Rule 1.407. The district
B.
We next address whether the district court erred in declaring that Haines was an employee of Greenbriar and Elkco. When the question concerning the nature of the employment relationship concerns co-employment, leased servants, or borrowed servants, “the primary focus is on the intent of the parties.” McCarthy,
(1) the right of selection, or to employ at will;
(2) responsibility for the payment of wages by the employer;
(3) the right to discharge or terminate the relationship;
(4) the right to control the work; and
(5) is the party sought to be held as the employer the responsible authority in charge of the work or for whose benefit the work is performed.
Gabrielson v. State,
Oasis is a professional employer organization that provides administrative support related to payroll, taxes, insurance, and benefits. Pursuant to the service agreements entered into between Oasis and Greenbriar/Elkco, Oasis provided payroll and benefits management services that included the management of payroll, workers’ compensation, and health insurance. When Oasis provides services for a company, all employees of that company are reassigned to Oasis from an administrative standpoint. This allows Oasis to manage the employees on an administrative level. Oasis then “leases” the employees back to their original companies for work purposes. Oasis refers to employees that they manage on behalf of another company as “leased employees” of Oasis. While Haines was administratively reassigned from Greenbriar to Oasis and nominally may have had an employment relationship with Oasis, it is clear that the parties’ intent was for Haines to remain an employee of Greenbriar and to outsource all of the administrative human resource functions related to his employment from
Generally, the right of control is the principal test for determining whether an employee-employer relationship exists. Wolf v. DaCom, Inc.,
Furthermore, Oasis did not pay the wages of any individual who worked for Greenbriar or Elkco; rather, Greenbriar or Elkco provided the funds to Oasis, who then prepared the payroll checks from those funds. While the service agreements contain some language regarding Oasis’s requirement to pay workers minimum wage, the agreements also clearly state that the primary responsibility to pay workers remained with Greenbriar and Elkco. In addition, there is no evidence that Oasis had ever paid Haines or other employees at the apartment complex from funds not provided by Greenbriar or Elkco
There is also no evidence that Oasis ever exercised control over any individual who worked at Greenbriar or Elkco, including Haines, and there is no evidence that anyone from Oasis ever visited the site of the apartment complex. There is nothing in the record to suggest that Oasis benefitted from the work performed by Haines— when Haines was performing maintenance work, it was for the benefit of Greenbriar or Elkco. Additionally, Haines stated in his deposition that he believed he was an employee of Greenbriar, not Oasis. Greenbriar and Elkco have offered no evidence that the parties intended for Haines to be considered an employee of Oasis.
Because the district court correctly found that Haines was not an employee of Oasis, Haines would not be covered under Oasis’s insurance policy.
C.
The Greenbriar parties contend that even if Haines is not a covered insured within the meaning of the policy, Lexington is estopped from denying coverage due to their involvement in the litigation as attorneys for Haines. “Justifiable reliance and prejudice must be shown to estop an insurer from denying coverage.” Westfield Ins. Cos. v. Economy Fire & Cas. Co.,
III.
The standard for reviewing motions to dismiss is for corrections of errors at law. Sierra Club Iowa Chapter v. Iowa Dep’t of Transp.,
IV.
For the foregoing reasons, we affirm the district court’s order granting summary judgment in favor of Haines and adverse to the Greenbriar parties. We also affirm the order and judgment of the district court dismissing the Greenbriar parties’ claims with prejudice.
AFFIRMED.
