IDC-2348: Add acquisition storage sr sopclass to sr html ext (#2352)
* Add acquisition context storage sr sop to html ext
This commit is contained in:
parent
1d069d2da3
commit
0ae49c6fdc
@ -9,6 +9,7 @@ const SOP_CLASS_UIDS = {
|
||||
MAMMOGRAPHY_CAD_SR: '1.2.840.10008.5.1.4.1.1.88.50',
|
||||
CHEST_CAD_SR: '1.2.840.10008.5.1.4.1.1.88.65',
|
||||
X_RAY_RADIATION_DOSE_SR: '1.2.840.10008.5.1.4.1.1.88.67',
|
||||
ACQUISITION_CONTEXT_SR_STORAGE: '1.2.840.10008.5.1.4.1.1.88.71',
|
||||
};
|
||||
|
||||
const sopClassUIDs = Object.values(SOP_CLASS_UIDS);
|
||||
|
||||
@ -77,7 +77,6 @@ const parseDicomStructuredReport = (part10SRArrayBuffer, displaySets) => {
|
||||
|
||||
/**
|
||||
* Function to create imagePath with all imageData related
|
||||
*
|
||||
* @param {string} StudyInstanceUID
|
||||
* @param {string} SeriesInstanceUID
|
||||
* @param {string} SOPInstanceUID
|
||||
|
||||
@ -259,7 +259,6 @@ function ViewerRetrieveStudyData({
|
||||
);
|
||||
|
||||
setStudies([...studies, study]);
|
||||
setIsStudyLoaded(true);
|
||||
};
|
||||
|
||||
/**
|
||||
@ -295,6 +294,9 @@ function ViewerRetrieveStudyData({
|
||||
setError(error);
|
||||
log.error(error);
|
||||
}
|
||||
})
|
||||
.finally(() => {
|
||||
setIsStudyLoaded(true);
|
||||
});
|
||||
|
||||
return study;
|
||||
@ -323,8 +325,9 @@ function ViewerRetrieveStudyData({
|
||||
const promises = Array(concurrentRequestsAllowed)
|
||||
.fill(null)
|
||||
.map(loadNextSeries);
|
||||
|
||||
return await Promise.all(promises);
|
||||
const remainingPromises = await Promise.all(promises);
|
||||
setIsStudyLoaded(true);
|
||||
return remainingPromises;
|
||||
};
|
||||
|
||||
const loadStudies = async () => {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user