lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master c19e2f4 2/4: Add a new element for input vers


From: Greg Chicares
Subject: [lmi-commits] [lmi] master c19e2f4 2/4: Add a new element for input version 9
Date: Mon, 2 Jul 2018 06:29:49 -0400 (EDT)

branch: master
commit c19e2f41bd906da1ec8eae5265b9dcc52e7f3380
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Add a new element for input version 9
    
    Added <AdditionalReports>, which is presently unused. This may someday
    replace the unused <SupplementalIllustrationType>, which permits only an
    enumerated set of extra reports. Being of a general string type, the new
    element allows an extensible set of reports, which might someday be
    designed and stored by end users. "Additional" in the name distinguishes
    new reports from the "Supplemental" report already supported.
---
 cell.rnc   |  2 ++
 cell.xsd   |  6 ++++++
 input.cpp  |  2 ++
 input.hpp  |  1 +
 sample.cns | 33 ++++++++++++++++++---------------
 sample.ill | 11 ++++++-----
 6 files changed, 35 insertions(+), 20 deletions(-)

diff --git a/cell.rnc b/cell.rnc
index 6804f9b..cb2cca9 100644
--- a/cell.rnc
+++ b/cell.rnc
@@ -30,6 +30,8 @@ cell_element = element cell
 
     ,## Accidental death benefit: elected or not.
      element AccidentalDeathBenefit           {yes_or_no}
+    ,## * Selections from a list of stored reports. Default: empty string.
+     element AdditionalReports                {text}
     ,## Insured's address: number and street.
      element Address                          {text}
     ,## Agent's address: number and street.
diff --git a/cell.xsd b/cell.xsd
index 7915051..f56d09f 100644
--- a/cell.xsd
+++ b/cell.xsd
@@ -40,6 +40,7 @@
     <xs:complexType>
       <xs:sequence>
         <xs:element ref="AccidentalDeathBenefit"/>
+        <xs:element ref="AdditionalReports"/>
         <xs:element ref="Address"/>
         <xs:element ref="AgentAddress"/>
         <xs:element ref="AgentCity"/>
@@ -248,6 +249,11 @@
       <xs:documentation>Accidental death benefit: elected or 
not.</xs:documentation>
     </xs:annotation>
   </xs:element>
+  <xs:element name="AdditionalReports" type="xs:string">
+    <xs:annotation>
+      <xs:documentation>* Selections from a list of stored reports. Default: 
empty string.</xs:documentation>
+    </xs:annotation>
+  </xs:element>
   <xs:element name="Address" type="xs:string">
     <xs:annotation>
       <xs:documentation>Insured's address: number and 
