<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<title>Credit Note - Benefits in Kind (CRN)</title>
<meta charset="utf-8" />
<!-- the next meta info is used for some compatibility issue in IE11 -->
<meta http-equiv="X-UA-Compatible" content="IE=9" />
<meta sedName="DA012" sedPackage="Sector Components/AWOD/DA012" sedGVer="4" sedVer="2" sedPatch="0"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />

<link href="_forms/angular/css/bootstrap.min.css" rel="stylesheet" />
<!-- http://isteven.github.io/angular-multi-select CSS -->
<link href="_forms/angular/css/isteven-multi-select.css" rel="stylesheet" />
<link href="_forms/angular/css/select.css" rel="stylesheet" />
<link href="_forms/angular/css/sed_angular_common_MET.css" rel="stylesheet" />
<link href="_forms/angular/css/sed_angular_common.css" rel="stylesheet" />
<link href="_forms/angular/css/splitter.css" rel="stylesheet" />
<link href="_forms/angular/css/style.css" rel="stylesheet" />

<script src="_forms/angular/js/lib/angular.js"></script>
<script src="_forms/angular/js/lib/angular-animate.js"></script>
<script src="_forms/angular/js/lib/angular-sanitize.js"></script>
<script src="_forms/angular/js/lib/ui-bootstrap-tpls.js"></script>

<script src="_forms/angular/js/src/datePicker1.js"></script>
<!-- http://isteven.github.io/angular-multi-select JS -->
<script src="_forms/angular/js/src/isteven-multi-select.js"></script>
<!-- https://vitalets.github.io/checklist-model JS -->
<script src="_forms/angular/js/src/checklist-model.js"></script>
<!-- ui-select files -->
<script src="_forms/angular/js/src/select.js"></script>
<!-- http://lorenzofox3.github.io/smart-table-website/ -->
<script src="_forms/angular/js/src/smart-table.js"></script>
<!-- RINA style checkbox -->
<script src="_forms/angular/js/src/angular-bootstrap-checkbox-met.js"></script>
<!-- IR widget -->
<script src="_forms/angular/js/src/angular-bootstrap-IR.js"></script>
<!-- TR widget -->
<script src="_forms/angular/js/src/angular-bootstrap-TR.js"></script>
<!-- DH widget -->
<script src="_forms/angular/js/src/angular-bootstrap-DH.js"></script>

<!-- <script src="_forms/angular/js/src/sed_angular.js"></script> -->
<script src="_forms/angular/js/src/sed_angular_common.js"></script>
<script src="_forms/angular/js/src/sed_angular_common_MET.js"></script>
<script src="_forms/angular/js/src/sed_angular_common_RINA.js"></script>

