question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Retrieving additional attributes

See original GitHub issue

What is not clear to me is how to get attributes which I have not queried for. For example:

dataset = Dataset()
dataset.PatientName = 'Foo^Bar'
dataset.StudyDate = '20131010'

Now I want the result dataset to include e.g. Modality, StudyInstanceUID. How do I do this? Thanks for your help, Joshy

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
edmcdonaghcommented, Nov 7, 2017

Modality is a series level attribute. Modalities In Study is an optional study level attribute. See https://www.medicalconnections.co.uk/kb/Query_Parameters for more details.

1reaction
mrbean-bremencommented, Nov 7, 2017

You have to include them in the query dataset with an empty value, e.g.

dataset.Modality = ''
Read more comments on GitHub >

github_iconTop Results From Across the Web

Retrieve Additional Email Attributes | Marketing Cloud APIs ...
How To Retrieve More Email Attributes. Use the sample code below as a model for your own API calls. Use a RetrieveRequest with...
Read more >
Retrieving Information Stored in Attributes - Microsoft Learn
Retrieving a custom attribute is a simple process. First, declare an instance of the attribute you want to retrieve. Then, use the Attribute....
Read more >
C.3.4 Additional Query/Retrieve Attributes - DICOM Standard
Attribute Name Tag Attribute Description SOP Classes in Study (0008,0062) The SOP Classes contained in th... Anatomic Regions in Study Code Sequence (0008,0063)
Read more >
Getting the attributes of the field in additional EditorTemplate
I want to make additional editor template for the Int32. In it I want to get all attributes(custom/default-data-annotations) and do some work with...
Read more >
Qp0lGetAttr()--Get Attributes - IBM
The Qp0lGetAttr() function gets one or more attributes, on a single call, for the object that is referred to by the input Path_Name....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found