Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

What we anticipate seldom occurs; what we least expect generally happens. -- Bengamin Disraeli


devel / comp.protocols.dicom / Re: Reasoning behind VR of IS

SubjectAuthor
* Reasoning behind VR of ISkai.s...@gmail.com
`* Re: Reasoning behind VR of ISDavid Clunie
 `* Re: Reasoning behind VR of ISJörg Riesmeier
  `* Re: Reasoning behind VR of ISMathieu Malaterre
   `* Re: Reasoning behind VR of ISkai.s...@gmail.com
    `- Re: Reasoning behind VR of ISJoerg Riesmeier

1
Reasoning behind VR of IS

<ac53e81c-f2ad-4a6c-b0a3-72fc5760181fn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=623&group=comp.protocols.dicom#623

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a37:ab14:0:b0:748:6c01:70ee with SMTP id u20-20020a37ab14000000b007486c0170eemr1504257qke.0.1679996983942;
Tue, 28 Mar 2023 02:49:43 -0700 (PDT)
X-Received: by 2002:a05:6214:8d2:b0:5ce:db91:a0a2 with SMTP id
da18-20020a05621408d200b005cedb91a0a2mr2740799qvb.1.1679996983651; Tue, 28
Mar 2023 02:49:43 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Tue, 28 Mar 2023 02:49:43 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=129.206.90.2; posting-account=OmsOKwoAAAC5f7f6j4FbTwnxfv-WJXzA
NNTP-Posting-Host: 129.206.90.2
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <ac53e81c-f2ad-4a6c-b0a3-72fc5760181fn@googlegroups.com>
Subject: Reasoning behind VR of IS
From: kai.schlamp@gmail.com (kai.s...@gmail.com)
Injection-Date: Tue, 28 Mar 2023 09:49:43 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1233
 by: kai.s...@gmail.com - Tue, 28 Mar 2023 09:49 UTC

Hello,

I wonder what the reasoning is behind the Value Representation of Integer String. Why for example is Series Number not a VR of Signed Long?
And does it matter if I do a series query with SeriesNumber "4" or "+4"?

Best regards,
Kai

Re: Reasoning behind VR of IS

<8426d7f8-d09e-4885-aac4-528ed8432276n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=625&group=comp.protocols.dicom#625

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:88:b0:3d6:9e1:569a with SMTP id o8-20020a05622a008800b003d609e1569amr5953401qtw.1.1680016337986;
Tue, 28 Mar 2023 08:12:17 -0700 (PDT)
X-Received: by 2002:a0c:d68d:0:b0:5df:47b4:a977 with SMTP id
k13-20020a0cd68d000000b005df47b4a977mr424860qvi.5.1680016337741; Tue, 28 Mar
2023 08:12:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Tue, 28 Mar 2023 08:12:17 -0700 (PDT)
In-Reply-To: <ac53e81c-f2ad-4a6c-b0a3-72fc5760181fn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.32.179.54; posting-account=rKkGZwkAAADOuxQ23uuHnmKt95j-5iL6
NNTP-Posting-Host: 50.32.179.54
References: <ac53e81c-f2ad-4a6c-b0a3-72fc5760181fn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8426d7f8-d09e-4885-aac4-528ed8432276n@googlegroups.com>
Subject: Re: Reasoning behind VR of IS
From: dclunie@dclunie.com (David Clunie)
Injection-Date: Tue, 28 Mar 2023 15:12:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2770
 by: David Clunie - Tue, 28 Mar 2023 15:12 UTC

Hi Kai

Historical - the original ACR-NEMA 1985 standard defined Series (0010,2011) as alpha (AN FF S) not binary (and did so for pretty much every element that was not directly pixel data related) - see "https://dicom.nema.org/medical/dicom/1985/ACR-NEMA_300-1985.pdf".

I don't think there are any provisions in the definition of query attribute matching that specifically address equivalence of numeric value representations (unlike dates and times). So whether literal string matching is to be expected, as opposed to matching equivalent numeric values of numeric string VR attributes, seems to be undefined. In the absence of any normative or informative text about this, interpretation of the PS3.5 VR in the context of the query is not forbidden and it could argued is expected. But in practice, I would not expect "+4" and "004" to always match "4". It probably depends on the implementation decision of whether the database behind the query maps numeric string DICOM VRs like IS to INTEGER or VARCHAR (in the case of a conventional SQL database). Nor is there any requirement for a C-FIND SCP to document this in the Conformance Statement (there probably should be).

David

On Tuesday, March 28, 2023 at 5:49:45 AM UTC-4, kai.s...@gmail.com wrote:
> Hello,
>
> I wonder what the reasoning is behind the Value Representation of Integer String. Why for example is Series Number not a VR of Signed Long?
> And does it matter if I do a series query with SeriesNumber "4" or "+4"?
>
> Best regards,
> Kai

Re: Reasoning behind VR of IS

<92ce9c48-cb50-4d24-ab2c-df18dc510b4cn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=628&group=comp.protocols.dicom#628

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:ac8:7c48:0:b0:3de:bafb:82c0 with SMTP id o8-20020ac87c48000000b003debafb82c0mr6174713qtv.9.1680023437658;
Tue, 28 Mar 2023 10:10:37 -0700 (PDT)
X-Received: by 2002:a05:620a:400f:b0:746:977f:3aef with SMTP id
h15-20020a05620a400f00b00746977f3aefmr3991013qko.1.1680023437516; Tue, 28 Mar
2023 10:10:37 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Tue, 28 Mar 2023 10:10:37 -0700 (PDT)
In-Reply-To: <8426d7f8-d09e-4885-aac4-528ed8432276n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=85.16.189.30; posting-account=P9OsJAoAAABf_UoLgO-4Y0jtck08GqVx
NNTP-Posting-Host: 85.16.189.30
References: <ac53e81c-f2ad-4a6c-b0a3-72fc5760181fn@googlegroups.com> <8426d7f8-d09e-4885-aac4-528ed8432276n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <92ce9c48-cb50-4d24-ab2c-df18dc510b4cn@googlegroups.com>
Subject: Re: Reasoning behind VR of IS
From: dicom@jriesmeier.com (Jörg Riesmeier)
Injection-Date: Tue, 28 Mar 2023 17:10:37 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3312
 by: Jörg Riesmeier - Tue, 28 Mar 2023 17:10 UTC

Hi David,

> I don't think there are any provisions in the definition of query attribute matching that specifically address equivalence of numeric value representations (unlike dates and times). So whether literal string matching is to be expected, as opposed to matching equivalent numeric values of numeric string VR attributes, seems to be undefined. In the absence of any normative or informative text about this, interpretation of the PS3.5 VR in the context of the query is not forbidden and it could argued is expected. But in practice, I would not expect "+4" and "004" to always match "4". It probably depends on the implementation decision of whether the database behind the query maps numeric string DICOM VRs like IS to INTEGER or VARCHAR (in the case of a conventional SQL database). Nor is there any requirement for a C-FIND SCP to document this in the Conformance Statement (there probably should be).

I checked the definition of Single Value Matching in PS3.4 Section C.2.2.2.1. It says: "Except for Attributes with a PN VR, only entities with values that match exactly the​ value specified in the request shall match. This matching is case-sensitive, i.e., sensitive to the exact encoding of the key Attribute​ Value in character sets where a letter may have multiple encodings (e.g., based on its case, its position in a word, or whether it is​ accented).​" By the way, it should read "Key Attribute" instead of "key Attribute".

Of course, the question remains what the "value" of an IS data element is: Is it the character string or the integer number it represents. PS3.5 defines the VR "Integer String" (IS) as "A string of characters representing an Integer in base-10​ (decimal)..."

Maybe, an explaining note should be added to PS3.4 that Single Value Matching of Key Attributes with a VR of IS or DS is implementation dependent. Other types of matching are probably not relevant in this context.

Regards,
Jörg

Re: Reasoning behind VR of IS

<9d8aab7e-13fd-45b1-837f-f1e54c3199e5n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=630&group=comp.protocols.dicom#630

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:6214:a64:b0:56e:9197:4ccd with SMTP id ef4-20020a0562140a6400b0056e91974ccdmr301038qvb.0.1680070401700;
Tue, 28 Mar 2023 23:13:21 -0700 (PDT)
X-Received: by 2002:a05:620a:1926:b0:742:55f9:318c with SMTP id
bj38-20020a05620a192600b0074255f9318cmr4620898qkb.1.1680070401385; Tue, 28
Mar 2023 23:13:21 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Tue, 28 Mar 2023 23:13:21 -0700 (PDT)
In-Reply-To: <92ce9c48-cb50-4d24-ab2c-df18dc510b4cn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a01:e0a:343:1a00:1852:cf69:f0ce:cfa4;
posting-account=5syELgoAAABMLWsjbxhk8Wo7CLxGgTPG
NNTP-Posting-Host: 2a01:e0a:343:1a00:1852:cf69:f0ce:cfa4
References: <ac53e81c-f2ad-4a6c-b0a3-72fc5760181fn@googlegroups.com>
<8426d7f8-d09e-4885-aac4-528ed8432276n@googlegroups.com> <92ce9c48-cb50-4d24-ab2c-df18dc510b4cn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9d8aab7e-13fd-45b1-837f-f1e54c3199e5n@googlegroups.com>
Subject: Re: Reasoning behind VR of IS
From: mathieu.malaterre@gmail.com (Mathieu Malaterre)
Injection-Date: Wed, 29 Mar 2023 06:13:21 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Mathieu Malaterre - Wed, 29 Mar 2023 06:13 UTC

On Tuesday, March 28, 2023 at 7:10:39 PM UTC+2, Jörg Riesmeier wrote:
> Hi David,
> > I don't think there are any provisions in the definition of query attribute matching that specifically address equivalence of numeric value representations (unlike dates and times). So whether literal string matching is to be expected, as opposed to matching equivalent numeric values of numeric string VR attributes, seems to be undefined. In the absence of any normative or informative text about this, interpretation of the PS3.5 VR in the context of the query is not forbidden and it could argued is expected. But in practice, I would not expect "+4" and "004" to always match "4". It probably depends on the implementation decision of whether the database behind the query maps numeric string DICOM VRs like IS to INTEGER or VARCHAR (in the case of a conventional SQL database). Nor is there any requirement for a C-FIND SCP to document this in the Conformance Statement (there probably should be).
> I checked the definition of Single Value Matching in PS3.4 Section C.2.2.2.1. It says: "Except for Attributes with a PN VR, only entities with values that match exactly the​ value specified in the request shall match. This matching is case-sensitive, i.e., sensitive to the exact encoding of the key Attribute​ Value in character sets where a letter may have multiple encodings (e.g., based on its case, its position in a word, or whether it is​ accented).​" By the way, it should read "Key Attribute" instead of "key Attribute".
>
> Of course, the question remains what the "value" of an IS data element is: Is it the character string or the integer number it represents. PS3.5 defines the VR "Integer String" (IS) as "A string of characters representing an Integer in base-10​ (decimal)..."
>
> Maybe, an explaining note should be added to PS3.4 that Single Value Matching of Key Attributes with a VR of IS or DS is implementation dependent. Other types of matching are probably not relevant in this context.

Agreed. That would make it obvious why there are no Range Matching for IS/DS then.

Re: Reasoning behind VR of IS

<6a7a163a-0385-4386-89ee-dbe8f1b05157n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=636&group=comp.protocols.dicom#636

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:24e:b0:3df:d3d6:e251 with SMTP id c14-20020a05622a024e00b003dfd3d6e251mr7961060qtx.8.1680155393115;
Wed, 29 Mar 2023 22:49:53 -0700 (PDT)
X-Received: by 2002:a05:622a:88:b0:3e0:ed1:9f72 with SMTP id
o8-20020a05622a008800b003e00ed19f72mr8071661qtw.7.1680155392873; Wed, 29 Mar
2023 22:49:52 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Wed, 29 Mar 2023 22:49:52 -0700 (PDT)
In-Reply-To: <9d8aab7e-13fd-45b1-837f-f1e54c3199e5n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=129.206.90.2; posting-account=OmsOKwoAAAC5f7f6j4FbTwnxfv-WJXzA
NNTP-Posting-Host: 129.206.90.2
References: <ac53e81c-f2ad-4a6c-b0a3-72fc5760181fn@googlegroups.com>
<8426d7f8-d09e-4885-aac4-528ed8432276n@googlegroups.com> <92ce9c48-cb50-4d24-ab2c-df18dc510b4cn@googlegroups.com>
<9d8aab7e-13fd-45b1-837f-f1e54c3199e5n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6a7a163a-0385-4386-89ee-dbe8f1b05157n@googlegroups.com>
Subject: Re: Reasoning behind VR of IS
From: kai.schlamp@gmail.com (kai.s...@gmail.com)
Injection-Date: Thu, 30 Mar 2023 05:49:53 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1505
 by: kai.s...@gmail.com - Thu, 30 Mar 2023 05:49 UTC

Thanks a lot for your very good explanations. I think in my use case (a system that communicates with multiple different PACS servers), it is better to filter the series number programmatically then.

Re: Reasoning behind VR of IS

<56dd9cb4-5bef-4c9a-b18c-d149b8cc69a8n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=642&group=comp.protocols.dicom#642

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:6214:162a:b0:56f:36e:fbf with SMTP id e10-20020a056214162a00b0056f036e0fbfmr4806620qvw.4.1680255237224;
Fri, 31 Mar 2023 02:33:57 -0700 (PDT)
X-Received: by 2002:a05:6214:1870:b0:5a5:1b99:b96b with SMTP id
eh16-20020a056214187000b005a51b99b96bmr5341269qvb.10.1680255236939; Fri, 31
Mar 2023 02:33:56 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Fri, 31 Mar 2023 02:33:56 -0700 (PDT)
In-Reply-To: <6a7a163a-0385-4386-89ee-dbe8f1b05157n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=85.16.180.81; posting-account=6I82fwoAAACTb5W_5lkOakM9iOLuQL8n
NNTP-Posting-Host: 85.16.180.81
References: <ac53e81c-f2ad-4a6c-b0a3-72fc5760181fn@googlegroups.com>
<8426d7f8-d09e-4885-aac4-528ed8432276n@googlegroups.com> <92ce9c48-cb50-4d24-ab2c-df18dc510b4cn@googlegroups.com>
<9d8aab7e-13fd-45b1-837f-f1e54c3199e5n@googlegroups.com> <6a7a163a-0385-4386-89ee-dbe8f1b05157n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <56dd9cb4-5bef-4c9a-b18c-d149b8cc69a8n@googlegroups.com>
Subject: Re: Reasoning behind VR of IS
From: google@riesmeier.de (Joerg Riesmeier)
Injection-Date: Fri, 31 Mar 2023 09:33:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1540
 by: Joerg Riesmeier - Fri, 31 Mar 2023 09:33 UTC

By the way, I've written a CP on this issue and submitted it to WG-06 for consideration at the next meeting.

Regards,
Jörg

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor