Cost-Benefit-Projection/admin/models/forms/health_data.xml

414 lines
14 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<form
addrulepath="/administrator/components/com_costbenefitprojection/models/rules"
addfieldpath="/administrator/components/com_costbenefitprojection/models/fields"
>
<fieldset name="details">
<!-- Default Fields. -->
<!-- Id Field. Type: Text (joomla) -->
<field
name="id"
type="text" class="readonly" label="JGLOBAL_FIELD_ID_LABEL"
description ="JGLOBAL_FIELD_ID_DESC" size="10" default="0"
readonly="true"
/>
<!-- Date Created Field. Type: Calendar (joomla) -->
<field
name="created"
type="calendar"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_CREATED_DATE_LABEL"
description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_CREATED_DATE_DESC"
size="22"
format="%Y-%m-%d %H:%M:%S"
filter="user_utc"
/>
<!-- User Created Field. Type: User (joomla) -->
<field
name="created_by"
type="user"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_CREATED_BY_LABEL"
description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_CREATED_BY_DESC"
/>
<!-- Published Field. Type: List (joomla) -->
<field name="published" type="list" label="JSTATUS"
description="JFIELD_PUBLISHED_DESC" class="chzn-color-state"
filter="intval" size="1" default="1" >
<option value="1">
JPUBLISHED</option>
<option value="0">
JUNPUBLISHED</option>
<option value="2">
JARCHIVED</option>
<option value="-2">
JTRASHED</option>
</field>
<!-- Date Modified Field. Type: Calendar (joomla) -->
<field name="modified" type="calendar" class="readonly"
label="JGLOBAL_FIELD_MODIFIED_LABEL" description="COM_CONTENT_FIELD_MODIFIED_DESC"
size="22" readonly="true" format="%Y-%m-%d %H:%M:%S" filter="user_utc" />
<!-- User Modified Field. Type: User (joomla) -->
<field name="modified_by" type="user"
label="JGLOBAL_FIELD_MODIFIED_BY_LABEL"
class="readonly"
readonly="true"
filter="unset"
/>
<!-- Access Field. Type: Accesslevel (joomla) -->
<field name="access"
type="accesslevel"
label="JFIELD_ACCESS_LABEL"
description="JFIELD_ACCESS_DESC"
default="1"
required="false"
/>
<!-- Ordering Field. Type: Numbers (joomla) -->
<field
name="ordering"
type="number"
class="inputbox validate-ordering"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_ORDERING_LABEL"
description=""
default="0"
size="6"
required="false"
/>
<!-- Version Field. Type: Text (joomla) -->
<field
name="version"
type="text"
class="readonly"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_VERSION_LABEL"
description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_VERSION_DESC"
size="6"
readonly="true"
filter="unset"
/>
<!-- Dynamic Fields. -->
<!-- Causerisk Field. Type: Causesrisks. (custom) -->
<field
type="causesrisks"
name="causerisk"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_CAUSERISK_LABEL"
description="JFIELD_TITLE_DESC"
class="list_class span12"
multiple="false"
default="0"
/>
<!-- Year Field. Type: List. (joomla) -->
<field
type="list"
name="year"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_YEAR_LABEL"
class="list_class"
multiple="false"
filter="INT"
required="true">
<!-- Option Set. -->
<option value="">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SELECT_A_YEAR</option>
<option value="2010">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_TEN</option>
<option value="2011">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_ELEVEN</option>
<option value="2012">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_TWELVE</option>
<option value="2013">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_THIRTEEN</option>
<option value="2014">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_FOURTEEN</option>
<option value="2015">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_FIFTEEN</option>
<option value="2016">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_SIXTEEN</option>
<option value="2017">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_SEVENTEEN</option>
<option value="2018">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_EIGHTEEN</option>
<option value="2019">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_NINETEEN</option>
<option value="2020">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_TWENTY</option>
<option value="2021">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_TWENTY_ONE</option>
<option value="2022">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_TWENTY_TWO</option>
<option value="2023">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_TWENTY_THREE</option>
<option value="2024">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWO_THOUSAND_AND_TWENTY_FOUR</option>
</field>
<!-- Country Field. Type: Countries. (custom) -->
<field
type="countries"
name="country"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_COUNTRY_LABEL"
description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_COUNTRY_DESCRIPTION"
class="list_class"
multiple="false"
default="0"
required="true"
/>
<!-- Femaledeath Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
name="femaledeath"
label="Set Females Death"
description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEDEATH_DESCRIPTION"
id="femaledeath"
class="femalesdeath"
select="COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEDEATH_SELECT"
icon="list"
maximum="10">
<fields name="femaledeath_fields" label="">
<fieldset hidden="true" name="femaledeath_modal" repeat="true">
<!-- Age Field. Type: List. (joomla) -->
<field
type="list"
name="age"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_AGE_LABEL"
class="list_class"
multiple="false"
filter="CMD">
<!-- Option Set. -->
<option value="15-19">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTEENNINETEEN</option>
<option value="20-24">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWENTYTWENTY_FOUR</option>
<option value="25-29">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWENTY_FIVETWENTY_NINE</option>
<option value="30-34">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_THIRTYTHIRTY_FOUR</option>
<option value="35-39">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_THIRTY_FIVETHIRTY_NINE</option>
<option value="40-44">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTYFORTY_FOUR</option>
<option value="45-49">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTY_FIVEFORTY_NINE</option>
<option value="50-54">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTYFIFTY_FOUR</option>
<option value="55-59">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTY_FIVEFIFTY_NINE</option>
<option value="60-64">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SIXTYSIXTY_FOUR</option>
</field>
<!-- Number Field. Type: Text. (joomla) -->
<field
type="text"
name="number"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_LABEL"
size="10"
maxlength="50"
class="text_area"
readonly="false"
disabled="false"
filter="FLOAT"
message="Error! Please add number here."
hint="COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_HINT"
/>
</fieldset>
</fields>
</field>
<!-- Maleyld Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
name="maleyld"
label="Set Males YLD"
description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEYLD_DESCRIPTION"
id="maleyld"
class="malesyld"
select="COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEYLD_SELECT"
icon="list"
maximum="10">
<fields name="maleyld_fields" label="">
<fieldset hidden="true" name="maleyld_modal" repeat="true">
<!-- Age Field. Type: List. (joomla) -->
<field
type="list"
name="age"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_AGE_LABEL"
class="list_class"
multiple="false"
filter="CMD">
<!-- Option Set. -->
<option value="15-19">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTEENNINETEEN</option>
<option value="20-24">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWENTYTWENTY_FOUR</option>
<option value="25-29">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWENTY_FIVETWENTY_NINE</option>
<option value="30-34">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_THIRTYTHIRTY_FOUR</option>
<option value="35-39">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_THIRTY_FIVETHIRTY_NINE</option>
<option value="40-44">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTYFORTY_FOUR</option>
<option value="45-49">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTY_FIVEFORTY_NINE</option>
<option value="50-54">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTYFIFTY_FOUR</option>
<option value="55-59">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTY_FIVEFIFTY_NINE</option>
<option value="60-64">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SIXTYSIXTY_FOUR</option>
</field>
<!-- Number Field. Type: Text. (joomla) -->
<field
type="text"
name="number"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_LABEL"
size="10"
maxlength="50"
class="text_area"
readonly="false"
disabled="false"
filter="FLOAT"
message="Error! Please add number here."
hint="COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_HINT"
/>
</fieldset>
</fields>
</field>
<!-- Maledeath Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
name="maledeath"
label="Set Males Death"
description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEDEATH_DESCRIPTION"
id="maledeath"
class="malesdeath"
select="COM_COSTBENEFITPROJECTION_HEALTH_DATA_MALEDEATH_SELECT"
icon="list"
maximum="10">
<fields name="maledeath_fields" label="">
<fieldset hidden="true" name="maledeath_modal" repeat="true">
<!-- Age Field. Type: List. (joomla) -->
<field
type="list"
name="age"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_AGE_LABEL"
class="list_class"
multiple="false"
filter="CMD">
<!-- Option Set. -->
<option value="15-19">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTEENNINETEEN</option>
<option value="20-24">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWENTYTWENTY_FOUR</option>
<option value="25-29">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWENTY_FIVETWENTY_NINE</option>
<option value="30-34">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_THIRTYTHIRTY_FOUR</option>
<option value="35-39">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_THIRTY_FIVETHIRTY_NINE</option>
<option value="40-44">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTYFORTY_FOUR</option>
<option value="45-49">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTY_FIVEFORTY_NINE</option>
<option value="50-54">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTYFIFTY_FOUR</option>
<option value="55-59">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTY_FIVEFIFTY_NINE</option>
<option value="60-64">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SIXTYSIXTY_FOUR</option>
</field>
<!-- Number Field. Type: Text. (joomla) -->
<field
type="text"
name="number"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_LABEL"
size="10"
maxlength="50"
class="text_area"
readonly="false"
disabled="false"
filter="FLOAT"
message="Error! Please add number here."
hint="COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_HINT"
/>
</fieldset>
</fields>
</field>
<!-- Femaleyld Field. Type: Repeatable. (joomla) -->
<field
type="repeatable"
name="femaleyld"
label="Set Females YLD"
description="COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEYLD_DESCRIPTION"
id="femaleyld"
class="femalesyld"
select="COM_COSTBENEFITPROJECTION_HEALTH_DATA_FEMALEYLD_SELECT"
icon="list"
maximum="10">
<fields name="femaleyld_fields" label="">
<fieldset hidden="true" name="femaleyld_modal" repeat="true">
<!-- Age Field. Type: List. (joomla) -->
<field
type="list"
name="age"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_AGE_LABEL"
class="list_class"
multiple="false"
filter="CMD">
<!-- Option Set. -->
<option value="15-19">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTEENNINETEEN</option>
<option value="20-24">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWENTYTWENTY_FOUR</option>
<option value="25-29">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_TWENTY_FIVETWENTY_NINE</option>
<option value="30-34">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_THIRTYTHIRTY_FOUR</option>
<option value="35-39">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_THIRTY_FIVETHIRTY_NINE</option>
<option value="40-44">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTYFORTY_FOUR</option>
<option value="45-49">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FORTY_FIVEFORTY_NINE</option>
<option value="50-54">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTYFIFTY_FOUR</option>
<option value="55-59">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_FIFTY_FIVEFIFTY_NINE</option>
<option value="60-64">
COM_COSTBENEFITPROJECTION_HEALTH_DATA_SIXTYSIXTY_FOUR</option>
</field>
<!-- Number Field. Type: Text. (joomla) -->
<field
type="text"
name="number"
label="COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_LABEL"
size="10"
maxlength="50"
class="text_area"
readonly="false"
disabled="false"
filter="FLOAT"
message="Error! Please add number here."
hint="COM_COSTBENEFITPROJECTION_HEALTH_DATA_NUMBER_HINT"
/>
</fieldset>
</fields>
</field>
</fieldset>
<!-- Access Control Fields. -->
<fieldset name="accesscontrol">
<!-- Asset Id Field. Type: Hidden (joomla) -->
<field
name="asset_id"
type="hidden"
filter="unset"
/>
<!-- Rules Field. Type: Rules (joomla) -->
<field
name="rules"
type="rules"
label="Permissions in relation to this health_data"
translate_label="false"
filter="rules"
validate="rules"
class="inputbox"
component="com_costbenefitprojection"
section="health_data"
/>
</fieldset>
</form>