<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<title>Reply to Contestation of Request for refund of overpayment (RPY_COC_RRO)</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="S053R" sedPackage="Sector Components/Sickness/S053R" sedGVer="4" sedVer="0" sedPatch="16"/>
<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>

<!-- <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 = "ControllerS053R" class="met-root">
		<div>
			<h3 class="sedHeadingAC">S053R - Reply to Contestation of Request for refund of overpayment (RPY_COC_RRO) <br/> N/A</h3>
			<div style="position:absolute;top:0;right:0;font-size:70%">SED API version: 0.14.2 PREVIEW build 3<br/>Model version: 4.0.16</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.S053R; metaSection = metaModel.S053R" class="wb-stretch">
				<div id = "content-angular_S053R" class="content-angular container-fluid" ng-model-options="{ debounce: 250 }" ng-form="S053R" sedName="S053R" sedPackage="Sector Components/Sickness/S053R" sedGVer="4" sedVer="0" sedPatch="16">
					<div class="tab-content met-content" ng-init="sedForm = S053R">
						<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.GlobalNoteRPYCOCRRO; metaSection = $parent.metaSection.GlobalNoteRPYCOCRRO" 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">1. Global Note RPY_COC_RRO <i>*</i>
									</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.globalRROReferenceSenderLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalRROReferenceSenderLiaisonBody.$$warning && !metaSection.globalRROReferenceSenderLiaisonBody.$$error}">
									<label class="control-label col-xs-3">1.1. Global RRO reference sender Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.globalRROReferenceSenderLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalRROReferenceSenderLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalRROReferenceSenderLiaisonBody.$$error">{{metaSection.globalRROReferenceSenderLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalRROReferenceSenderLiaisonBody.$$warning && !metaSection.globalRROReferenceSenderLiaisonBody.$$error">{{metaSection.globalRROReferenceSenderLiaisonBody.$$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.globalCOCRROReferenceReceiverLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$warning && !metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$error}">
									<label class="control-label col-xs-3">1.2. Global COC_RRO reference Receiver Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.globalCOCRROReferenceReceiverLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalCOCRROReferenceReceiverLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$error">{{metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$warning && !metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$error">{{metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$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.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$warning && !metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error}">
									<label class="control-label col-xs-3">1.3. Global RPY_COC_RRO reference Receiver Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.globalRPYCOCRROReferenceReceiverLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error">{{metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$warning && !metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error">{{metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$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.totalNumberIndividualContestationRepliesRRO.$$error,'has-warning': validateForm && metaSection.totalNumberIndividualContestationRepliesRRO.$$warning && !metaSection.totalNumberIndividualContestationRepliesRRO.$$error}">
									<label class="control-label col-xs-3">1.4. Total number of individual contestation replies RRO <i>*</i></label>
									<div class="col-xs-7"><input ng-model="section.totalNumberIndividualContestationRepliesRRO" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.totalNumberIndividualContestationRepliesRRO)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.totalNumberIndividualContestationRepliesRRO.$$error">{{metaSection.totalNumberIndividualContestationRepliesRRO.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.totalNumberIndividualContestationRepliesRRO.$$warning && !metaSection.totalNumberIndividualContestationRepliesRRO.$$error">{{metaSection.totalNumberIndividualContestationRepliesRRO.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.TotalAmountAcceptedContestations; metaSection = $parent.metaSection.TotalAmountAcceptedContestations" 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">1.5. Total amount of accepted contestations <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.amount.$$error,'has-warning': validateForm && metaSection.amount.$$warning && !metaSection.amount.$$error}">
									<label class="control-label col-xs-3">1.5.1. 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">1.5.2. 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="None selected"> {{$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.dateSubmission.$$error,'has-warning': validateForm && metaSection.dateSubmission.$$warning && !metaSection.dateSubmission.$$error}">
									<label class="control-label col-xs-3">1.6. Date of submission <i>*</i></label>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.dateSubmission.$$elemNo >= metaModel.S053R.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.dateSubmission" 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.dateSubmission)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.dateSubmission.$$error, 'has-warning-date-button': validateForm && !metaSection.dateSubmission.$$error && metaSection.dateSubmission.$$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.dateSubmission.$$error">{{metaSection.dateSubmission.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.dateSubmission.$$warning && !metaSection.dateSubmission.$$error">{{metaSection.dateSubmission.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.IndividualRPYCOCRROs; metaSection = $parent.metaSection.IndividualRPYCOCRROs" 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">2. Individual RPY_COC_RROs <i>*</i>
									</label>
									<div class="SECTION_ROW_WHITESPACE"></div>
								</div>
							<div style="vertical-align:bottom" met_start_tag ng-repeat="section in section.IndividualRPYCOCRRO" ng-init = "metaSection = metaSection.IndividualRPYCOCRRO[$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">2.1. Individual RPY_COC_RRO <i>*</i>
									</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">2.1.1. 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">2.1.1.1. 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">
										<irwidget ng-model="section.institutionID" disabled="false" institution="section" name="institutionID" 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 class="col-xs-7"><br/></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.institutionName.$$error,'has-warning': validateForm && metaSection.institutionName.$$warning && !metaSection.institutionName.$$error}">
									<label class="control-label col-xs-3">2.1.1.2. Institution Name <i>*</i></label>
									<div class="col-xs-7">
										<irwidget ng-model="section.institutionName" disabled="false" institution="section" name="institutionName" 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 class="col-xs-7"><br/></div>
								   </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">2.1.2. 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">2.1.2.1. 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">
										<irwidget ng-model="section.institutionID" disabled="false" institution="section" name="institutionID" 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 class="col-xs-7"><br/></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.institutionName.$$error,'has-warning': validateForm && metaSection.institutionName.$$warning && !metaSection.institutionName.$$error}">
									<label class="control-label col-xs-3">2.1.2.2. Institution Name <i>*</i></label>
									<div class="col-xs-7">
										<irwidget ng-model="section.institutionName" disabled="false" institution="section" name="institutionName" 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 class="col-xs-7"><br/></div>
								   </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">2.1.3. 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.globalRROReferenceSenderLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalRROReferenceSenderLiaisonBody.$$warning && !metaSection.globalRROReferenceSenderLiaisonBody.$$error}">
									<label class="control-label col-xs-3">2.1.3.1. Global RRO Reference sender Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.globalRROReferenceSenderLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalRROReferenceSenderLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalRROReferenceSenderLiaisonBody.$$error">{{metaSection.globalRROReferenceSenderLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalRROReferenceSenderLiaisonBody.$$warning && !metaSection.globalRROReferenceSenderLiaisonBody.$$error">{{metaSection.globalRROReferenceSenderLiaisonBody.$$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.globalCOCRROReferenceReceiverLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$warning && !metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$error}">
									<label class="control-label col-xs-3">2.1.3.2. Global COC_RRO reference receiver Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.globalCOCRROReferenceReceiverLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalCOCRROReferenceReceiverLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$error">{{metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$warning && !metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$error">{{metaSection.globalCOCRROReferenceReceiverLiaisonBody.$$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.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$warning && !metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error}">
									<label class="control-label col-xs-3">2.1.3.3. Global RPY_COC_RRO reference receiver Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.globalRPYCOCRROReferenceReceiverLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error">{{metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$warning && !metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$error">{{metaSection.globalRPYCOCRROReferenceReceiverLiaisonBody.$$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.individualRRONumberSenderLiaisonBody.$$error,'has-warning': validateForm && metaSection.individualRRONumberSenderLiaisonBody.$$warning && !metaSection.individualRRONumberSenderLiaisonBody.$$error}">
									<label class="control-label col-xs-3">2.1.3.4. Individual RRO number sender Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.individualRRONumberSenderLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.individualRRONumberSenderLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.individualRRONumberSenderLiaisonBody.$$error">{{metaSection.individualRRONumberSenderLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.individualRRONumberSenderLiaisonBody.$$warning && !metaSection.individualRRONumberSenderLiaisonBody.$$error">{{metaSection.individualRRONumberSenderLiaisonBody.$$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.individualCOCRRONumberReceiverLiaisonBody.$$error,'has-warning': validateForm && metaSection.individualCOCRRONumberReceiverLiaisonBody.$$warning && !metaSection.individualCOCRRONumberReceiverLiaisonBody.$$error}">
									<label class="control-label col-xs-3">2.1.3.5. Individual COC_RRO number receiver Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.individualCOCRRONumberReceiverLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.individualCOCRRONumberReceiverLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.individualCOCRRONumberReceiverLiaisonBody.$$error">{{metaSection.individualCOCRRONumberReceiverLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.individualCOCRRONumberReceiverLiaisonBody.$$warning && !metaSection.individualCOCRRONumberReceiverLiaisonBody.$$error">{{metaSection.individualCOCRRONumberReceiverLiaisonBody.$$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.individualRPYCOCRRONumberReceiverLiaisonBody.$$error,'has-warning': validateForm && metaSection.individualRPYCOCRRONumberReceiverLiaisonBody.$$warning && !metaSection.individualRPYCOCRRONumberReceiverLiaisonBody.$$error}">
									<label class="control-label col-xs-3">2.1.3.6. Individual RPY_COC_RRO number receiver Liaison Body <i>*</i></label>
									<div class="col-xs-7">
										<input ng-model="section.individualRPYCOCRRONumberReceiverLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.individualRPYCOCRRONumberReceiverLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.individualRPYCOCRRONumberReceiverLiaisonBody.$$error">{{metaSection.individualRPYCOCRRONumberReceiverLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.individualRPYCOCRRONumberReceiverLiaisonBody.$$warning && !metaSection.individualRPYCOCRRONumberReceiverLiaisonBody.$$error">{{metaSection.individualRPYCOCRRONumberReceiverLiaisonBody.$$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">2.1.4. 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">2.1.4.1. 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">2.1.4.1.1. 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">2.1.4.1.2. 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">2.1.4.1.3. 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.S053R.$$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">2.1.4.1.4. 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-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">2.1.4.2. 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">2.1.4.3. 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">2.1.4.4. 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">2.1.4.4.1. 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">2.1.4.4.2. 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.RefundPeriod; metaSection = $parent.metaSection.RefundPeriod" 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">2.1.5. Refund 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">2.1.5.1. 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.S053R.$$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">2.1.5.2. 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.S053R.$$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.dateCreditorDebtorInstitutionRecordedRRO.$$error,'has-warning': validateForm && metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$warning && !metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$error}">
									<label class="control-label col-xs-3">2.1.6. Date Creditor/Debtor Institution Recorded RRO <i>*</i></label>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$elemNo >= metaModel.S053R.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.dateCreditorDebtorInstitutionRecordedRRO" 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.dateCreditorDebtorInstitutionRecordedRRO)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$error, 'has-warning-date-button': validateForm && !metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$error && metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$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.dateCreditorDebtorInstitutionRecordedRRO.$$error">{{metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$warning && !metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$error">{{metaSection.dateCreditorDebtorInstitutionRecordedRRO.$$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.numberMonths.$$error,'has-warning': validateForm && metaSection.numberMonths.$$warning && !metaSection.numberMonths.$$error}">
									<label class="control-label col-xs-3">2.1.7. Number of Months <i>*</i></label>
									<div class="col-xs-7"><input ng-model="section.numberMonths" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.numberMonths)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.numberMonths.$$error">{{metaSection.numberMonths.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.numberMonths.$$warning && !metaSection.numberMonths.$$error">{{metaSection.numberMonths.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.RefundAmount; metaSection = $parent.metaSection.RefundAmount" 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">2.1.8. Refund 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.amount.$$error,'has-warning': validateForm && metaSection.amount.$$warning && !metaSection.amount.$$error}">
									<label class="control-label col-xs-3">2.1.8.1. 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">2.1.8.2. 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="None selected"> {{$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.replyContestation.$$error,'has-warning': validateForm && metaSection.replyContestation.$$warning && !metaSection.replyContestation.$$error}">
									<label class="control-label col-xs-3">2.1.9. Reply to contestation <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.replyContestation" ng-repeat="option in input.EESSIReplyContestationType track by $index" type="enumCodesSingle" id="field_{{getNextUUID(metaSection.replyContestation)}}">
										   <input id="2.1.9.{{getNextUUID(metaSection.replyContestation)}}{{option.value}}" type="radio" ng-model="section.replyContestation" ng-disabled="false" value="{{option.value}}"> <label for="2.1.9.{{getNextUUID(metaSection.replyContestation)}}{{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.replyContestation.$$error">{{metaSection.replyContestation.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.replyContestation.$$warning && !metaSection.replyContestation.$$error">{{metaSection.replyContestation.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.PleaseFillInFollowingIfReplyContestation02; metaSection = $parent.metaSection.PleaseFillInFollowingIfReplyContestation02" 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">2.1.10. Please fill in the following if "Reply to contestation" = "02 - Contestation accepted partially - individual overpayment adjusted"
									</label>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.RefundPeriod; metaSection = $parent.metaSection.RefundPeriod" 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">2.1.10.1. Refund 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">2.1.10.1.1. 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.S053R.$$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">2.1.10.1.2. 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.S053R.$$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.RefundAmount; metaSection = $parent.metaSection.RefundAmount" 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">2.1.10.2. Refund 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.amount.$$error,'has-warning': validateForm && metaSection.amount.$$warning && !metaSection.amount.$$error}">
									<label class="control-label col-xs-3">2.1.10.2.1. 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">2.1.10.2.2. 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="None selected"> {{$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>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.PleaseFillInFollowingIfReplyContestation03; metaSection = $parent.metaSection.PleaseFillInFollowingIfReplyContestation03" 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">2.1.11. Please fill in the following if "Reply to contestation" = "03 - Further information provided"
									</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.additionalInformation.$$error,'has-warning': validateForm && metaSection.additionalInformation.$$warning && !metaSection.additionalInformation.$$error}">
									<label class="control-label col-xs-3">2.1.11.1. Additional information: <i>*</i></label>
									<div class="col-xs-7">
										<trwidget  ng-model="section.additionalInformation" disabled="false" style="resize:vertical;" class="form-control" type="text" value="" rows="5" cols="30"  sedName="S053R - Reply to Contestation of Request for refund of overpayment (RPY_COC_RRO)" elName="2.1.11.1. Additional information:" id="field_{{getNextUUID(metaSection.additionalInformation)}}"><br/></trwidget>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.additionalInformation.$$error">{{metaSection.additionalInformation.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.additionalInformation.$$warning && !metaSection.additionalInformation.$$error">{{metaSection.additionalInformation.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
								<table style="width:100%" class="repetitive-section-footer">
									<tr style="background-color:#f9f9f9">
										<td style="text-align:left;width:auto">
										<span class="arrow_r"></span> 2.1.Individual RPY_COC_RRO </td>
										<td><div style="float:right">
											<button type="button" data-section-count="1" class="btn-link section-btn-link" ng-click="addSection($parent.section.IndividualRPYCOCRRO, $parent.metaSection.IndividualRPYCOCRRO, $index)">
												<span>{{locale['Add']}}</span>
											</button>
											<button type="button" data-section-count="1" class="close section-btn-close" ng-click="removeSection($parent.section.IndividualRPYCOCRRO, $parent.metaSection.IndividualRPYCOCRRO, $index)">
												<span>×</span>
											</button>
																	
										</div></td>
									</tr>
								</table>
							</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.severity }} :
							{{ row.message }}
						</td>
					</tr>
					</tbody>
				</table>
			</div>
		 </bg-pane>
		 </bg-splitter>
		</div>
		<script>
		
		/*
		angular.module("sedAngularApp").run( function() {
			angular.module("sedAngularApp").lazy.controller("ControllerS053R",["$scope", ControllerS053R]);	
		});
		*/
		
		angular.module("sedAngularApp").lazy.controller("ControllerS053R",["$scope", ControllerS053R]);
		
		function ControllerS053R($scope){
			
			$scope.VM = { splitterPosition:1 };
			
			$scope.contentDiv = "content-angular_S053R";
			
			$scope.errors = new Array();
		
			$scope.MODEL = {
	"S053R":{
		"sedPackage":"Sector Components/Sickness/S053R",
		"sedGVer":"4",
		"sedVer":"0",
		"GlobalNoteRPYCOCRRO":{
			"globalRROReferenceSenderLiaisonBody":"",
			"globalCOCRROReferenceReceiverLiaisonBody":"",
			"globalRPYCOCRROReferenceReceiverLiaisonBody":"",
			"totalNumberIndividualContestationRepliesRRO":"",
			"TotalAmountAcceptedContestations":{
				"amount":"",
				"currency":""
			},
			"dateSubmission":""
		},
		"IndividualRPYCOCRROs":{
			"IndividualRPYCOCRRO":[{
				"IDCreditorInstitution":{
					"institutionID":"",
					"institutionName":""
				},
				"IDDebtorInstitution":{
					"institutionID":"",
					"institutionName":""
				},
				"References":{
					"globalRROReferenceSenderLiaisonBody":"",
					"globalCOCRROReferenceReceiverLiaisonBody":"",
					"globalRPYCOCRROReferenceReceiverLiaisonBody":"",
					"individualRRONumberSenderLiaisonBody":"",
					"individualCOCRRONumberReceiverLiaisonBody":"",
					"individualRPYCOCRRONumberReceiverLiaisonBody":""
				},
				"PersonReceivingBenefits":{
					"PersonInformation":{
						"familyName":"",
						"forename":"",
						"dateBirth":"",
						"sex":""
					},
					"familyNameAtBirth":"",
					"forenameAtBirth":"",
					"PersonIdentificationNumber":{
						"pINPersonInCompetentMemberState":"",
						"pINPersonInMemberStateStayOrResidence":""
					}
				},
				"RefundPeriod":{
					"startDate":"",
					"endDate":""
				},
				"dateCreditorDebtorInstitutionRecordedRRO":"",
				"numberMonths":"",
				"RefundAmount":{
					"amount":"",
					"currency":""
				},
				"replyContestation":"",
				"PleaseFillInFollowingIfReplyContestation02":{
					"RefundPeriod":{
						"startDate":"",
						"endDate":""
					},
					"RefundAmount":{
						"amount":"",
						"currency":""
					}
				},
				"PleaseFillInFollowingIfReplyContestation03":{
					"additionalInformation":""
				}
			}]
		}
	}
};
		
			$scope.META_MODEL = {
					"S053R":{
							"$$name" : "S053R",
							"$$heading":"",
							"$$mandatory":true, 
							"$$repetition":false, 
							"$$type":"sed",
							"$$uuid":"S053R",
							"$$hasData":false,
							"GlobalNoteRPYCOCRRO":{
								"$$name":"GlobalNoteRPYCOCRRO",
								"$$heading":"1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"globalRROReferenceSenderLiaisonBody":{
								"$$name":"globalRROReferenceSenderLiaisonBody",
								"$$heading":"1.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"globalCOCRROReferenceReceiverLiaisonBody":{
								"$$name":"globalCOCRROReferenceReceiverLiaisonBody",
								"$$heading":"1.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"globalRPYCOCRROReferenceReceiverLiaisonBody":{
								"$$name":"globalRPYCOCRROReferenceReceiverLiaisonBody",
								"$$heading":"1.3",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"totalNumberIndividualContestationRepliesRRO":{
								"$$name":"totalNumberIndividualContestationRepliesRRO",
								"$$heading":"1.4",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minInclusive":"0" },
								"$$type":"int",
								"$$uuid":0,
								"$$hasData":false
							},
							"TotalAmountAcceptedContestations":{
								"$$name":"TotalAmountAcceptedContestations",
								"$$heading":"1.5",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"amount":{
								"$$name":"amount",
								"$$heading":"1.5.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.5.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"dateSubmission":{
								"$$name":"dateSubmission",
								"$$heading":"1.6",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"IndividualRPYCOCRROs":{
								"$$name":"IndividualRPYCOCRROs",
								"$$heading":"2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"IndividualRPYCOCRRO":[{
								"$$name":"IndividualRPYCOCRRO",
								"$$heading":"2.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":true,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"IDCreditorInstitution":{
								"$$name":"IDCreditorInstitution",
								"$$heading":"2.1.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"institutionID":{
								"$$name":"institutionID",
								"$$heading":"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",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"65" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"IDDebtorInstitution":{
								"$$name":"IDDebtorInstitution",
								"$$heading":"2.1.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"institutionID":{
								"$$name":"institutionID",
								"$$heading":"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",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"65" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"References":{
								"$$name":"References",
								"$$heading":"2.1.3",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"globalRROReferenceSenderLiaisonBody":{
								"$$name":"globalRROReferenceSenderLiaisonBody",
								"$$heading":"2.1.3.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"globalCOCRROReferenceReceiverLiaisonBody":{
								"$$name":"globalCOCRROReferenceReceiverLiaisonBody",
								"$$heading":"2.1.3.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"globalRPYCOCRROReferenceReceiverLiaisonBody":{
								"$$name":"globalRPYCOCRROReferenceReceiverLiaisonBody",
								"$$heading":"2.1.3.3",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"individualRRONumberSenderLiaisonBody":{
								"$$name":"individualRRONumberSenderLiaisonBody",
								"$$heading":"2.1.3.4",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"individualCOCRRONumberReceiverLiaisonBody":{
								"$$name":"individualCOCRRONumberReceiverLiaisonBody",
								"$$heading":"2.1.3.5",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"individualRPYCOCRRONumberReceiverLiaisonBody":{
								"$$name":"individualRPYCOCRRONumberReceiverLiaisonBody",
								"$$heading":"2.1.3.6",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"PersonReceivingBenefits":{
								"$$name":"PersonReceivingBenefits",
								"$$heading":"2.1.4",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"PersonInformation":{
								"$$name":"PersonInformation",
								"$$heading":"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",
								"$$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",
								"$$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",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"sex":{
								"$$name":"sex",
								"$$heading":"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",
								"$$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",
								"$$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",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"pINPersonInCompetentMemberState":{
								"$$name":"pINPersonInCompetentMemberState",
								"$$heading":"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",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"65" },
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							}
							}
							},
							"RefundPeriod":{
								"$$name":"RefundPeriod",
								"$$heading":"2.1.5",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"startDate":{
								"$$name":"startDate",
								"$$heading":"2.1.5.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"endDate":{
								"$$name":"endDate",
								"$$heading":"2.1.5.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"dateCreditorDebtorInstitutionRecordedRRO":{
								"$$name":"dateCreditorDebtorInstitutionRecordedRRO",
								"$$heading":"2.1.6",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"numberMonths":{
								"$$name":"numberMonths",
								"$$heading":"2.1.7",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"double",
								"$$uuid":0,
								"$$hasData":false
							},
							"RefundAmount":{
								"$$name":"RefundAmount",
								"$$heading":"2.1.8",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"amount":{
								"$$name":"amount",
								"$$heading":"2.1.8.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.8.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"replyContestation":{
								"$$name":"replyContestation",
								"$$heading":"2.1.9",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							},
							"PleaseFillInFollowingIfReplyContestation02":{
								"$$name":"PleaseFillInFollowingIfReplyContestation02",
								"$$heading":"2.1.10",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"RefundPeriod":{
								"$$name":"RefundPeriod",
								"$$heading":"2.1.10.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"startDate":{
								"$$name":"startDate",
								"$$heading":"2.1.10.1.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"endDate":{
								"$$name":"endDate",
								"$$heading":"2.1.10.1.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"RefundAmount":{
								"$$name":"RefundAmount",
								"$$heading":"2.1.10.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"amount":{
								"$$name":"amount",
								"$$heading":"2.1.10.2.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.10.2.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							}
							}
							},
							"PleaseFillInFollowingIfReplyContestation03":{
								"$$name":"PleaseFillInFollowingIfReplyContestation03",
								"$$heading":"2.1.11",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"additionalInformation":{
								"$$name":"additionalInformation",
								"$$heading":"2.1.11.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minLength":"1", "maxLength":"500" },
								"$$type":"string",
								"$$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}
			 ],
			"EESSIReplyContestationType":
			 [
						{name: "["+"01"+"] Contestation accepted - individual overpayments removed from DA071", value: "01$", ticked: false},
						{name: "["+"02"+"] Contestation accepted partially - individual overpayment adjusted", value: "02$", ticked: false},
						{name: "["+"03"+"] Further information provided", value: "03$", ticked: false}
			 ],
			"structureEnd": {}
		};
		
		var ERROR_MESSAGES =
		{
			"section": "section",
			"field": "field",	
			"requiresdata": "requires data",
			"invalidformat": "has invalid formatted data",
			"norestriction": "does not comply with restriction"
		};
		
		var LOCALE =
		{
			"Add": "Add",
			"Translate": "Translate"
		};
		
		</script>	
	</div>

</body>
</html>