Skip to content

Commit

Permalink
Merge pull request #29 from JeffersonCurveBeam/ImageSetID-filter
Browse files Browse the repository at this point in the history
add filter imagesetid by url query param
  • Loading branch information
IbrahimCSAE authored Jan 16, 2024
2 parents 6042afc + c747fcb commit 565d0b1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ Support metadata and imaging data loading from AWS HealthImaging


## Authors
Bill Wallace, Mateus Freira, Radical Imaging, Chris Hafey, Ibrahim Mohamed
Bill Wallace, Mateus Freira, Radical Imaging, Chris Hafey, Ibrahim Mohamed, Jefferson Tang

## License
MIT
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "ohif-aws-healthimaging",
"version": "0.9.9",
"version": "0.9.10",
"description": "Support reading tree structured metadata",
"author": "Bill Wallace, Mateus Freira,Radical Imaging, Ibrahim Mohamed",
"author": "Bill Wallace, Mateus Freira,Radical Imaging, Ibrahim Mohamed, Jefferson Tang",
"keywords": [
"ohif-extension"
],
Expand Down
2 changes: 1 addition & 1 deletion src/utils/DicomTreeClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ export default class DicomTreeClient extends api.DICOMwebClient {
if (studies && studies.length) {
const [study] = studies;
datastoreID = study['00181002']?.Value?.[0] || datastoreID;
const imageSetsIds = (study['00200010']?.Value ||[]);
const imageSetsIds = search?.get("ImageSetID") ? [ search?.get("ImageSetID") ] : (study['00200010']?.Value ||[]);
// Todo do it one by one and go adding to the screen as they arrive
const metadataArray = await Promise.all(imageSetsIds.map(async (imageSetId: String) => {
const metadataLoaded = await loadMetaDataInternal(datastoreID, imageSetId, this.healthlake);
Expand Down

0 comments on commit 565d0b1

Please sign in to comment.