Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend unindex to support UIDs #31

Open
Enet4 opened this issue Sep 27, 2021 · 0 comments
Open

Extend unindex to support UIDs #31

Enet4 opened this issue Sep 27, 2021 · 0 comments

Comments

@Enet4
Copy link
Collaborator

Enet4 commented Sep 27, 2021

Dicoogle 3 supports unindexing files in bulk by specifying DICOM-level unique identifiers (SOPInstanceUID, SeriesInstanceUID, StudyInstanceUID) instead of URIs. (bioinformatics-ua/dicoogle#391)

The unindex method may then be extended to support this. One possible additional signature:

type EntryKey = "uri" | "SOPInstanceUID" | "SeriesInstanceUID" | "StudyInstanceUID";

unindex(key: EntryKey, entries: Array<string>, callback?): Promise<...>;

Example of use:

await dicoogle.unindex('StudyInstanceUID', ['1.1.1.6666', '1.6.4.4.3231.753653']);
@Enet4 Enet4 changed the title Extend unindex and remove to support UIDs Extend unindex to support UIDs Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant