fix studyDate sort and display
This commit is contained in:
1 parent
10729c2414
commit
e29a777a9f
2 files changed
+43
-11
No files matched your search
@@ -46,16 +46,17 @@ function processResults(qidoStudies) {
|
||||
qidoStudies.forEach(qidoStudy =>
|
||||
studies.push({
|
||||
studyInstanceUid: getString(qidoStudy['0020000D']),
|
||||
date: getString(qidoStudy['00080020']),
|
||||
date: getString(qidoStudy['00080020']), // YYYYMMDD
|
||||
time: getString(qidoStudy['00080030']), // HHmmss.SSS (24-hour, minutes, seconds, fractional seconds)
|
||||
accession: getString(qidoStudy['00080050']), // short string, probably a number?
|
||||
mrn: getString(qidoStudy['00100020']), // medicalRecordNumber
|
||||
patientName: getName(qidoStudy['00100010']),
|
||||
instances: Number(getString(qidoStudy['00201208'])), // number
|
||||
description: getString(qidoStudy['00081030']),
|
||||
modalities: getString(
|
||||
getModalities(qidoStudy['00080060'], qidoStudy['00080061'])
|
||||
),
|
||||
accession: getString(qidoStudy['00080050']) || '', // short string, probably a number?
|
||||
mrn: getString(qidoStudy['00100020']) || '', // medicalRecordNumber
|
||||
patientName: getName(qidoStudy['00100010']) || '',
|
||||
instances: Number(getString(qidoStudy['00201208'])) || 0, // number
|
||||
description: getString(qidoStudy['00081030']) || '',
|
||||
modalities:
|
||||
getString(
|
||||
getModalities(qidoStudy['00080060'], qidoStudy['00080061'])
|
||||
) || '',
|
||||
})
|
||||
);
|
||||
|
||||
|
||||
Reference in new issue
Block a user