added dicom props
This commit is contained in:
parent
dba4668bce
commit
436a8ae566
@ -222,7 +222,21 @@ public function transformData(mixed $orthanc_src): array
|
|||||||
if (empty($properties)) {
|
if (empty($properties)) {
|
||||||
$properties = null;
|
$properties = null;
|
||||||
}
|
}
|
||||||
$details = compact('properties', 'series');
|
|
||||||
|
$dicom_properties = array_purge([
|
||||||
|
'patient_id' => $study['patient_id'],
|
||||||
|
'patient_name' => $study['patient_name'],
|
||||||
|
'patient_birthdate' => $study['patient_birthdate'],
|
||||||
|
'patient_sex' => $study['patient_sex'],
|
||||||
|
'accession_number' => $study['accession_number'],
|
||||||
|
'referring_physician_name' => $study['referring_physician_name'],
|
||||||
|
'study_id' => $study['study_id'],
|
||||||
|
'body_part_examined' => $study['body_part_examined'],
|
||||||
|
'study_date' => $study['study_date'],
|
||||||
|
'study_description' => $study['study_description'],
|
||||||
|
]);
|
||||||
|
|
||||||
|
$details = compact('properties', 'series', 'dicom_properties');
|
||||||
$details = array_purge($details);
|
$details = array_purge($details);
|
||||||
$study = array_purge($study);
|
$study = array_purge($study);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user