GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Series DB table contains Modality with wrong type constraint · Issue #113 · DICOMcloud/DICOMcloud

Series DB table contains Modality with wrong type constraint #113

New issue
Copy link
New issue
Copy link
Open
Open
Series DB table contains Modality with wrong type constraint#113
Copy link
Assignees
Zaid-Safadi
Labels
bug

Description

@pbalassone-nrgsys
pbalassone-nrgsys
opened on Jan 5, 2021
Issue body actions

Expected Behavior

I should be able to store DICOM datasets with Modality field (0008 0060) longer than 2 chars.
Please refer to http://dicom.nema.org/medical/dicom/2017d/output/chtml/part03/sect_C.7.3.html#sect_C.7.3.1.1.1 for a set of accepted and valid Modality values

Actual Behavior

The Serie DB table has a Modality column with type constraint 'char(2)', so when a DICOM Dataset with a Modality value longer than 2 chars is submitted via a stow-rs, a BadRequest is returned and no dataset is stored. The response xml string contains an element that states the Failure Reason (0008,1197) with value 272 (decimal).

I altered the Modality column in the Series table removing the length constraint and it works fine.

Steps to Reproduce the Problem

  1. Compile and run DICOMCloud out of the box
  2. Perform a STOW-RS with DICOM datasets with BMD Modality (for example)

Activity

  1. pbalassone-nrgsys
    changed the title [-]Serie DB table contains Modality with wrong type constraint[/-] [+]Series DB table contains Modality with wrong type constraint[/+] on Jan 7, 2021
  2. Zaid-Safadi
    self-assigned this
    on Dec 10, 2023
  3. Zaid-Safadi
    added
    bug
    on Dec 10, 2023
  4. Zaid-Safadi
    added a commit that references this issue on Dec 10, 2023

    fix:Issue #113 - Series DB table contains Modality with wrong type co…

    33e3e23
  5. Zaid-Safadi commented on Dec 10, 2023

    @Zaid-Safadi
    Zaid-Safadi
    on Dec 10, 2023
    Member
    More actions

    Fixed this in the aspnet-core branch and updated unit tests. The Modality attribute should have a limit of 16 characters

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

Metadata

Metadata

Assignees

  • @Zaid-Safadi
    Zaid-Safadi

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402792 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.