Round trip mrn filtering

This commit is contained in:
dannyrb 2020-05-12 09:57:02 -04:00 committed by James A. Petts
parent 053ed36e8f
commit 1979928d59
3 changed files with 5 additions and 5 deletions

View File

@ -51,8 +51,8 @@ function processResults(qidoStudies) {
studyTime: getString(qidoStudy['00080030']), studyTime: getString(qidoStudy['00080030']),
accessionNumber: getString(qidoStudy['00080050']), accessionNumber: getString(qidoStudy['00080050']),
// referringPhysicianName: getString(qidoStudy['00080090']), // referringPhysicianName: getString(qidoStudy['00080090']),
mrn: getString(qidoStudy['00100020']), // patientId
patientName: getName(qidoStudy['00100010']), patientName: getName(qidoStudy['00100010']),
patientId: getString(qidoStudy['00100020']),
// patientBirthdate: getString(qidoStudy['00100030']), // patientBirthdate: getString(qidoStudy['00100030']),
// patientSex: getString(qidoStudy['00100040']), // patientSex: getString(qidoStudy['00100040']),
// studyId: getString(qidoStudy['00200010']), // mrn? // studyId: getString(qidoStudy['00200010']), // mrn?

View File

@ -92,8 +92,8 @@ function _getQueryFilterValues(query) {
const queryFilterValues = { const queryFilterValues = {
// DCM // DCM
patientId: query.get('mrn'),
patientName: query.get('patientName'), patientName: query.get('patientName'),
// mrn: query.get('mrn'), patientId?
studyDescription: query.get('description'), studyDescription: query.get('description'),
modalitiesInStudy: query.get('modalities') modalitiesInStudy: query.get('modalities')
? query.get('modalities').split(',') ? query.get('modalities').split(',')

View File

@ -153,7 +153,7 @@ function StudyListContainer({ history, data: studies }) {
modalities, modalities,
instances, instances,
studyDescription, studyDescription,
patientId, mrn,
patientName, patientName,
studyDate, studyDate,
studyTime, studyTime,
@ -188,8 +188,8 @@ function StudyListContainer({ history, data: studies }) {
}, },
{ {
key: 'mrn', key: 'mrn',
content: patientId, content: mrn,
title: patientId, title: mrn,
gridCol: 2, gridCol: 2,
}, },
{ {