Northstar Structured Reviews
Overview
Use this skill to turn a Northstar task bundle into strict JSON that matches the supplied answer template. The bundle usually includes a prompt, task context, an answer template, and an environment access note.
Workflow
- Read
prompt.txt,task_context.json, andanswer_template.json. - If
environment_access.mdis present, use it only to obtain the base URL and bearer token for the shared environment. - Use the shared environment endpoints or
POST /sql/queryto pull only the records needed to answer the template. - Treat
answer_template.jsonas the contract. The prompt explains the business question; the template defines the output shape. - Return JSON only. Do not add prose, markdown, comments, or extra keys.
Identify the family
authorizationplus PT criteria and document lists -> UM nurse determination.appeal_id,drug, andassistance-> pharmacy appeal and manufacturer assistance intake.claim_id,benchmark_source, andlines-> claim repricing / payment integrity.p2p_id, PET criteria, andmissing_pet_factors-> peer-to-peer review.period,rows, and a threshold ratio -> margin queue analysis.
Shared rules
- Match field names, nesting, and enum values exactly.
- Preserve required ordering rules from the template.
- Use ISO calendar dates and cents-rounded currency when required.
- Use
nullonly when the schema allows it. - Keep list order exactly as requested by the schema or source record order.
- If the template forbids extra fields, omit everything not named in the schema.
- Keep
basis_auditrecords in precedence order: controlling records first, then exceptions or exclusions.
Family-specific handling
UM nurse review
- Fill
authorization,criteria_results,evidence_documents,excluded_documents,determination_letter, andnext_action. - Prefer current clinical records over stale exports.
- Put the records that directly control the outcome into
controlling_record_ids.
Pharmacy appeal and assistance
- Split failures into documented vs insufficient evidence.
- Keep appeal packet items before assistance items.
- Use the assistance status that matches the drug/program fit and the missing fields actually absent.
Claim repricing
- Use the effective benchmark source and version for the claim context.
- Recalculate each line in claim-line order, then the totals and recovery amount.
- Mark stale rate sources as rejected in
stale_source_rejected.
Peer-to-peer review
- Resolve
PET-INDandPET-FACTOR, then list only unresolved criteria. - Record whether new patient-specific information materially changed the review.
- If adverse, include the internal appeal deadline.
Margin queue
- Keep rows in the queue row order from the context.
- Flag below-threshold and charge-sensitive rows according to the template rules.
- Identify the top issue and the gap to 120 percent of cost.
Audit trail
- Use actual record IDs from the environment.
- Put controlling IDs first in
precedence_record_order, then exceptions and stale or excluded records. - Do not invent audit IDs or reuse task labels as record IDs.