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:
Igor Octaviano 2021-04-21 08:12:54 -03:00 committed by GitHub
parent 1d069d2da3
commit 0ae49c6fdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

View File

@ -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);

View File

@ -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

View File

@ -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 () => {