feat(STOW-RS) Save DICOM Structured Reports from Measurement Table back to archive (#236)
* Small refactor into Table Class setting events as static object into class * feature(STOW-SR) : Initial changes to stow when we have Server. * Improvements into requests and small fix into style * Small fix for jumpToRow without refheshing page * Handling STOW-SR once we don't have server * feature(STOW-SR) Refactor * Merge request with makeRequest and delete old file * Expose wadoproxy to client and update measurement-table to start using wadoproxy.getServerUrl * Move WADOProxy.getServerUrl to Measurement-table package. Fix querystring issue. * Remove proxy:enabled in favour of requestOptions.requestFromBrowser * Bcrypt 2.0.0 to fix Travis
This commit is contained in:
1 parent
13e4dc25e1
commit
26b14f1dab
26 files changed
+1079
-179
No files matched your search
@@ -205,12 +205,6 @@ async function resultDataToStudyMetadata(server, studyInstanceUid, resultData) {
|
||||
const seriesMap = {};
|
||||
const seriesList = [];
|
||||
|
||||
if (!WADOProxy) {
|
||||
WADOProxy = {
|
||||
convertURL: (a => a)
|
||||
};
|
||||
}
|
||||
|
||||
if (!resultData.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -6,11 +6,13 @@ import 'meteor/ohif:viewerbase';
|
||||
// promises and prevent unnecessary subsequent calls to the server
|
||||
const StudyMetaDataPromises = new Map();
|
||||
|
||||
|
||||
/**
|
||||
* Delete the study promise cached to ensure next retrieve will get it retrieved by server call
|
||||
* Delete the cached study metadata retrieval promise to ensure that the browser will
|
||||
* re-retrieve the study metadata when it is next requested
|
||||
*
|
||||
* @param {String} studyInstanceUid The UID of the Study to be removed from cache
|
||||
*
|
||||
*
|
||||
*/
|
||||
OHIF.studies.deleteStudyMetadataPromise = (studyInstanceUid) => {
|
||||
if (StudyMetaDataPromises.has(studyInstanceUid)) {
|
||||
|
||||
Reference in new issue
Block a user