Skip to content

[Help needed] Enable search by modality in _PATIENT_ROOT and _STUDY_ROOT #932

@EmilioAHV

Description

@EmilioAHV

I tried this approach, changing the attributes in pynetdicom.apps.qrscp.db file:

_PATIENT_ROOT_ATTRIBUTES = OrderedDict(
{
"PATIENT": ["PatientID", "PatientName","Modality"],
"STUDY": [
"StudyInstanceUID",
"StudyDate",
"StudyTime",
"AccessionNumber",
"StudyID","Modality"
],
"SERIES": ["SeriesInstanceUID", "Modality", "SeriesNumber"],
"IMAGE": ["SOPInstanceUID", "InstanceNumber"],
}
)
_STUDY_ROOT_ATTRIBUTES = OrderedDict(
{
"STUDY": [
"StudyInstanceUID",
"StudyDate",
"StudyTime",
"AccessionNumber",
"StudyID","PatientID",
"PatientName",
"Modality"
],
"SERIES": ["SeriesInstanceUID", "Modality", "SeriesNumber"],
"IMAGE": ["SOPInstanceUID", "InstanceNumber"],
}
)
It's not working so I was hoping to recieve some feedback,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions