Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Old programmers never die, they just branch to a new address.


devel / comp.protocols.dicom / Re: RDSR : update management

SubjectAuthor
* RDSR : update managementMatty
`* Re: RDSR : update managementKevin O'Donnell
 +* Re: RDSR : update managementJim Irrer
 |`- Re: RDSR : update managementKevin O'Donnell
 `* Re: RDSR : update managementMatty
  `- Re: RDSR : update managementMarkus Sabin

1
RDSR : update management

<e8df2c63-76da-4a0f-b9e2-d349a0f7ecdfn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a0c:edcf:: with SMTP id i15mr37448306qvr.10.1621954669662;
Tue, 25 May 2021 07:57:49 -0700 (PDT)
X-Received: by 2002:ae9:e519:: with SMTP id w25mr31264417qkf.232.1621954669473;
Tue, 25 May 2021 07:57:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!news.uzoreto.com!news-out.netnews.com!news.alt.net!fdc2.netnews.com!peer02.ams1!peer.ams1.xlned.com!news.xlned.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: Tue, 25 May 2021 07:57:49 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=93.39.76.18; posting-account=DftmsgkAAABVEJcuaWx0QP8kyOVLlPuq
NNTP-Posting-Host: 93.39.76.18
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e8df2c63-76da-4a0f-b9e2-d349a0f7ecdfn@googlegroups.com>
Subject: RDSR : update management
From: airaghi.matteo@gmail.com (Matty)
Injection-Date: Tue, 25 May 2021 14:57:49 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Received-Bytes: 1802
 by: Matty - Tue, 25 May 2021 14:57 UTC

Hello,
I have a question about updating the RDSR: an SCU creates 2 RDSR for exam A and exam B, sends them to the SCP and then the SCU makes a change such as moving a single dose from exam A to exam B. When sending the RDSR to the SCP what is the correct way to handle this situation? Does SCU send the same RDSR (same StudyUID, same SeriesInstanceUID and same SOP Instance of RDSR) but with different irradiation events? Should it send all irradiation events?
Does the SCP overwrite the RDSR with the new radiation data? Or can it make a decision based on the UIDs of the irradiation event? So does the SCU have to send both the RDSRs of exam A and exam B or is the RDSR of B with the extra dose enough?

Thank you very much
Matteo

Re: RDSR : update management

