Skip to content

Instantly share code, notes, and snippets.

@MartijnR
Created January 22, 2020 00:09
Show Gist options
  • Save MartijnR/9a91d11a5e21965fedadba8b0cd2c8bf to your computer and use it in GitHub Desktop.
Save MartijnR/9a91d11a5e21965fedadba8b0cd2c8bf to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<h:html xmlns="http://www.w3.org/2002/xforms"
xmlns:OpenClinica="http://openclinica.com/odm"
xmlns:enk="http://enketo.org/xforms"
xmlns:ev="http://www.w3.org/2001/xml-events"
xmlns:h="http://www.w3.org/1999/xhtml"
xmlns:jr="http://openrosa.org/javarosa"
xmlns:oc="http://openclinica.org/xforms"
xmlns:orx="http://openrosa.org/xforms"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<h:head>
<h:title>Demo7</h:title>
<model>
<instance>
<Demo7_version_1 id="114fe3d2-3ef6-4405-84a1-bd72aa6a7338-F_DEMO7" version="1">
<group_ai7za02 jr:template="">
<first_question/>
<second/>
<third_question/>
<fourth_quesiton/>
<sixth_question/>
<first_question_comment oc:queryParent="first_question"/>
<second_comment oc:queryParent="second"/>
<third_question_comment oc:queryParent="third_question"/>
<fourth_quesiton_comment oc:queryParent="fourth_quesiton"/>
<sixth_question_comment oc:queryParent="sixth_question"/>
</group_ai7za02>
<fifth_quesiton/>
<meta>
<instanceID/>
<instanceID_comment oc:queryParent="instanceID"/>
</meta>
<fifth_quesiton_comment oc:queryParent="fifth_quesiton"/>
</Demo7_version_1>
</instance>
<bind nodeset="/Demo7_version_1/group_ai7za02/first_question" oc:itemgroup="group1" type="string"/>
<bind nodeset="/Demo7_version_1/group_ai7za02/second" oc:itemgroup="group1" type="int"/>
<bind nodeset="/Demo7_version_1/group_ai7za02/third_question" oc:itemgroup="group1" type="select1"/>
<bind nodeset="/Demo7_version_1/group_ai7za02/fourth_quesiton" oc:itemgroup="group1" type="date"/>
<bind nodeset="/Demo7_version_1/group_ai7za02/sixth_question" oc:itemgroup="group1" type="string"/>
<bind nodeset="/Demo7_version_1/fifth_quesiton" oc:itemgroup="group2" type="select"/>
<bind calculate="concat('uuid:', uuid())" nodeset="/Demo7_version_1/meta/instanceID" readonly="true()" type="string"/>
<bind enk:for="/Demo7_version_1/group_ai7za02/first_question" nodeset="/Demo7_version_1/group_ai7za02/first_question_comment" type="string"/>
<bind enk:for="/Demo7_version_1/group_ai7za02/second" nodeset="/Demo7_version_1/group_ai7za02/second_comment" type="string"/>
<bind enk:for="/Demo7_version_1/group_ai7za02/third_question" nodeset="/Demo7_version_1/group_ai7za02/third_question_comment" type="string"/>
<bind enk:for="/Demo7_version_1/group_ai7za02/fourth_quesiton" nodeset="/Demo7_version_1/group_ai7za02/fourth_quesiton_comment" type="string"/>
<bind enk:for="/Demo7_version_1/group_ai7za02/sixth_question" nodeset="/Demo7_version_1/group_ai7za02/sixth_question_comment" type="string"/>
<bind enk:for="/Demo7_version_1/fifth_quesiton" nodeset="/Demo7_version_1/fifth_quesiton_comment" type="string"/>
</model>
</h:head>
<h:body class="pages theme-grid no-text-transform">
<group appearance="no-collapse" ref="/Demo7_version_1/group_ai7za02">
<label/>
<repeat nodeset="/Demo7_version_1/group_ai7za02">
<input ref="/Demo7_version_1/group_ai7za02/first_question">
<label>First Question:</label>
</input>
<input ref="/Demo7_version_1/group_ai7za02/second">
<label>Second Question</label>
</input>
<select1 ref="/Demo7_version_1/group_ai7za02/third_question">
<label>Third Question</label>
<item>
<label>Option 1</label>
<value>option_1</value>
</item>
<item>
<label>Option 2</label>
<value>option_2</value>
</item>
</select1>
<input ref="/Demo7_version_1/group_ai7za02/fourth_quesiton">
<label>Fourth Quesiton</label>
</input>
<input ref="/Demo7_version_1/group_ai7za02/sixth_question">
<label>Sixth Question</label>
</input>
<input appearance="comment w1" ref="/Demo7_version_1/group_ai7za02/first_question_comment">
<label>Comment:</label>
</input>
<input appearance="comment w1" ref="/Demo7_version_1/group_ai7za02/second_comment">
<label>Comment:</label>
</input>
<input appearance="comment w1" ref="/Demo7_version_1/group_ai7za02/third_question_comment">
<label>Comment:</label>
</input>
<input appearance="comment w1" ref="/Demo7_version_1/group_ai7za02/fourth_quesiton_comment">
<label>Comment:</label>
</input>
<input appearance="comment w1" ref="/Demo7_version_1/group_ai7za02/sixth_question_comment">
<label>Comment:</label>
</input>
</repeat>
</group>
<select ref="/Demo7_version_1/fifth_quesiton">
<label>Fifth Quesiton</label>
<item>
<label>Option 1</label>
<value>option_1</value>
</item>
<item>
<label>Option 2</label>
<value>option_2</value>
</item>
</select>
<input appearance="comment w1" ref="/Demo7_version_1/fifth_quesiton_comment">
<label>Comment:</label>
</input>
</h:body>
</h:html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment