diff --git a/src/components/observation/ObservationCard.tsx b/src/components/observation/ObservationCard.tsx index 6751f441..84970c73 100644 --- a/src/components/observation/ObservationCard.tsx +++ b/src/components/observation/ObservationCard.tsx @@ -1,3 +1,70 @@ -export default function ObservationCard() { - return
ObservationCard placeholder
+import type { Observation } from '@/domain/schema/observation' +import Card from '@/components/ui/Card' +import Badge from '@/components/ui/Badge' +import Button from '@/components/ui/Button' + +export interface ObservationCardProps { + observation: Observation + index: number + active: boolean + onSelect: () => void + onDelete: () => void + onMoveUp: () => void + onMoveDown: () => void + canMoveUp: boolean + canMoveDown: boolean +} + +export default function ObservationCard({ + observation, + index, + active, + onSelect, + onDelete, + onMoveUp, + onMoveDown, + canMoveUp, + canMoveDown, +}: ObservationCardProps) { + const zoneCount = observation.zones.length + const patCount = + observation.pathologyIds.length + observation.freeTextPathologies.length + + return ( + +
+ +
+ + + +
+
+
+ ) }