anonym dicom - date
This commit is contained in:
parent
8df96e9756
commit
5a04774121
@ -119,7 +119,7 @@ public function transformData(mixed $orthanc_src): array
|
|||||||
'modality' => data_get($orthanc_src, 'RequestedTags.Modality'),
|
'modality' => data_get($orthanc_src, 'RequestedTags.Modality'),
|
||||||
'body_part_examined' => data_get($orthanc_src, 'RequestedTags.BodyPartExamined'),
|
'body_part_examined' => data_get($orthanc_src, 'RequestedTags.BodyPartExamined'),
|
||||||
|
|
||||||
'study_date' => DicomUtils::dateTimeToCarbon($orthanc_src['MainDicomTags']['StudyDate'], $orthanc_src['MainDicomTags']['StudyTime']) ?? now('UTC'),
|
'study_date' => DicomUtils::dateTimeToCarbon($orthanc_src['MainDicomTags']['StudyDate'], $orthanc_src['MainDicomTags']['StudyTime']) ?? Carbon::createFromTimestamp(0),
|
||||||
'received_at' => Carbon::parse($orthanc_src['LastUpdate'], 'UTC'),
|
'received_at' => Carbon::parse($orthanc_src['LastUpdate'], 'UTC'),
|
||||||
|
|
||||||
'image_count' => data_get($orthanc_src, 'Statistics.CountInstances'),
|
'image_count' => data_get($orthanc_src, 'Statistics.CountInstances'),
|
||||||
|
Loading…
Reference in New Issue
Block a user