From 245b8dd19b5fdfa601d44c2fdd2c558a8958ca06 Mon Sep 17 00:00:00 2001 From: Simon Pelletier Date: Tue, 11 Aug 2020 21:05:38 -0400 Subject: [PATCH] [API] Add missing attributes from DicomTarDTO and ImageDTO --- modules/api/php/views/visit/dicoms.class.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/api/php/views/visit/dicoms.class.inc b/modules/api/php/views/visit/dicoms.class.inc index 16fdc3ffc44..caf8514bd66 100644 --- a/modules/api/php/views/visit/dicoms.class.inc +++ b/modules/api/php/views/visit/dicoms.class.inc @@ -52,8 +52,9 @@ class Dicoms private static function _formatDicomTars(DicomTarDTO $dicom): array { return [ - 'Tarname' => $dicom->getTarname(), - 'SeriesInfo' => array_map( + 'Tarname' => $dicom->getTarname(), + 'Patientname' => $dicom->getPatientname(), + 'SeriesInfo' => array_map( [ 'self', '_formatSeries'