Skip to content

feat: カルテのユースケース(作成・訂正・閲覧)を追加#104

Closed
KinjiKawaguchi wants to merge 3 commits into
developfrom
feat/karte-usecases
Closed

feat: カルテのユースケース(作成・訂正・閲覧)を追加#104
KinjiKawaguchi wants to merge 3 commits into
developfrom
feat/karte-usecases

Conversation

@KinjiKawaguchi

Copy link
Copy Markdown
Member

Reopened from #84 (closed by history rewrite)

概要

PR #82 で導入したカルテ集約のドメインモデルに対し、アプリケーション層のユースケースを追加する。

変更内容

  • CreateKarte — カルテ新規作成
  • CorrectKarte — カルテの訂正
  • GetKarte — カルテ閲覧

🤖 Generated with Claude Code

KinjiKawaguchi and others added 3 commits March 21, 2026 19:32
PR #82のドメインモデルに合わせてユースケースを再設計した。
- UpdateKarte → CorrectKarte: イミュータブルなKarte.correct()に対応
- ListKartesを削除: RepositoryがfindById/saveのみのYAGNI設計
- Response → SupportRecord: 型名変更に追従

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
プレゼン層でのエラー種別分岐を可能にするため、汎用Errorから
既存パターンに合わせたApplicationExceptionに変更する。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant