Extending xnat:reconstructedImageData

12 views
Skip to first unread message

Yannick Schwartz

unread,
May 31, 2011, 12:07:49 PM5/31/11
to xnat_discussion
Hi Tim,

I was trying to extend the xnat:reconstructedImageData. The update of
the database and re-deployement were fine. I created some elements
with the custom type and could download the xml file from the web
interface. However, when I tried to get the xsiType with the REST API
I didn't get anything.

The REST call is : /REST/projects/P/subjects/S/experiments/E/
reconstructions?columns=ID,xsiType

Here is the XNAT schema extension:

<xs:element name="network" type="xcff:networkData"></xs:element>

<xs:complexType name="networkData">
<xs:complexContent>
<xs:extension base="xnat:reconstructedImageData"/>
</xs:complexContent>
</xs:complexType>

Actually it not the full schema extension, I also set up additional
fields and it didn't work when I tried to set and get those. I
extended an xnat:imageScanData as well and everything worked fine.

Do you see anything wrong with what I did?

Thanks a lot,
Yannick

Olsen, Tim

unread,
May 31, 2011, 12:19:55 PM5/31/11
to xnat_di...@googlegroups.com
Mohana,

Have we ever tried extending the reconstructedImageData?

Yannick,

Why not extend the xnat:imageAssessorData? The reconstructedImageData doesn't isn't security-enabled and cannot be shared to other projects on its own.

Tim

Hi Tim,

Thanks a lot,
Yannick

--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To post to this group, send email to xnat_di...@googlegroups.com.
To unsubscribe from this group, send email to xnat_discussi...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xnat_discussion?hl=en.


The material in this message is private and may contain Protected Healthcare Information (PHI). If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Yannick Schwartz

unread,
Jun 1, 2011, 10:16:28 AM6/1/11
to xnat_discussion
Ok, thanks Tim I'll do that!
> For more options, visit this group athttp://groups.google.com/group/xnat_discussion?hl=en.
Reply all
Reply to author
Forward
0 new messages