fix(HangingProtocol): fix hp when unsupported series load first (#4145)
Co-authored-by: Michael Andersen <Michael.Andersen@rmp.uhn.ca> Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
This commit is contained in:
parent
bf3acd076d
commit
b124c91d8f
@ -14,7 +14,6 @@ const defaultProtocol = {
|
|||||||
editableBy: {},
|
editableBy: {},
|
||||||
protocolMatchingRules: [],
|
protocolMatchingRules: [],
|
||||||
toolGroupIds: ['default'],
|
toolGroupIds: ['default'],
|
||||||
hpInitiationCriteria: { minSeriesLoaded: 1 },
|
|
||||||
// -1 would be used to indicate active only, whereas other values are
|
// -1 would be used to indicate active only, whereas other values are
|
||||||
// the number of required priors referenced - so 0 means active with
|
// the number of required priors referenced - so 0 means active with
|
||||||
// 0 or more priors.
|
// 0 or more priors.
|
||||||
|
|||||||
@ -1,5 +0,0 @@
|
|||||||
const LOW_PRIORITY_MODALITIES = Object.freeze(['SEG', 'KO', 'PR', 'SR', 'RTSTRUCT']);
|
|
||||||
|
|
||||||
export default function isLowPriorityModality(Modality) {
|
|
||||||
return LOW_PRIORITY_MODALITIES.includes(Modality);
|
|
||||||
}
|
|
||||||
@ -1,4 +1,4 @@
|
|||||||
const LOW_PRIORITY_MODALITIES = Object.freeze(['SEG', 'KO', 'PR', 'SR', 'RTSTRUCT']);
|
const LOW_PRIORITY_MODALITIES = Object.freeze(['SEG', 'KO', 'PR', 'SR', 'RTSTRUCT', 'RTDOSE', 'RTPLAN', 'RTRECORD', 'REG']);
|
||||||
|
|
||||||
export default function isLowPriorityModality(Modality) {
|
export default function isLowPriorityModality(Modality) {
|
||||||
return LOW_PRIORITY_MODALITIES.includes(Modality);
|
return LOW_PRIORITY_MODALITIES.includes(Modality);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user