Last updated: 29 August 2026
PatientOS is an AI consultation assistant for doctors. Instead of filling forms by hand, the doctor chats with an AI that has already read the patient's full record — demographics, vitals, past encounters, compositions, and lab orders. The AI converses about the case, drafts a prescription, OP consultation, referral letter, medical certificate, or lab order, and shows the doctor exactly what it will write before anything is saved. Nothing is written to the record until the doctor confirms.
Every document type follows the same lifecycle: create a draft, edit it in place, and finalise it when ready. Referral letters and medical certificates are first-class records (not plain consultation notes), and lab orders can be created and edited too.
The AI never writes to the database directly. Every save goes through the same FHIR-native doctor APIs the rest of NICE HMS uses, on the doctor's own authenticated session.
Click + New (or just type) and describe the patient's complaint. PatientOS first validates access (subscription, tokens, patient status) and loads the full record before the AI responds.
Ask questions, summarise findings, or give instructions in plain language. The AI reads the loaded record and responds in the chat. Use Consider new docs at any time to re-scan the patient record for newly added documents.
The quick-action buttons above the message box speed up the common actions:
MED: lines for the AI to draft the prescription.Type / to open the command picker. Each command puts PatientOS into a specific document mode:
| Command | What it does |
|---|---|
/create prescription | Draft a new prescription (notes → medications → follow-up) |
/edit prescription | Edit an existing prescription |
/create consultation | Draft a new OP consultation note |
/edit consultation | Edit an existing consultation note |
/create referral letter | Draft a referral letter |
/edit referral letter | Edit an existing referral letter |
/create medical certificate | Draft a medical certificate |
/edit medical certificate | Edit an existing medical certificate |
/create service request | Order lab tests |
/edit service request | Edit an existing lab order |
/chat | Return to free chat (no document mode) |
/finalize | Finalise a draft (see Finalise) |
/discard | Discard a session draft (see Discard) |
You can also type the instruction directly, e.g. "save this prescription" or "order CBC and LFT".
follow-up: instruction to the AI, which records it on the encounter.When you ask to save, edit, or order, the AI extracts a structured draft and shows it back to you as a proposal (for edits, a before/after of the current content vs what will change) — nothing is written yet. A Save this draft? bar appears with three buttons:
Only when you click Confirm (or reply "confirm") does PatientOS write the record:
| Action | What is written | Status |
|---|---|---|
| New prescription | Prescription record | Draft |
| Edit prescription | Updates the same prescription in place | Draft |
| New consultation | OP consultation record | Draft |
| Edit consultation | Updates the same consultation in place | Draft |
| New referral letter | Referral letter record | Draft |
| Edit referral letter | Updates the same letter in place | Draft |
| New medical certificate | Medical certificate record | Draft |
| Edit medical certificate | Updates the same certificate in place | Draft |
| New lab order | Service request (lab) | Draft |
| Edit lab order | Updates the same service request | Draft |
| Finalise | Marks the record final | Final |
Use the /edit … commands to change a record you already have. PatientOS lists your editable records most-recent-first (with date, author, and a short summary) and asks you to pick — reply with the number, or "latest" for the most recent. It then reads the current content and shows the complete final version as a before/after:
Confirm to update the record in place — no duplicate is created.
Ask to see a specific record in full — e.g. "show me the last prescription" or "open the referral letter". PatientOS prints the full text of that record. If there are several matches it lists them and waits for you to pick.
When a record is ready, type /finalize to set it to final so it can be shared (for example via ABDM):
1. Prescription — …, 2. Referral letter — …) and you reply with the number, or /finalize <number>.Type /discard to remove a draft you created this session from the session's working set. Like finalise, it targets the single draft directly or lists several for you to pick (/discard <number>). Discarding is local to the session — it removes the entry from PatientOS's list of drafts to finalise/edit; it does not delete the underlying record from the patient's file.
Q: Does PatientOS write anything automatically? A: No. It only proposes. A record is written only after you click Confirm (or reply "confirm").
Q: Where do the saved records go? A: To the patient's record via the same doctor APIs the browser uses — prescriptions, consultation notes, referral letters, medical certificates, and lab orders appear in the patient's documents and encounters as drafts, then final when you finalise.
Q: Can I edit a record after saving it?
A: Yes. Use /edit prescription, /edit consultation, /edit referral letter, /edit medical certificate, or /edit service request; pick the record, review the before/after, and confirm.
Q: How do I finalise a record?
A: Type /finalize (or /finalize <number> when several drafts are listed). Finalising sets the record to final.
Q: What's the difference between discard and delete?
A: /discard removes a draft from the current session's working list only; the underlying record stays in the patient's file.
Q: Can I resume a past consultation? A: Yes. Select it from the Conversations sidebar; the full chat history is restored.
Q: Is my data safe? A: PatientOS acts on your own session token and never stores credentials. Records are written through NICE HMS's existing authenticated endpoints.