コード例 #1
0
ファイル: UnsolicitedModel.cs プロジェクト: Takezo72/CLAIM
 public UnsolicitedModel()
 {
     DateChirurgie       = DateModel.CreateNeighboringDateModel();
     DateConsultation    = DateModel.CreateNeighboringDateModel();
     DateRetourAuTravail = DateModel.CreateNeighboringDateModel();
     File     = new FileUploadModel();
     Transmis = false;
 }
コード例 #2
0
ファイル: FileReviewModel.cs プロジェクト: Takezo72/CLAIM
        public ReviewInvalidity()
        {
            PeriodeHospitalise = new PeriodModel(DateModel.CreateNeighboringDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeHospitalise.DeleteRequired = false;

            DatePrevue_Chirurgie = DateModel.CreateNeighboringDateModel();

            NewMedications = new List <MedicationModel> {
                new MedicationModel()
            };
            NewMedications[0].Index = 0;

            ChangeMedications = new List <MedicationModel> {
                new MedicationModel()
            };
            ChangeMedications[0].Index = 0;

            StopMedications = new List <MedicationModel> {
                new MedicationModel()
            };
            StopMedications[0].Index = 0;

            List <SliderBracket> brackets = new List <SliderBracket>()
            {
                new SliderBracket()
                {
                    BracketResourceManager = UIAccident.ResourceManager, BracketNameResource = nameof(UIAccident.IU39_3_1), MinValue = 0, MaxValue = 4
                },
                new SliderBracket()
                {
                    BracketResourceManager = UIAccident.ResourceManager, BracketNameResource = nameof(UIAccident.IU39_3_2), MinValue = 5, MaxValue = 7
                },
                new SliderBracket()
                {
                    BracketResourceManager = UIAccident.ResourceManager, BracketNameResource = nameof(UIAccident.IU39_3_3), MinValue = 8, MaxValue = 10
                }
            };

            IntensiteSymptomes = new SliderModel()
            {
                Name      = nameof(IntensiteSymptomes),
                MaxValue  = 10,
                MinValue  = 0,
                StepValue = 1,
                Value     = "0",

                BracketResourceManager = UIAccident.ResourceManager,
                BracketTitleResource   = nameof(UIAccident.IU39_3),

                Brackets = brackets
            };

            InfosNouveauMedecin     = new PhysicianModel(true);
            InfosMedecinSpecialiste = new SpecialistPhysicianModel();
        }
コード例 #3
0
ファイル: FileReviewModel.cs プロジェクト: Takezo72/CLAIM
        public ReviewEmployment()
        {
            PeriodeRetourTravail = new PeriodModel(DateModel.CreateNeighboringDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeRetourTravail.DateToRequired = false;
            PeriodeRetourTravail.DeleteRequired = false;

            DateRetourTravailConvenu = DateModel.CreateFutureDateModel();

            PeriodeTravailRemunere = new PeriodModel(DateModel.CreateNeighboringDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeTravailRemunere.DateToRequired = false;
            PeriodeTravailRemunere.DeleteRequired = false;

            PeriodeProgrammeEtudes = new PeriodModel(DateModel.CreateNeighboringDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeProgrammeEtudes.DateToRequired = false;
            PeriodeProgrammeEtudes.DeleteRequired = false;

            PeriodeProgrammeProfessionnel = new PeriodModel(DateModel.CreateNeighboringDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeProgrammeProfessionnel.DateToRequired = false;
            PeriodeProgrammeProfessionnel.DeleteRequired = false;
        }
コード例 #4
0
ファイル: InsuredClaimModel.cs プロジェクト: Takezo72/CLAIM
        public InsuredInvalidity()
        {
            DateDebutInvalidite      = DateModel.CreateLastFiveYearsDateModel();
            DateRetourTravailConvenu = DateModel.CreateFutureDateModel();

            PeriodeRetourTravail = new PeriodModel(DateModel.CreateLastFiveYearsDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeRetourTravail.DateToRequired = false;
            PeriodeRetourTravail.DeleteRequired = false;

            PeriodeTravailRemunere = new PeriodModel(DateModel.CreateLastFiveYearsDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeTravailRemunere.DateToRequired = false;
            PeriodeTravailRemunere.DeleteRequired = false;

            PeriodeProgrammeEtudes = new PeriodModel(DateModel.CreateNeighboringDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeProgrammeEtudes.DateToRequired = false;
            PeriodeProgrammeEtudes.DeleteRequired = false;

            PeriodeProgrammeProfessionnel = new PeriodModel(DateModel.CreateNeighboringDateModel(), DateModel.CreateNeighboringDateModel());
            PeriodeProgrammeProfessionnel.DateToRequired = false;
            PeriodeProgrammeProfessionnel.DeleteRequired = false;
        }