Work from another session, committed as found (tests green): - `plan` reads an intake into a plan.yaml (a model decides needs, stages, forms and budgets; a person reads the result before build). - Plans gain `doors` (a first question before the forms, when a front door would carry more than five needs), `groups` with labels that a select may draw its options from (`options_from: groups`), `private` fields kept off public pages, `multiple` selects, and `max_fields` as what the intake said the person will tolerate. - `card.rs`: an alternative as the visitor meets it, in text, so the answering visitor and `rate` read the served card, not the heading. - `rate` reads followup pages from the repo and reports "what happens next" as not measured rather than zero when it cannot. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L4jrCgLiKKHAEFuZUJjckH
11 lines
6.1 KiB
JSON
11 lines
6.1 KiB
JSON
{"id":"runner-knee@/","persona":"runner-knee","need":"new-patient","page":"/","state":{"body":"I've been running for years and the outside of my right knee has started hurting after about five kilometres. I'd like someone to have a look, preferably in the mornings."},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"Who are you?\". Which alternative do they choose?","criteria":{"I am a GP or hospital":"You are sending someone to us for treatment or a report.","I have pain or an injury":"You have pain, an injury, or a new appointment you need to manage."}}},"expect":["I have pain or an injury"]}
|
|
{"id":"runner-knee@/patients","persona":"runner-knee","need":"new-patient","page":"/patients","state":{"body":"I've been running for years and the outside of my right knee has started hurting after about five kilometres. I'd like someone to have a look, preferably in the mornings."},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"What brings you here today?\". Which alternative do they choose?","criteria":{"Book your first appointment":"We'll match you with a therapist who suits your needs.","Move or cancel your appointment":"Let us know if you can't make it or need a new time."}}},"expect":["Book your first appointment"]}
|
|
{"id":"post-surgery-mother@/","persona":"post-surgery-mother","need":"new-patient","page":"/","state":{"body":"My mother had a hip replacement three weeks ago and the hospital said she needs training. She can't do much on her own and I'll drive her."},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"Who are you?\". Which alternative do they choose?","criteria":{"I am a GP or hospital":"You are sending someone to us for treatment or a report.","I have pain or an injury":"You have pain, an injury, or a new appointment you need to manage."}}},"expect":["I have pain or an injury"]}
|
|
{"id":"post-surgery-mother@/patients","persona":"post-surgery-mother","need":"new-patient","page":"/patients","state":{"body":"My mother had a hip replacement three weeks ago and the hospital said she needs training. She can't do much on her own and I'll drive her."},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"What brings you here today?\". Which alternative do they choose?","criteria":{"Book your first appointment":"We'll match you with a therapist who suits your needs.","Move or cancel your appointment":"Let us know if you can't make it or need a new time."}}},"expect":["Book your first appointment"]}
|
|
{"id":"sick-child@/","persona":"sick-child","need":"move-or-cancel","page":"/","state":{"body":"I have a session on Thursday at ten but my daughter has a fever and I can't come. Can I move it?"},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"Who are you?\". Which alternative do they choose?","criteria":{"I am a GP or hospital":"You are sending someone to us for treatment or a report.","I have pain or an injury":"You have pain, an injury, or a new appointment you need to manage."}}},"expect":["I have pain or an injury"]}
|
|
{"id":"sick-child@/patients","persona":"sick-child","need":"move-or-cancel","page":"/patients","state":{"body":"I have a session on Thursday at ten but my daughter has a fever and I can't come. Can I move it?"},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"What brings you here today?\". Which alternative do they choose?","criteria":{"Book your first appointment":"We'll match you with a therapist who suits your needs.","Move or cancel your appointment":"Let us know if you can't make it or need a new time."}}},"expect":["Move or cancel your appointment"]}
|
|
{"id":"sent-abroad@/","persona":"sent-abroad","need":"move-or-cancel","page":"/","state":{"body":"Work is sending me abroad next week so my appointment on the 3rd is off. Just free the slot, I'll be in touch when I'm back."},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"Who are you?\". Which alternative do they choose?","criteria":{"I am a GP or hospital":"You are sending someone to us for treatment or a report.","I have pain or an injury":"You have pain, an injury, or a new appointment you need to manage."}}},"expect":["I have pain or an injury"]}
|
|
{"id":"sent-abroad@/patients","persona":"sent-abroad","need":"move-or-cancel","page":"/patients","state":{"body":"Work is sending me abroad next week so my appointment on the 3rd is off. Just free the slot, I'll be in touch when I'm back."},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"What brings you here today?\". Which alternative do they choose?","criteria":{"Book your first appointment":"We'll match you with a therapist who suits your needs.","Move or cancel your appointment":"Let us know if you can't make it or need a new time."}}},"expect":["Move or cancel your appointment"]}
|
|
{"id":"gp-shoulder@/","persona":"gp-shoulder","need":"referral","page":"/","state":{"body":"I'm a GP. A patient of mine has a frozen shoulder that isn't improving with what I can offer. I'd like her to start with you and hear how it goes."},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"Who are you?\". Which alternative do they choose?","criteria":{"I am a GP or hospital":"You are sending someone to us for treatment or a report.","I have pain or an injury":"You have pain, an injury, or a new appointment you need to manage."}}},"expect":["I am a GP or hospital"]}
|
|
{"id":"hospital-discharge@/","persona":"hospital-discharge","need":"referral","page":"/","state":{"body":"Orthopaedic ward here. We're discharging a man after an ankle fracture on Friday and need follow-up rehab arranged near where he lives. He'll need a report for his sick leave."},"questions":{"pick":{"type":"choice","instructions":"A visitor reads the page question \"Who are you?\". Which alternative do they choose?","criteria":{"I am a GP or hospital":"You are sending someone to us for treatment or a report.","I have pain or an injury":"You have pain, an injury, or a new appointment you need to manage."}}},"expect":["I am a GP or hospital"]}
|