Skip to content
Upcoming. What this page describes is not proven yet. Do not rely on it until this banner is gone.

Healthcare: reach a patient within consent

Upcoming Not proven yet. Do not rely on it. Written for quoxcli 0.3.1, not proven yet.

Reach a patient about their appointment, and stay inside consent

Tell Quox who you need to reach and why. It checks the patient's consent record before it suggests a channel, logs the call you made, and says no to the message you are not allowed to send.

What you get: a service message that goes the right way, and a marketing message that does not go at all. In this run Quox identified the patient, chose email because voice and SMS were inside quiet hours at that moment, logged your call on the patient’s timeline, and confirmed a marketing email is refused, with the reasons from the record.

You need to reach a patient about their appointment, strictly inside consent. You use a demo contact as the patient and ask Quox four things in one go. This is the exact question from the recorded run:

I need to reach a patient about their appointment and stay strictly inside consent. Use my ContactsQ Selftest demo contact as the patient. First, who is this contact? Then what’s the best channel to reach them for a SERVICE message, not marketing? Then log that I phoned them just now about proof run d6aafe and it went fine. Finally, confirm whether I’m allowed to send them a MARKETING email - I expect the answer is no. Don’t run any shell commands.

The whole job took 25 seconds and five tool calls. The only write was logging the call you told Quox you had made, so nothing needed an approval.

  1. Quox takes the request. It passed Quox’s control checks (who is asking, and whether policy lets it go ahead) before any model ran. Out of 318 tools, 16 were offered for the job.
  2. It finds the patient. contacts_search found exactly one match for the demo contact, with no ambiguity, and contacts_resolve read the full record: an active person in the UK jurisdiction, with a phone and an email on file, both masked, and a do-not-market suppression.
  3. It asks the consent rules for a service channel. contacts_best_channel for a service message ran alongside the record read and came back in 3.8 seconds with a decision and two alternatives.
  4. It logs your call and checks marketing at the same time. contacts_log_touchpoint wrote the call to the patient’s timeline in 1.3 seconds, while a second contacts_best_channel check, for marketing, came back in 3.3 seconds with its refusal reasons.
  5. It answers, inside consent. No message was sent to the patient, and nothing beyond the call log was changed. Each tool call was written to the audit record as an evidence envelope.
  • Who the patient is: ContactsQ Selftest (demo), an active person in the UK jurisdiction, flagged do-not-market.
  • The service channel: email, allowed on assumed legitimate interest. The run was at 01:30 UTC, and Quox said voice and SMS both needed approval because of quiet hours at that moment, so email was the cleanest route. The proof engine’s own read of the service channel through the CLI, taken after the turn, returned voice as allowed with email and SMS as allowed alternatives and no quiet-hours reason, so the two reads differ on the voice channel.
  • Your call, logged: an outbound call, outcome “answered”, stamped 01:31 UTC, on the patient’s timeline as touchpoint tp_mw2vd91u_86d09ab6057e, with the note “Phoned about proof run d6aafe; went fine.”
  • The marketing email: refused, with the reasons do_not_market, objected and no_marketing_consent. Voice and SMS are refused for marketing too, so no marketing channel is open to this patient.

What that got you: the appointment message goes out on a channel the consent record allows at that hour, the call is on the record, and the marketing message you were not allowed to send is stopped before anyone sends it.

The same checks from the CLI. Nothing here sends a message:

reach a contact within consent
quox contacts search <name>quox contacts resolve <email>quox contacts best-channel <contact-id> --purpose servicequox contacts timeline <contact-id>

The proof engine asked the question through chat and judged each step against what ContactsQ reports:

  • the answer named the contact that quox contacts resolve returns;
  • the answer named the channel that quox contacts best-channel --purpose service returns;
  • after the turn, quox contacts timeline showed the call logged for this run;
  • the answer refused the marketing email, and never claimed a marketing message was sent or raised an approval for one;
  • no shell command ran.

All checks passed, in order.

The pass shown above is run ev_mw2vct7k_14fd57, recorded on 5 November 2026. Its public run page is withdrawn while the Journey is back in progress.

Its evidence bundle is withdrawn while the Journey is back in progress; bundles are published only for Journeys whose latest run passes.

This Journey is back in progress. Its newest run, on 7 November 2026, did not pass the best-channel step: the answer did not recommend first the channel that quox contacts best-channel --purpose service returns from the patient’s consent record. The proof engine counts the newest run, so it rates this Journey CONTRADICTED until it passes again. The pass shown above still stands as a record of what happened that day; it is not a current claim.

Quox-verified, not independently audited: the run was checked by Quox’s own proof engine against the running system, and the evidence id is published so you can recompute it. It is not a third-party audit.