feat: wire agenda artifacts

This commit is contained in:
colinislit
2025-12-28 14:54:32 +01:00
parent 14a9d34337
commit 94aab93f1c
4 changed files with 194 additions and 8 deletions

View File

@@ -1,6 +1,6 @@
'use client';
import React from 'react';
import { Encounter, AppointmentTypeCode, LocationClassCode, CalendarEvent } from '@/app/epd/agenda/types';
import { AppointmentTypeCode, LocationClassCode, CalendarEvent } from '@/app/epd/agenda/types';
import { AgendaListView } from './agenda-list-view';
import { AgendaCreateForm } from './agenda-create-form';
import { AgendaCancelView } from './agenda-cancel-view';
@@ -16,6 +16,8 @@ export interface AgendaBlockProps {
type?: AppointmentTypeCode;
location?: LocationClassCode;
notes?: string;
identifier?: { encounterId?: string; encounter?: CalendarEvent };
newDatetime?: { date: Date; time: string };
};
disambiguationOptions?: CalendarEvent[];
onClose?: () => void;