Skip to content

Commit

Permalink
QIDO-RS: support referring a pre-configured Attribute Set by Query Pa…
Browse files Browse the repository at this point in the history
…rameter `includefield` dcm4che#1690
  • Loading branch information
vrindanayak committed Nov 27, 2018
1 parent ffa816f commit 810cccc
Showing 1 changed file with 21 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,22 @@ private static AuditSuppressCriteria suppressAuditQueryFromArchive() {
Tag.AccessionNumber,
Tag.IssuerOfAccessionNumberSequence,
};
static final int[] QIDO_STUDY_ATTRS = {
Tag.StudyDate,
Tag.StudyTime,
Tag.AccessionNumber,
Tag.ModalitiesInStudy,
Tag.ReferringPhysicianName,
Tag.PatientName,
Tag.PatientID,
Tag.PatientBirthDate,
Tag.PatientSex,
Tag.StudyID,
Tag.StudyInstanceUID,
Tag.StudyDescription,
Tag.NumberOfStudyRelatedSeries,
Tag.NumberOfStudyRelatedInstances
};
static final int[] MPPS_ATTRS = {
Tag.SpecificCharacterSet,
Tag.Modality,
Expand Down Expand Up @@ -1517,6 +1533,11 @@ private static void addArchiveDeviceExtension(Device device, ConfigType configTy
"Default",
null,
LEADING_CFIND_SCP_ATTRS));
ext.addAttributeSet(newAttributeSet(AttributeSet.Type.QIDO_RS,
0, "study",
"QIDO Study attribute set",
"QIDO Study attribute set for CSV",
QIDO_STUDY_ATTRS));

ext.addRejectionNote(createRejectionNote("Quality",
RejectionNote.Type.REJECTED_FOR_QUALITY_REASONS,
Expand Down

0 comments on commit 810cccc

Please sign in to comment.