Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Radioactive cats have 18 half-lives.


devel / comp.protocols.dicom / Re: Condition for Laterality (0020,0060) required (Body Part Examined is a paired structure)

SubjectAuthor
* Re: Condition for Laterality (0020,0060) required (Body Part ExaminedSimon Doran
+* Re: Condition for Laterality (0020,0060) required (Body Part ExaminedSimon Doran
|`* Re: Condition for Laterality (0020,0060) required (Body Part ExaminedDavid Clunie
| `- Re: Condition for Laterality (0020,0060) required (Body Part ExaminedSimon Doran
`* Re: Condition for Laterality (0020,0060) required (Body Part ExaminedKrister Valtonen
 `- Re: Condition for Laterality (0020,0060) required (Body Part ExaminedSimon Doran

1
Re: Condition for Laterality (0020,0060) required (Body Part Examined is a paired structure)

<8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:620a:1918:b0:75c:9b66:d01d with SMTP id bj24-20020a05620a191800b0075c9b66d01dmr179596qkb.9.1685129920022;
Fri, 26 May 2023 12:38:40 -0700 (PDT)
X-Received: by 2002:a05:620a:3710:b0:75b:2919:62ed with SMTP id
de16-20020a05620a371000b0075b291962edmr225522qkb.0.1685129919781; Fri, 26 May
2023 12:38:39 -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, 26 May 2023 12:38:39 -0700 (PDT)
In-Reply-To: <131fa10b-2231-4937-8c63-18ed261c5fdf@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=193.62.218.79; posting-account=VaIu0goAAABkMNZRj-8Ng7rqVxOsdu2x
NNTP-Posting-Host: 193.62.218.79
References: <c92208aa-c852-4b4c-8958-1d9f8ffdd5b5@googlegroups.com>
<bb67a048-537e-47d5-aa65-3cc7bfd292bd@googlegroups.com> <131fa10b-2231-4937-8c63-18ed261c5fdf@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com>
Subject: Re: Condition for Laterality (0020,0060) required (Body Part Examined
is a paired structure)
From: simon.doran@icr.ac.uk (Simon Doran)
Injection-Date: Fri, 26 May 2023 19:38:40 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 2054
 by: Simon Doran - Fri, 26 May 2023 19:38 UTC

Hi David,

I'm struggling with what to do to make some files DICOM compliant and not produce any outright errors with dciodvfy.

Laterality is 2C, based on whether Body Part Examined has a certain type. But Body Part Examined is Type 3, so in this case, whether Laterality should be present is formally undefined.

However, in this case, dciodvfy reports an error. Is that correct behaviour?
Error - Missing attribute Type 2C Conditional Element=<Laterality> Module=<GeneralSeries>

The reason this matters currently is that images I have deidentified are being rejected by a SECTRA PACS, but it gives no diagnostics and the best I can do is to try and ensure the images throw no errors with your tool.

Best wishes,

Simon

Re: Condition for Laterality (0020,0060) required (Body Part Examined is a paired structure)

<0c45501b-47e6-4d3e-a99b-7d5f5f3a1e51n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:10a:b0:3f0:b59c:82b6 with SMTP id u10-20020a05622a010a00b003f0b59c82b6mr1644124qtw.10.1685224339207;
Sat, 27 May 2023 14:52:19 -0700 (PDT)
X-Received: by 2002:a05:620a:394f:b0:75c:c431:37d7 with SMTP id
qs15-20020a05620a394f00b0075cc43137d7mr955296qkn.11.1685224339000; Sat, 27
May 2023 14:52:19 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!feeder1.cambriumusenet.nl!feed.tweak.nl!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: Sat, 27 May 2023 14:52:18 -0700 (PDT)
In-Reply-To: <8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=193.63.216.106; posting-account=VaIu0goAAABkMNZRj-8Ng7rqVxOsdu2x
NNTP-Posting-Host: 193.63.216.106
References: <c92208aa-c852-4b4c-8958-1d9f8ffdd5b5@googlegroups.com>
<bb67a048-537e-47d5-aa65-3cc7bfd292bd@googlegroups.com> <131fa10b-2231-4937-8c63-18ed261c5fdf@googlegroups.com>
<8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <0c45501b-47e6-4d3e-a99b-7d5f5f3a1e51n@googlegroups.com>
Subject: Re: Condition for Laterality (0020,0060) required (Body Part Examined
is a paired structure)
From: simon.doran@icr.ac.uk (Simon Doran)
Injection-Date: Sat, 27 May 2023 21:52:19 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1548
 by: Simon Doran - Sat, 27 May 2023 21:52 UTC

Is the correct thing to do in this case to include the element but set it to an empty string, signifying "unknown"?

Re: Condition for Laterality (0020,0060) required (Body Part Examined is a paired structure)

<9e6c8ac5-7ce6-4ae7-8f5e-743c3d0b644an@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:620a:44d6:b0:75c:b3e6:6406 with SMTP id y22-20020a05620a44d600b0075cb3e66406mr955118qkp.6.1685278683189;
Sun, 28 May 2023 05:58:03 -0700 (PDT)
X-Received: by 2002:ad4:588a:0:b0:626:1a07:effc with SMTP id
dz10-20020ad4588a000000b006261a07effcmr177707qvb.13.1685278683004; Sun, 28
May 2023 05:58:03 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!newsreader4.netcologne.de!news.netcologne.de!peer01.ams1!peer.ams1.xlned.com!news.xlned.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: Sun, 28 May 2023 05:58:02 -0700 (PDT)
In-Reply-To: <0c45501b-47e6-4d3e-a99b-7d5f5f3a1e51n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=50.32.233.9; posting-account=rKkGZwkAAADOuxQ23uuHnmKt95j-5iL6
NNTP-Posting-Host: 50.32.233.9
References: <c92208aa-c852-4b4c-8958-1d9f8ffdd5b5@googlegroups.com>
<bb67a048-537e-47d5-aa65-3cc7bfd292bd@googlegroups.com> <131fa10b-2231-4937-8c63-18ed261c5fdf@googlegroups.com>
<8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com> <0c45501b-47e6-4d3e-a99b-7d5f5f3a1e51n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9e6c8ac5-7ce6-4ae7-8f5e-743c3d0b644an@googlegroups.com>
Subject: Re: Condition for Laterality (0020,0060) required (Body Part Examined
is a paired structure)
From: dclunie@dclunie.com (David Clunie)
Injection-Date: Sun, 28 May 2023 12:58:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 3885
 by: David Clunie - Sun, 28 May 2023 12:58 UTC

I would be surprised if Laterality issues had anything to do with why Sectra PACS is not accepting your images, so I would continue looking for other reasons.

The "correct" thing to do is to include a valid Body Part Examined (or similar) value and then send Laterality if it is appropriate with a valid value..

My dciodvfy tool is very aggressive about Laterality and Body Part Examined in order to encourage them to be populated correctly and consistently rather than be left empty or absent, using the Type 2(C) definition of required to have a value unless unknown as a reason to force the issue (begging the question of unknown to whom?).

So if you just include Laterality with zero length, and BodyPartExamined is not present or has a value that is a recognized unpaired body part (e.g., ABDOMEN rather than ARM), it will still complain until you get it right, reporting either:

Warning - is only permitted to be empty when actually unknown; should be absent (not empty) if an unpaired body part, and have a value if a paired body part - attribute <Laterality>

or

Error - Attribute present when condition unsatisfied (which may not be present otherwise) Type 2C Conditional Element=<Laterality> Module=<GeneralSeries>

David

On Saturday, May 27, 2023 at 5:52:20 PM UTC-4, Simon Doran wrote:
> Is the correct thing to do in this case to include the element but set it to an empty string, signifying "unknown"?

On Friday, May 26, 2023 at 3:38:41 PM UTC-4, Simon Doran wrote:

> I'm struggling with what to do to make some files DICOM compliant and not produce any outright errors with dciodvfy.
>
> Laterality is 2C, based on whether Body Part Examined has a certain type. But Body Part Examined is Type 3, so in this case, whether Laterality should be present is formally undefined.
>
> However, in this case, dciodvfy reports an error. Is that correct behaviour?
> Error - Missing attribute Type 2C Conditional Element=<Laterality> Module=<GeneralSeries>
>
> The reason this matters currently is that images I have deidentified are being rejected by a SECTRA PACS, but it gives no diagnostics and the best I can do is to try and ensure the images throw no errors with your tool.

Re: Condition for Laterality (0020,0060) required (Body Part Examined is a paired structure)

<d3d8ca19-c4b6-4076-a0c0-4fcd20153bdan@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:620a:4450:b0:75b:153a:153 with SMTP id w16-20020a05620a445000b0075b153a0153mr1224203qkp.1.1685310297858;
Sun, 28 May 2023 14:44:57 -0700 (PDT)
X-Received: by 2002:a05:620a:46a0:b0:75b:3551:7540 with SMTP id
bq32-20020a05620a46a000b0075b35517540mr1243177qkb.9.1685310297657; Sun, 28
May 2023 14:44:57 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.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: Sun, 28 May 2023 14:44:57 -0700 (PDT)
In-Reply-To: <9e6c8ac5-7ce6-4ae7-8f5e-743c3d0b644an@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=193.63.216.106; posting-account=VaIu0goAAABkMNZRj-8Ng7rqVxOsdu2x
NNTP-Posting-Host: 193.63.216.106
References: <c92208aa-c852-4b4c-8958-1d9f8ffdd5b5@googlegroups.com>
<bb67a048-537e-47d5-aa65-3cc7bfd292bd@googlegroups.com> <131fa10b-2231-4937-8c63-18ed261c5fdf@googlegroups.com>
<8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com> <0c45501b-47e6-4d3e-a99b-7d5f5f3a1e51n@googlegroups.com>
<9e6c8ac5-7ce6-4ae7-8f5e-743c3d0b644an@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d3d8ca19-c4b6-4076-a0c0-4fcd20153bdan@googlegroups.com>
Subject: Re: Condition for Laterality (0020,0060) required (Body Part Examined
is a paired structure)
From: simon.doran@icr.ac.uk (Simon Doran)
Injection-Date: Sun, 28 May 2023 21:44:57 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 2201
 by: Simon Doran - Sun, 28 May 2023 21:44 UTC

Hi David,

Thanks very much for the speedy reply.

I agree with the desirability of what you are trying to do, but surely it's slightly unfair to be "aggressive" when a decision was obviously made somewhere along the line to make Body Part Examined a Type 3 element?

In the files that I received as input, neither Body Part Examined nor Laterality were present, making them non-compliant and leading to your error code above. Under those conditions, then there's nothing else I can do for a valid DICOM file other than set Laterality to an empty string, right? That way, at least the error converts to the warning.

Best wishes,

Simon

Re: Condition for Laterality (0020,0060) required (Body Part Examined is a paired structure)

<31c1c4fb-c734-4e71-baa4-e40211074ca0n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:199f:b0:3f6:c600:467c with SMTP id u31-20020a05622a199f00b003f6c600467cmr2556398qtc.3.1685344539846;
Mon, 29 May 2023 00:15:39 -0700 (PDT)
X-Received: by 2002:a05:622a:281:b0:3f1:fb02:8331 with SMTP id
z1-20020a05622a028100b003f1fb028331mr2368465qtw.9.1685344539685; Mon, 29 May
2023 00:15:39 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border-2.nntp.ord.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.protocols.dicom
Date: Mon, 29 May 2023 00:15:39 -0700 (PDT)
In-Reply-To: <8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=88.131.68.201; posting-account=mGkW9QoAAAAvUAU45udINmOqwRH74jUO
NNTP-Posting-Host: 88.131.68.201
References: <c92208aa-c852-4b4c-8958-1d9f8ffdd5b5@googlegroups.com>
<bb67a048-537e-47d5-aa65-3cc7bfd292bd@googlegroups.com> <131fa10b-2231-4937-8c63-18ed261c5fdf@googlegroups.com>
<8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <31c1c4fb-c734-4e71-baa4-e40211074ca0n@googlegroups.com>
Subject: Re: Condition for Laterality (0020,0060) required (Body Part Examined
is a paired structure)
From: krister.valtonen@sectra.com (Krister Valtonen)
Injection-Date: Mon, 29 May 2023 07:15:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 26
 by: Krister Valtonen - Mon, 29 May 2023 07:15 UTC

fredag 26 maj 2023 kl. 21:38:41 UTC+2 skrev Simon Doran:
> The reason this matters currently is that images I have deidentified are being rejected by a SECTRA PACS, but it gives no diagnostics and the best I can do is to try and ensure the images throw no errors with your tool.

Hi Simon,

I can confirm that the Laterality issue is not the reason why Sectra PACS rejects the image. Sectra PACS accepts images lacking Laterality information when DICOM requires it.

System administrators of the receiving system should be able to have a look in the Sectra PACS import log for the relevant DICOM Storage SCP, where the reason for the rejection usually is easy to identify.

Since you have deidentified the images one reason could be a mismatch between administrative information and the UIDs or the Patient ID. Sectra PACS usually requires that what you have in (0008,0050) Accession Number and (0020,0010) Study ID is consistent with (0020,000D) Study Instance UID and (0020,000E) Series Instance UID. For instance, if you change Accession Number and/or Study ID but keep the original Study and Series Instance UIDs and Sectra PACS already have registered the original image, the new image would be rejected, using the default configuration of Sectra PACS. Another possibility is a similar mismatch between (0008,0050) Accession Number/(0020,0010) Study ID and (0010,0020) Patient ID.

-- Krister

Re: Condition for Laterality (0020,0060) required (Body Part Examined is a paired structure)

<065ad09a-19b8-4c54-a13a-685dfb9c6578n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:620a:4308:b0:75b:7362:9c69 with SMTP id u8-20020a05620a430800b0075b73629c69mr406621qko.6.1685432417904;
Tue, 30 May 2023 00:40:17 -0700 (PDT)
X-Received: by 2002:a05:620a:2411:b0:75b:3cf2:a18a with SMTP id
d17-20020a05620a241100b0075b3cf2a18amr335930qkn.10.1685432417680; Tue, 30 May
2023 00:40:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!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, 30 May 2023 00:40:17 -0700 (PDT)
In-Reply-To: <31c1c4fb-c734-4e71-baa4-e40211074ca0n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=193.63.216.106; posting-account=VaIu0goAAABkMNZRj-8Ng7rqVxOsdu2x
NNTP-Posting-Host: 193.63.216.106
References: <c92208aa-c852-4b4c-8958-1d9f8ffdd5b5@googlegroups.com>
<bb67a048-537e-47d5-aa65-3cc7bfd292bd@googlegroups.com> <131fa10b-2231-4937-8c63-18ed261c5fdf@googlegroups.com>
<8b7448f8-797e-44c6-8a4f-d7a63e256796n@googlegroups.com> <31c1c4fb-c734-4e71-baa4-e40211074ca0n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <065ad09a-19b8-4c54-a13a-685dfb9c6578n@googlegroups.com>
Subject: Re: Condition for Laterality (0020,0060) required (Body Part Examined
is a paired structure)
From: simon.doran@icr.ac.uk (Simon Doran)
Injection-Date: Tue, 30 May 2023 07:40:17 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1551
 by: Simon Doran - Tue, 30 May 2023 07:40 UTC

Thanks, Krister.

That's very helpful. I was just starting to come round to the same conclusion myself.

Best wishes,
Simon

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor