As a practitioner, I can open a teleexpertise case (backend model) #13
Labels
No labels
area:agents
area:backend
area:clinical
area:dashboard
area:deploy
area:design
area:design-review
area:devices
area:docs
area:federation
area:identity
area:infra
area:interop
area:meta
area:security
area:sessions
area:web
area:webhook
area:workdir
type:bug
type:chore
type:epic
type:meta
type:user-story
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/koinos#13
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
User story
As a practitioner, I want to open a teleexpertise case backed by a FHIR
ServiceRequestand a Matrix room, so that my colleagues and I have a structured workspace for the request.Acceptance criteria
Case creation
POST /api/casesbody:{ patient, specialty, urgency, question, invitees[], patientInvolvement }.ServiceRequestwithcategory=teleexpertise,status=active,intent=order, and Koinos extensions (matrixRoomId,patientInvolvement).ServiceRequest.Encounterlinked to theServiceRequest.Taskfor each invitee.Lifecycle
PATCH /api/cases/{id}transitions:active → on-hold → active → completed/active → revoked.Querying
GET /api/cases?status=...&mine=requested|assigned|allwith pagination.Tests
Out of scope
DiagnosticReporton closure (later).References
spec/04-functional/02-teleexpertise.md§§2–4.spec/03-architecture/04-medical-data.md.spec/08-roadmap-mvp.md— step #13.