Re: Q/R Models Again..
- From: bimalendug@xxxxxxxxx
- Date: 24 Aug 2006 03:42:07 -0700
Hi Atila
Yes there are two information models Patient/Study only Query/Retrieve
is retired now.
The query results depend on the query model and type of query your
query SCP/SCU is supporting, query can be "root query" or "relational
query". By default all the SCUs/SCPs support root query, in a root
query you must provide unique keys for all of the levels above the
query level, I mean if you are querying at study level then you must
provide unique key for patient level else query would fail.
Where as in relational query if you are querying at study level you
need not provide unique key for patient level. SCP shall search for
that study in each and every patient.
Now I would try to answer your questions one by one:
In Patient Root Model :
--Patient Level
I can query about patient giving its required and optional attributes
with or without values.. patient id must be included.. SCP must answer
me for required and unique answer..
Patient ID must be included if you are supporting only root query. In
any case SCP must reply with result if it finds the matches else it
will indicate for no matches.
-- Study Level
I dont give any attributes except Patient ID and i can query about
study giving its required and optional attributes with or without
values. Patient ID must be included with VALUE.. SCP must answer me for
Study required and unique answer. Study UID must be included also..
Again Patient ID with proper value must be included if you are
supporting only root query. Study UID may or may not be required if you
are making query at study level it all depends on your query, if you
want study UID to be fetch it is required else not. You will get the
results if there are any matches or will indicate for no matches.
-- Series Level
I have to give Study UID and Patient ID and no others belongs to that
levels. and i query about series. SCP must give answer for required and
unique attributes. Series UID must be included also with or without
value..
Again Patient ID and Study UID must be included if you are supporting
only root query with proper values. Series UID may or may not be
required if you are making query at the series level it all depends on
your query, if you want series UID to be fetch it is required else not.
You will get the results if there are any matches or will indicate for
no matches.
-- Instance Level
I have to give Study UID, Series UID and Patient ID and no others
belong to that levels. i can query about images. SCP must give answer
for required and unique attribures.. SOP Instance UID for Image must be
included with or without value.
Again Study UID, Series UID and Patient ID must be included if you are
supporting only root query with proper values. SOP instance UID may or
may not be required if you are making query at the image level it all
depends on your query, if you want SOP instance UID to be fetch it is
required else not.
You will get the results if there are any matches or will indicate for
no matches.
For study root model also same above things hold true only difference
is that in Study root model highest level is Study level and usually in
implementation it is assumed that patient level is actually study
level. Rest of the things remain same.
if a SCU ask to SCP :
Model Patient - Level Study
Patient ID :
Study ID :
Study UID : 1.2.840.112234.4324.23
Does SCP reject this packet? No patient id given..
It again depends on your support for relational query or root query or
both. If you are not supporting relational query then SCP will not find
any matches. If relational query is supported SCP will find the matches
if they exist.
if a SCU ask to SCP :
Model Patient - Level Study
Patient ID : L000132
Study ID :
Study UID :
Does SCP accept this packet? Patient id is given..
No SCP will not reject this packet and should return all the studies of
the patient with ID L000132.
if a SCU ask to SCP :
Model Study - Level Study
Patient ID :
Study ID :
Study UID :
Does SCP accept this packet? What does it gives ? All patient and their
studies ??
Yes I think it should accept the request and I guess it should return
all the patients but not studies.
if a SCU ask to SCP :
Model Patient - Level Series
Patient ID : L000011
Study ID : 2324
Study UID : 1.2.840.112234.4324.23
Series UID :
Does SCP accept or reject this packet? can omit Study ID or it should
query also for that? should not accept this query?
SCP should accept this request, you can omit Study ID as you are
providing another unique attribute study instance UID. It will return
all the series in the study with study instance UID =
1.2.840.112234.4324.23.
The results of these two query are same or not ? I know first one will
give also patient id tag more. What about the rest of attributes?
Actually i should ask this question after learning Models difference
but i suppose i understand truly..
if a SCU ask to SCP :
Model Patient - Level Series
Patient ID : 9999
Study ID : 777
Study UID : 1.2.840.112234.4324.23
Series UID :
Model Study - Level Series
Study ID : 777
Study UID : 1.2.840.112234.4324.23
Series UID :
Yes you are right rest all the attributes would be same in the result.
I hope this helps.
Regards
Bimalendu
====================
Atila Gunes wrote:
Hi,
i'm sorry to ask you about this subject. i found thousand of mails
about it and then they are really good but successful to make me
confused.
it may be a long mail. let me tell you what i understand for C-Find.
There are two Information model now.. And their levels..
Patient Root Query/Retrieve information Model
-Patient Level
-Study Level
-Series Level
-Instance Level
Study Root Query/Retrieve Information Model
-Study Level
-Series Level
-Instance Level
In Patient Root Model :
--Patient Level
I can query about patient giving its required and optional attributes
with or without values.. patient id must be included.. SCP must answer
me for required and unique answer..
-- Study Level
I dont give any attributes except Patient ID and i can query about
study giving its required and optional attributes with or without
values. Patient ID must be included with VALUE.. SCP must answer me for
Study required and unique answer. Study UID must be included also..
-- Series Level
I have to give Study UID and Patient ID and no others belongs to that
levels. and i query about series. SCP must give answer for required and
unique attributes. Series UID must be included also with or without
value..
-- Instance Level
I have to give Study UID, Series UID and Patient ID and no others
belong to that levels. i can query about images. SCP must give answer
for required and unique attribures.. SOP Instance UID for Image must be
included with or without value.
In Study Root Model :
-- Study Level
i can query about study giving its required and optional attributes
with or without values. SCP must answer me for Study required and
unique answer. Study UID must be included also..
-- Series Level
I have to give Study UID and no others belongs to upper levels. and i
query about series. SCP must give answer for required and unique
attributes. Series UID must be included also with or without value..
-- Instance Level
I have to give Study UID and Series UID and no others belong to upper
levels. i can query about images. SCP must give answer for required and
unique attribures.. SOP Instance UID for Image must be included with or
without value.
Examples :
if a SCU ask to SCP :
Model Patient - Level Study
Patient ID :
Study ID :
Study UID : 1.2.840.112234.4324.23
Does SCP reject this packet? No patient id given..
if a SCU ask to SCP :
Model Patient - Level Study
Patient ID : L000132
Study ID :
Study UID :
Does SCP accept this packet? Patient id is given..
if a SCU ask to SCP :
Model Study - Level Study
Patient ID :
Study ID :
Study UID :
Does SCP accept this packet? What does it gives ? All patient and their
studies ??
if a SCU ask to SCP :
Model Patient - Level Series
Patient ID : L000011
Study ID : 2324
Study UID : 1.2.840.112234.4324.23
Series UID :
Does SCP accept or reject this packet? can omit Study ID or it should
query also for that? should not accept this query?
The results of these two query are same or not ? I know first one will
give also patient id tag more. What about the rest of attributes?
Actually i should ask this question after learning Models difference
but i suppose i understand truly..
if a SCU ask to SCP :
Model Patient - Level Series
Patient ID : 9999
Study ID : 777
Study UID : 1.2.840.112234.4324.23
Series UID :
Model Study - Level Series
Study ID : 777
Study UID : 1.2.840.112234.4324.23
Series UID :
Thank you for your patience..
Atila
.
- Follow-Ups:
- Re: Q/R Models Again..
- From: Atila Gunes
- Re: Q/R Models Again..
- References:
- Q/R Models Again..
- From: Atila Gunes
- Q/R Models Again..
- Prev by Date: Re: Association & Protocol context ID
- Next by Date: Re: Displaying DICOM RGB files
- Previous by thread: Re: Q/R Models Again..
- Next by thread: Re: Q/R Models Again..
- Index(es):
Relevant Pages
|
Loading