@upv/ushi-shared
Version:
Shared DTOs, types, and utilities for the USHI platform (LMS, Trials, Social, Wallet).
24 lines (23 loc) • 745 B
TypeScript
import { IBaseDtoInput, IBaseDtoOutput } from './base';
/**
* ITrialParticipantProfileDto - Raw input for trial profile
*/
export interface ITrialParticipantProfileDto extends IBaseDtoInput {
userId: string;
trialId: string;
participantCode?: string;
enrollmentStatus: 'pending' | 'consented' | 'withdrawn' | 'completed';
consentedAt?: number;
siteId?: string;
}
/**
* ITrialParticipantProfile - Serialized profile for trial tracking
*/
export interface ITrialParticipantProfile extends IBaseDtoOutput {
userId: string;
trialId: string;
participantCode: string | null;
enrollmentStatus: 'pending' | 'consented' | 'withdrawn' | 'completed';
consentedAt: number | null;
siteId: string | null;
}