<?xml version="1.0" encoding="utf-8"?>
<form
	addrulepath="/administrator/components/com_ehealth_portal/models/rules"
	addfieldpath="/administrator/components/com_ehealth_portal/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_EHEALTH_PORTAL_BREAST_CANCER_CREATED_DATE_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_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_EHEALTH_PORTAL_BREAST_CANCER_CREATED_BY_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_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="COM_EHEALTH_PORTAL_BREAST_CANCER_MODIFIED_DATE_LABEL" description="COM_EHEALTH_PORTAL_BREAST_CANCER_MODIFIED_DATE_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="COM_EHEALTH_PORTAL_BREAST_CANCER_MODIFIED_BY_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_MODIFIED_BY_DESC"
			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_EHEALTH_PORTAL_BREAST_CANCER_ORDERING_LABEL"
			description=""
			default="0"
			size="6"
			required="false"
		/>
		<!-- Version Field. Type: Text (joomla) -->
		<field
			name="version"
			type="text"
			class="readonly"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_VERSION_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_VERSION_DESC"
			size="6"
			readonly="true"
			filter="unset"
		/>
		<!-- Was added due to Permissions JS needing a Title field -->
		<!-- Let us know at gh-629 should this change -->
		<!-- https://github.com/vdm-io/Joomla-Component-Builder/issues/629#issuecomment-750117235 -->
		<field
			name="title"
			type="hidden"
			default="ehealth_portal breast_cancer"
		/>
		<!-- Dynamic Fields. -->
		<!-- Patient Field. Type: User. (joomla) -->
		<field
			type="user"
			name="patient"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_PATIENT_LABEL"
		/>
		<!-- Bc_age_range Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_age_range"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_AGE_RANGE_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_AGE_RANGE_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_family_history Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_family_history"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_FAMILY_HISTORY_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_FAMILY_HISTORY_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_race Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_race"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_RACE_LABEL"
			class="list_class"
			multiple="false"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_WHITE</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_COLOURED</option>
			<option value="2">
				COM_EHEALTH_PORTAL_BREAST_CANCER_BLACK</option>
			<option value="3">
				COM_EHEALTH_PORTAL_BREAST_CANCER_ASIAN</option>
		</field>
		<!-- Bc_breastfeeding Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_breastfeeding"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_BREASTFEEDING_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_BREASTFEEDING_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_preg_freq Field. Type: Number. (joomla) -->
		<field
			type="number"
			name="bc_preg_freq"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_PREG_FREQ_LABEL"
			class="text_area"
			min="0"
			max="100"
			step="1"
		/>
		<!-- Bc_preg_age Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_preg_age"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_PREG_AGE_LABEL"
			class="list_class"
			multiple="false"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_THIRTY_YEARS</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_THIRTY_YEARS</option>
		</field>
		<!-- Bc_history_hrt Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_history_hrt"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_HISTORY_HRT_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_HISTORY_HRT_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_reg_exercise Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_reg_exercise"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_REG_EXERCISE_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_REG_EXERCISE_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_overweight Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_overweight"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_OVERWEIGHT_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_OVERWEIGHT_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_lump_near_breast Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_lump_near_breast"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_LUMP_NEAR_BREAST_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_LUMP_NEAR_BREAST_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_dimpling Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_dimpling"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_DIMPLING_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_DIMPLING_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_inward_nipple Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_inward_nipple"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_INWARD_NIPPLE_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_INWARD_NIPPLE_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_nipple_discharge Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_nipple_discharge"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_NIPPLE_DISCHARGE_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_NIPPLE_DISCHARGE_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_abnormal_skin Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_abnormal_skin"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_ABNORMAL_SKIN_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_ABNORMAL_SKIN_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Bc_breast_shape Field. Type: List. (joomla) -->
		<field
			type="list"
			name="bc_breast_shape"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_BREAST_SHAPE_LABEL"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_BC_BREAST_SHAPE_DESCRIPTION"
			class="list_class"
			multiple="false"
			required="true"
			default="0">
			<!-- Option Set. -->
			<option value="0">
				COM_EHEALTH_PORTAL_BREAST_CANCER_YES</option>
			<option value="1">
				COM_EHEALTH_PORTAL_BREAST_CANCER_NO</option>
		</field>
		<!-- Referral Field. Type: Referrals. (custom) -->
		<field
			type="referrals"
			name="referral"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_REFERRAL_LABEL"
			class="list_class"
			multiple="false"
			default="0"
			button="true"
		/>
		<!-- Reason Field. Type: Textarea. (joomla) -->
		<field
			type="textarea"
			name="reason"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_REASON_LABEL"
			rows="5"
			cols="20"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_REASON_DESCRIPTION"
			class="text_area span12"
			filter="HTML"
			hint="COM_EHEALTH_PORTAL_BREAST_CANCER_REASON_HINT"
		/>
		<!-- Txt_bc_breast_shape Field. Type: Textarea. (joomla) -->
		<field
			type="textarea"
			name="txt_bc_breast_shape"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_BREAST_SHAPE_LABEL"
			rows="5"
			cols="20"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_BREAST_SHAPE_DESCRIPTION"
			class="text_area span12"
			filter="HTML"
			hint="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_BREAST_SHAPE_HINT"
		/>
		<!-- Txt_bc_abnormal_skin Field. Type: Textarea. (joomla) -->
		<field
			type="textarea"
			name="txt_bc_abnormal_skin"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_ABNORMAL_SKIN_LABEL"
			rows="5"
			cols="20"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_ABNORMAL_SKIN_DESCRIPTION"
			class="text_area span12"
			filter="HTML"
			hint="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_ABNORMAL_SKIN_HINT"
		/>
		<!-- Txt_bc_nipple_discharge Field. Type: Textarea. (joomla) -->
		<field
			type="textarea"
			name="txt_bc_nipple_discharge"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_NIPPLE_DISCHARGE_LABEL"
			rows="5"
			cols="20"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_NIPPLE_DISCHARGE_DESCRIPTION"
			class="text_area span12"
			filter="HTML"
			hint="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_NIPPLE_DISCHARGE_HINT"
		/>
		<!-- Txt_bc_dimpling Field. Type: Textarea. (joomla) -->
		<field
			type="textarea"
			name="txt_bc_dimpling"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_DIMPLING_LABEL"
			rows="5"
			cols="20"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_DIMPLING_DESCRIPTION"
			class="text_area span12"
			filter="HTML"
			hint="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_DIMPLING_HINT"
		/>
		<!-- Txt_bc_lump_near_breast Field. Type: Textarea. (joomla) -->
		<field
			type="textarea"
			name="txt_bc_lump_near_breast"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_LUMP_NEAR_BREAST_LABEL"
			rows="5"
			cols="20"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_LUMP_NEAR_BREAST_DESCRIPTION"
			class="text_area span12"
			filter="HTML"
			hint="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_LUMP_NEAR_BREAST_HINT"
		/>
		<!-- Txt_bc_inward_nipple Field. Type: Textarea. (joomla) -->
		<field
			type="textarea"
			name="txt_bc_inward_nipple"
			label="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_INWARD_NIPPLE_LABEL"
			rows="5"
			cols="20"
			description="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_INWARD_NIPPLE_DESCRIPTION"
			class="text_area span12"
			filter="HTML"
			hint="COM_EHEALTH_PORTAL_BREAST_CANCER_TXT_BC_INWARD_NIPPLE_HINT"
		/>
	</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 breast_cancer"
			translate_label="false"
			filter="rules"
			validate="rules"
			class="inputbox"
			component="com_ehealth_portal"
			section="breast_cancer"
		/>
	</fieldset>
</form>