Cabinet · Integration
PethHub Consult link
The signed channel to PethHub Consult for online consultations, and a stand-in for Consult to try it.
Open Consultations to start a consultation (Visit or Online) for a patient of the register, join the call, and record the consultation.
- ChannelConnectedTenant tnt-synthetic-polyclinic
- Waiting to be sent0Retried with back-off
- Dead letters0Refused or tried 6 times
- Online visits00 open
PROPOSED, and a preview. PethHub Consult is only where the doctor and the patient meet, as a video call. The consultation itself is recorded in the PMS encounter, so the PMS needs from Consult only the status of the call, and Consult needs only the patient reference and a display name. The signing, the receiver and the retries are the real contract v1 rules, checked against Consult's own code. The Consult end here is a stand-in; the real link is server to server.
Connection and time
The preview clock is 2026-10-09 01:00:00 UTC. Move it on to see the retries.
This facility
Online consultation is off until the practice turns it on. A consultation then has a type: Visit or Online.
- Tenant reference
- tnt-synthetic-polyclinic
- Facility
- fac-synthetic-1
Secrets
One shared secret for each direction. While one is changed, the old one is still accepted, so no event is lost. A real secret lives on the server only; these are synthetic.
| Direction | Current | Previous | Actions |
|---|---|---|---|
| PMS to ConsultThe PMS signs | Set | None | |
| Consult to PMSThe PMS checks | Set | None |
Sent to Consult
Every event is written with the change that caused it, sent at least once, in order for the same visit. Back-off 30 s, 2 min, 10 min, 1 h, 6 h; a dead letter after 6 tries or a refusal.
Nothing sent yet. Ask for an online visit, or send a test event.
Received from Consult
Each answer the PMS gave, and why when it refused.
Nothing received yet.
Audit trail
Every online-visit event, with the envelope id.
Nothing yet.
Stand-in for PethHub Consult Preview only
The other end of the channel. It checks the signature, the time, duplicates and conflicts like the real receiver, books the visits, and does what you trigger below.
How Consult behaves
What happens in the call (status only)
No visit is booked in Consult yet. Ask for one in Online consultations.
The events of this channel
Built means Consult has it today. Proposed means it is in the handoff and waits for the contract change to be approved.
| Event | Direction | What it says | State | In this flow |
|---|---|---|---|---|
| pms.appointment.status | PMS to Consult | Appointment status | Built in Consult | Used |
| pms.encounter.acknowledged | PMS to Consult | Signed note acknowledged | Built in Consult | Not used: the record is written in the PMS |
| consult.encounter.signed | Consult to PMS | Note signed | Built in Consult | Not used: the record is written in the PMS |
| consult.prescription.issued | Consult to PMS | Prescription issued | Built in Consult | Not used: the record is written in the PMS |
| consult.referral.created | Consult to PMS | Referral created | Built in Consult | Not used: the record is written in the PMS |
| pms.online_consult.requested | PMS to Consult | Online visit requested | Proposed | Used |
| pms.online_consult.cancelled | PMS to Consult | Online visit cancelled | Proposed | Used |
| pms.online_consult.rescheduled | PMS to Consult | Online visit moved | Proposed | Used |
| pms.online_consult.fallback_to_in_person | PMS to Consult | Switched to in person | Proposed | Used |
| consult.booking.created | Consult to PMS | Booking created | Proposed | Used |
| consult.booking.confirmed | Consult to PMS | Booking confirmed | Proposed | Used |
| consult.booking.cancelled | Consult to PMS | Booking cancelled | Proposed | Used |
| consult.booking.rescheduled | Consult to PMS | Booking moved | Proposed | Used |
| consult.session.waiting | Consult to PMS | Patient is waiting | Proposed | Used |
| consult.session.started | Consult to PMS | Call started | Proposed | Used |
| consult.session.ended | Consult to PMS | Call ended | Proposed | Used |
| consult.session.no_show | Consult to PMS | Patient did not come | Proposed | Used |
| consult.session.technical_failure | Consult to PMS | Call failed | Proposed | Used |
| consult.session.safety_terminated | Consult to PMS | Call stopped for safety | Proposed | Used |
| consult.summary.approved | Consult to PMS | Summary approved | Proposed | Not used: the record is written in the PMS |
| consult.order.issued | Consult to PMS | Order issued | Proposed | Not used: the record is written in the PMS |