<087266e3-5108-4271-a9f6-44d7f2d580dbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:2ce:: with SMTP id a14mr17616770qtx.178.1623694539402;
Mon, 14 Jun 2021 11:15:39 -0700 (PDT)
X-Received: by 2002:a05:620a:c8b:: with SMTP id q11mr17309107qki.101.1623694539214;
Mon, 14 Jun 2021 11:15:39 -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: Mon, 14 Jun 2021 11:15:38 -0700 (PDT)
In-Reply-To: <e8df2c63-76da-4a0f-b9e2-d349a0f7ecdfn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.74.2; posting-account=czkTwwoAAADQfLp_2yDEUltkTLcMvXSi
NNTP-Posting-Host: 199.48.74.2
References: <e8df2c63-76da-4a0f-b9e2-d349a0f7ecdfn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <087266e3-5108-4271-a9f6-44d7f2d580dbn@googlegroups.com>
Subject: Re: RDSR : update management
From: kodonnell@mru.medical.canon (Kevin O'Donnell)
Injection-Date: Mon, 14 Jun 2021 18:15:39 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Kevin O'Donnell - Mon, 14 Jun 2021 18:15 UTC

On Tuesday, May 25, 2021 at 7:57:50 AM UTC-7, Matty wrote:
> Hello,
> I have a question about updating the RDSR: an SCU creates 2 RDSR for exam A and exam B, sends them to the SCP and then the SCU makes a change such as moving a single dose from exam A to exam B. When sending the RDSR to the SCP what is the correct way to handle this situation? Does SCU send the same RDSR (same StudyUID, same SeriesInstanceUID and same SOP Instance of RDSR) but with different irradiation events? Should it send all irradiation events?
> Does the SCP overwrite the RDSR with the new radiation data? Or can it make a decision based on the UIDs of the irradiation event? So does the SCU have to send both the RDSRs of exam A and exam B or is the RDSR of B with the extra dose enough?
>
> Thank you very much
> Matteo

Hi Matteo,
Your question spans a couple of relevant issues. For naming purposes, let's call your first two RDSR objects A1 and B1.

First, you should not send the revised objects using the SOP Instance UIDs of A1 and B1.
A premise of DICOM is that two instances with the same SOP Instance UID have the same content.
(Yes there are exception cases but those have to be described and handled very carefully)
So the receiving system may see the "new" incoming object as a resend of the original A1 and choose to discard the new one as a duplicate.
Also, if the original A1 has been retrieved by anyone there are now two (or many) copies of the SOP Instance and if they have different contents, then the situation rapidly gets confusing.
So the new objects should have new SOP Instance UIDs of A2 and B2.
A2 will have the same Study UID as A1 since they still belong to the same study, and B2 will have the same Study UID as B1.
A2 would likely use the same Series UID as A1 since your pattern is likely to put all RDSRs together in a series, but you could put it in a new series..

In this scenario, A2 and B2 should contain all the irradiation events for exam A and exam B respectively.
That means A2 contains one less irradiation event, and B2 contains one more irradiation event.
In a simpler scenario where exam C and exam D were completed correctly and C1 and D1 were sent, then there was a request for an additional exposure in exam D, you could send RDSR D2 with only the single new irradiation event or you could include all the exam D events.
Since RDSRs include an Irradiation Event UID (0008,3010) for each irradiation event, later analysis can load all the RDSRs and recognize any duplicate events from their UIDs.

The final question is what to do with the "bad" RDSRs (A1 and A2).
Most PACS have manual tools and exception queues for cleaning up bad data, so you could arrange to have A1 and B1 deleted.
Some PACS are starting to support the IHE IOCM Profile (Imaging Object Change Management) which allows "bad" objects to be flagged and automatically sequestered and/or deleted by the PACS, and allows for such flags to be passed along to federated PACS systems.
https://wiki.ihe.net/index.php/Imaging_Object_Change_Management

Hope that's helpful.

Best Regards,
Kevin O'Donnell
Canon Medical

Re: RDSR : update management

<2d8153d5-2b3a-4635-b6e3-af5fb1a9b7bbn@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:ac8:45cc:: with SMTP id e12mr21423218qto.227.1623762838879; Tue, 15 Jun 2021 06:13:58 -0700 (PDT)
X-Received: by 2002:a05:6214:1551:: with SMTP id t17mr5061084qvw.50.1623762838754; Tue, 15 Jun 2021 06:13:58 -0700 (PDT)
Path: i2pn2.org!i2pn.org!aioe.org!news.uzoreto.com!tr2.eu1.usenetexpress.com!feeder.usenetexpress.com!tr2.iad1.usenetexpress.com!border1.nntp.dca1.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: Tue, 15 Jun 2021 06:13:58 -0700 (PDT)
In-Reply-To: <087266e3-5108-4271-a9f6-44d7f2d580dbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=141.214.125.209; posting-account=Xrp7ygoAAAANK09okVApPRadJPdMPiz2
NNTP-Posting-Host: 141.214.125.209
References: <e8df2c63-76da-4a0f-b9e2-d349a0f7ecdfn@googlegroups.com> <087266e3-5108-4271-a9f6-44d7f2d580dbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <2d8153d5-2b3a-4635-b6e3-af5fb1a9b7bbn@googlegroups.com>
Subject: Re: RDSR : update management
From: jimirrer@gmail.com (Jim Irrer)
Injection-Date: Tue, 15 Jun 2021 13:13:58 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 14
 by: Jim Irrer - Tue, 15 Jun 2021 13:13 UTC

Kevin O'Donnell wrote:
"So the receiving system may see the "new" incoming object as a resend of the original A1 and choose to discard the new one as a duplicate. "

For my own clarification, my understanding is that the receiving system could alternately choose to discard the old one and replace it with the new one, and that it is implementation dependent because the DICOM specification allows either. (Personally I see arguments in favor of either choice.)

Furthermore, the receiving system does not have to mention this in its conformance statement, though it would be nice if they did.

Is that correct?

Thanks - Jim Irrer

Re: RDSR : update management

<d6743c2c-b83b-42a8-9c3b-64b89406e35en@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:454:: with SMTP id o20mr11833272qtx.14.1624038616828;
Fri, 18 Jun 2021 10:50:16 -0700 (PDT)
X-Received: by 2002:a37:4096:: with SMTP id n144mr10343463qka.271.1624038616631;
Fri, 18 Jun 2021 10:50:16 -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: Fri, 18 Jun 2021 10:50:16 -0700 (PDT)
In-Reply-To: <2d8153d5-2b3a-4635-b6e3-af5fb1a9b7bbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=199.48.74.2; posting-account=czkTwwoAAADQfLp_2yDEUltkTLcMvXSi
NNTP-Posting-Host: 199.48.74.2
References: <e8df2c63-76da-4a0f-b9e2-d349a0f7ecdfn@googlegroups.com>
<087266e3-5108-4271-a9f6-44d7f2d580dbn@googlegroups.com> <2d8153d5-2b3a-4635-b6e3-af5fb1a9b7bbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d6743c2c-b83b-42a8-9c3b-64b89406e35en@googlegroups.com>
Subject: Re: RDSR : update management
From: kodonnell@mru.medical.canon (Kevin O'Donnell)
Injection-Date: Fri, 18 Jun 2021 17:50:16 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Kevin O'Donnell - Fri, 18 Jun 2021 17:50 UTC

On Tuesday, June 15, 2021 at 6:14:00 AM UTC-7, Jim Irrer wrote:
> Kevin O'Donnell wrote:
> "So the receiving system may see the "new" incoming object as a resend of the original A1 and choose to discard the new one as a duplicate. "
> For my own clarification, my understanding is that the receiving system could alternately choose to discard the old one and replace it with the new one, and that it is implementation dependent because the DICOM specification allows either. (Personally I see arguments in favor of either choice.)
>
> Furthermore, the receiving system does not have to mention this in its conformance statement, though it would be nice if they did.
>
> Is that correct?
>
> Thanks - Jim Irrer

Hi Jim,

Yes, I'd agree with all of your stated facts (and I agree with your stated opinions too for whatever that's worth :-) )

