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

Fix force insert #128

Open
wants to merge 1 commit into
base: 2.3-dev
Choose a base branch
from
Open

Conversation

regisoc
Copy link
Contributor

@regisoc regisoc commented Jul 11, 2023

This PR adds a new required tag in xml file called VR that is required when using forceInsert tag.
Each fields that is not present needs a type setting which needs to be added manually.
The complete list is here: https://pydicom.github.io/pydicom/stable/guides/element_value_types.html

A forceInsert tag should also include a VR tag such as

<item>
      <name>0008,0022</name>
      <description>AcquisitionDate</description>
      <editable>no</editable>
      <forceInsert>yes</forceInsert>
      <VR>DA</VR> 
</item>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants