Project

General

Profile

Actions

Feature #288

open
NP NP

Canteen: D26 — doctor-task + intake-chart write contracts (IPD)

Feature #288: Canteen: D26 — doctor-task + intake-chart write contracts (IPD)

Added by Navya P. about 1 month ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
-
Start date:
10/08/2026
Due date:
% Done:

100%

Estimated time:
Resolved By:

Description

Week 6 D26 (per clinq-docs/modules/canteen-management/plans/2026-10-07-canteen-v1-week-6-tdd-plan.md).

Draft the two remaining IPD write-contracts per consumes.md's gap table, same pattern as D21
(shape on nuvita-shared-kernel, real implementation on nuvita-ipd, branch off
integration/canteen-v1 in each repo, no PR -- team's standing no-PR branch process):

Task 1 -- Doctor-task write contract
DietitianAssessment.Outcome = ChangeRecommended (built D23) currently just records a row.
ADR-0001's own rule is "a recommendation creates a task in IPD" -- no contract exists yet to
call. Check first whether IPD already has a generic task/reminder entity before adding a new
one (platform ownership rule: a second "task" concept is a bug, not a feature).

Task 2 -- Intake-%-to-nursing-chart write contract
Tray.CollectAsync (built D24) records IntakePercent locally; nothing propagates it to IPD's own
nursing chart yet, which is where a ward nurse actually looks for it during rounds. Find out
what IPD's nursing chart actually is (check modules/ipd/data-model.md) before designing the
write -- append to an existing chart entity rather than inventing a parallel intake log.

Depends on: ADR-0001 (accepted 2026-10-07, see #253).

Actions

Also available in: PDF Atom