Working local download, STOW to PACS an view in SR Viewport.
This commit is contained in:
1 parent
7b7b63de93
commit
74c1462271
19 files changed
+232
-29
No files matched your search
@@ -15,6 +15,7 @@ import { DicomMetadataStore } from '@ohif/core';
|
||||
function create({
|
||||
query,
|
||||
retrieve,
|
||||
store,
|
||||
retrieveSeriesMetadata,
|
||||
getImageIdsForDisplaySet,
|
||||
}) {
|
||||
@@ -44,13 +45,20 @@ function create({
|
||||
series: {},
|
||||
};
|
||||
|
||||
const defaultStore = {
|
||||
dicom: async naturalizedDataset => {
|
||||
throw new Error(
|
||||
'store.dicom(naturalizedDicom, StudyInstanceUID) not implemented for dataSource.'
|
||||
);
|
||||
},
|
||||
};
|
||||
|
||||
return {
|
||||
query: query || defaultQuery,
|
||||
retrieve: retrieve || defaultRetrieve,
|
||||
store: store || defaultStore,
|
||||
getImageIdsForDisplaySet,
|
||||
retrieveSeriesMetadata,
|
||||
// then go get all series level metadata.
|
||||
// Store this in the DICOM MetadataStore.
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user