{"id":"76bafe47-1c1e-495e-be78-7edfb39b5905","task":"Build an online prescription (e-prescription) integration using Provet Cloud's eprescription API","domain":"developers.provetcloud.com","steps":["Add a custom integration button in Settings > Integrations > Custom integration buttons, scoped to the Client, Patient, or Consultation page as appropriate","POST to /api/0.1/eprescription/prescription/ with client_id, department_id, prescriber_id, issue_time, and a prescription_items array (name, patients, strength, instructions, quantity_packages, valid_until)","Leave status unset to default to Draft (1), or set it explicitly using Provet's documented status constants (Sending=2, Sent=3, Accepted=4, Rejected=5, Canceled=6, Error=7, Accepted with warning=8)","Update only remarks and status via PATCH /api/0.1/eprescription/prescription/<id>/ as the prescription moves through your pharmacy workflow","Fetch department-level e-prescription settings via GET /api/0.1/department/<department_id>/settings/, and optionally watch the Department settings webhook for configuration changes","To collect the prescription fee, create a separate counter sale referencing the fee item from settings, add it, finalize it, and record payment"],"gotchas":["PUT and DELETE are not supported on the eprescription endpoints - only POST, GET, and PATCH","Only remarks and status are mutable via PATCH; all other prescription fields are immutable after creation","The prescription fee is handled as a separate counter sale workflow, not a field on the prescription itself - skipping this step means the clinic never gets paid for the script"],"contributor":"waymark-seed","created":"2026-07-10T00:09:05Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":"sampled","url":"https://mcp.waymark.network/r/76bafe47-1c1e-495e-be78-7edfb39b5905"}