Created
July 10, 2019 17:35
-
-
Save MartijnR/0826b0739dd831e52e710ec13689a88e to your computer and use it in GitHub Desktop.
This file contains hidden or 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" standalone="no"?><h:html xmlns="http://www.w3.org/2002/xforms" 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>Medications</h:title> | |
<model> | |
<instance> | |
<formatdate_test id="fef77eef-cbdc-48f9-9173-00bc0114f556-F_DATE1" version="3"> | |
<MEDREF> | |
<date1/> | |
<OBS_START_DATE_NEW/> | |
<OBS_START_TEXT/> | |
<date1_comment oc:queryParent="date1"/><OBS_START_DATE_NEW_comment oc:queryParent="OBS_START_DATE_NEW"/><OBS_START_TEXT_comment oc:queryParent="OBS_START_TEXT"/></MEDREF> | |
<meta> | |
<instanceID/> | |
<instanceID_comment oc:queryParent="instanceID"/></meta> | |
</formatdate_test> | |
</instance> | |
<bind nodeset="/formatdate_test/MEDREF/date1" oc:itemgroup="group1" type="string"/> | |
<bind calculate="format-date((date( /formatdate_test/MEDREF/date1 ) - 730.5),'%m/%d/%Y')" nodeset="/formatdate_test/MEDREF/OBS_START_DATE_NEW" oc:itemgroup="group1" readonly="true()" type="date"/> | |
<bind calculate="format-date((date( /formatdate_test/MEDREF/date1 ) - 730.5),'%m/%d/%Y')" nodeset="/formatdate_test/MEDREF/OBS_START_TEXT" oc:itemgroup="group1" readonly="true()" type="string"/> | |
<bind calculate="concat('uuid:', uuid())" nodeset="/formatdate_test/meta/instanceID" readonly="true()" type="string"/> | |
</model> | |
</h:head> | |
<h:body class="theme-grid no-text-transform"> | |
<group appearance="w3 no-collapse" ref="/formatdate_test/MEDREF"> | |
<label>####Reference Dates</label> | |
<input appearance="w3" ref="/formatdate_test/MEDREF/date1"> | |
<label>#####Observation End Date</label> | |
<hint>mm/dd/yyyy</hint> | |
</input> | |
<input appearance="w3" ref="/formatdate_test/MEDREF/OBS_START_DATE_NEW"> | |
<label>Beginning of month 1 (start of observation period) (Date)</label> | |
</input> | |
<input appearance="w3" ref="/formatdate_test/MEDREF/OBS_START_TEXT"> | |
<label>Beginning of month 1 (start of observation period) (Text)</label> | |
</input> | |
</group> | |
</h:body> | |
</h:html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment