Smart Negotiation Engine

How Smart Negotiation
Works — End to End

An AI-powered rate negotiation system connecting Admins, Hospitals, and Professionals through intelligent, data-driven compensation recommendations.

3
Key Actors
5+
Data Sources
AI
Powered by Claude
Re-evaluations / Job

Three Actors, One Smart System

Each actor plays a distinct role. Together they power a negotiation engine that produces fair, market-accurate rates every time.

⚙️

Platform Admin

Configures the entire SN engine — global settings, market data tables, and subscription plans that grant SN access.

Base Rates State Metrics Shift Differentials Cert Premiums Facility Adjustments AI Settings
🏥

Hospital

Subscribes to SN, completes their profile parameters, uploads historical rate data, and sets ceiling rates on job postings.

SN Parameters Historical CSV Data Ceiling Rate per Job Target Bill Rate Hard-to-Fill Flag
👩‍⚕️

Professional

Subscribes to SN (plan or add-on), sets an optional personal rate range, then uses the engine when applying to jobs.

SN Subscription Rate Range (optional) Apply with SN Rate Re-evaluate up to 5× Accept or Negotiate

How Data Moves Through the System

Every rate suggestion is built from layered data — from global benchmarks up to hospital-specific parameters and AI inference.

⚙️ Admin
🗺️ State Metrics
Cost of living, vacancy rate
💰 Base Rates
By specialty + state
⏰ Shift Differentials
Night, weekend, travel
🎓 Cert Premiums
Per certification type
🏢 Facility Adjustments
Level I trauma, teaching
📋 Subscription Plans
has_smart_negotiation flag
feeds calculator
🧮 Calculator Engine
Resolve Specialty & State
Look up Base Rate
Hospital target → Historical → Benchmark → National
Apply Multipliers
Experience × Facility × Shortage × Demand
Add Adjustments
Shift differential + Cert premiums
Apply Hospital Caps
Hard-to-fill +10% / Max bill rate cap
Calculator Rate ✓
+ context
🏥 Hospital Data
SN Parameters Profile
Target rate, preferred range
Historical CSV Rates
Avg / min / max by discipline
Hard-to-Fill Flag
Boosts rate by 10%
Maximum Bill Rate
Hard cap on rate
Ceiling Rate (per job)
Job-level upper limit
Confidence Threshold
Min % for recommendation
passed to AI
🤖 Claude AI
Receives full context
Calculator rate + hospital params
Incorporates historical data
Hospital avg / min / max rates
Professional signals
Desired rate / min acceptable
Job context
Urgency, shift, specialty
Ceiling awareness
Won't exceed hospital limit
AI Suggested Rate ✓
displayed to
👩‍⚕️ Professional
Sees Suggested Rate
Editable in apply modal
Range Status Message
Green / Red vs personal range
Re-evaluate (up to 5×)
Gets fresh AI suggestion
Accept Rate
Locks rate as read-only
Submit Application
negotiated_rate stored
Application Submitted ✓

How the Calculator Builds a Rate

The calculator uses a layered formula, combining market data with professional and hospital-specific signals to produce a fair, defensible rate.

The Rate Formula
Applied in sequence — each factor adjusts the base to reflect real-world conditions.
Final Rate = (Base Rate × experienceMultiplier × facilityMultiplier × shortageAdj × demandAdj)
             + shiftDifferential // night, weekend, travel shifts
             + certificationPremiums // e.g. CCRN, BLS, ACLS
             × 1.10 (if hard-to-fill) // hospital signals urgent need
             capped at maxBillRate & ceilingRate // hospital limits
📊 Base Rate (state + specialty)
$62/hr
🎯 Experience Multiplier
× 1.12
🏢 Facility Type Multiplier
× 1.08
📍 State Shortage Adjustment
× 1.05
📈 Demand Adjustment
× 1.03
⏰ Shift Differential (Night)
+ $5/hr
🎓 Certification Premiums
+ $3/hr
✅ Final Suggested Rate
$86/hr
💡

Base Rate Priority: The calculator picks the best available source in this order: Hospital's target bill rateHospital's historical average CSV dataGlobal state+specialty benchmarkNational specialty averageGlobal average fallback. The more hospital data available, the more accurate the rate.

The Claude AI Engine

When both the hospital and professional are SN subscribers and the hospital has completed their parameters profile, Claude AI adds an intelligent refinement layer on top of the calculated rate.

🤖

