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

New profile action : add tag #230

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

New profile action : add tag #230

wants to merge 2 commits into from

Conversation

mhenx
Copy link
Collaborator

@mhenx mhenx commented Feb 25, 2025

Adds a tag to an instance if it is not present, otherwise does nothing.
Example:

  • name: "Add BurnedInAnnotation attribute"
    codename: "action.add.tag"
    arguments:
    value: "YES"
    vr: "CS"
    tags:
    • "(0028,0301)"

vr is also possible in the arguments, if not specified, we retrieve the VR corresponding to the tag
Exactly one tag, the tag to be added can be specified in the "tags" attribute
If the tag is already present, no action will be applied to it, meaning that another action can be applied after that
If the tag was not present, it is added with the value specified in the value argument, and further actions applied to that tag in the profile will be ignored.

@mhenx mhenx linked an issue Feb 25, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

New profile action : add tag
1 participant