Skip to content

Commit e4dee70

Browse files
authored
[DT-2853] Add Biospecimen Model (#3310)
1 parent dca5632 commit e4dee70

File tree

1 file changed

+55
-0
lines changed

1 file changed

+55
-0
lines changed

src/types/model.ts

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,7 @@ export interface Study {
344344
clinicalTrials?: Array<ClinicalTrial>
345345
funding?: Array<FundingResource>
346346
intellectualProperties?: Array<IntellectualProperty>
347+
biospecimens?: Array<Biospecimen>
347348
}
348349
}
349350

@@ -456,6 +457,60 @@ export interface IntellectualProperty {
456457
tags?: string[]
457458
}
458459

460+
export enum BioSpecimenType {
461+
BLOOD = 'BLOOD',
462+
PLASMA = 'PLASMA',
463+
SERUM = 'SERUM',
464+
TISSUE = 'TISSUE',
465+
SALIVA = 'SALIVA',
466+
CSF = 'CSF',
467+
PBMC = 'PBMC',
468+
TUMOR = 'TUMOR',
469+
NORMAL_ADJACENT = 'NORMAL_ADJACENT',
470+
}
471+
472+
export enum BioSpecimenPreservationMethod {
473+
FFPE = 'FFPE',
474+
FRESH_FROZEN = 'FRESH_FROZEN',
475+
CRYO_PRESERVED = 'CRYO_PRESERVED',
476+
RNA_LATER = 'RNA_LATER',
477+
FORMALIN_FIXED = 'FORMALIN_FIXED',
478+
}
479+
480+
export enum PostMortemIntervalUnit {
481+
HOURS = 'HOURS',
482+
MINUTES = 'MINUTES',
483+
DAYS = 'DAYS',
484+
WEEKS = 'WEEKS',
485+
}
486+
487+
export enum Sex {
488+
FEMALE = 'FEMALE',
489+
MALE = 'MALE',
490+
UNKNOWN = 'UNKNOWN',
491+
NOT_REPORTED = 'NOT_REPORTED',
492+
}
493+
494+
export interface Biospecimen {
495+
biospecimenId: string
496+
studyId: string
497+
donorId: string
498+
specimenType: BioSpecimenType
499+
preservationMethod: BioSpecimenPreservationMethod
500+
preservationDetails?: string
501+
dateOfCollection?: string
502+
postMortemInterval?: { value: number, unit: PostMortemIntervalUnit }
503+
sex?: Sex
504+
age?: number
505+
race?: string
506+
countryOfOrigin?: string // {domain}/api-docs/ISO-3166-countries.json e.g. "United States of America (the)"
507+
extractedDiagnoses?: string[] // diseaseSpecificUse e.g. "Alzheimer's disease", "Parkinson's disease"
508+
pathology?: string
509+
organization: string // e.g. institution/biobank/provider
510+
sourceSite?: string // e.g. clinic/hospital/collection site
511+
optionalDataUse?: string // structured policy (same pattern as dataset Data Use, if supported) OR free-text for MVP
512+
}
513+
459514
export interface StudyProperty {
460515
key: string
461516
value: string

0 commit comments

Comments
 (0)