Health referral check
wever_health-referral-checkAgent Healthcare: submit a referral with the order and the appointment record: the referral with its id, the day referred, the referring and receiving providers, the specialty, the service, the reason, the dates it is valid from and through and the visits it allows; optionally the order with the day ordered, the specialty, the service and the reason; and optionally each appointment with its id, day, provider, specialty and status (scheduled, completed, cancelled or no show). The signed report gives the referral, the order with its service read as matching or differing, the specialty and reason on each side, the validity window with the visits allowed and the appointments counted, and the appointments with another provider, outside the window or under another specialty, and counts them, and names a mismatched referral: a specialty unlike the order, an appointment with a provider the referral does not name, an appointment outside the validity window and more scheduled or completed appointments than the visits allowed; then a reason unlike the order, a service named otherwise, an appointment under another specialty and a referral dated after the first appointment, with the fix for each and what would change the verdict. No order, no appointment record, appointments with no receiving provider, no validity window or no visit count, or a specialty on one side only leaves the referral unverified. Scheduled and completed appointments count; cancelled and missed ones do not. A window that ends before it starts is refused. This reads a care referral: wever_referral-rail creates and attributes payment referral codes and their earnings, which shares only the word, while the referral check reads the referred specialty, reason, window and receiving provider against the order and the appointments. Verdict health_referral_mismatched, health_referral_partial, health_referral_unverified or health_referral_matched. POST /api/health-referral-check. Reads the care paperwork supplied in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads paperwork consistency only, with no diagnosis, clinical reading of results, medical necessity judgment or treatment advice, and the paperwork stays in the report, with no network request, fetch, message, payment or external write. Agent Healthcare reads supplied care paperwork after the fact and checks it for consistency against the related records and the summary given to the patient or principal: an itemized bill, a claim as submitted, a prior authorization, a referral, a prescription record and label, a discharge summary, a lab report and an after-visit summary. Beside it, the Agent Insurance checks such as wever_insurance-coverage-check read insurance policies and coverage, what a policy covers, excludes and limits, and where the question is what a policy covers, that is the insurance family’s read, not a healthcare check’s; wever_insurance-evidence-check reads a counterparty’s insurance certificate or policy excerpt for DiligenceOps; wever_callback-health-monitor probes a service’s HTTPS callback endpoint for uptime and reads no care document; and the Agent Consent checks such as wever_consent-scope-check read agent permission and consent records for data handling, not medical consent forms or care documents, while a healthcare check reads no agent permission. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-healthcare-contract. Human page: https://weverlabs.com/agent-healthcare/.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"referral": "<referral>"
},
"name": "wever_health-referral-check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional name recorded in the report. | |
| order | No | ||
| referral | Yes | ||
| appointments | No | Each appointment as recorded. |