</head>
<body ng-app="sedAngularApp">
	<div ng-controller = "ControllerDA012" class="met-root">
		<div>
			<h3 class="sedHeadingAC">DA012 - Credit Note - Benefits in Kind (CRN) <br/> Articles 35, 41 of Regulation (EC) No 883/2004, 62, 66 (1), 67 of Regulation (EC) No 987/2009</h3>
			<div style="position:absolute;top:0;right:0;font-size:70%">SED API version: 0.16.2 build 2<br/>Model version: 4.2.0</div>
		</div>
		<!--  
		<ui-layout class= "layout" options = "{sizes:['99%', '1%']}" >
		-->
		<div class="layoutAC">
		<bg-splitter orientation="vertical" position="VM.splitterPosition" class="met-splitter">
		<bg-pane min-size="100" scroll-to-id="viewModel.scrollToId">
			<div ng-controller="SedController" ng-cloak ng-init = "section = model.DA012; metaSection = metaModel.DA012" class="wb-stretch">
				<div id = "content-angular_DA012" class="content-angular container-fluid" ng-model-options="{ debounce: 250 }" ng-form="DA012" sedName="DA012" sedPackage="Sector Components/AWOD/DA012" sedGVer="4" sedVer="2" sedPatch="0">
					<div class="tab-content met-content" ng-init="sedForm = DA012">
						<div met_start_tag class="form-group" ng-controller="WbAngularSedCtrl">
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.GlobalNoteCRN; metaSection = $parent.metaSection.GlobalNoteCRN" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SECTION_ROW"    id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label SECTION_ROW"><dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Global Note CRN <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="Provide the relevant details of the Global Credit Note." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
									<div class="SECTION_ROW_WHITESPACE"></div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.globalCLAReferenceCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalCLAReferenceCreditorLiaisonBody.$$warning && !metaSection.globalCLAReferenceCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.globalCLAReferenceCreditorLiaisonBody.$$headingIndexed}}" headname="{{metaSection.globalCLAReferenceCreditorLiaisonBody.$$name}}"> </dynheadingno> Global CLA reference Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="Unique number of the claim (CLA) given by the creditor liaison body" tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.globalCLAReferenceCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalCLAReferenceCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalCLAReferenceCreditorLiaisonBody.$$error">{{metaSection.globalCLAReferenceCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalCLAReferenceCreditorLiaisonBody.$$warning && !metaSection.globalCLAReferenceCreditorLiaisonBody.$$error">{{metaSection.globalCLAReferenceCreditorLiaisonBody.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.globalCRNReferenceCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalCRNReferenceCreditorLiaisonBody.$$warning && !metaSection.globalCRNReferenceCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.globalCRNReferenceCreditorLiaisonBody.$$headingIndexed}}" headname="{{metaSection.globalCRNReferenceCreditorLiaisonBody.$$name}}"> </dynheadingno> Global CRN reference Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="Unique number of the Credit Note (CRN) given by the creditor liaison body" tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.globalCRNReferenceCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalCRNReferenceCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalCRNReferenceCreditorLiaisonBody.$$error">{{metaSection.globalCRNReferenceCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalCRNReferenceCreditorLiaisonBody.$$warning && !metaSection.globalCRNReferenceCreditorLiaisonBody.$$error">{{metaSection.globalCRNReferenceCreditorLiaisonBody.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.totalNumberIndividualCreditNotes.$$error,'has-warning': validateForm && metaSection.totalNumberIndividualCreditNotes.$$warning && !metaSection.totalNumberIndividualCreditNotes.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.totalNumberIndividualCreditNotes.$$headingIndexed}}" headname="{{metaSection.totalNumberIndividualCreditNotes.$$name}}"> </dynheadingno> Total number of Individual Credit notes <i>*</i></label>
									<div class="tooltip-handler" tooltip="Total number of credit notes equal to number of individual credit notes provided in section 2" tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7"><input ng-model="section.totalNumberIndividualCreditNotes" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.totalNumberIndividualCreditNotes)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.totalNumberIndividualCreditNotes.$$error">{{metaSection.totalNumberIndividualCreditNotes.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.totalNumberIndividualCreditNotes.$$warning && !metaSection.totalNumberIndividualCreditNotes.$$error">{{metaSection.totalNumberIndividualCreditNotes.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.TotalAmountOfCreditNotes; metaSection = $parent.metaSection.TotalAmountOfCreditNotes" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Total Amount Of Credit Notes <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="Total benefits amount equals the sum of all credit notes amount in the individual part of the claim. It is provided in the currency of the Creditor Member State" tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.amount.$$error,'has-warning': validateForm && metaSection.amount.$$warning && !metaSection.amount.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.amount.$$headingIndexed}}" headname="{{metaSection.amount.$$name}}"> </dynheadingno> Amount <i>*</i></label>
									<div class="col-xs-7"><input ng-model="section.amount" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.amount)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.amount.$$error">{{metaSection.amount.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.amount.$$warning && !metaSection.amount.$$error">{{metaSection.amount.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.currency.$$error,'has-warning': validateForm && metaSection.currency.$$warning && !metaSection.currency.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.currency.$$headingIndexed}}" headname="{{metaSection.currency.$$name}}"> </dynheadingno> Currency <i>*</i></label>
									<div 		class="col-xs-7">
										
										<!--  single enum: multiplicity 1 and size greater that 5 entries -->
										<ui-select type="enum" ng-model="section.currency" ng-disabled="false" reset-search-input="false" lazy-load="true" id="field_{{getNextUUID(metaSection.currency)}}">
											<ui-select-match allow-clear="true" placeholder="{{locale['Noneselected']}}"> {{$select.selected[ 'name']}} </ui-select-match>
											<ui-select-choices repeat="option['value'] as option in input.EESSIEUEFTACurrencyType | filter: $select.search">
												<div ng-bind-html="option['name'] | highlight: $select.search"></div>
											</ui-select-choices>
										</ui-select>
										<br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.currency.$$error">{{metaSection.currency.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.currency.$$warning && !metaSection.currency.$$error">{{metaSection.currency.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.dateOfSubmission.$$error,'has-warning': validateForm && metaSection.dateOfSubmission.$$warning && !metaSection.dateOfSubmission.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.dateOfSubmission.$$headingIndexed}}" headname="{{metaSection.dateOfSubmission.$$name}}"> </dynheadingno> Date Of Submission <i>*</i></label>
									<div class="tooltip-handler" tooltip="Date when the current SED is submitted." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.dateOfSubmission.$$elemNo >= metaModel.DA012.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.dateOfSubmission" ng-disabled="false" is-open="status.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" close-text="Close" show-weeks="false" year-rows="9" year-columns="9" time-arrow="forward" datepicker-mode="year" placeholder="dd-MM-yyyy" id="field_{{getNextUUID(metaSection.dateOfSubmission)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.dateOfSubmission.$$error, 'has-warning-date-button': validateForm && !metaSection.dateOfSubmission.$$error && metaSection.dateOfSubmission.$$warning}" ng-disabled="false" type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
											</span>
										</p>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.dateOfSubmission.$$error">{{metaSection.dateOfSubmission.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.dateOfSubmission.$$warning && !metaSection.dateOfSubmission.$$error">{{metaSection.dateOfSubmission.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.IndividualCRNs; metaSection = $parent.metaSection.IndividualCRNs" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SECTION_ROW"    id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label SECTION_ROW"><dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Individual CRNs <i>*</i>
									</label>
									<div class="SECTION_ROW_WHITESPACE"></div>
								</div>
							<div style="vertical-align:bottom" met_start_tag ng-repeat="section in section.IndividualCRN" ng-init = "metaSection = metaSection.IndividualCRN[$index]" ng-hide = "metaSection.$$isHidden" ng-class="'color' + ($index % 2)" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Individual CRN <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="Provide the relevant details of the Individual Credit Note." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.IDCreditorInstitution; metaSection = $parent.metaSection.IDCreditorInstitution" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> ID Creditor Institution <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="State the social security coordination institution (in the sense of article 1 of Regulation (EC) no 883/2004 and article 1 of Regulation (EC) no 987/2009) that is relevant in this context." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.institutionID.$$error,'has-warning': validateForm && metaSection.institutionID.$$warning && !metaSection.institutionID.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.institutionID.$$headingIndexed}}" headname="{{metaSection.institutionID.$$name}}"> </dynheadingno> Institution ID <i>*</i></label>
									<div class="tooltip-handler" tooltip="Identification number of the institution, as included in the EESSI Institution Repository (formerly known as Directory Service)." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.institutionID" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.institutionID)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.institutionID.$$error">{{metaSection.institutionID.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.institutionID.$$warning && !metaSection.institutionID.$$error">{{metaSection.institutionID.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.institutionName.$$error,'has-warning': validateForm && metaSection.institutionName.$$warning && !metaSection.institutionName.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.institutionName.$$headingIndexed}}" headname="{{metaSection.institutionName.$$name}}"> </dynheadingno> Institution Name <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.institutionName" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.institutionName)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.institutionName.$$error">{{metaSection.institutionName.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.institutionName.$$warning && !metaSection.institutionName.$$error">{{metaSection.institutionName.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.IDDebtorInstitution; metaSection = $parent.metaSection.IDDebtorInstitution" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> ID Debtor Institution <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="State the social security coordination institution (in the sense of article 1 of Regulation (EC) no 883/2004 and article 1 of Regulation (EC) no 987/2009) that is relevant in this context." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.institutionID.$$error,'has-warning': validateForm && metaSection.institutionID.$$warning && !metaSection.institutionID.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.institutionID.$$headingIndexed}}" headname="{{metaSection.institutionID.$$name}}"> </dynheadingno> Institution ID <i>*</i></label>
									<div class="tooltip-handler" tooltip="Identification number of the institution, as included in the EESSI Institution Repository (formerly known as Directory Service)." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.institutionID" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.institutionID)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.institutionID.$$error">{{metaSection.institutionID.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.institutionID.$$warning && !metaSection.institutionID.$$error">{{metaSection.institutionID.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.institutionName.$$error,'has-warning': validateForm && metaSection.institutionName.$$warning && !metaSection.institutionName.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.institutionName.$$headingIndexed}}" headname="{{metaSection.institutionName.$$name}}"> </dynheadingno> Institution Name <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.institutionName" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.institutionName)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.institutionName.$$error">{{metaSection.institutionName.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.institutionName.$$warning && !metaSection.institutionName.$$error">{{metaSection.institutionName.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.References; metaSection = $parent.metaSection.References" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> References <i>*</i>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.globalCLAReferenceCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalCLAReferenceCreditorLiaisonBody.$$warning && !metaSection.globalCLAReferenceCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.globalCLAReferenceCreditorLiaisonBody.$$headingIndexed}}" headname="{{metaSection.globalCLAReferenceCreditorLiaisonBody.$$name}}"> </dynheadingno> Global CLA Reference Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="Unique number of the claim (CLA) given by the creditor liaison body" tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.globalCLAReferenceCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalCLAReferenceCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalCLAReferenceCreditorLiaisonBody.$$error">{{metaSection.globalCLAReferenceCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalCLAReferenceCreditorLiaisonBody.$$warning && !metaSection.globalCLAReferenceCreditorLiaisonBody.$$error">{{metaSection.globalCLAReferenceCreditorLiaisonBody.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.globalCRNReferenceCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalCRNReferenceCreditorLiaisonBody.$$warning && !metaSection.globalCRNReferenceCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.globalCRNReferenceCreditorLiaisonBody.$$headingIndexed}}" headname="{{metaSection.globalCRNReferenceCreditorLiaisonBody.$$name}}"> </dynheadingno> Global CRN Reference Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="Unique number of the Credit Note (CRN) given by the creditor liaison body" tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.globalCRNReferenceCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalCRNReferenceCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalCRNReferenceCreditorLiaisonBody.$$error">{{metaSection.globalCRNReferenceCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalCRNReferenceCreditorLiaisonBody.$$warning && !metaSection.globalCRNReferenceCreditorLiaisonBody.$$error">{{metaSection.globalCRNReferenceCreditorLiaisonBody.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.individualCLANumberCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.individualCLANumberCreditorLiaisonBody.$$warning && !metaSection.individualCLANumberCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.individualCLANumberCreditorLiaisonBody.$$headingIndexed}}" headname="{{metaSection.individualCLANumberCreditorLiaisonBody.$$name}}"> </dynheadingno> Individual CLA Number Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="An unique reference number of the individual claim (CLA) given by the creditor liaison body." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.individualCLANumberCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.individualCLANumberCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.individualCLANumberCreditorLiaisonBody.$$error">{{metaSection.individualCLANumberCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.individualCLANumberCreditorLiaisonBody.$$warning && !metaSection.individualCLANumberCreditorLiaisonBody.$$error">{{metaSection.individualCLANumberCreditorLiaisonBody.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.individualCRNNumberCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.individualCRNNumberCreditorLiaisonBody.$$warning && !metaSection.individualCRNNumberCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.individualCRNNumberCreditorLiaisonBody.$$headingIndexed}}" headname="{{metaSection.individualCRNNumberCreditorLiaisonBody.$$name}}"> </dynheadingno> Individual CRN Number Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="A unique reference number of the individual credit note (CRN) given by the creditor liaison body" tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.individualCRNNumberCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.individualCRNNumberCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.individualCRNNumberCreditorLiaisonBody.$$error">{{metaSection.individualCRNNumberCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.individualCRNNumberCreditorLiaisonBody.$$warning && !metaSection.individualCRNNumberCreditorLiaisonBody.$$error">{{metaSection.individualCRNNumberCreditorLiaisonBody.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.PersonReceivingBenefits; metaSection = $parent.metaSection.PersonReceivingBenefits" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Person receiving benefits <i>*</i>
									</label>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.PersonInformation; metaSection = $parent.metaSection.PersonInformation" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Person Information <i>*</i>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.familyName.$$error,'has-warning': validateForm && metaSection.familyName.$$warning && !metaSection.familyName.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.familyName.$$headingIndexed}}" headname="{{metaSection.familyName.$$name}}"> </dynheadingno> Family name(s) <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.familyName" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.familyName)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.familyName.$$error">{{metaSection.familyName.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.familyName.$$warning && !metaSection.familyName.$$error">{{metaSection.familyName.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.forename.$$error,'has-warning': validateForm && metaSection.forename.$$warning && !metaSection.forename.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.forename.$$headingIndexed}}" headname="{{metaSection.forename.$$name}}"> </dynheadingno> Forename(s) <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.forename" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.forename)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.forename.$$error">{{metaSection.forename.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.forename.$$warning && !metaSection.forename.$$error">{{metaSection.forename.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.dateBirth.$$error,'has-warning': validateForm && metaSection.dateBirth.$$warning && !metaSection.dateBirth.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.dateBirth.$$headingIndexed}}" headname="{{metaSection.dateBirth.$$name}}"> </dynheadingno> Date of birth <i>*</i></label>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.dateBirth.$$elemNo >= metaModel.DA012.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.dateBirth" ng-disabled="false" is-open="status.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" close-text="Close" show-weeks="false" year-rows="9" year-columns="9" time-arrow="backward" datepicker-mode="year" placeholder="dd-MM-yyyy" id="field_{{getNextUUID(metaSection.dateBirth)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.dateBirth.$$error, 'has-warning-date-button': validateForm && !metaSection.dateBirth.$$error && metaSection.dateBirth.$$warning}" ng-disabled="false" type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
											</span>
										</p>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.dateBirth.$$error">{{metaSection.dateBirth.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.dateBirth.$$warning && !metaSection.dateBirth.$$error">{{metaSection.dateBirth.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.sex.$$error,'has-warning': validateForm && metaSection.sex.$$warning && !metaSection.sex.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.sex.$$headingIndexed}}" headname="{{metaSection.sex.$$name}}"> </dynheadingno> Sex <i>*</i></label>
									<div 		class="col-xs-7">
										<!--  single enum: multiplicity 1 and size lower than 5 entries -->
										<div class="radio radio-met radio-met-primary" ng-model="section.sex" ng-repeat="option in input.EESSISexType track by $index" type="enumCodesSingle" id="field_{{getNextUUID(metaSection.sex)}}">
										   <input id="2.1.4.1.4.{{getNextUUID(metaSection.sex)}}{{option.value}}" type="radio" ng-model="section.sex" ng-click="radioClearSelection($parent.section,'sex',$event)" ng-disabled="false" value="{{option.value}}"> <label for="2.1.4.1.4.{{getNextUUID(metaSection.sex)}}{{option.value}}">{{option.name}}</label><br/></input>
										</div>
										<br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.sex.$$error">{{metaSection.sex.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.sex.$$warning && !metaSection.sex.$$error">{{metaSection.sex.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.familyNameAtBirth.$$error,'has-warning': validateForm && metaSection.familyNameAtBirth.$$warning && !metaSection.familyNameAtBirth.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.familyNameAtBirth.$$headingIndexed}}" headname="{{metaSection.familyNameAtBirth.$$name}}"> </dynheadingno> Family name(s) at birth</label>
									<div class="tooltip-handler" tooltip="State the family name(s) of the person at birth if different from the current family name(s)." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.familyNameAtBirth" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.familyNameAtBirth)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.familyNameAtBirth.$$error">{{metaSection.familyNameAtBirth.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.familyNameAtBirth.$$warning && !metaSection.familyNameAtBirth.$$error">{{metaSection.familyNameAtBirth.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.forenameAtBirth.$$error,'has-warning': validateForm && metaSection.forenameAtBirth.$$warning && !metaSection.forenameAtBirth.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.forenameAtBirth.$$headingIndexed}}" headname="{{metaSection.forenameAtBirth.$$name}}"> </dynheadingno> Forename(s) at birth</label>
									<div class="tooltip-handler" tooltip="State the forename(s) of the person at birth if different from current forename(s)." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.forenameAtBirth" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.forenameAtBirth)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.forenameAtBirth.$$error">{{metaSection.forenameAtBirth.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.forenameAtBirth.$$warning && !metaSection.forenameAtBirth.$$error">{{metaSection.forenameAtBirth.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.PersonIdentificationNumber; metaSection = $parent.metaSection.PersonIdentificationNumber" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Person Identification Number <i>*</i>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.pINPersonInCompetentMemberState.$$error,'has-warning': validateForm && metaSection.pINPersonInCompetentMemberState.$$warning && !metaSection.pINPersonInCompetentMemberState.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.pINPersonInCompetentMemberState.$$headingIndexed}}" headname="{{metaSection.pINPersonInCompetentMemberState.$$name}}"> </dynheadingno> PIN of the person in Competent Member State <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.pINPersonInCompetentMemberState" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.pINPersonInCompetentMemberState)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.pINPersonInCompetentMemberState.$$error">{{metaSection.pINPersonInCompetentMemberState.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.pINPersonInCompetentMemberState.$$warning && !metaSection.pINPersonInCompetentMemberState.$$error">{{metaSection.pINPersonInCompetentMemberState.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.pINPersonInMemberStateStayOrResidence.$$error,'has-warning': validateForm && metaSection.pINPersonInMemberStateStayOrResidence.$$warning && !metaSection.pINPersonInMemberStateStayOrResidence.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.pINPersonInMemberStateStayOrResidence.$$headingIndexed}}" headname="{{metaSection.pINPersonInMemberStateStayOrResidence.$$name}}"> </dynheadingno> PIN of the person in Member State of Stay or Residence</label>
									<div class="col-xs-7">
										<input ng-model="section.pINPersonInMemberStateStayOrResidence" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.pINPersonInMemberStateStayOrResidence)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.pINPersonInMemberStateStayOrResidence.$$error">{{metaSection.pINPersonInMemberStateStayOrResidence.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.pINPersonInMemberStateStayOrResidence.$$warning && !metaSection.pINPersonInMemberStateStayOrResidence.$$error">{{metaSection.pINPersonInMemberStateStayOrResidence.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.CreditNoteBenefits; metaSection = $parent.metaSection.CreditNoteBenefits" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Credit Note Benefits <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="Specify the benefits from the claim which are to be withdrawn with the credit note" tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.benefitRelatedTo.$$error,'has-warning': validateForm && metaSection.benefitRelatedTo.$$warning && !metaSection.benefitRelatedTo.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.benefitRelatedTo.$$headingIndexed}}" headname="{{metaSection.benefitRelatedTo.$$name}}"> </dynheadingno> Benefit related to <i>*</i></label>
									<div 		class="col-xs-7">
										<!--  single enum: multiplicity 1 and size lower than 5 entries -->
										<div class="radio radio-met radio-met-primary" ng-model="section.benefitRelatedTo" ng-repeat="option in input.EESSITypeSEDAccidentDiseaseType track by $index" type="enumCodesSingle" id="field_{{getNextUUID(metaSection.benefitRelatedTo)}}">
										   <input id="2.1.5.1.{{getNextUUID(metaSection.benefitRelatedTo)}}{{option.value}}" type="radio" ng-model="section.benefitRelatedTo" ng-click="radioClearSelection($parent.section,'benefitRelatedTo',$event)" ng-disabled="false" value="{{option.value}}"> <label for="2.1.5.1.{{getNextUUID(metaSection.benefitRelatedTo)}}{{option.value}}">{{option.name}}</label><br/></input>
										</div>
										<br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.benefitRelatedTo.$$error">{{metaSection.benefitRelatedTo.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.benefitRelatedTo.$$warning && !metaSection.benefitRelatedTo.$$error">{{metaSection.benefitRelatedTo.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.date.$$error,'has-warning': validateForm && metaSection.date.$$warning && !metaSection.date.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.date.$$headingIndexed}}" headname="{{metaSection.date.$$name}}"> </dynheadingno> Date <i>*</i></label>
									<div class="tooltip-handler" tooltip="Provide, respectively, the date of the accident at work or the date when the occupational disease was diagnosed." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.date.$$elemNo >= metaModel.DA012.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.date" ng-disabled="false" is-open="status.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" close-text="Close" show-weeks="false" year-rows="9" year-columns="9" time-arrow="backward" datepicker-mode="year" placeholder="dd-MM-yyyy" id="field_{{getNextUUID(metaSection.date)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.date.$$error, 'has-warning-date-button': validateForm && !metaSection.date.$$error && metaSection.date.$$warning}" ng-disabled="false" type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
											</span>
										</p>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.date.$$error">{{metaSection.date.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.date.$$warning && !metaSection.date.$$error">{{metaSection.date.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.BenefitsPeriod; metaSection = $parent.metaSection.BenefitsPeriod" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Benefits Period <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="Indicate the start date and end date of the period." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.startDate.$$error,'has-warning': validateForm && metaSection.startDate.$$warning && !metaSection.startDate.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.startDate.$$headingIndexed}}" headname="{{metaSection.startDate.$$name}}"> </dynheadingno> Start Date <i>*</i></label>
									<div class="tooltip-handler" tooltip="Indicate the start date of the period." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.startDate.$$elemNo >= metaModel.DA012.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.startDate" ng-disabled="false" is-open="status.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" close-text="Close" show-weeks="false" year-rows="9" year-columns="9" time-arrow="backward" datepicker-mode="year" placeholder="dd-MM-yyyy" id="field_{{getNextUUID(metaSection.startDate)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.startDate.$$error, 'has-warning-date-button': validateForm && !metaSection.startDate.$$error && metaSection.startDate.$$warning}" ng-disabled="false" type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
											</span>
										</p>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.startDate.$$error">{{metaSection.startDate.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.startDate.$$warning && !metaSection.startDate.$$error">{{metaSection.startDate.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.endDate.$$error,'has-warning': validateForm && metaSection.endDate.$$warning && !metaSection.endDate.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.endDate.$$headingIndexed}}" headname="{{metaSection.endDate.$$name}}"> </dynheadingno> End Date <i>*</i></label>
									<div class="tooltip-handler" tooltip="Indicate the end date of the period." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.endDate.$$elemNo >= metaModel.DA012.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.endDate" ng-disabled="false" is-open="status.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" close-text="Close" show-weeks="false" year-rows="9" year-columns="9" time-arrow="backward" datepicker-mode="year" placeholder="dd-MM-yyyy" id="field_{{getNextUUID(metaSection.endDate)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.endDate.$$error, 'has-warning-date-button': validateForm && !metaSection.endDate.$$error && metaSection.endDate.$$warning}" ng-disabled="false" type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
											</span>
										</p>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.endDate.$$error">{{metaSection.endDate.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.endDate.$$warning && !metaSection.endDate.$$error">{{metaSection.endDate.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.DetailedBenefitsAmount; metaSection = $parent.metaSection.DetailedBenefitsAmount" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Detailed benefits amount <i>*</i>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.medicalCareAmount.$$error,'has-warning': validateForm && metaSection.medicalCareAmount.$$warning && !metaSection.medicalCareAmount.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.medicalCareAmount.$$headingIndexed}}" headname="{{metaSection.medicalCareAmount.$$name}}"> </dynheadingno> Medical Care Amount</label>
									<div class="col-xs-7"><input ng-model="section.medicalCareAmount" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.medicalCareAmount)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.medicalCareAmount.$$error">{{metaSection.medicalCareAmount.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.medicalCareAmount.$$warning && !metaSection.medicalCareAmount.$$error">{{metaSection.medicalCareAmount.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.medicineAmount.$$error,'has-warning': validateForm && metaSection.medicineAmount.$$warning && !metaSection.medicineAmount.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.medicineAmount.$$headingIndexed}}" headname="{{metaSection.medicineAmount.$$name}}"> </dynheadingno> Medicine Amount</label>
									<div class="col-xs-7"><input ng-model="section.medicineAmount" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.medicineAmount)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.medicineAmount.$$error">{{metaSection.medicineAmount.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.medicineAmount.$$warning && !metaSection.medicineAmount.$$error">{{metaSection.medicineAmount.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.dentalCareAmount.$$error,'has-warning': validateForm && metaSection.dentalCareAmount.$$warning && !metaSection.dentalCareAmount.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.dentalCareAmount.$$headingIndexed}}" headname="{{metaSection.dentalCareAmount.$$name}}"> </dynheadingno> Dental Care Amount</label>
									<div class="col-xs-7"><input ng-model="section.dentalCareAmount" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.dentalCareAmount)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.dentalCareAmount.$$error">{{metaSection.dentalCareAmount.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.dentalCareAmount.$$warning && !metaSection.dentalCareAmount.$$error">{{metaSection.dentalCareAmount.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.longTermCareAmount.$$error,'has-warning': validateForm && metaSection.longTermCareAmount.$$warning && !metaSection.longTermCareAmount.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.longTermCareAmount.$$headingIndexed}}" headname="{{metaSection.longTermCareAmount.$$name}}"> </dynheadingno> Long-term Care Amount</label>
									<div class="col-xs-7"><input ng-model="section.longTermCareAmount" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.longTermCareAmount)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.longTermCareAmount.$$error">{{metaSection.longTermCareAmount.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.longTermCareAmount.$$warning && !metaSection.longTermCareAmount.$$error">{{metaSection.longTermCareAmount.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.HospitalisationBenefits; metaSection = $parent.metaSection.HospitalisationBenefits" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Hospitalisation Benefits
									</label>
								</div>
							<div style="vertical-align:bottom" met_start_tag ng-repeat="section in section.HospitalisationBenefit" ng-init = "metaSection = metaSection.HospitalisationBenefit[$index]" ng-hide = "metaSection.$$isHidden" ng-class="'color' + ($index % 2)" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Hospitalisation benefit
									</label>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.HospitalisationPeriod; metaSection = $parent.metaSection.HospitalisationPeriod" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Hospitalisation period
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="Indicate the start date and end date of the period." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.startDate.$$error,'has-warning': validateForm && metaSection.startDate.$$warning && !metaSection.startDate.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.startDate.$$headingIndexed}}" headname="{{metaSection.startDate.$$name}}"> </dynheadingno> Start Date <i>*</i></label>
									<div class="tooltip-handler" tooltip="Indicate the start date of the period." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.startDate.$$elemNo >= metaModel.DA012.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.startDate" ng-disabled="false" is-open="status.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" close-text="Close" show-weeks="false" year-rows="9" year-columns="9" time-arrow="backward" datepicker-mode="year" placeholder="dd-MM-yyyy" id="field_{{getNextUUID(metaSection.startDate)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.startDate.$$error, 'has-warning-date-button': validateForm && !metaSection.startDate.$$error && metaSection.startDate.$$warning}" ng-disabled="false" type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
											</span>
										</p>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.startDate.$$error">{{metaSection.startDate.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.startDate.$$warning && !metaSection.startDate.$$error">{{metaSection.startDate.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.endDate.$$error,'has-warning': validateForm && metaSection.endDate.$$warning && !metaSection.endDate.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.endDate.$$headingIndexed}}" headname="{{metaSection.endDate.$$name}}"> </dynheadingno> End Date <i>*</i></label>
									<div class="tooltip-handler" tooltip="Indicate the end date of the period." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.endDate.$$elemNo >= metaModel.DA012.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.endDate" ng-disabled="false" is-open="status.opened" min-date="minDate" max-date="maxDate" datepicker-options="dateOptions" date-disabled="disabled(date, mode)" close-text="Close" show-weeks="false" year-rows="9" year-columns="9" time-arrow="backward" datepicker-mode="year" placeholder="dd-MM-yyyy" id="field_{{getNextUUID(metaSection.endDate)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.endDate.$$error, 'has-warning-date-button': validateForm && !metaSection.endDate.$$error && metaSection.endDate.$$warning}" ng-disabled="false" type="button" class="btn btn-default" ng-click="open($event)"><i class="glyphicon glyphicon-calendar"></i></button>
											</span>
										</p>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.endDate.$$error">{{metaSection.endDate.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.endDate.$$warning && !metaSection.endDate.$$error">{{metaSection.endDate.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.hospitalisationAmount.$$error,'has-warning': validateForm && metaSection.hospitalisationAmount.$$warning && !metaSection.hospitalisationAmount.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.hospitalisationAmount.$$headingIndexed}}" headname="{{metaSection.hospitalisationAmount.$$name}}"> </dynheadingno> Hospitalisation Amount <i>*</i></label>
									<div class="col-xs-7"><input ng-model="section.hospitalisationAmount" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.hospitalisationAmount)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.hospitalisationAmount.$$error">{{metaSection.hospitalisationAmount.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.hospitalisationAmount.$$warning && !metaSection.hospitalisationAmount.$$error">{{metaSection.hospitalisationAmount.$$warning}}</label>
								   </div>
								</div>
								<div style="background-color:#f9f9f9;width:100%;text-align:right" class="repetitive-section-footer">
									<span class="arrow_r"></span> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Hospitalisation benefit
									<button type="button" data-section-count="1" class="btn-link section-btn-link" ng-click="addSection($parent.section.HospitalisationBenefit, $parent.metaSection.HospitalisationBenefit, $index)">
										<span>{{locale['Add']}}</span>
									</button>
									<button type="button" data-section-count="1" class="close section-btn-close" ng-click="removeSection($parent.section.HospitalisationBenefit, $parent.metaSection.HospitalisationBenefit, $index)">
										<span>×</span>
									</button>
								</div>
							</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.OtherBenefits; metaSection = $parent.metaSection.OtherBenefits" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Other benefit(s)
									</label>
								</div>
							<div style="vertical-align:bottom" met_start_tag ng-repeat="section in section.OtherBenefit" ng-init = "metaSection = metaSection.OtherBenefit[$index]" ng-hide = "metaSection.$$isHidden" ng-class="'color' + ($index % 2)" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Other benefit
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.otherBenefitDescription.$$error,'has-warning': validateForm && metaSection.otherBenefitDescription.$$warning && !metaSection.otherBenefitDescription.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.otherBenefitDescription.$$headingIndexed}}" headname="{{metaSection.otherBenefitDescription.$$name}}"> </dynheadingno> Other Benefit Description <i>*</i></label>
									<div class="tooltip-handler" tooltip="Origin of the other benefits received." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<trwidget  ng-model="section.otherBenefitDescription" disabled="false" style="resize:vertical;" class="form-control" type="text" value="" rows="5" cols="30"  sedName="DA012 - Credit Note - Benefits in Kind (CRN)" elName="2.1.5.4.6.1.1. Other Benefit Description" id="field_{{getNextUUID(metaSection.otherBenefitDescription)}}"><br/></trwidget>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.otherBenefitDescription.$$error">{{metaSection.otherBenefitDescription.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.otherBenefitDescription.$$warning && !metaSection.otherBenefitDescription.$$error">{{metaSection.otherBenefitDescription.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.otherBenefitsAmount.$$error,'has-warning': validateForm && metaSection.otherBenefitsAmount.$$warning && !metaSection.otherBenefitsAmount.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.otherBenefitsAmount.$$headingIndexed}}" headname="{{metaSection.otherBenefitsAmount.$$name}}"> </dynheadingno> Other Benefits Amount <i>*</i></label>
									<div class="col-xs-7"><input ng-model="section.otherBenefitsAmount" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.otherBenefitsAmount)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.otherBenefitsAmount.$$error">{{metaSection.otherBenefitsAmount.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.otherBenefitsAmount.$$warning && !metaSection.otherBenefitsAmount.$$error">{{metaSection.otherBenefitsAmount.$$warning}}</label>
								   </div>
								</div>
								<div style="background-color:#f9f9f9;width:100%;text-align:right" class="repetitive-section-footer">
									<span class="arrow_r"></span> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Other benefit
									<button type="button" data-section-count="1" class="btn-link section-btn-link" ng-click="addSection($parent.section.OtherBenefit, $parent.metaSection.OtherBenefit, $index)">
										<span>{{locale['Add']}}</span>
									</button>
									<button type="button" data-section-count="1" class="close section-btn-close" ng-click="removeSection($parent.section.OtherBenefit, $parent.metaSection.OtherBenefit, $index)">
										<span>×</span>
									</button>
								</div>
							</div>
							</div>
							</div>
							</div>
							</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.TotalAmountIndividualCRN; metaSection = $parent.metaSection.TotalAmountIndividualCRN" ng-hide = "metaSection.$$isHidden" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<div style="vertical-align:bottom" class="SUBSECTION_ROW" id="section_{{getNextUUID(metaSection)}}">
									<label style="vertical-align:bottom" class="control-label"> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Total Amount of Individual CRN <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="Provided total amount of the credit note benefits" tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.amount.$$error,'has-warning': validateForm && metaSection.amount.$$warning && !metaSection.amount.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.amount.$$headingIndexed}}" headname="{{metaSection.amount.$$name}}"> </dynheadingno> Amount <i>*</i></label>
									<div class="col-xs-7"><input ng-model="section.amount" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.amount)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.amount.$$error">{{metaSection.amount.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.amount.$$warning && !metaSection.amount.$$error">{{metaSection.amount.$$warning}}</label>
								   </div>
								</div>
								<!-- div met_start_tag met_if = "!isChoice" class="container-fluid row"></div-->
								<div met_start_tag class="container-fluid" ng-hide="false">
								<div ng-class="{'has-error': validateForm && metaSection.currency.$$error,'has-warning': validateForm && metaSection.currency.$$warning && !metaSection.currency.$$error}">
									<label class="control-label col-xs-3"> <dynheadingno headno="{{metaSection.currency.$$headingIndexed}}" headname="{{metaSection.currency.$$name}}"> </dynheadingno> Currency <i>*</i></label>
									<div 		class="col-xs-7">
										
										<!--  single enum: multiplicity 1 and size greater that 5 entries -->
										<ui-select type="enum" ng-model="section.currency" ng-disabled="false" reset-search-input="false" lazy-load="true" id="field_{{getNextUUID(metaSection.currency)}}">
											<ui-select-match allow-clear="true" placeholder="{{locale['Noneselected']}}"> {{$select.selected[ 'name']}} </ui-select-match>
											<ui-select-choices repeat="option['value'] as option in input.EESSIEUEFTACurrencyType | filter: $select.search">
												<div ng-bind-html="option['name'] | highlight: $select.search"></div>
											</ui-select-choices>
										</ui-select>
										<br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.currency.$$error">{{metaSection.currency.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.currency.$$warning && !metaSection.currency.$$error">{{metaSection.currency.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
								<div style="background-color:#f9f9f9;width:100%;text-align:right" class="repetitive-section-footer">
									<span class="arrow_r"></span> <dynheadingno headno="{{metaSection.$$headingIndexed}}" headname="{{metaSection.$$name}}"> </dynheadingno> Individual CRN
									<button type="button" data-section-count="1" class="btn-link section-btn-link" ng-click="addSection($parent.section.IndividualCRN, $parent.metaSection.IndividualCRN, $index)">
										<span>{{locale['Add']}}</span>
									</button>
									<button type="button" data-section-count="1" class="close section-btn-close" ng-click="removeSection($parent.section.IndividualCRN, $parent.metaSection.IndividualCRN, $index)">
										<span>×</span>
									</button>
								</div>
							</div>
							</div>
							</div>
						</div>
					</div>
				</div>
			</div>
			</bg-pane>
			<bg-pane min-size="1">
			<div class = "footer-content" ng-controller="FooterController" ng-cloak>
					<table ng-show="errors.length > 0" st-table="errorListDisplay" st-safe-src="errors" class="table table-condensed table-striped table-hover">
					<tbody>
					<tr ng-repeat="row in errorListDisplay | orderBy:'level'">
						<td width="95%" ng-click="showError(row)" class="wb-link" 
							ng-style="{'color':row.severity == 'Error'?'red':'orange'}">
							{{ row.severityMessage }} :
							{{ row.message }}
						</td>
					</tr>
					</tbody>
				</table>
			</div>
		 </bg-pane>
		 </bg-splitter>
		</div>
		<script>
		
		/*
		angular.module("sedAngularApp").run( function() {
			angular.module("sedAngularApp").lazy.controller("ControllerDA012",["$scope", ControllerDA012]);	
		});
		*/
		
		angular.module("sedAngularApp").lazy.controller("ControllerDA012",["$scope", ControllerDA012]);
		
		function ControllerDA012($scope){
			
			$scope.VM = { splitterPosition:1 };
			
			$scope.contentDiv = "content-angular_DA012";
			
			$scope.errors = new Array();

			// isteven widget translations
			$scope.localLang = {
				selectAll       : LOCALE['Selectall'],
				selectNone      : LOCALE['Selectnone'],
				reset           : LOCALE['Reset'],
				search          : LOCALE['Search'],
				nothingSelected : LOCALE['Noneselected']
			};
		
			$scope.MODEL = {
	"DA012":{
		"sedPackage":"Sector Components/AWOD/DA012",
		"sedGVer":"4",
		"sedVer":"2",
		"GlobalNoteCRN":{
			"globalCLAReferenceCreditorLiaisonBody":"",
			"globalCRNReferenceCreditorLiaisonBody":"",
			"totalNumberIndividualCreditNotes":"",
			"TotalAmountOfCreditNotes":{
				"amount":"",
				"currency":""
			},
			"dateOfSubmission":""
		},
		"IndividualCRNs":{
			"IndividualCRN":[{
				"IDCreditorInstitution":{
					"institutionID":"",
					"institutionName":""
				},
				"IDDebtorInstitution":{
					"institutionID":"",
					"institutionName":""
				},
				"References":{
					"globalCLAReferenceCreditorLiaisonBody":"",
					"globalCRNReferenceCreditorLiaisonBody":"",
					"individualCLANumberCreditorLiaisonBody":"",
					"individualCRNNumberCreditorLiaisonBody":""
				},
				"PersonReceivingBenefits":{
					"PersonInformation":{
						"familyName":"",
						"forename":"",
						"dateBirth":"",
						"sex":""
					},
					"familyNameAtBirth":"",
					"forenameAtBirth":"",
					"PersonIdentificationNumber":{
						"pINPersonInCompetentMemberState":"",
						"pINPersonInMemberStateStayOrResidence":""
					}
				},
				"CreditNoteBenefits":{
					"benefitRelatedTo":"",
					"date":"",
					"BenefitsPeriod":{
						"startDate":"",
						"endDate":""
					},
					"DetailedBenefitsAmount":{
						"medicalCareAmount":"",
						"medicineAmount":"",
						"dentalCareAmount":"",
						"longTermCareAmount":"",
						"HospitalisationBenefits":{
							"HospitalisationBenefit":[{
								"HospitalisationPeriod":{
									"startDate":"",
									"endDate":""
								},
								"hospitalisationAmount":""
							}]
						},
						"OtherBenefits":{
							"OtherBenefit":[{
								"otherBenefitDescription":"",
								"otherBenefitsAmount":""
							}]
						}
					}
				},
				"TotalAmountIndividualCRN":{
					"amount":"",
					"currency":""
				}
			}]
		}
	}
};
		
			$scope.META_MODEL = {
					"DA012":{
							"$$name" : "DA012",
							"$$heading":"",
							"$$mandatory":true, 
							"$$repetition":false, 
							"$$type":"sed",
							"$$uuid":"DA012",
							"$$hasData":false,
							"GlobalNoteCRN":{
								"$$name":"GlobalNoteCRN",
								"$$heading":"1",
								"$$headingIndex": "0",
								"$$headingIndexed": "1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"globalCLAReferenceCreditorLiaisonBody":{
								"$$name":"globalCLAReferenceCreditorLiaisonBody",
								"$$heading":"1.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "1.1",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"globalCRNReferenceCreditorLiaisonBody":{
								"$$name":"globalCRNReferenceCreditorLiaisonBody",
								"$$heading":"1.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "1.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"totalNumberIndividualCreditNotes":{
								"$$name":"totalNumberIndividualCreditNotes",
								"$$heading":"1.3",
								"$$headingIndex": "0",
								"$$headingIndexed": "1.3",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minInclusive":"0" },
								"$$type":"int",
								"$$uuid":0,
								"$$hasData":false
							},
							"TotalAmountOfCreditNotes":{
								"$$name":"TotalAmountOfCreditNotes",
								"$$heading":"1.4",
								"$$headingIndex": "0",
								"$$headingIndexed": "1.4",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"amount":{
								"$$name":"amount",
								"$$heading":"1.4.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "1.4.1",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(([1-9][0-9]{0,9})(\\.\\d{2,2})?|([0]{1})(\\.\\d{2,2})?)" },
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							},
							"currency":{
								"$$name":"currency",
								"$$heading":"1.4.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "1.4.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"dateOfSubmission":{
								"$$name":"dateOfSubmission",
								"$$heading":"1.5",
								"$$headingIndex": "0",
								"$$headingIndexed": "1.5",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"IndividualCRNs":{
								"$$name":"IndividualCRNs",
								"$$heading":"2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"IndividualCRN":[{
								"$$name":"IndividualCRN",
								"$$heading":"2.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":true,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"IDCreditorInstitution":{
								"$$name":"IDCreditorInstitution",
								"$$heading":"2.1.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.1",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"institutionID":{
								"$$name":"institutionID",
								"$$heading":"2.1.1.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.1.1",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(AT|BE|BG|HR|CY|CZ|DK|EE|FI|FR|DE|EL|HU|IS|IE|IT|LV|LI|LT|LU|MT|NL|NO|PL|PT|RO|SK|SI|ES|SE|CH|UK|EU):[a-zA-Z0-9]{4,10}" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"institutionName":{
								"$$name":"institutionName",
								"$$heading":"2.1.1.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.1.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"155" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"IDDebtorInstitution":{
								"$$name":"IDDebtorInstitution",
								"$$heading":"2.1.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"institutionID":{
								"$$name":"institutionID",
								"$$heading":"2.1.2.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.2.1",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(AT|BE|BG|HR|CY|CZ|DK|EE|FI|FR|DE|EL|HU|IS|IE|IT|LV|LI|LT|LU|MT|NL|NO|PL|PT|RO|SK|SI|ES|SE|CH|UK|EU):[a-zA-Z0-9]{4,10}" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"institutionName":{
								"$$name":"institutionName",
								"$$heading":"2.1.2.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.2.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"155" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"References":{
								"$$name":"References",
								"$$heading":"2.1.3",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.3",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"globalCLAReferenceCreditorLiaisonBody":{
								"$$name":"globalCLAReferenceCreditorLiaisonBody",
								"$$heading":"2.1.3.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.3.1",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"globalCRNReferenceCreditorLiaisonBody":{
								"$$name":"globalCRNReferenceCreditorLiaisonBody",
								"$$heading":"2.1.3.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.3.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"individualCLANumberCreditorLiaisonBody":{
								"$$name":"individualCLANumberCreditorLiaisonBody",
								"$$heading":"2.1.3.3",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.3.3",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"individualCRNNumberCreditorLiaisonBody":{
								"$$name":"individualCRNNumberCreditorLiaisonBody",
								"$$heading":"2.1.3.4",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.3.4",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"PersonReceivingBenefits":{
								"$$name":"PersonReceivingBenefits",
								"$$heading":"2.1.4",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"PersonInformation":{
								"$$name":"PersonInformation",
								"$$heading":"2.1.4.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"familyName":{
								"$$name":"familyName",
								"$$heading":"2.1.4.1.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.1.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"155" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"forename":{
								"$$name":"forename",
								"$$heading":"2.1.4.1.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.1.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"155" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"dateBirth":{
								"$$name":"dateBirth",
								"$$heading":"2.1.4.1.3",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.1.3",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"sex":{
								"$$name":"sex",
								"$$heading":"2.1.4.1.4",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.1.4",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"familyNameAtBirth":{
								"$$name":"familyNameAtBirth",
								"$$heading":"2.1.4.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.2",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"155" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"forenameAtBirth":{
								"$$name":"forenameAtBirth",
								"$$heading":"2.1.4.3",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.3",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"155" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"PersonIdentificationNumber":{
								"$$name":"PersonIdentificationNumber",
								"$$heading":"2.1.4.4",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.4",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"pINPersonInCompetentMemberState":{
								"$$name":"pINPersonInCompetentMemberState",
								"$$heading":"2.1.4.4.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.4.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"65" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"pINPersonInMemberStateStayOrResidence":{
								"$$name":"pINPersonInMemberStateStayOrResidence",
								"$$heading":"2.1.4.4.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.4.4.2",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"65" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							}
							}
							},
							"CreditNoteBenefits":{
								"$$name":"CreditNoteBenefits",
								"$$heading":"2.1.5",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"benefitRelatedTo":{
								"$$name":"benefitRelatedTo",
								"$$heading":"2.1.5.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							},
							"date":{
								"$$name":"date",
								"$$heading":"2.1.5.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"BenefitsPeriod":{
								"$$name":"BenefitsPeriod",
								"$$heading":"2.1.5.3",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.3",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"startDate":{
								"$$name":"startDate",
								"$$heading":"2.1.5.3.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.3.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"endDate":{
								"$$name":"endDate",
								"$$heading":"2.1.5.3.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.3.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"DetailedBenefitsAmount":{
								"$$name":"DetailedBenefitsAmount",
								"$$heading":"2.1.5.4",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"medicalCareAmount":{
								"$$name":"medicalCareAmount",
								"$$heading":"2.1.5.4.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.1",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(([1-9][0-9]{0,9})(\\.\\d{2,2})?|([0]{1})(\\.\\d{2,2})?)" },
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							},
							"medicineAmount":{
								"$$name":"medicineAmount",
								"$$heading":"2.1.5.4.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.2",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(([1-9][0-9]{0,9})(\\.\\d{2,2})?|([0]{1})(\\.\\d{2,2})?)" },
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							},
							"dentalCareAmount":{
								"$$name":"dentalCareAmount",
								"$$heading":"2.1.5.4.3",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.3",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(([1-9][0-9]{0,9})(\\.\\d{2,2})?|([0]{1})(\\.\\d{2,2})?)" },
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							},
							"longTermCareAmount":{
								"$$name":"longTermCareAmount",
								"$$heading":"2.1.5.4.4",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.4",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(([1-9][0-9]{0,9})(\\.\\d{2,2})?|([0]{1})(\\.\\d{2,2})?)" },
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							},
							"HospitalisationBenefits":{
								"$$name":"HospitalisationBenefits",
								"$$heading":"2.1.5.4.5",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.5",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"HospitalisationBenefit":[{
								"$$name":"HospitalisationBenefit",
								"$$heading":"2.1.5.4.5.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.5.1",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":true,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"HospitalisationPeriod":{
								"$$name":"HospitalisationPeriod",
								"$$heading":"2.1.5.4.5.1.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.5.1.1",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"startDate":{
								"$$name":"startDate",
								"$$heading":"2.1.5.4.5.1.1.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.5.1.1.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"endDate":{
								"$$name":"endDate",
								"$$heading":"2.1.5.4.5.1.1.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.5.1.1.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"hospitalisationAmount":{
								"$$name":"hospitalisationAmount",
								"$$heading":"2.1.5.4.5.1.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.5.1.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(([1-9][0-9]{0,9})(\\.\\d{2,2})?|([0]{1})(\\.\\d{2,2})?)" },
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							}
							}]
							},
							"OtherBenefits":{
								"$$name":"OtherBenefits",
								"$$heading":"2.1.5.4.6",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.6",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"OtherBenefit":[{
								"$$name":"OtherBenefit",
								"$$heading":"2.1.5.4.6.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.6.1",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":true,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"otherBenefitDescription":{
								"$$name":"otherBenefitDescription",
								"$$heading":"2.1.5.4.6.1.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.6.1.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"500" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"otherBenefitsAmount":{
								"$$name":"otherBenefitsAmount",
								"$$heading":"2.1.5.4.6.1.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.5.4.6.1.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(([1-9][0-9]{0,9})(\\.\\d{2,2})?|([0]{1})(\\.\\d{2,2})?)" },
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							}
							}]
							}
							}
							},
							"TotalAmountIndividualCRN":{
								"$$name":"TotalAmountIndividualCRN",
								"$$heading":"2.1.6",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.6",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"amount":{
								"$$name":"amount",
								"$$heading":"2.1.6.1",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.6.1",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(([1-9][0-9]{0,9})(\\.\\d{2,2})?|([0]{1})(\\.\\d{2,2})?)" },
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							},
							"currency":{
								"$$name":"currency",
								"$$heading":"2.1.6.2",
								"$$headingIndex": "0",
								"$$headingIndexed": "2.1.6.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							}
							}
							}]
							}
				}
			};
		}
		
		/* Without flags */
		var INPUT = 
		{
			"EESSIEUEFTACurrencyType":
			 [
						{name: "["+"EUR"+"] Euro", value: "EUR$", ticked: false},
						{name: "["+"BGN"+"] Bulgarian Lev", value: "BGN$", ticked: false},
						{name: "["+"CZK"+"] Czech Koruna", value: "CZK$", ticked: false},
						{name: "["+"DKK"+"] Danish Krone", value: "DKK$", ticked: false},
						{name: "["+"GBP"+"] British Pound", value: "GBP$", ticked: false},
						{name: "["+"HRK"+"] Croatian Kuna", value: "HRK$", ticked: false},
						{name: "["+"HUF"+"] Hungarian Forint", value: "HUF$", ticked: false},
						{name: "["+"PLN"+"] Polish Zloty", value: "PLN$", ticked: false},
						{name: "["+"RON"+"] Romanian New Leu", value: "RON$", ticked: false},
						{name: "["+"SEK"+"] Swedish Krona", value: "SEK$", ticked: false},
						{name: "["+"CHF"+"] Swiss Franc", value: "CHF$", ticked: false},
						{name: "["+"ISK"+"] Icelandic Krona", value: "ISK$", ticked: false},
						{name: "["+"NOK"+"] Norwegian Krone", value: "NOK$", ticked: false},
						{name: "["+"LTL"+"] Lithuanian Litas", value: "LTL$", ticked: false},
						{name: "["+"LVL"+"] Latvian Lats", value: "LVL$", ticked: false}
			 ],
			"EESSISexType":
			 [
						{name: "["+"01"+"] Male", value: "01$", ticked: false},
						{name: "["+"02"+"] Female", value: "02$", ticked: false},
						{name: "["+"98"+"] Unknown", value: "98$", ticked: false}
			 ],
			"EESSITypeSEDAccidentDiseaseType":
			 [
						{name: "["+"01"+"] An accident at work", value: "01$", ticked: false},
						{name: "["+"02"+"] An occupational disease", value: "02$", ticked: false}
			 ],
			"structureEnd": {}
		};
		
		var ERROR_MESSAGES =
		{
			"section": "section",
			"field": "field",
			"error": "Error",
			"warning": "Warning",
			"requiresdata": "requires data",
			"invalidformat": "has invalid formatted data",
			"norestriction": "does not comply with restriction"
		};
		
		var LOCALE =
		{
			"Add": "Add",
			"Translate": "Translate",
			"Noneselected": "None selected",
			"Reset": "Reset",
			"Search": "Search",
			"Selectnone": "Select None",
			"Selectall": "Select All",
		};
		
		</script>	
	</div>

</body>
</html>