Skip to content

Commit

Permalink
fix indexing
Browse files Browse the repository at this point in the history
  • Loading branch information
IbrahimCSAE committed Nov 15, 2023
1 parent 5bbc677 commit 3dfaec7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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
Bill Wallace, Mateus Freira, Radical Imaging, Chris Hafey, Ibrahim Mohamed

## 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.7",
"version": "0.9.8",
"description": "Support reading tree structured metadata",
"author": "Bill Wallace, Mateus Freira,Radical Imaging",
"author": "Bill Wallace, Mateus Freira,Radical Imaging, Ibrahim Mohamed",
"keywords": [
"ohif-extension"
],
Expand Down
4 changes: 2 additions & 2 deletions src/createDicomWebTreeApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -514,9 +514,9 @@ function createDicomWebTreeApi(dicomWebConfig, UserAuthenticationService) {
return imageIds;
},

getImageIdsForInstance({ instance, frame = 1 }) {
getImageIdsForInstance({ instance, frame = 0 }) {
const { DatastoreID, ImageFrames, ImageSetID } = instance;
const frameID = ImageFrames?.[frame - 1]?.ID;
const frameID = ImageFrames?.[frame]?.ID;
const healthlakeParam = qidoDicomWebClient.healthlake?.images ? "true" : "false";
const extraParameters =
(DatastoreID && {
Expand Down

0 comments on commit 3dfaec7

Please sign in to comment.