Claude AI — Rate Intelligence

Combines structured data with contextual reasoning to suggest the optimal rate

🔢 What Claude Receives Input Context

Calculator-recommended rate, market min/max, job title, specialty, shift type, urgency level, professional years of experience, desired rate (if provided), hospital parameters (target bill rate, preferred range, ceiling), and historical rate summary (count, avg, min, max).

🎯 What Claude Produces Output

A single suggested_rate value, a rationale explaining the recommendation, and a confidence score. If Claude can't produce a valid rate, the system falls back to the professional's desired rate → min acceptable → calculator rate.

⚡ When Claude is Called Condition

Claude is invoked only when: (1) the hospital has an active SN subscription, AND (2) the hospital has a completed parameters profile. If either condition is missing, the pure calculator rate is used — no AI call is made.

🚧 Ceiling Rate Enforcement Hard Limit

Even after AI suggests a rate, if the hospital has set a ceiling rate on the job posting and the professional has not explicitly overridden their desired rate, the final suggested rate is capped at min(suggested, ceilingRate). Professionals are shown an "over ceiling" flag if applicable.

What the Admin Configures

Admin builds the foundation tables the engine reads from. Without this data the system uses national averages and lowers confidence scores.

1

Base Rates Table

Market hourly rates indexed by specialty code × US state. Includes percentile_25, percentile_50, percentile_75, and percentile_90 — used to define the market min/max range for each role.

📊 SnBaseRate model
2

State Metrics

Per-state economic and healthcare market data: cost-of-living index, nurse vacancy rate, nurse shortage index, hospital demand index, Medicaid expansion status. These drive the shortage and demand adjustment multipliers.

🗺️ SnStateMetric model
3

Specialty Master

Maps specialty codes (e.g. RN-ICU, RN-ER) to names and includes a national base rate used as fallback when no state-level benchmark exists. Also stores the experience band configuration per specialty.

📋 SnSpecialtyMaster model
4

Shift Differentials

Dollar-per-hour additions by shift type (night, weekend, holiday, travel) and state. For example, a night ICU shift in California might add $8/hr over the base. Configurable per state to reflect local norms.

⏰ SnShiftDifferential model
5

Certification Premiums

Dollar-per-hour additions per certification type held by the professional (e.g. CCRN +$4, BLS +$1, ACLS +$2). The system sums all applicable premiums for that professional's certification list.

🎓 SnCertificationPremium model
6

Facility Adjustments

Multipliers applied based on hospital facility type: Level I Trauma Centers, Academic Medical Centers, Teaching Hospitals typically pay higher than community facilities. Admin sets these multipliers per facility category.

🏢 SnFacilityAdjustment model
7

AI Settings

Admin controls: max re-evaluations per professional per job (default 5, 6-hour cache window), min rate floor (absolute minimum suggested rate), and whether the SN engine is globally enabled or disabled.

⚙️ Settings model
8

Subscription Plans

Admin toggles has_smart_negotiation = true on any professional subscription plan or add-on plan. Both professionals and hospitals must have SN-enabled subscriptions for the AI layer to activate.

💳 ProfessionalSubscriptionPlan

What the Hospital Configures

The richer the hospital's data, the more accurate and competitive the rate. Each layer of data adds intelligence to every job's rate calculation.

1

SN Subscription

The hospital must have an active subscription with has_smart_negotiation = true. Without this, the hospital's data is NOT included in the AI context and no ceiling rate is enforced — professionals still get a calculator-only rate.

🔑 Required first step
2

SN Parameters Profile

A hospital-level configuration form with key fields: Target Bill Rate ($/hr), Preferred Rate Range (e.g. 95–110), Maximum Bill Rate (hard cap), Hard-to-Fill Flag (+10% boost), and Confidence Threshold. Must be marked as "completed" for AI to use it.

📋 HospitalSnProfile model
3

Historical Rate CSV Upload

Hospital uploads historical rate records (CSV) containing past base rates by discipline and specialty. The system computes average, min, and max rates from this history — used as the most preferred base rate source over global benchmarks.

📂 HospitalSnHistoricalRateRecord
4

Ceiling Rate on Job Posting

Each individual job posting can have an sn_ceiling_rate — the maximum rate this specific posting will accept. If a professional's suggested rate exceeds this, it gets capped (unless the professional explicitly overrides their desired rate). An "over ceiling" flag is surfaced to the professional.

