fix(hp): Remove filtered displaySets from parameter from study protocolEngine.findMatch() (#3343)
The changes look good and are running now successfully.
This commit is contained in:
parent
4d4dd45c23
commit
abe939bd20
@ -1389,15 +1389,18 @@ export default class HangingProtocolService extends PubSubService {
|
|||||||
this.studies.forEach(study => {
|
this.studies.forEach(study => {
|
||||||
// Skip non-active if active only
|
// Skip non-active if active only
|
||||||
if (matchActiveOnly && this.activeStudy !== study) return;
|
if (matchActiveOnly && this.activeStudy !== study) return;
|
||||||
|
|
||||||
const studyDisplaySets = this.displaySets.filter(
|
const studyDisplaySets = this.displaySets.filter(
|
||||||
it => it.StudyInstanceUID === study.StudyInstanceUID
|
it => it.StudyInstanceUID === study.StudyInstanceUID
|
||||||
);
|
);
|
||||||
|
|
||||||
const studyMatchDetails = this.protocolEngine.findMatch(
|
const studyMatchDetails = this.protocolEngine.findMatch(
|
||||||
study,
|
study,
|
||||||
studyMatchingRules,
|
studyMatchingRules,
|
||||||
{
|
{
|
||||||
studies: this.studies,
|
studies: this.studies,
|
||||||
displaySets: studyDisplaySets,
|
displaySets: studyDisplaySets,
|
||||||
|
allDisplaySets: this.displaySets,
|
||||||
displaySetMatchDetails: this.displaySetMatchDetails,
|
displaySetMatchDetails: this.displaySetMatchDetails,
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user