{"schemaVersion":"2.0","id":"np-productivity","name":"NP productivity calculator","url":"https://www.nursingmastery.com/tools/np-productivity","audience":["NP"],"description":"Read an NP compensation formula from a conversation, PDF, image or text. Explore earnings and clinical pace with exact editable production scenarios and retained source quotes.","execution":{"method":"POST","url":"https://www.nursingmastery.com/api/np-productivity","headers":{"Content-Type":"application/json","Accept":"application/x-ndjson","Origin":"https://www.nursingmastery.com"},"timeoutSeconds":125,"rateLimit":"Four reads per ten minutes per visitor instance, shared with NP contract review.","responseBody":"NDJSON preview events followed by a reviewed result, or a terminal error. Preview text is provisional until the reviewed result arrives."},"inputsSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":12000},"current":{"anyOf":[{"type":"object","properties":{"brief":{"type":"string","minLength":1,"maxLength":1500},"headline":{"type":"string","minLength":1,"maxLength":120},"plan":{"anyOf":[{"type":"object","properties":{"metric":{"type":"string","enum":["work-rvu","total-rvu","collections"]},"period":{"type":"string","enum":["month","quarter","year"]},"compensation":{"type":"string","enum":["base-plus-incentive","production-only","guaranteed-floor","recoverable-draw"]},"fixedPay":{"anyOf":[{"type":"object","properties":{"amount":{"type":"number","minimum":0,"maximum":100000000},"period":{"type":"string","enum":["month","quarter","year"]}},"required":["amount","period"],"additionalProperties":false},{"type":"null"}]},"tierMethod":{"type":"string","enum":["marginal","retroactive"]},"tiers":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"object","properties":{"above":{"type":"number","minimum":0,"maximum":100000000},"rate":{"type":"number","minimum":0,"maximum":10000},"trigger":{"type":"string","enum":["above","at"]}},"required":["above","rate","trigger"],"additionalProperties":false}},"collectionsDeduction":{"anyOf":[{"type":"object","properties":{"percent":{"type":"number","minimum":0,"maximum":1},"fixed":{"anyOf":[{"type":"object","properties":{"amount":{"type":"number","minimum":0,"maximum":100000000},"period":{"type":"string","enum":["month","quarter","year"]}},"required":["amount","period"],"additionalProperties":false},{"type":"null"}]}},"required":["percent","fixed"],"additionalProperties":false},{"type":"null"}]},"cap":{"anyOf":[{"type":"object","properties":{"amount":{"type":"number","minimum":0,"maximum":100000000},"scope":{"type":"string","enum":["incentive","total"]}},"required":["amount","scope"],"additionalProperties":false},{"type":"null"}]},"paymentSchedule":{"type":"string","maxLength":240}},"required":["metric","period","compensation","fixedPay","tierMethod","tiers","collectionsDeduction","cap","paymentSchedule"],"additionalProperties":false},{"type":"null"}]},"scenario":{"anyOf":[{"type":"object","properties":{"period":{"type":"string","enum":["month","quarter","year"]},"basis":{"type":"string","enum":["hypothetical","historical"]},"periods":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"production":{"type":"number","minimum":0,"maximum":100000000}},"required":["label","production"],"additionalProperties":false}},"schedule":{"anyOf":[{"type":"object","properties":{"daysPerWeek":{"type":"number","exclusiveMinimum":0,"maximum":7},"workingWeeks":{"type":"number","exclusiveMinimum":0,"maximum":53},"period":{"type":"string","enum":["month","quarter","year"]}},"required":["daysPerWeek","workingWeeks","period"],"additionalProperties":false},{"type":"null"}]}},"required":["period","basis","periods","schedule"],"additionalProperties":false},{"type":"null"}]},"terms":{"maxItems":14,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":90},"reading":{"type":"string","minLength":1,"maxLength":600},"evidence":{"anyOf":[{"type":"object","properties":{"quote":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","minLength":1,"maxLength":120},"location":{"type":"string","maxLength":120},"kind":{"type":"string","enum":["document","nurse"]}},"required":["quote","source","location","kind"],"additionalProperties":false},{"type":"null"}]}},"required":["label","reading","evidence"],"additionalProperties":false}},"focus":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"detail":{"type":"string","minLength":1,"maxLength":600}},"required":["title","detail"],"additionalProperties":false}},"nextQuestion":{"type":"string","maxLength":300},"pace":{"default":null,"anyOf":[{"type":"object","properties":{"visitsPerDay":{"type":"number","exclusiveMinimum":0,"maximum":100},"creditPerVisit":{"type":"number","exclusiveMinimum":0,"maximum":100000},"daysPerWeek":{"type":"number","exclusiveMinimum":0,"maximum":7},"workingWeeks":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":53},{"type":"null"}]}},"required":["visitsPerDay","creditPerVisit","daysPerWeek","workingWeeks"],"additionalProperties":false},{"type":"null"}]}},"required":["brief","headline","plan","scenario","terms","focus","nextQuestion","pace"],"additionalProperties":false},{"type":"null"}]},"history":{"maxItems":6,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","enum":["user","assistant"]},"text":{"type":"string","minLength":1,"maxLength":6000}},"required":["role","text"],"additionalProperties":false}},"source":{"type":"object","properties":{"kind":{"type":"string","const":"file"},"mediaType":{"type":"string","enum":["application/pdf","image/png","image/jpeg","text/plain","application/vnd.openxmlformats-officedocument.wordprocessingml.document"]},"filename":{"type":"string","minLength":1,"maxLength":120},"base64":{"type":"string","minLength":24,"maxLength":4050000}},"required":["kind","mediaType","filename","base64"],"additionalProperties":false},"carried":{"type":"object","properties":{"hubSentence":{"type":"string","maxLength":600},"fromTool":{"type":"string","maxLength":60},"facts":{"type":"object","propertyNames":{"type":"string","maxLength":60},"additionalProperties":{"anyOf":[{"type":"string","maxLength":600},{"type":"number"},{"type":"boolean"},{"type":"null"}]}}},"additionalProperties":false}},"required":["message","current","history"],"additionalProperties":false},"resultSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"brief":{"type":"string","minLength":1,"maxLength":1500},"headline":{"type":"string","minLength":1,"maxLength":120},"plan":{"anyOf":[{"type":"object","properties":{"metric":{"type":"string","enum":["work-rvu","total-rvu","collections"]},"period":{"type":"string","enum":["month","quarter","year"]},"compensation":{"type":"string","enum":["base-plus-incentive","production-only","guaranteed-floor","recoverable-draw"]},"fixedPay":{"anyOf":[{"type":"object","properties":{"amount":{"type":"number","minimum":0,"maximum":100000000},"period":{"type":"string","enum":["month","quarter","year"]}},"required":["amount","period"],"additionalProperties":false},{"type":"null"}]},"tierMethod":{"type":"string","enum":["marginal","retroactive"]},"tiers":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"object","properties":{"above":{"type":"number","minimum":0,"maximum":100000000},"rate":{"type":"number","minimum":0,"maximum":10000},"trigger":{"type":"string","enum":["above","at"]}},"required":["above","rate","trigger"],"additionalProperties":false}},"collectionsDeduction":{"anyOf":[{"type":"object","properties":{"percent":{"type":"number","minimum":0,"maximum":1},"fixed":{"anyOf":[{"type":"object","properties":{"amount":{"type":"number","minimum":0,"maximum":100000000},"period":{"type":"string","enum":["month","quarter","year"]}},"required":["amount","period"],"additionalProperties":false},{"type":"null"}]}},"required":["percent","fixed"],"additionalProperties":false},{"type":"null"}]},"cap":{"anyOf":[{"type":"object","properties":{"amount":{"type":"number","minimum":0,"maximum":100000000},"scope":{"type":"string","enum":["incentive","total"]}},"required":["amount","scope"],"additionalProperties":false},{"type":"null"}]},"paymentSchedule":{"type":"string","maxLength":240}},"required":["metric","period","compensation","fixedPay","tierMethod","tiers","collectionsDeduction","cap","paymentSchedule"],"additionalProperties":false},{"type":"null"}]},"scenario":{"anyOf":[{"type":"object","properties":{"period":{"type":"string","enum":["month","quarter","year"]},"basis":{"type":"string","enum":["hypothetical","historical"]},"periods":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":60},"production":{"type":"number","minimum":0,"maximum":100000000}},"required":["label","production"],"additionalProperties":false}},"schedule":{"anyOf":[{"type":"object","properties":{"daysPerWeek":{"type":"number","exclusiveMinimum":0,"maximum":7},"workingWeeks":{"type":"number","exclusiveMinimum":0,"maximum":53},"period":{"type":"string","enum":["month","quarter","year"]}},"required":["daysPerWeek","workingWeeks","period"],"additionalProperties":false},{"type":"null"}]}},"required":["period","basis","periods","schedule"],"additionalProperties":false},{"type":"null"}]},"terms":{"maxItems":14,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":90},"reading":{"type":"string","minLength":1,"maxLength":600},"evidence":{"anyOf":[{"type":"object","properties":{"quote":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","minLength":1,"maxLength":120},"location":{"type":"string","maxLength":120},"kind":{"type":"string","enum":["document","nurse"]}},"required":["quote","source","location","kind"],"additionalProperties":false},{"type":"null"}]}},"required":["label","reading","evidence"],"additionalProperties":false}},"focus":{"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","minLength":1,"maxLength":100},"detail":{"type":"string","minLength":1,"maxLength":600}},"required":["title","detail"],"additionalProperties":false}},"nextQuestion":{"type":"string","maxLength":300},"pace":{"default":null,"anyOf":[{"type":"object","properties":{"visitsPerDay":{"type":"number","exclusiveMinimum":0,"maximum":100},"creditPerVisit":{"type":"number","exclusiveMinimum":0,"maximum":100000},"daysPerWeek":{"type":"number","exclusiveMinimum":0,"maximum":7},"workingWeeks":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":53},{"type":"null"}]}},"required":["visitsPerDay","creditPerVisit","daysPerWeek","workingWeeks"],"additionalProperties":false},{"type":"null"}]}},"required":["brief","headline","plan","scenario","terms","focus","nextQuestion","pace"],"additionalProperties":false},"calculation":"Use the stated month, quarter or year measurement period. Calculate work RVUs, total RVUs or collections with marginal or retroactive tiers, stated deductions and caps. Keep guaranteed salary, production-only pay, guaranteed floors and recoverable draws distinct. Sum only supplied periods. Cash paid and uncovered draw remain separate from earned compensation.","resultLocation":"result.plan and result.scenario supply the deterministic earnings canvas. result.terms retain source quotes. An unresolved formula keeps plan null and asks the next useful question.","save":"Version 2 artifacts retain the reviewed plan, edited scenario and conversation. Version 1 annual wRVU calculator results remain readable and editable. Attached file bytes are not saved."}