🚧 Per-job hard limit
⚠️

Hospital SN Activation: The AI layer only activates when the hospital has (1) an active SN subscription AND (2) a completed parameters profile (i.e. parameters_completed_at is set). Just subscribing is not enough — the profile must be filled out. Without completed parameters, only the calculator rate is returned.

The Professional's Step-by-Step Flow

From subscription to submitted application — everything a professional experiences in the Smart Negotiation journey.

Subscribe to SN Plan or Add-On

Professional purchases a plan with has_smart_negotiation = true, or adds an SN add-on to their existing plan. This unlocks the SN panel on all job applications.

👩‍⚕️ Professional
💳
📋

Complete Profile Setup (Steps 1–6)

Complete all 6 required profile steps: Basic Profile → Entity → Specialties → Documents → Education → Certifications. The SN engine uses specialty codes and certifications in its calculations.

👩‍⚕️ Professional

Set SN Rate Range (Optional — Step 7)

SN subscribers see an optional Step 7 in their profile sidebar: set a personal minimum and maximum hourly rate. When set, every rate suggestion is compared against this range and a green (within) or red (lower/higher) status message is shown during application.

👩‍⚕️ Professional
🔍

Browse Jobs & Click Apply

From the job index (/professional/jobs) or job detail page (/professional/jobs/{id}), the professional clicks "Apply." The SN panel automatically loads a suggested rate via the calculation pipeline.

👩‍⚕️ Professional

Review Suggested Rate

The SN panel shows the Suggested / Final Rate ($/hr). If a personal rate range is configured, a status message always shows: green "within your range" or red "lower/higher than your range — do you still want to apply?"

👩‍⚕️ Professional
👀
🔄

Re-evaluate (Up to 5×)

The professional can click Re-evaluate to get a fresh AI-powered suggestion, optionally adjusting their desired rate first. Re-evaluations are tracked per professional per job in a 6-hour cache. Counter shows remaining attempts.

👩‍⚕️ Professional

Accept the Rate

When satisfied, the professional clicks Accept (visible when a rate range is set). This locks the rate as read-only and shows a "Rate Accepted" badge. The Re-evaluate button stays visible — clicking it resets to a new suggestion.

👩‍⚕️ Professional
📨

Submit Application

The form submits with the negotiated_rate and full negotiation context (over-ceiling flag, ceiling rate, re-evaluation counts). The application is stored and a SmartRateSnapshot is persisted for analytics and auditing.

👩‍⚕️ Professional

Visualizing the Rate Landscape

Multiple rate boundaries exist simultaneously. The SN engine navigates them to land on an optimal, fair rate.

$0/hr $50/hr $80/hr $110/hr $140/hr
Market Range (p25–p75)
Professional's Rate Range
SN Suggested Rate (animated)
Hospital Ceiling Rate
✅ Ideal Outcome

Suggested rate falls within both the market range AND the professional's personal range. Green message shown. Professional clicks Accept.

⚠️ Boundary Case

Rate is within market range but below professional's min or above their max. Red warning shown. Professional can still apply — they decide.

🚧 Ceiling Hit

Suggested rate exceeds hospital ceiling. Rate is capped. "Over ceiling" flag shown to professional. They can override only by entering their own desired rate explicitly.

Who Gets Smart Negotiation?

SN is a premium feature gated by subscription. Both sides of the marketplace need SN access for the full AI experience.

🌱
Basic Plan
  • Job browsing
  • Standard applications
  • Smart Negotiation
  • SN Rate Range step
  • AI rate suggestions
🏥
Hospital SN Access
  • SN Parameters Profile
  • Historical CSV upload
  • Per-job ceiling rates
  • AI context injection
  • Hospital data in calculations

Dual-side unlock: The AI rate suggestion is at its most powerful when both the professional AND the hospital have SN access with completed profiles. If only the professional has SN, they still get a calculator-based rate — just without the hospital's parameters enriching it.

How the System Rates Its Own Confidence

Every rate suggestion comes with a confidence score (0–100%). Missing data deducts points, ensuring professionals and hospitals always know how reliable a rate is.

100%
Starting Score
−50
No specialty + no state
−40
No specialty code
−30
No state data
−25
No specialty master
−30
Fallback base rate used
🟢 High: 80–100% — Full data, reliable rate
🟡 Medium: 50–79% — Some data missing, estimated
🔴 Low: 0–49% — Heavy fallbacks, use with caution