custom entry form for AttendeeRole, annotation to indicate form, registering hasAttendeeRole for the generic role list view (NIHVIVO-3215)
This commit is contained in:
parent
a95ee35048
commit
0fbaa7e47b
5 changed files with 1444 additions and 1411 deletions
|
@ -27,17 +27,17 @@
|
|||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#DatatypeProperty"/>
|
||||
<vitro:descriptionAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string">number of human participants in the study (trial).</vitro:descriptionAnnot>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#documentationFor">
|
||||
<owl:inverseOf rdf:resource="http://purl.obolibrary.org/obo/ERO_0000460"/>
|
||||
<rdfs:domain rdf:resource="http://purl.org/ontology/bibo/Document"/>
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://purl.obolibrary.org/obo/OBI_0000272">
|
||||
<rdfs:subClassOf rdf:resource="http://purl.org/ontology/bibo/Document"/>
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
|
||||
<vitro:descriptionAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A protocol is a plan specification which has sufficient level of detail and quantitative information to communicate it between domain experts, so that different domain experts will reliably be able to independently reproduce the process.</vitro:descriptionAnnot>
|
||||
<vitro:shortDef rdf:datatype="http://www.w3.org/2001/XMLSchema#string">A plan specification that allows different domain experts to reliably and independently reproduce a process.</vitro:shortDef>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#documentationFor">
|
||||
<owl:inverseOf rdf:resource="http://purl.obolibrary.org/obo/ERO_0000460"/>
|
||||
<rdfs:domain rdf:resource="http://purl.org/ontology/bibo/Document"/>
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#ObjectProperty"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/scientific-research#Phase4ClinicalTrial">
|
||||
<vitro:shortDef rdf:datatype="http://www.w3.org/2001/XMLSchema#string">Phase 4 Clinical Trial</vitro:shortDef>
|
||||
<rdf:type rdf:resource="http://www.w3.org/2002/07/owl#Class"/>
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -49,6 +49,7 @@
|
|||
<!--
|
||||
******************************************************************
|
||||
all roles use same config...is there a better way to specify this?
|
||||
** core:hasAttendeeRole
|
||||
** core:hasClinicalRole
|
||||
** core:hasLeaderRole
|
||||
** core:hasMemberRole
|
||||
|
@ -62,6 +63,10 @@
|
|||
** core:hasOrganizerRole
|
||||
******************************************************************
|
||||
-->
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#hasAttendeeRole">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasRole.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#hasClinicalRole">
|
||||
<display:listViewConfigFile rdf:datatype="http://www.w3.org/2001/XMLSchema#string">listViewConfig-hasRole.xml</display:listViewConfigFile>
|
||||
</rdf:Description>
|
||||
|
|
|
@ -571,13 +571,14 @@
|
|||
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#hasAttendeeRole">
|
||||
<rdfs:label xml:lang="en-US">has attendee role</rdfs:label>
|
||||
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">90</vitro:displayRankAnnot>
|
||||
<vitro:customEntryFormAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string">addAttendeeRoleToPerson.jsp</vitro:customEntryFormAnnot>
|
||||
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">5</vitro:displayLimitAnnot>
|
||||
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
<vitro:offerCreateNewOptionAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:offerCreateNewOptionAnnot>
|
||||
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
|
||||
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
<rdfs:label xml:lang="en-US">attended</rdfs:label>
|
||||
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</vitro:displayRankAnnot>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://aims.fao.org/aos/geopolitical.owl#hasMinLongitude">
|
||||
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
|
@ -935,12 +936,12 @@
|
|||
<vitro:inPropertyGroupAnnot rdf:resource="http://vivoweb.org/ontology#vitroPropertyGrouplocation"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#Course">
|
||||
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
|
||||
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
|
||||
<rdfs:label xml:lang="en-US">Course</rdfs:label>
|
||||
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
<vitro:inClassGroup rdf:resource="http://vivoweb.org/ontology#vitroClassGroupcourses"/>
|
||||
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayLimitAnnot>
|
||||
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">-1</vitro:displayRankAnnot>
|
||||
<rdfs:label xml:lang="en-US">Course</rdfs:label>
|
||||
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://purl.org/NET/c4dm/event.owl">
|
||||
<vitro:ontologyPrefixAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#string">event</vitro:ontologyPrefixAnnot>
|
||||
|
@ -1041,8 +1042,8 @@
|
|||
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">2</vitro:displayRankAnnot>
|
||||
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">2</vitro:displayLimitAnnot>
|
||||
<rdfs:label xml:lang="en-US">Editor Role</rdfs:label>
|
||||
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">2</vitro:displayLimitAnnot>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#NewsRelease">
|
||||
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
|
@ -3317,10 +3318,10 @@
|
|||
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
</rdf:Description>
|
||||
<rdf:Description rdf:about="http://vivoweb.org/ontology/core#attendeeRoleOf">
|
||||
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">90</vitro:displayRankAnnot>
|
||||
<vitro:displayLimitAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">5</vitro:displayLimitAnnot>
|
||||
<rdfs:label xml:lang="en-US">attendee role of</rdfs:label>
|
||||
<vitro:selectFromExistingAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:selectFromExistingAnnot>
|
||||
<vitro:displayRankAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#int">1</vitro:displayRankAnnot>
|
||||
<vitro:prohibitedFromUpdateBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
<vitro:offerCreateNewOptionAnnot rdf:datatype="http://www.w3.org/2001/XMLSchema#boolean">true</vitro:offerCreateNewOptionAnnot>
|
||||
<vitro:hiddenFromDisplayBelowRoleLevelAnnot rdf:resource="http://vitro.mannlib.cornell.edu/ns/vitro/role#public"/>
|
||||
|
|
26
productMods/edit/forms/addAttendeeRoleToPerson.jsp
Normal file
26
productMods/edit/forms/addAttendeeRoleToPerson.jsp
Normal file
|
@ -0,0 +1,26 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<jsp:include page="addRoleToPersonTwoStage.jsp">
|
||||
<jsp:param name="roleDescriptor" value="attended" />
|
||||
<jsp:param name="typeSelectorLabel" value="event type" />
|
||||
<jsp:param name="buttonText" value="attendees" />
|
||||
<jsp:param name="numDateFields" value="1" />
|
||||
<jsp:param name="roleType" value="http://vivoweb.org/ontology/core#AttendeeRole" />
|
||||
<jsp:param name="roleActivityType_optionsType" value="HARDCODED_LITERALS" />
|
||||
<jsp:param name="roleActivityType_objectClassUri" value="" />
|
||||
<jsp:param name="roleActivityType_literalOptions"
|
||||
value='["", "Select one"],
|
||||
[ "http://purl.org/NET/c4dm/event.owl#Event", "Event" ],
|
||||
[ "http://vivoweb.org/ontology/core#Competition", "Competition" ],
|
||||
[ "http://purl.org/ontology/bibo/Conference", "Conference" ],
|
||||
[ "http://vivoweb.org/ontology/core#Course", "Course" ],
|
||||
[ "http://vivoweb.org/ontology/core#Exhibit", "Exhibit" ],
|
||||
[ "http://vivoweb.org/ontology/core#Meeting", "Meeting" ],
|
||||
[ "http://vivoweb.org/ontology/core#Presentation", "Presentation" ],
|
||||
[ "http://vivoweb.org/ontology/core#InvitedTalk", "Invited Talk" ],
|
||||
[ "http://purl.org/ontology/bibo/Workshop", "Workshop" ],
|
||||
[ "http://vivoweb.org/ontology/core#EventSeries", "Event Series" ],
|
||||
[ "http://vivoweb.org/ontology/core#ConferenceSeries", "Conference Series" ],
|
||||
[ "http://vivoweb.org/ontology/core#SeminarSeries", "Seminar Series" ],
|
||||
[ "http://vivoweb.org/ontology/core#WorkshopSeries", "Workshop Series" ]' />
|
||||
</jsp:include>
|
Loading…
Add table
Reference in a new issue