street.</xs:documentation>
diff --git a/input.cpp b/input.cpp
index 5c2fe96..dbd49a6 100644
--- a/input.cpp
+++ b/input.cpp
@@ -205,6 +205,7 @@ Input::Input()
     ,HoneymoonValueSpread             ("0")
     ,FundAllocations                  ("0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 
0 0 0 0 0 0 0 0 0 0 0")
     ,CashValueEnhancementRate         ("0")
+//    ,AdditionalReports
 //    ,SupplementalIllustrationType
 //    ,SplitDollarAccumulateInterest
     ,SplitDollarLoanRate              ("0")
@@ -452,6 +453,7 @@ void Input::AscribeMembers()
     ascribe("FundAllocations"                       , &Input::FundAllocations  
                     );
     ascribe("CashValueEnhancementRate"              , 
&Input::CashValueEnhancementRate              );
 
+    ascribe("AdditionalReports"                     , 
&Input::AdditionalReports                     );
     ascribe("SupplementalIllustrationType"          , 
&Input::SupplementalIllustrationType          );
     ascribe("SplitDollarAccumulateInterest"         , 
&Input::SplitDollarAccumulateInterest         );
     ascribe("SplitDollarLoanRate"                   , 
&Input::SplitDollarLoanRate                   );
diff --git a/input.hpp b/input.hpp
index 2bf71ca..da174ec 100644
--- a/input.hpp
+++ b/input.hpp
@@ -403,6 +403,7 @@ class LMI_SO Input final
     numeric_sequence         HoneymoonValueSpread            ;
     datum_string             FundAllocations                 ; // INPUT !! 
http://savannah.nongnu.org/support/?104481
     numeric_sequence         CashValueEnhancementRate        ;
+    datum_string             AdditionalReports               ;
     mce_suppl_illus_type     SupplementalIllustrationType    ;
     mce_yes_or_no            SplitDollarAccumulateInterest   ;
     numeric_sequence         SplitDollarLoanRate             ;
diff --git a/sample.cns b/sample.cns
index eb571bd..0964522 100644
--- a/sample.cns
+++ b/sample.cns
@@ -3,6 +3,7 @@
   <case_default>
     <cell version="9">
       <AccidentalDeathBenefit>No</AccidentalDeathBenefit>
+      <AdditionalReports/>
       <Address/>
       <AgentAddress>*** REQUIRED FIELD MISSING ***</AgentAddress>
       <AgentCity>*** REQUIRED FIELD MISSING ***</AgentCity>
@@ -34,12 +35,12 @@
       <CountryCoiMultiplier>1</CountryCoiMultiplier>
       <CreateSupplementalReport>No</CreateSupplementalReport>
       <CurrentCoiMultiplier>1</CurrentCoiMultiplier>
-      <DateOfBirth>2441862</DateOfBirth>
+      <DateOfBirth>2441865</DateOfBirth>
       <DeathBenefitOption>a</DeathBenefitOption>
       <DefinitionOfLifeInsurance>CVAT</DefinitionOfLifeInsurance>
       <DefinitionOfMaterialChange>Unnecessary 
premium</DefinitionOfMaterialChange>
       <Dumpin>0</Dumpin>
-      <EffectiveDate>2458298</EffectiveDate>
+      <EffectiveDate>2458301</EffectiveDate>
       <EffectiveDateToday>No</EffectiveDateToday>
       <EmployeeClass/>
       <ExperienceRatingInitialKFactor>1</ExperienceRatingInitialKFactor>
@@ -63,7 +64,7 @@
       <IndividualPaymentStrategy>PmtInputScalar</IndividualPaymentStrategy>
       <Inforce7702AAmountsPaidHistory>0</Inforce7702AAmountsPaidHistory>
       <InforceAnnualTargetPremium>0</InforceAnnualTargetPremium>
-      <InforceAsOfDate>2458298</InforceAsOfDate>
+      <InforceAsOfDate>2458301</InforceAsOfDate>
       <InforceAvBeforeLastMc>0</InforceAvBeforeLastMc>
       <InforceContractMonth>0</InforceContractMonth>
       <InforceContractYear>0</InforceContractYear>
@@ -105,8 +106,8 @@
       <Internal1035ExchangeFromMec>No</Internal1035ExchangeFromMec>
       <Internal1035ExchangeTaxBasis>0</Internal1035ExchangeTaxBasis>
       <IssueAge>45</IssueAge>
-      <LastCoiReentryDate>2458298</LastCoiReentryDate>
-      <LastMaterialChangeDate>2458298</LastMaterialChangeDate>
+      <LastCoiReentryDate>2458301</LastCoiReentryDate>
+      <LastMaterialChangeDate>2458301</LastMaterialChangeDate>
       <ListBillDate>2440588</ListBillDate>
       <LoanRate>0.06</LoanRate>
       <LoanRateType>Fixed loan rate</LoanRateType>
@@ -201,6 +202,7 @@
   <class_defaults>
     <cell version="9">
       <AccidentalDeathBenefit>No</AccidentalDeathBenefit>
+      <AdditionalReports/>
       <Address/>
       <AgentAddress>*** REQUIRED FIELD MISSING ***</AgentAddress>
       <AgentCity>*** REQUIRED FIELD MISSING ***</AgentCity>
@@ -232,12 +234,12 @@
       <CountryCoiMultiplier>1</CountryCoiMultiplier>
       <CreateSupplementalReport>No</CreateSupplementalReport>
       <CurrentCoiMultiplier>1</CurrentCoiMultiplier>
-      <DateOfBirth>2441862</DateOfBirth>
+      <DateOfBirth>2441865</DateOfBirth>
       <DeathBenefitOption>a</DeathBenefitOption>
       <DefinitionOfLifeInsurance>CVAT</DefinitionOfLifeInsurance>
       <DefinitionOfMaterialChange>Unnecessary 
premium</DefinitionOfMaterialChange>
       <Dumpin>0</Dumpin>
-      <EffectiveDate>2458298</EffectiveDate>
+      <EffectiveDate>2458301</EffectiveDate>
       <EffectiveDateToday>No</EffectiveDateToday>
       <EmployeeClass/>
       <ExperienceRatingInitialKFactor>1</ExperienceRatingInitialKFactor>
@@ -261,7 +263,7 @@
       <IndividualPaymentStrategy>PmtInputScalar</IndividualPaymentStrategy>
       <Inforce7702AAmountsPaidHistory>0</Inforce7702AAmountsPaidHistory>
       <InforceAnnualTargetPremium>0</InforceAnnualTargetPremium>
-      <InforceAsOfDate>2458298</InforceAsOfDate>
+      <InforceAsOfDate>2458301</InforceAsOfDate>
       <InforceAvBeforeLastMc>0</InforceAvBeforeLastMc>
       <InforceContractMonth>0</InforceContractMonth>
       <InforceContractYear>0</InforceContractYear>
@@ -303,8 +305,8 @@
       <Internal1035ExchangeFromMec>No</Internal1035ExchangeFromMec>
       <Internal1035ExchangeTaxBasis>0</Internal1035ExchangeTaxBasis>
       <IssueAge>45</IssueAge>
-      <LastCoiReentryDate>2458298</LastCoiReentryDate>
-      <LastMaterialChangeDate>2458298</LastMaterialChangeDate>
+      <LastCoiReentryDate>2458301</LastCoiReentryDate>
+      <LastMaterialChangeDate>2458301</LastMaterialChangeDate>
       <ListBillDate>2440588</ListBillDate>
       <LoanRate>0.06</LoanRate>
       <LoanRateType>Fixed loan rate</LoanRateType>
@@ -399,6 +401,7 @@
   <particular_cells>
     <cell version="9">
       <AccidentalDeathBenefit>No</AccidentalDeathBenefit>
+      <AdditionalReports/>
       <Address/>
       <AgentAddress>*** REQUIRED FIELD MISSING ***</AgentAddress>
       <AgentCity>*** REQUIRED FIELD MISSING ***</AgentCity>
@@ -430,12 +433,12 @@
       <CountryCoiMultiplier>1</CountryCoiMultiplier>
       <CreateSupplementalReport>No</CreateSupplementalReport>
       <CurrentCoiMultiplier>1</CurrentCoiMultiplier>
-      <DateOfBirth>2441862</DateOfBirth>
+      <DateOfBirth>2441865</DateOfBirth>
       <DeathBenefitOption>a</DeathBenefitOption>
       <DefinitionOfLifeInsurance>CVAT</DefinitionOfLifeInsurance>
       <DefinitionOfMaterialChange>Unnecessary 
premium</DefinitionOfMaterialChange>
       <Dumpin>0</Dumpin>
-      <EffectiveDate>2458298</EffectiveDate>
+      <EffectiveDate>2458301</EffectiveDate>
       <EffectiveDateToday>No</EffectiveDateToday>
       <EmployeeClass/>
       <ExperienceRatingInitialKFactor>1</ExperienceRatingInitialKFactor>
@@ -459,7 +462,7 @@
       <IndividualPaymentStrategy>PmtInputScalar</IndividualPaymentStrategy>
       <Inforce7702AAmountsPaidHistory>0</Inforce7702AAmountsPaidHistory>
       <InforceAnnualTargetPremium>0</InforceAnnualTargetPremium>
-      <InforceAsOfDate>2458298</InforceAsOfDate>
+      <InforceAsOfDate>2458301</InforceAsOfDate>
       <InforceAvBeforeLastMc>0</InforceAvBeforeLastMc>
       <InforceContractMonth>0</InforceContractMonth>
       <InforceContractYear>0</InforceContractYear>
@@ -501,8 +504,8 @@
       <Internal1035ExchangeFromMec>No</Internal1035ExchangeFromMec>
       <Internal1035ExchangeTaxBasis>0</Internal1035ExchangeTaxBasis>
       <IssueAge>45</IssueAge>
-      <LastCoiReentryDate>2458298</LastCoiReentryDate>
-      <LastMaterialChangeDate>2458298</LastMaterialChangeDate>
+      <LastCoiReentryDate>2458301</LastCoiReentryDate>
+      <LastMaterialChangeDate>2458301</LastMaterialChangeDate>
       <ListBillDate>2440588</ListBillDate>
       <LoanRate>0.06</LoanRate>
       <LoanRateType>Fixed loan rate</LoanRateType>
diff --git a/sample.ill b/sample.ill
index 6678ec5..7f222b3 100644
--- a/sample.ill
+++ b/sample.ill
@@ -2,6 +2,7 @@
 <single_cell_document version="9" data_source="1">
   <cell version="9">
     <AccidentalDeathBenefit>No</AccidentalDeathBenefit>
+    <AdditionalReports/>
     <Address/>
     <AgentAddress>*** REQUIRED FIELD MISSING ***</AgentAddress>
     <AgentCity>*** REQUIRED FIELD MISSING ***</AgentCity>
@@ -33,12 +34,12 @@
     <CountryCoiMultiplier>1</CountryCoiMultiplier>
     <CreateSupplementalReport>No</CreateSupplementalReport>
     <CurrentCoiMultiplier>1</CurrentCoiMultiplier>
-    <DateOfBirth>2441862</DateOfBirth>
+    <DateOfBirth>2441865</DateOfBirth>
     <DeathBenefitOption>a</DeathBenefitOption>
     <DefinitionOfLifeInsurance>CVAT</DefinitionOfLifeInsurance>
     <DefinitionOfMaterialChange>Unnecessary 
premium</DefinitionOfMaterialChange>
     <Dumpin>0</Dumpin>
-    <EffectiveDate>2458298</EffectiveDate>
+    <EffectiveDate>2458301</EffectiveDate>
     <EffectiveDateToday>No</EffectiveDateToday>
     <EmployeeClass/>
     <ExperienceRatingInitialKFactor>1</ExperienceRatingInitialKFactor>
@@ -62,7 +63,7 @@
     <IndividualPaymentStrategy>PmtInputScalar</IndividualPaymentStrategy>
     <Inforce7702AAmountsPaidHistory>0</Inforce7702AAmountsPaidHistory>
     <InforceAnnualTargetPremium>0</InforceAnnualTargetPremium>
-    <InforceAsOfDate>2458298</InforceAsOfDate>
+    <InforceAsOfDate>2458301</InforceAsOfDate>
     <InforceAvBeforeLastMc>0</InforceAvBeforeLastMc>
     <InforceContractMonth>0</InforceContractMonth>
     <InforceContractYear>0</InforceContractYear>
@@ -104,8 +105,8 @@
     <Internal1035ExchangeFromMec>No</Internal1035ExchangeFromMec>
     <Internal1035ExchangeTaxBasis>0</Internal1035ExchangeTaxBasis>
     <IssueAge>45</IssueAge>
-    <LastCoiReentryDate>2458298</LastCoiReentryDate>
-    <LastMaterialChangeDate>2458298</LastMaterialChangeDate>
+    <LastCoiReentryDate>2458301</LastCoiReentryDate>
+    <LastMaterialChangeDate>2458301</LastMaterialChangeDate>
     <ListBillDate>2440588</ListBillDate>
     <LoanRate>0.06</LoanRate>
     <LoanRateType>Fixed loan rate</LoanRateType>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]