Cheers,
Kevin

Re: RDSR : update management

<304a3747-8a0f-42f4-84e4-5d021abef910n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:1aa5:: with SMTP id s37mr6641725qtc.377.1637678463736;
Tue, 23 Nov 2021 06:41:03 -0800 (PST)
X-Received: by 2002:a05:620a:2805:: with SMTP id f5mr5103494qkp.151.1637678463487;
Tue, 23 Nov 2021 06:41:03 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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: Tue, 23 Nov 2021 06:41:03 -0800 (PST)
In-Reply-To: <087266e3-5108-4271-a9f6-44d7f2d580dbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=93.39.76.18; posting-account=DftmsgkAAABVEJcuaWx0QP8kyOVLlPuq
NNTP-Posting-Host: 93.39.76.18
References: <e8df2c63-76da-4a0f-b9e2-d349a0f7ecdfn@googlegroups.com> <087266e3-5108-4271-a9f6-44d7f2d580dbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <304a3747-8a0f-42f4-84e4-5d021abef910n@googlegroups.com>
Subject: Re: RDSR : update management
From: airaghi.matteo@gmail.com (Matty)
Injection-Date: Tue, 23 Nov 2021 14:41:03 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 63
 by: Matty - Tue, 23 Nov 2021 14:41 UTC

Il giorno lunedì 14 giugno 2021 alle 20:15:40 UTC+2 Kevin O'Donnell ha scritto:

