<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/html">
<head>
<title>Inventory of months relating to reimbursement on the basis of fixed amounts (IMO)</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="S100" sedPackage="Sector Components/Sickness/S100" 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 = "ControllerS100" class="met-root">
		<div>
			<h3 class="sedHeadingAC">S100 - Inventory of months relating to reimbursement on the basis of fixed amounts (IMO) <br/> Articles 63, 64, 65, 66, 67 of Regulation (EC) No 987/2009</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.S100; metaSection = metaModel.S100" class="wb-stretch">
				<div id = "content-angular_S100" class="content-angular container-fluid" ng-model-options="{ debounce: 250 }" ng-form="S100" sedName="S100" sedPackage="Sector Components/Sickness/S100" sedGVer="4" sedVer="0" sedPatch="16">
					<div class="tab-content met-content" ng-init="sedForm = S100">
						<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.GlobalNoteIMO; metaSection = $parent.metaSection.GlobalNoteIMO" 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 IMO <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.globalIMOReferenceCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalIMOReferenceCreditorLiaisonBody.$$warning && !metaSection.globalIMOReferenceCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3">1.1. Global IMO Reference Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="Unique number of the claim (IMO) given by the creditor liaison body." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.globalIMOReferenceCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalIMOReferenceCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalIMOReferenceCreditorLiaisonBody.$$error">{{metaSection.globalIMOReferenceCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalIMOReferenceCreditorLiaisonBody.$$warning && !metaSection.globalIMOReferenceCreditorLiaisonBody.$$error">{{metaSection.globalIMOReferenceCreditorLiaisonBody.$$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.totalNumberIndividualClaims.$$error,'has-warning': validateForm && metaSection.totalNumberIndividualClaims.$$warning && !metaSection.totalNumberIndividualClaims.$$error}">
									<label class="control-label col-xs-3">1.2. Total number of individual claims <i>*</i></label>
									<div class="tooltip-handler" tooltip="Total number of claims shall be equal to number of individual claims provided in section 2." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7"><input ng-model="section.totalNumberIndividualClaims" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.totalNumberIndividualClaims)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.totalNumberIndividualClaims.$$error">{{metaSection.totalNumberIndividualClaims.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.totalNumberIndividualClaims.$$warning && !metaSection.totalNumberIndividualClaims.$$error">{{metaSection.totalNumberIndividualClaims.$$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.totalNumberMonths.$$error,'has-warning': validateForm && metaSection.totalNumberMonths.$$warning && !metaSection.totalNumberMonths.$$error}">
									<label class="control-label col-xs-3">1.3. Total number of months <i>*</i></label>
									<div class="tooltip-handler" tooltip="Total number of months equals the sum of all months in the individual part of the claim." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7"><input ng-model="section.totalNumberMonths" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.totalNumberMonths)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.totalNumberMonths.$$error">{{metaSection.totalNumberMonths.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.totalNumberMonths.$$warning && !metaSection.totalNumberMonths.$$error">{{metaSection.totalNumberMonths.$$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.financialYear.$$error,'has-warning': validateForm && metaSection.financialYear.$$warning && !metaSection.financialYear.$$error}">
									<label class="control-label col-xs-3">1.4. Financial year <i>*</i></label>
									<div class="col-xs-7"><input ng-model="section.financialYear" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.financialYear)}}" /><br/></div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.financialYear.$$error">{{metaSection.financialYear.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.financialYear.$$warning && !metaSection.financialYear.$$error">{{metaSection.financialYear.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.LumpSumLegalCategory; metaSection = $parent.metaSection.LumpSumLegalCategory" 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. Lump sum legal category <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.lumpSumCategoryBasedPersonStatus.$$error,'has-warning': validateForm && metaSection.lumpSumCategoryBasedPersonStatus.$$warning && !metaSection.lumpSumCategoryBasedPersonStatus.$$error}">
									<label class="control-label col-xs-3">1.5.1. Lump sum category based on the person status <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.lumpSumCategoryBasedPersonStatus" ng-repeat="option in input.LumpSumLegalCategoryType track by $index" type="enumCodesSingle" id="field_{{getNextUUID(metaSection.lumpSumCategoryBasedPersonStatus)}}">
										   <input id="1.5.1.{{getNextUUID(metaSection.lumpSumCategoryBasedPersonStatus)}}{{option.value}}" type="radio" ng-model="section.lumpSumCategoryBasedPersonStatus" ng-disabled="false" value="{{option.value}}"> <label for="1.5.1.{{getNextUUID(metaSection.lumpSumCategoryBasedPersonStatus)}}{{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.lumpSumCategoryBasedPersonStatus.$$error">{{metaSection.lumpSumCategoryBasedPersonStatus.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.lumpSumCategoryBasedPersonStatus.$$warning && !metaSection.lumpSumCategoryBasedPersonStatus.$$error">{{metaSection.lumpSumCategoryBasedPersonStatus.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.Art63p2a; metaSection = $parent.metaSection.Art63p2a" 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.2. Please fill in the following if "Lump sum legal category" = "01 - IR 987/2009, Art 63, 2.a" :
									</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.lumpSumCategory.$$error,'has-warning': validateForm && metaSection.lumpSumCategory.$$warning && !metaSection.lumpSumCategory.$$error}">
									<label class="control-label col-xs-3">1.5.2.1. Lump sum category</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.lumpSumCategory" ng-repeat="option in input.LumpSumCategoryType track by $index" type="enumCodesSingle" id="field_{{getNextUUID(metaSection.lumpSumCategory)}}">
										   <input id="1.5.2.1.{{getNextUUID(metaSection.lumpSumCategory)}}{{option.value}}" type="radio" ng-model="section.lumpSumCategory" ng-disabled="false" value="{{option.value}}"> <label for="1.5.2.1.{{getNextUUID(metaSection.lumpSumCategory)}}{{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.lumpSumCategory.$$error">{{metaSection.lumpSumCategory.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.lumpSumCategory.$$warning && !metaSection.lumpSumCategory.$$error">{{metaSection.lumpSumCategory.$$warning}}</label>
								   </div>
								</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.Art63p2b; metaSection = $parent.metaSection.Art63p2b" 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.3. Please fill in the following if "Lump sum legal category" = "02 - IR 987/2009, Art 63, 2.b" :
									</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.lumpSumCategory.$$error,'has-warning': validateForm && metaSection.lumpSumCategory.$$warning && !metaSection.lumpSumCategory.$$error}">
									<label class="control-label col-xs-3">1.5.3.1. Lump sum category</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.lumpSumCategory" ng-repeat="option in input.LumpSumCategoryType track by $index" type="enumCodesSingle" id="field_{{getNextUUID(metaSection.lumpSumCategory)}}">
										   <input id="1.5.3.1.{{getNextUUID(metaSection.lumpSumCategory)}}{{option.value}}" type="radio" ng-model="section.lumpSumCategory" ng-disabled="false" value="{{option.value}}"> <label for="1.5.3.1.{{getNextUUID(metaSection.lumpSumCategory)}}{{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.lumpSumCategory.$$error">{{metaSection.lumpSumCategory.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.lumpSumCategory.$$warning && !metaSection.lumpSumCategory.$$error">{{metaSection.lumpSumCategory.$$warning}}</label>
								   </div>
								</div>
							</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="tooltip-handler" tooltip="Date when the current SED is submitted." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7" ng-controller="DatePicker1">
										<p class="input-group">
											<span ng-class="{'met-datepicker-up': metaSection.dateSubmission.$$elemNo >= metaModel.S100.$$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.IndividualIMOs; metaSection = $parent.metaSection.IndividualIMOs" 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 IMOs <i>*</i>
									</label>
									<div class="SECTION_ROW_WHITESPACE"></div>
								</div>
							<div style="vertical-align:bottom" met_start_tag ng-repeat="section in section.IndividualIMO" ng-init = "metaSection = metaSection.IndividualIMO[$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 IMO <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.globalIMOReferenceCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.globalIMOReferenceCreditorLiaisonBody.$$warning && !metaSection.globalIMOReferenceCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3">2.1.3.1. Global IMO Reference Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="Unique number of the claim (IMO) given by the creditor liaison body." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.globalIMOReferenceCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.globalIMOReferenceCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.globalIMOReferenceCreditorLiaisonBody.$$error">{{metaSection.globalIMOReferenceCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.globalIMOReferenceCreditorLiaisonBody.$$warning && !metaSection.globalIMOReferenceCreditorLiaisonBody.$$error">{{metaSection.globalIMOReferenceCreditorLiaisonBody.$$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.individualIMONumberCreditorLiaisonBody.$$error,'has-warning': validateForm && metaSection.individualIMONumberCreditorLiaisonBody.$$warning && !metaSection.individualIMONumberCreditorLiaisonBody.$$error}">
									<label class="control-label col-xs-3">2.1.3.2. Individual IMO Number Creditor Liaison Body <i>*</i></label>
									<div class="tooltip-handler" tooltip="An unique reference number of the individual claim (IMO) given by the creditor liaison body." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<div class="col-xs-7">
										<input ng-model="section.individualIMONumberCreditorLiaisonBody" ng-disabled="false" class="form-control" type="text" 	value="" id="field_{{getNextUUID(metaSection.individualIMONumberCreditorLiaisonBody)}}" /><br/>
									</div>
									
									<label class="control-label col-xs-2 error-msg warning-msg" ng-show="validateForm && metaSection.individualIMONumberCreditorLiaisonBody.$$error">{{metaSection.individualIMONumberCreditorLiaisonBody.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.individualIMONumberCreditorLiaisonBody.$$warning && !metaSection.individualIMONumberCreditorLiaisonBody.$$error">{{metaSection.individualIMONumberCreditorLiaisonBody.$$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.S100.$$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 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.entitlementDocument.$$error,'has-warning': validateForm && metaSection.entitlementDocument.$$warning && !metaSection.entitlementDocument.$$error}">
									<label class="control-label col-xs-3">2.1.5. Entitlement document <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.entitlementDocument" ng-repeat="option in input.SicknessEntitlementDocumentCodeContentTypeLumpSumType track by $index" type="enumCodesSingle" id="field_{{getNextUUID(metaSection.entitlementDocument)}}">
										   <input id="2.1.5.{{getNextUUID(metaSection.entitlementDocument)}}{{option.value}}" type="radio" ng-model="section.entitlementDocument" ng-disabled="false" value="{{option.value}}"> <label for="2.1.5.{{getNextUUID(metaSection.entitlementDocument)}}{{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.entitlementDocument.$$error">{{metaSection.entitlementDocument.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.entitlementDocument.$$warning && !metaSection.entitlementDocument.$$error">{{metaSection.entitlementDocument.$$warning}}</label>
								   </div>
								</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.ValidityPeriod; metaSection = $parent.metaSection.ValidityPeriod" 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.6. Validity period <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="Day from which validity period starts." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></div>
									</label>
								</div>
							<hr/><div>
								<input type="radio" ng-model="metaSection.$$choice_1" value = "0" ng-change='validateFromChoice()' />
								<span met_label>Fixed period</span><i>*</i> <span style="vertical-align:bottom" class="tooltip-handler" tooltip="A period that has a known start and end date. The period may have already been completed or may still be to be completed." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></span>  <br/>
								<input type="radio" ng-model="metaSection.$$choice_1" value = "1" ng-change='validateFromChoice()' />
								<span met_label>Open period</span><i>*</i> <span style="vertical-align:bottom" class="tooltip-handler" tooltip="A period which currently has no known end date." tooltip-enable="true" tooltip-placement="right" tooltip-trigger="click"></span>  <br/>
							</div><hr/>
							<div style="vertical-align:bottom" met_start_tag ng-controller = "SectionController" ng-init = "section = $parent.section.FixedPeriod; metaSection = $parent.metaSection.FixedPeriod" ng-hide = "$parent.metaSection.$$choice_1 != 0" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<!-- 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.6.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.S100.$$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.6.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.S100.$$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>
								<hr />
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag ng-controller = "SectionController" ng-init = "section = $parent.section.OpenPeriod; metaSection = $parent.metaSection.OpenPeriod" ng-hide = "$parent.metaSection.$$choice_1 != 1" id="section_{{getNextUUID(metaSection)}}">
								<div style="vertical-align:bottom" met_start_tag class="met_lazy" ng-if="::shouldLoadSection">
								<!-- 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.typeOpenPeriod.$$error,'has-warning': validateForm && metaSection.typeOpenPeriod.$$warning && !metaSection.typeOpenPeriod.$$error}">
									<label class="control-label col-xs-3">2.1.6.2.1. Type of Open Period <i>*</i></label>
									<div class="tooltip-handler" tooltip="The type 'Open-Ended Period' is a period where the end date is not known and will not be known until it is completed, an example being a 'period for which a person is unable to walk'
The type 'End date of the period is unknown' is a period where the period has ended but the end date is not known and cannot be provided." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<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.typeOpenPeriod" ng-repeat="option in input.EESSIOpenPeriodType track by $index" type="enumCodesSingle" id="field_{{getNextUUID(metaSection.typeOpenPeriod)}}">
										   <input id="2.1.6.2.1.{{getNextUUID(metaSection.typeOpenPeriod)}}{{option.value}}" type="radio" ng-model="section.typeOpenPeriod" ng-disabled="false" value="{{option.value}}"> <label for="2.1.6.2.1.{{getNextUUID(metaSection.typeOpenPeriod)}}{{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.typeOpenPeriod.$$error">{{metaSection.typeOpenPeriod.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.typeOpenPeriod.$$warning && !metaSection.typeOpenPeriod.$$error">{{metaSection.typeOpenPeriod.$$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.startDate.$$error,'has-warning': validateForm && metaSection.startDate.$$warning && !metaSection.startDate.$$error}">
									<label class="control-label col-xs-3">2.1.6.2.2. 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.S100.$$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>
								<hr />
							</div>
							</div>
							</div>
							</div>
							<div style="vertical-align:bottom" met_start_tag  ng-controller = "SectionController" ng-init = "section = $parent.section.AccountingPeriod; metaSection = $parent.metaSection.AccountingPeriod" 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.7. Accounting period <i>*</i>
										<div style="vertical-align:bottom" class="tooltip-handler" tooltip="The period for which the inventory is submitted. The accounting period equals the period for which months can be claimed." 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.7.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.S100.$$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.7.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.S100.$$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.numberMonths.$$error,'has-warning': validateForm && metaSection.numberMonths.$$warning && !metaSection.numberMonths.$$error}">
									<label class="control-label col-xs-3">2.1.8. Number of months <i>*</i></label>
									<div class="tooltip-handler" tooltip="Number of months claimed within individual claim. Value must be between 1 and 12." tooltip-enable="true" tooltip-placement="left" tooltip-trigger="click"></div>
									<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 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.dateIssueIMOInstitutionInPlaceResidence.$$error,'has-warning': validateForm && metaSection.dateIssueIMOInstitutionInPlaceResidence.$$warning && !metaSection.dateIssueIMOInstitutionInPlaceResidence.$$error}">
									<label class="control-label col-xs-3">2.1.9. Date of issue IMO of institution in place of residence <i>*</i></label>
									<div class="tooltip-handler" tooltip="Date of issue of IMO of institution in place of residence." 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.dateIssueIMOInstitutionInPlaceResidence.$$elemNo >= metaModel.S100.$$elementsNo - 4}">
												<input type="text" class="form-control" datepicker-popup-met ng-model="section.dateIssueIMOInstitutionInPlaceResidence" 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.dateIssueIMOInstitutionInPlaceResidence)}}" />
											</span>
											<span class="input-group-btn">
												<button ng-class="{'has-error-date-button': validateForm && metaSection.dateIssueIMOInstitutionInPlaceResidence.$$error, 'has-warning-date-button': validateForm && !metaSection.dateIssueIMOInstitutionInPlaceResidence.$$error && metaSection.dateIssueIMOInstitutionInPlaceResidence.$$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.dateIssueIMOInstitutionInPlaceResidence.$$error">{{metaSection.dateIssueIMOInstitutionInPlaceResidence.$$error}}</label>
									<label class="control-label col-xs-2 warning-msg" ng-show="validateForm && metaSection.dateIssueIMOInstitutionInPlaceResidence.$$warning && !metaSection.dateIssueIMOInstitutionInPlaceResidence.$$error">{{metaSection.dateIssueIMOInstitutionInPlaceResidence.$$warning}}</label>
								   </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 IMO </td>
										<td><div style="float:right">
											<button type="button" data-section-count="1" class="btn-link section-btn-link" ng-click="addSection($parent.section.IndividualIMO, $parent.metaSection.IndividualIMO, $index)">
												<span>{{locale['Add']}}</span>
											</button>
											<button type="button" data-section-count="1" class="close section-btn-close" ng-click="removeSection($parent.section.IndividualIMO, $parent.metaSection.IndividualIMO, $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("ControllerS100",["$scope", ControllerS100]);	
		});
		*/
		
		angular.module("sedAngularApp").lazy.controller("ControllerS100",["$scope", ControllerS100]);
		
		function ControllerS100($scope){
			
			$scope.VM = { splitterPosition:1 };
			
			$scope.contentDiv = "content-angular_S100";
			
			$scope.errors = new Array();
		
			$scope.MODEL = {
	"S100":{
		"sedPackage":"Sector Components/Sickness/S100",
		"sedGVer":"4",
		"sedVer":"0",
		"GlobalNoteIMO":{
			"globalIMOReferenceCreditorLiaisonBody":"",
			"totalNumberIndividualClaims":"",
			"totalNumberMonths":"",
			"financialYear":"",
			"LumpSumLegalCategory":{
				"lumpSumCategoryBasedPersonStatus":"",
				"Art63p2a":{
					"lumpSumCategory":""
				},
				"Art63p2b":{
					"lumpSumCategory":""
				}
			},
			"dateSubmission":""
		},
		"IndividualIMOs":{
			"IndividualIMO":[{
				"IDCreditorInstitution":{
					"institutionID":"",
					"institutionName":""
				},
				"IDDebtorInstitution":{
					"institutionID":"",
					"institutionName":""
				},
				"References":{
					"globalIMOReferenceCreditorLiaisonBody":"",
					"individualIMONumberCreditorLiaisonBody":""
				},
				"PersonReceivingBenefits":{
					"PersonInformation":{
						"familyName":"",
						"forename":"",
						"dateBirth":"",
						"sex":""
					},
					"familyNameAtBirth":"",
					"forenameAtBirth":"",
					"PersonIdentificationNumber":{
						"pINPersonInCompetentMemberState":"",
						"pINPersonInMemberStateStayOrResidence":""
					}
				},
				"entitlementDocument":"",
				"ValidityPeriod":{
					"FixedPeriod":{
						"startDate":"",
						"endDate":""
					},
					"OpenPeriod":{
						"typeOpenPeriod":"",
						"startDate":""
					}
				},
				"AccountingPeriod":{
					"startDate":"",
					"endDate":""
				},
				"numberMonths":"",
				"dateIssueIMOInstitutionInPlaceResidence":""
			}]
		}
	}
};
		
			$scope.META_MODEL = {
					"S100":{
							"$$name" : "S100",
							"$$heading":"",
							"$$mandatory":true, 
							"$$repetition":false, 
							"$$type":"sed",
							"$$uuid":"S100",
							"$$hasData":false,
							"GlobalNoteIMO":{
								"$$name":"GlobalNoteIMO",
								"$$heading":"1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"globalIMOReferenceCreditorLiaisonBody":{
								"$$name":"globalIMOReferenceCreditorLiaisonBody",
								"$$heading":"1.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"totalNumberIndividualClaims":{
								"$$name":"totalNumberIndividualClaims",
								"$$heading":"1.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "minInclusive":"0" },
								"$$type":"int",
								"$$uuid":0,
								"$$hasData":false
							},
							"totalNumberMonths":{
								"$$name":"totalNumberMonths",
								"$$heading":"1.3",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"int",
								"$$uuid":0,
								"$$hasData":false
							},
							"financialYear":{
								"$$name":"financialYear",
								"$$heading":"1.4",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$hasRestrictions":true,
								"$$restrictions": { "pattern":"(18[5-9]\\d|19\\d\\d|2[0|1]\\d\\d)" },
								"$$type":"int",
								"$$uuid":0,
								"$$hasData":false
							},
							"LumpSumLegalCategory":{
								"$$name":"LumpSumLegalCategory",
								"$$heading":"1.5",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"lumpSumCategoryBasedPersonStatus":{
								"$$name":"lumpSumCategoryBasedPersonStatus",
								"$$heading":"1.5.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							},
							"Art63p2a":{
								"$$name":"Art63p2a",
								"$$heading":"1.5.2",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"lumpSumCategory":{
								"$$name":"lumpSumCategory",
								"$$heading":"1.5.2.1",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"Art63p2b":{
								"$$name":"Art63p2b",
								"$$heading":"1.5.3",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"lumpSumCategory":{
								"$$name":"lumpSumCategory",
								"$$heading":"1.5.3.1",
								"$$mandatory":false,
								"$$draftCritical":false,
								"$$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
							}
							},
							"IndividualIMOs":{
								"$$name":"IndividualIMOs",
								"$$heading":"2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"IndividualIMO":[{
								"$$name":"IndividualIMO",
								"$$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,
							"globalIMOReferenceCreditorLiaisonBody":{
								"$$name":"globalIMOReferenceCreditorLiaisonBody",
								"$$heading":"2.1.3.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"string",
								"$$uuid":0,
								"$$hasData":false
							},
							"individualIMONumberCreditorLiaisonBody":{
								"$$name":"individualIMONumberCreditorLiaisonBody",
								"$$heading":"2.1.3.2",
								"$$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
							}
							}
							},
							"entitlementDocument":{
								"$$name":"entitlementDocument",
								"$$heading":"2.1.5",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							},
							"ValidityPeriod":{
								"$$name":"ValidityPeriod",
								"$$heading":"2.1.6",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"FixedPeriod":{
								"$$name":"FixedPeriod",
								"$$heading":"2.1.6.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false, 
								"$$choice":1,
								"$$choiceIndex":0,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"startDate":{
								"$$name":"startDate",
								"$$heading":"2.1.6.1.1",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"endDate":{
								"$$name":"endDate",
								"$$heading":"2.1.6.1.2",
								"$$mandatory":true,
								"$$draftCritical":true,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"OpenPeriod":{
								"$$name":"OpenPeriod",
								"$$heading":"2.1.6.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false, 
								"$$choice":1,
								"$$choiceIndex":1,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"typeOpenPeriod":{
								"$$name":"typeOpenPeriod",
								"$$heading":"2.1.6.2.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"enum",
								"$$uuid":0,
								"$$hasData":false
							},
							"startDate":{
								"$$name":"startDate",
								"$$heading":"2.1.6.2.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							}
							},
							"AccountingPeriod":{
								"$$name":"AccountingPeriod",
								"$$heading":"2.1.7",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"section",
								"$$uuid":0,
								"$$hasData":false,
							"startDate":{
								"$$name":"startDate",
								"$$heading":"2.1.7.1",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							},
							"endDate":{
								"$$name":"endDate",
								"$$heading":"2.1.7.2",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							},
							"numberMonths":{
								"$$name":"numberMonths",
								"$$heading":"2.1.8",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"int",
								"$$uuid":0,
								"$$hasData":false
							},
							"dateIssueIMOInstitutionInPlaceResidence":{
								"$$name":"dateIssueIMOInstitutionInPlaceResidence",
								"$$heading":"2.1.9",
								"$$mandatory":true,
								"$$draftCritical":false,
								"$$repetition":false,
								"$$isHidden":false,
								"$$type":"date",
								"$$uuid":0,
								"$$hasData":false
							}
							}]
							}
				}
			};
		}
		
		/* Without flags */
		var INPUT = 
		{
			"LumpSumLegalCategoryType":
			 [
						{name: "["+"01"+"] IR 987/2009, Art 63, 2.a", value: "01$", ticked: false},
						{name: "["+"02"+"] IR 987/2009, Art 63, 2.b", value: "02$", ticked: false},
						{name: "["+"03"+"] IR 574/72, Art. 94", value: "03$", ticked: false},
						{name: "["+"04"+"] IR 574/72, Art. 95", value: "04$", ticked: false}
			 ],
			"LumpSumCategoryType":
			 [
						{name: "["+"01"+"] IR 987/2009, Art 64, Age 0-19", value: "01$", ticked: false},
						{name: "["+"02"+"] IR 987/2009, Art 64, Age 20-64", value: "02$", ticked: false},
						{name: "["+"03"+"] IR 987/2009, Art 64, Age 65+", value: "03$", ticked: false}
			 ],
			"EESSISexType":
			 [
						{name: "["+"01"+"] Male", value: "01$", ticked: false},
						{name: "["+"02"+"] Female", value: "02$", ticked: false},
						{name: "["+"98"+"] Unknown", value: "98$", ticked: false}
			 ],
			"SicknessEntitlementDocumentCodeContentTypeLumpSumType":
			 [
						{name: "["+"01"+"] S1 - Registering for health care cover", value: "01$", ticked: false},
						{name: "["+"02"+"] S072 - Entitlement document - Residence", value: "02$", ticked: false},
						{name: "["+"03"+"] E109 - Certificate for the Registration of members of the employed or self-employed person\'s family", value: "03$", ticked: false},
						{name: "["+"04"+"] E121 - Certificate for the registration of pensioners", value: "04$", ticked: false}
			 ],
			"EESSIOpenPeriodType":
			 [
						{name: "["+"01"+"] Open-Ended Period", value: "01$", ticked: false},
						{name: "["+"98"+"] End date of the period is unknown", value: "98$", 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>