{
  "version": "2026-10-22",
  "license": "CC BY 4.0",
  "description": "Regular expressions the Andwise contract checker uses to locate clauses in a physician employment contract. Match against the contract text, count hits per clause, and exclude the listed clauses when scoring.",
  "note": "Run these locally. Do not send contract text to a server; the checker itself runs in the browser for that reason. Patterns find candidate passages, not legal conclusions.",
  "clauses": [
    {
      "clause": "compensation",
      "title": "Compensation and wRVU",
      "patterns": [
        {
          "source": "\\bbase (?:annual )?salary\\b",
          "flags": "i"
        },
        {
          "source": "\\bwRVUs?\\b|\\bwork relative value units?\\b",
          "flags": "i"
        },
        {
          "source": "\\bcompensation\\b[^.]{0,80}\\b(?:per|annual|year|guarantee)",
          "flags": "i"
        },
        {
          "source": "\\b(?:productivity|quality|signing|retention|relocation) bonus\\b",
          "flags": "i"
        },
        {
          "source": "\\b(?:annual )?stipend\\b",
          "flags": "i"
        },
        {
          "source": "\\bPGY-?\\d\\b",
          "flags": "i"
        },
        {
          "source": "\\bhousing (?:allowance|stipend)\\b",
          "flags": "i"
        },
        {
          "source": "\\bmeal (?:allowance|stipend|credit)\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "How you are paid: a guaranteed base salary, a productivity formula (often per wRVU, the work relative value unit), bonuses, or a mix. The formula and when the guarantee ends matter as much as the starting number.",
      "questions": [
        "How long is the base salary guaranteed, and what replaces it afterward?",
        "Which year's CMS RVU values does the contract use, and what happens to your threshold when CMS revalues codes?",
        "What is the dollar rate per wRVU, and can the employer change it during the contract?",
        "Who decides which bonus targets were met, and is that decision written into the contract?"
      ]
    },
    {
      "clause": "call",
      "title": "Call schedule",
      "patterns": [
        {
          "source": "\\bon[- ]call\\b",
          "flags": "i"
        },
        {
          "source": "\\bcall (?:schedule|coverage|rotation|duties|shifts?)\\b",
          "flags": "i"
        },
        {
          "source": "\\b(?:one|1) in (?:\\d+|two|three|four|five|six|seven|eight)\\b",
          "flags": "i"
        },
        {
          "source": "\\b80[- ]hour\\b",
          "flags": "i"
        },
        {
          "source": "\\bduty hours?\\b",
          "flags": "i"
        },
        {
          "source": "\\bwork hours?\\b",
          "flags": "i"
        },
        {
          "source": "\\bmaximum consecutive\\b",
          "flags": "i"
        },
        {
          "source": "\\bone day in seven\\b|\\b1 day in 7\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "Your on-call obligations: how often, how call is divided among colleagues, and whether call beyond a set amount is paid.",
      "questions": [
        "How many physicians share call today, and what happens to your share if someone leaves?",
        "Is extra call paid, and at what rate?",
        "Does call include coverage at more than one site?"
      ]
    },
    {
      "clause": "termination",
      "title": "Termination",
      "patterns": [
        {
          "source": "\\bterminat\\w*\\b[^.]{0,120}\\b(?:without cause|for any reason|for no reason|notice)\\b",
          "flags": "i"
        },
        {
          "source": "\\bwithout cause\\b",
          "flags": "i"
        },
        {
          "source": "\\bfor cause\\b",
          "flags": "i"
        },
        {
          "source": "\\bgrievance\\b",
          "flags": "i"
        },
        {
          "source": "\\barbitrat\\w*\\b",
          "flags": "i"
        },
        {
          "source": "\\bremediation\\b",
          "flags": "i"
        },
        {
          "source": "\\bprobation\\b",
          "flags": "i"
        },
        {
          "source": "\\bnon-?renewal\\b",
          "flags": "i"
        }
      ],
      "exclude": [
        "non-compete",
        "non-solicitation"
      ],
      "explanation": "Termination without cause lets either side end the contract without giving a reason, after a notice period. It does not let an employer fire you for discriminatory reasons or in violation of other employment laws.",
      "questions": [
        "Is the notice period the same length for you and for the employer?",
        "If the employer ends the contract without cause, does the non-compete still apply?",
        "Who pays for tail coverage if the contract ends without cause?"
      ]
    },
    {
      "clause": "non-compete",
      "title": "Non-compete",
      "patterns": [
        {
          "source": "\\bnon-?compet\\w*",
          "flags": "i"
        },
        {
          "source": "\\bcovenant not to compete\\b",
          "flags": "i"
        },
        {
          "source": "\\brestrictive covenant\\b",
          "flags": "i"
        },
        {
          "source": "\\bshall not\\b[^.]{0,120}\\bpractic\\w*\\b[^.]{0,120}\\b(?:mile|radius|county|counties)\\b",
          "flags": "i"
        },
        {
          "source": "\\bradius of\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "A non-compete restricts where and for how long you may practice after leaving. Many states now limit or ban physician non-competes; see the state tracker for the law where you will work.",
      "questions": [
        "Is the radius measured from your practice site or from every location the employer owns?",
        "Does the restriction apply if the employer terminates you without cause?",
        "Is there a buyout, and how is the amount calculated?",
        "What does your state's law say about physician non-competes?"
      ]
    },
    {
      "clause": "non-solicitation",
      "title": "Non-solicitation",
      "patterns": [
        {
          "source": "\\bnon-?solicit\\w*",
          "flags": "i"
        },
        {
          "source": "\\bsolicit\\w*\\b[^.]{0,80}\\b(?:patients?|employees?|staff|personnel)\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "Non-solicitation clauses bar you from soliciting your former employer's patients or staff. Solicitation may be defined as broadly as any communication or as narrowly as recruiting for a specific purpose.",
      "questions": [
        "Does the clause stop you from accepting patients who seek you out, or only from contacting them?",
        "Can you tell your patients where you are going?",
        "Does it cover staff you hire after leaving, or only people you recruit?"
      ]
    },
    {
      "clause": "malpractice",
      "title": "Malpractice and tail coverage",
      "patterns": [
        {
          "source": "\\bmalpractice\\b",
          "flags": "i"
        },
        {
          "source": "\\bprofessional liability\\b",
          "flags": "i"
        },
        {
          "source": "\\btail coverage\\b|\\bextended reporting\\b|\\b\"?tail\"?\\b[^.]{0,40}\\b(?:insurance|coverage|policy)\\b",
          "flags": "i"
        },
        {
          "source": "\\bclaims[- ]made\\b|\\boccurrence[- ](?:based|policy)\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "Professional liability insurance: who buys it, the coverage limits, and who pays for tail coverage, which covers claims filed after you leave for care you gave while employed.",
      "questions": [
        "Is the policy claims-made or occurrence?",
        "Who pays for tail coverage, and does the answer change depending on who ends the contract?",
        "What are the per-claim and aggregate limits?"
      ]
    },
    {
      "clause": "indemnification",
      "title": "Indemnification",
      "patterns": [
        {
          "source": "\\bindemnif\\w*",
          "flags": "i"
        },
        {
          "source": "\\bhold\\b[^.]{0,30}\\bharmless\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "An indemnification clause makes one party reimburse the other for damages, losses or legal costs from claims about the physician's work. If you agree to indemnify your employer, you may owe what the employer would otherwise have paid.",
      "questions": [
        "Does your malpractice policy cover amounts you agree to pay under this clause?",
        "Is the obligation mutual?",
        "Are there limits or exclusions, such as gross negligence?"
      ]
    },
    {
      "clause": "outside-activities",
      "title": "Outside activities and moonlighting",
      "patterns": [
        {
          "source": "\\bmoonlight\\w*",
          "flags": "i"
        },
        {
          "source": "\\boutside (?:activities|employment|work|practice)\\b",
          "flags": "i"
        },
        {
          "source": "\\blocum\\w*",
          "flags": "i"
        },
        {
          "source": "\\bsecondary employment\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "These clauses limit secondary employment, moonlighting, locums, consulting or other work outside the job, often unless the employer consents.",
      "questions": [
        "Does the clause cover non-clinical work such as writing, teaching or consulting?",
        "If consent is required, is there a deadline for the employer to answer?",
        "Does the employer claim income from outside work?"
      ]
    },
    {
      "clause": "intellectual-property",
      "title": "Intellectual property",
      "patterns": [
        {
          "source": "\\bintellectual property\\b",
          "flags": "i"
        },
        {
          "source": "\\binventions?\\b",
          "flags": "i"
        },
        {
          "source": "\\bwork(?:s)? (?:made )?for hire\\b",
          "flags": "i"
        },
        {
          "source": "\\bcopyrights?\\b|\\bpatents?\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "These clauses set who owns inventions, writing or other work you create during employment. Broad versions cover anything you create; narrow ones cover only work tied to your duties.",
      "questions": [
        "Does the clause cover work done on your own time and equipment?",
        "Can you list existing projects that stay yours?",
        "How does it interact with the outside activities clause?"
      ]
    },
    {
      "clause": "assignment",
      "title": "Assignment",
      "patterns": [
        {
          "source": "\\bassign(?:ment|ed|able)?\\b[^.]{0,80}\\b(?:agreement|rights|obligations|successor|third party)\\b",
          "flags": "i"
        },
        {
          "source": "\\bsuccessors? and assigns\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "Assignment clauses allow or prohibit transferring the contract's rights and duties to a third party. If an employer assigns the contract to a new owner, such as after an acquisition, that owner takes over paying you and covering your malpractice.",
      "questions": [
        "Can the employer assign the contract to a buyer without your consent?",
        "Do your non-compete and other terms transfer to the new owner?",
        "Can you end the contract if it is assigned?"
      ]
    },
    {
      "clause": "benefits",
      "title": "Benefits",
      "patterns": [
        {
          "source": "\\bhealth (?:insurance|benefits)\\b",
          "flags": "i"
        },
        {
          "source": "\\b(?:401\\(?k\\)?|403\\(?b\\)?|457\\(?b\\)?|retirement plan)\\b",
          "flags": "i"
        },
        {
          "source": "\\b(?:paid time off|PTO|vacation)\\b",
          "flags": "i"
        },
        {
          "source": "\\b(?:CME|continuing medical education)\\b",
          "flags": "i"
        },
        {
          "source": "\\bfatigue\\b",
          "flags": "i"
        },
        {
          "source": "\\brideshare\\b|\\btaxi\\b|\\buber\\b|\\blyft\\b",
          "flags": "i"
        },
        {
          "source": "\\bStep 3\\b|\\bUSMLE\\b|\\bCOMLEX\\b",
          "flags": "i"
        },
        {
          "source": "\\btraining (?:license|permit)\\b",
          "flags": "i"
        },
        {
          "source": "\\bparental leave\\b|\\bmaternity leave\\b|\\bpaternity leave\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "The benefits the employer provides, such as health insurance, retirement contributions, paid time off and an education allowance.",
      "questions": [
        "When does retirement matching start, and what is the vesting schedule?",
        "Is CME time separate from vacation?",
        "Are licensing, board and DEA fees covered?"
      ]
    },
    {
      "clause": "clinical-autonomy",
      "title": "Clinical autonomy",
      "patterns": [
        {
          "source": "\\bprofessional judgment\\b",
          "flags": "i"
        },
        {
          "source": "\\b(?:clinical )?protocols?\\b[^.]{0,60}\\b(?:adhere|comply|follow|align)\\b",
          "flags": "i"
        },
        {
          "source": "\\bschedul\\w*\\b[^.]{0,60}\\b(?:determined|set) by (?:the )?(?:employer|practice|company)\\b",
          "flags": "i"
        },
        {
          "source": "\\bpatient (?:volume|templates?|schedule)\\b",
          "flags": "i"
        }
      ],
      "exclude": [],
      "explanation": "How much say you have over treatment decisions, scheduling and templates compared with employer protocols.",
      "questions": [
        "Who sets your patient schedule and visit lengths?",
        "Can protocols change during the contract without your agreement?",
        "Is the clause tied to compensation or termination for cause?"
      ]
    }
  ]
}