>
> First, you should not send the revised objects using the SOP Instance UIDs of A1 and B1.
> A premise of DICOM is that two instances with the same SOP Instance UID have the same content.
> (Yes there are exception cases but those have to be described and handled very carefully)
> So the receiving system may see the "new" incoming object as a resend of the original A1 and choose to discard the new one as a duplicate.
> Also, if the original A1 has been retrieved by anyone there are now two (or many) copies of the SOP Instance and if they have different contents, then the situation rapidly gets confusing.
> So the new objects should have new SOP Instance UIDs of A2 and B2.
> A2 will have the same Study UID as A1 since they still belong to the same study, and B2 will have the same Study UID as B1.
> A2 would likely use the same Series UID as A1 since your pattern is likely to put all RDSRs together in a series, but you could put it in a new series.
>
> In this scenario, A2 and B2 should contain all the irradiation events for exam A and exam B respectively.
> That means A2 contains one less irradiation event, and B2 contains one more irradiation event.
> In a simpler scenario where exam C and exam D were completed correctly and C1 and D1 were sent, then there was a request for an additional exposure in exam D, you could send RDSR D2 with only the single new irradiation event or you could include all the exam D events.
> Since RDSRs include an Irradiation Event UID (0008,3010) for each irradiation event, later analysis can load all the RDSRs and recognize any duplicate events from their UIDs.
>
> The final question is what to do with the "bad" RDSRs (A1 and A2).
> Most PACS have manual tools and exception queues for cleaning up bad data, so you could arrange to have A1 and B1 deleted.
> Some PACS are starting to support the IHE IOCM Profile (Imaging Object Change Management) which allows "bad" objects to be flagged and automatically sequestered and/or deleted by the PACS, and allows for such flags to be passed along to federated PACS systems.
> https://wiki.ihe.net/index.php/Imaging_Object_Change_Management
>
> Hope that's helpful.
>
> Best Regards,
> Kevin O'Donnell
> Canon Medical

Hi Kevin,
thank you very much for your complete and helpful answer and sorry for my late reply...
My last question is about the Scope of Accumulation of RDSR: does this element affect the reasoning of the SCP?
Is possible to make decisions using the Scope? Using your last example, the SCP receive the RDSR D2 with only one event and then if the Scope is Study it should decide that the exam has now only one event (and also delete old RDSR and Events linked to it), instead if the Scope is different from Study (Step or Event) the SCP should only add this event to the others previously received. Is it correct?

Thanky you again and Best regards
Matteo Airaghi

Re: RDSR : update management

<db24e20c-ed95-41bf-b847-31ea66b3c267n@googlegroups.com>

  copy mid

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

  copy link   Newsgroups: comp.protocols.dicom
X-Received: by 2002:a05:622a:15c5:: with SMTP id d5mr4432581qty.227.1637738266505;
Tue, 23 Nov 2021 23:17:46 -0800 (PST)
X-Received: by 2002:a37:a10b:: with SMTP id k11mr3578496qke.63.1637738266259;
Tue, 23 Nov 2021 23:17:46 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.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: Tue, 23 Nov 2021 23:17:46 -0800 (PST)
In-Reply-To: <304a3747-8a0f-42f4-84e4-5d021abef910n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=212.204.96.130; posting-account=FpWjmwoAAADouxZodjPwb9TZUXzY1wOz
NNTP-Posting-Host: 212.204.96.130
References: <e8df2c63-76da-4a0f-b9e2-d349a0f7ecdfn@googlegroups.com>
<087266e3-5108-4271-a9f6-44d7f2d580dbn@googlegroups.com> <304a3747-8a0f-42f4-84e4-5d021abef910n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <db24e20c-ed95-41bf-b847-31ea66b3c267n@googlegroups.com>
Subject: Re: RDSR : update management
From: markussabin@gmail.com (Markus Sabin)
Injection-Date: Wed, 24 Nov 2021 07:17:46 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 26
 by: Markus Sabin - Wed, 24 Nov 2021 07:17 UTC

This is an interesting discussion, and I would like to add a hypothesis/question.

For sure, IOCM is a relevant building block for a perfect solution but as Kevin outlined, it is not (yet) available everywhere. In my understanding the SR itself allows to indicate that a given SR instance is an "update" of another SR instance. The Predecessor Documents Sequence (0040, A360) in the SR Document General Module is a 1C attribute on the instance level, It...

(PS3.3, Table C.17-2.)
"References to SOP Instances (e.g., prior or preliminary reports) whose content has been wholly or partially included in this document with or without modification.
One or more Items shall be included in this Sequence.
Required if this document includes content from other documents.
Note
The amendment process of an existing SR Document may be described using the Purpose of Reference Code Sequence."

So I would say that regardless of whether you can delete the previous report via IOCM, you should reference that report in this sequence and give (DCM, 121360, "Replaced report") as the purpose of reference.

Obvioulsy this would require to re-send the RDSRs for exam A _and_ B and include _all_ irradiation events in these reports (not just the changed one).

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor