Created
October 7, 2014 17:11
-
-
Save rherrick/df5bc6f3600ebbdc5cd9 to your computer and use it in GitHub Desktop.
Describes a possible solution for a user work list associated with a particular subject
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<xs:schema targetNamespace="http://foo.edu/schemas" | |
xmlns:foo="http://foo.edu/schemas" | |
xmlns:xs="http://www.w3.org/2001/XMLSchema" | |
xmlns:xnat="http://nrg.wustl.edu/xnat" | |
elementFormDefault="qualified" | |
attributeFormDefault="unqualified"> | |
<xs:import namespace="http://nrg.wustl.edu/xnat" schemaLocation="../xnat/xnat.xsd"/> | |
<xs:element name="WorkList" type="foo:workListData"/> | |
<xs:complexType name="workListData"> | |
<xs:annotation> | |
<xs:documentation>Creates a work list for the associated subject.</xs:documentation> | |
</xs:annotation> | |
<xs:complexContent> | |
<xs:extension base="xnat:subjectAssessorData"> | |
<xs:sequence> | |
<xs:element name="tasks" minOccurs="0"> | |
<xs:complexType> | |
<xs:sequence minOccurs="0" maxOccurs="unbounded"> | |
<xs:element name="Property"> | |
<xs:complexType> | |
<xs:attribute name="user" type="xs:string" /> | |
<xs:attribute name="state" type="xs:string" /> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:complexType> | |
</xs:element> | |
</xs:sequence> | |
</xs:extension> | |
</xs:complexContent> | |
</xs:complexType> | |
</xs:schema> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is in response to a question on the xnat_discussion group about being able to track work associated with a subject required from particular users. This has not been tested! This would also require some UI work and custom coding on the subject page to allow it to be visible when viewing a particular subject. Refer to the XNAT documentation site for information on creating and installing a custom data type.