diff --git a/src/reports/biospecimen-request/config.ts b/src/reports/biospecimen-request/config.ts index 582e4cc..90a6d4f 100644 --- a/src/reports/biospecimen-request/config.ts +++ b/src/reports/biospecimen-request/config.ts @@ -76,6 +76,7 @@ export const wantedFields = [ 'participant.external_id', 'participant.participant_id', 'study.study_code', + 'study.study_name', 'study.biobank_contact', 'study.biobank_request_link', 'study.note', diff --git a/src/reports/biospecimen-request/generateBiospecimenRequestFiles.ts b/src/reports/biospecimen-request/generateBiospecimenRequestFiles.ts index 98fddf4..d3cc707 100644 --- a/src/reports/biospecimen-request/generateBiospecimenRequestFiles.ts +++ b/src/reports/biospecimen-request/generateBiospecimenRequestFiles.ts @@ -69,7 +69,7 @@ export default async function generateFiles( // Add biorepository request note to README content for the study if ((row as any).study.note) { - readmeContent += `### ${study_code}\n\n`; + readmeContent += `### ${study_code} - ${(row as any).study.study_name}\n\n`; readmeContent += `${(row as any).study.note}\n\n`; } }