Exemple #1
0
        public @UMHSDataViewFormUIModel() : base()
        {
            _mrn                      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _cpisequence              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _firstname                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _middlename               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _keyname                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _birthdate                = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _age                      = new global::Blackbaud.AppFx.UIModeling.Core.IntegerField();
            _titlecode                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _title2code               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _suffixcode               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _suffix2code              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _nickname                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _lookupid                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _infosourcecodeid         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _isdmineligible           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _dmineligiblereasoncodeid = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _gendercode               = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <GENDERCODES> >();
            _primaryimage             = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            _datecreated = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _dateupdated = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _msg         = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            _umhsinformation   = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _sourceinformation = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.View;
            this.DataFormTemplateId = new System.Guid("09205855-aabd-4266-9b21-b9bf09ca2488");
            this.DataFormInstanceId = new System.Guid("97d591d1-75b1-417f-94da-a03fca7357e4");
            this.RecordType         = "MIMED Data";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSDataViewForm.html";

            //
            //_mrn
            //
            _mrn.Name       = "MRN";
            _mrn.Caption    = "MRN";
            _mrn.DBReadOnly = true;
            _mrn.MaxLength  = 50;
            this.Fields.Add(_mrn);
            //
            //_cpisequence
            //
            _cpisequence.Name       = "CPISEQUENCE";
            _cpisequence.Caption    = "CPI seq";
            _cpisequence.DBReadOnly = true;
            _cpisequence.MaxLength  = 50;
            this.Fields.Add(_cpisequence);
            //
            //_firstname
            //
            _firstname.Name       = "FIRSTNAME";
            _firstname.Caption    = "First name";
            _firstname.DBReadOnly = true;
            _firstname.MaxLength  = 50;
            this.Fields.Add(_firstname);
            //
            //_middlename
            //
            _middlename.Name       = "MIDDLENAME";
            _middlename.Caption    = "Middle name";
            _middlename.DBReadOnly = true;
            _middlename.MaxLength  = 50;
            this.Fields.Add(_middlename);
            //
            //_keyname
            //
            _keyname.Name       = "KEYNAME";
            _keyname.Caption    = "Last name";
            _keyname.DBReadOnly = true;
            _keyname.MaxLength  = 100;
            this.Fields.Add(_keyname);
            //
            //_birthdate
            //
            _birthdate.Name       = "BIRTHDATE";
            _birthdate.Caption    = "Birth date";
            _birthdate.DBReadOnly = true;
            this.Fields.Add(_birthdate);
            //
            //_age
            //
            _age.Name       = "AGE";
            _age.Caption    = "Age";
            _age.DBReadOnly = true;
            this.Fields.Add(_age);
            //
            //_titlecode
            //
            _titlecode.Name       = "TITLECODE";
            _titlecode.Caption    = "Title";
            _titlecode.DBReadOnly = true;
            _titlecode.MaxLength  = 100;
            this.Fields.Add(_titlecode);
            //
            //_title2code
            //
            _title2code.Name       = "TITLE2CODE";
            _title2code.Caption    = "Title 2";
            _title2code.DBReadOnly = true;
            _title2code.MaxLength  = 100;
            this.Fields.Add(_title2code);
            //
            //_suffixcode
            //
            _suffixcode.Name       = "SUFFIXCODE";
            _suffixcode.Caption    = "Suffix";
            _suffixcode.DBReadOnly = true;
            _suffixcode.MaxLength  = 100;
            this.Fields.Add(_suffixcode);
            //
            //_suffix2code
            //
            _suffix2code.Name       = "SUFFIX2CODE";
            _suffix2code.Caption    = "Suffix 2";
            _suffix2code.DBReadOnly = true;
            _suffix2code.MaxLength  = 100;
            this.Fields.Add(_suffix2code);
            //
            //_nickname
            //
            _nickname.Name       = "NICKNAME";
            _nickname.Caption    = "Nickname";
            _nickname.DBReadOnly = true;
            _nickname.MaxLength  = 100;
            this.Fields.Add(_nickname);
            //
            //_gendercode
            //
            _gendercode.Name       = "GENDERCODE";
            _gendercode.Caption    = "Gender";
            _gendercode.DBReadOnly = true;
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Unknown, Translation = "Unknown"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Male, Translation = "Male"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Female, Translation = "Female"
            });
            this.Fields.Add(_gendercode);

            //
            //_datecreated
            //
            _datecreated.Name       = "DATECREATED";
            _datecreated.Caption    = "Date created";
            _datecreated.DBReadOnly = true;
            this.Fields.Add(_datecreated);
            //
            //_dateupdated
            //
            _dateupdated.Name       = "DATEUPDATED";
            _dateupdated.Caption    = "Date last updated";
            _dateupdated.DBReadOnly = true;
            this.Fields.Add(_dateupdated);

            //
            //_msg
            //
            _msg.Name       = "MSG";
            _msg.Caption    = "Message";
            _msg.DBReadOnly = true;
            this.Fields.Add(_msg);

            //
            //_lookupid
            //
            _lookupid.Name       = "LOOKUPID";
            _lookupid.Caption    = "_lookupid";
            _lookupid.MaxLength  = 50;
            _lookupid.DBReadOnly = true;
            this.Fields.Add(_lookupid);
            //
            //_primaryimage
            //
            _primaryimage.Name       = "PRIMARYIMAGE";
            _primaryimage.Caption    = "PRIMARYIMAGE";
            _primaryimage.DBReadOnly = true;
            this.Fields.Add(_primaryimage);
            //
            //_isdmineligible
            //
            _isdmineligible.Name    = "ISDMINELIGIBLE";
            _isdmineligible.Caption = "Direct Mail Ineligible";
            this.Fields.Add(_isdmineligible);
            //
            //_dmineligiblereasoncodeid
            //
            _dmineligiblereasoncodeid.Name       = "DMINELIGIBLEREASONCODEID";
            _dmineligiblereasoncodeid.Caption    = "Reason";
            _dmineligiblereasoncodeid.DBReadOnly = true;
            this.Fields.Add(_dmineligiblereasoncodeid);


            //
            //_infosourcecodeid
            //
            _infosourcecodeid.Name    = "INFOSOURCECODE";
            _infosourcecodeid.Caption = "Information source";
            //_infosourcecodeid.CodeTableName = "INFOSOURCECODE";
            this.Fields.Add(_infosourcecodeid);
            //
            //_umhsinformation
            //
            _umhsinformation.Name    = "UMHSINFORMATION";
            _umhsinformation.Caption = "MIMED Information";
            _umhsinformation.Fields.Add("MRN");
            _umhsinformation.Fields.Add("CPISEQUENCE");
            _umhsinformation.Fields.Add("LOOKUPID");
            _umhsinformation.Fields.Add("KEYNAME");
            _umhsinformation.Fields.Add("FIRSTNAME");
            _umhsinformation.Fields.Add("MIDDLENAME");
            _umhsinformation.Fields.Add("TITLECODEID");
            _umhsinformation.Fields.Add("TITLE2CODEID");
            _umhsinformation.Fields.Add("SUFFIXCODEID");
            _umhsinformation.Fields.Add("SUFFIX2CODEID");
            _umhsinformation.Fields.Add("NICKNAME");
            _umhsinformation.Fields.Add("BIRTHDATE");
            _umhsinformation.Fields.Add("GENDERCODE");
            _umhsinformation.Fields.Add("ISDMINELIGIBLE");
            _umhsinformation.Fields.Add("DMINELIGIBLEREASONCODEID");
            this.Fields.Add(_umhsinformation);

            //
            //_umhssource
            //
            _sourceinformation.Name    = "UMHSSOURCE";
            _sourceinformation.Caption = "MIMED Source";
            _sourceinformation.Fields.Add("INFOSOURCECODE");
            _sourceinformation.DBReadOnly = true;
            this.Fields.Add(_sourceinformation);

            OnCreated();
        }
        public @UMHSDataConstituentSearchUIModel() : base()
        {
            _constituenttype    = new global::Blackbaud.AppFx.UIModeling.Core.IntegerField();
            _fullname           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _keyname            = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _firstname          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _lookupid           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _addressblock       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _city               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _stateid            = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _postcode           = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <string>();
            _countryid          = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _includeinactive    = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _includedeceased    = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _onlyprimaryaddress = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _exactmatchonly     = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _ssn                          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _checknickname                = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _checkaliases                 = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _classof                      = new global::Blackbaud.AppFx.UIModeling.Core.YearField();
            _primarybusiness              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _checkmergedconstituents      = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _minimumdate                  = new global::Blackbaud.AppFx.UIModeling.Core.DateField();
            _excludecustomgroups          = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _excludehouseholds            = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _emailaddress                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _includeindividuals           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _includeorganizations         = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _includegroups                = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _checkalternatelookupids      = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _fuzzysearchonname            = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _includenonconstituentrecords = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _phonenumber                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _prospectmanagerid            = new global::Blackbaud.AppFx.UIModeling.Core.SearchListField <System.Guid>();
            _middlename                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _suffixcodeid                 = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _constituency                 = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _sourcecode                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _gendercode                   = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <GENDERCODES> >();
            _scu                          = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _umhsdata                     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _mrn                          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _cpisequence                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _patientsonly                 = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _birthdate                    = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _searchin                     = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _advancedsearchoptionsgroup   = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _showadvancedoptions          = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();
            _hideadvancedoptions          = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();

            this.SearchListId          = new System.Guid("747530a1-be80-4054-a021-d2a599248261");
            this.SearchRecordType      = "MIMED Data";
            this.FORMHEADER.Value      = "MIMED Constituent Search";
            this.TranslationFunctionId = new System.Guid("68ee2516-f46f-45ae-a6c2-e480d0e794d8");
            this.UserInterfaceUrl      = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSDataConstituentSearch.html";

            //
            //_constituenttype
            //
            _constituenttype.Name    = "CONSTITUENTTYPE";
            _constituenttype.Caption = "CONSTITUENTTYPE";
            _constituenttype.Visible = false;
            this.Fields.Add(_constituenttype);
            //
            //_fullname
            //
            _fullname.Name    = "FULLNAME";
            _fullname.Caption = "FULLNAME";
            _fullname.Visible = false;
            this.Fields.Add(_fullname);
            //
            //_keyname
            //
            _keyname.Name      = "KEYNAME";
            _keyname.Caption   = "Last/Org name";
            _keyname.MaxLength = 50;
            this.Fields.Add(_keyname);
            //
            //_firstname
            //
            _firstname.Name      = "FIRSTNAME";
            _firstname.Caption   = "First name";
            _firstname.MaxLength = 50;
            this.Fields.Add(_firstname);
            //
            //_lookupid
            //
            _lookupid.Name      = "LOOKUPID";
            _lookupid.Caption   = "Lookup ID";
            _lookupid.MaxLength = 36;
            this.Fields.Add(_lookupid);
            //
            //_addressblock
            //
            _addressblock.Name      = "ADDRESSBLOCK";
            _addressblock.Caption   = "Address";
            _addressblock.MaxLength = 100;
            this.Fields.Add(_addressblock);
            //
            //_city
            //
            _city.Name      = "CITY";
            _city.Caption   = "City";
            _city.MaxLength = 100;
            this.Fields.Add(_city);
            //
            //_stateid
            //
            _stateid.Name             = "STATEID";
            _stateid.Caption          = "State";
            _stateid.SimpleDataListId = new System.Guid("7fa91401-596c-4f7c-936d-6e41683121d7");
            _stateid.Parameters.Add(new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListParameter("COUNTRYID", "FIELDS!COUNTRYID"));
            this.Fields.Add(_stateid);
            //
            //_postcode
            //
            _postcode.Name               = "POSTCODE";
            _postcode.Caption            = "ZIP/Postal code";
            _postcode.MaxLength          = 20;
            _postcode.SearchListId       = new System.Guid("e5de8c33-de58-4dc6-9a13-48be9f03db81");
            _postcode.DisplayTextIsValue = true;
            this.Fields.Add(_postcode);
            //
            //_countryid
            //
            _countryid.Name             = "COUNTRYID";
            _countryid.Caption          = "Country";
            _countryid.SimpleDataListId = new System.Guid("c9649672-353d-42e8-8c25-4d34bbabfbba");
            this.Fields.Add(_countryid);
            //
            //_includeinactive
            //
            _includeinactive.Name    = "INCLUDEINACTIVE";
            _includeinactive.Caption = "Include inactive";
            this.Fields.Add(_includeinactive);
            //
            //_includedeceased
            //
            _includedeceased.Name    = "INCLUDEDECEASED";
            _includedeceased.Caption = "Include deceased";
            this.Fields.Add(_includedeceased);
            //
            //_onlyprimaryaddress
            //
            _onlyprimaryaddress.Name    = "ONLYPRIMARYADDRESS";
            _onlyprimaryaddress.Caption = "Only search primary addresses";
            _onlyprimaryaddress.Value   = true;
            this.Fields.Add(_onlyprimaryaddress);
            //
            //_exactmatchonly
            //
            _exactmatchonly.Name    = "EXACTMATCHONLY";
            _exactmatchonly.Caption = "Match all criteria exactly";
            this.Fields.Add(_exactmatchonly);
            //
            //_ssn
            //
            _ssn.Name      = "SSN";
            _ssn.Caption   = "SSN";
            _ssn.Visible   = false;
            _ssn.MaxLength = 20;
            this.Fields.Add(_ssn);
            //
            //_checknickname
            //
            _checknickname.Name    = "CHECKNICKNAME";
            _checknickname.Caption = "Check nickname";
            this.Fields.Add(_checknickname);
            //
            //_checkaliases
            //
            _checkaliases.Name    = "CHECKALIASES";
            _checkaliases.Caption = "Check aliases";
            this.Fields.Add(_checkaliases);
            //
            //_classof
            //
            _classof.Name    = "CLASSOF";
            _classof.Caption = "Primary class year";
            this.Fields.Add(_classof);
            //
            //_primarybusiness
            //
            _primarybusiness.Name    = "PRIMARYBUSINESS";
            _primarybusiness.Caption = "Primary business";
            this.Fields.Add(_primarybusiness);
            //
            //_checkmergedconstituents
            //
            _checkmergedconstituents.Name    = "CHECKMERGEDCONSTITUENTS";
            _checkmergedconstituents.Caption = "Check merged constituents";
            this.Fields.Add(_checkmergedconstituents);
            //
            //_minimumdate
            //
            _minimumdate.Name    = "MINIMUMDATE";
            _minimumdate.Caption = "Minimum date";
            this.Fields.Add(_minimumdate);
            //
            //_excludecustomgroups
            //
            _excludecustomgroups.Name    = "EXCLUDECUSTOMGROUPS";
            _excludecustomgroups.Caption = "Exclude custom groups";
            this.Fields.Add(_excludecustomgroups);
            //
            //_excludehouseholds
            //
            _excludehouseholds.Name    = "EXCLUDEHOUSEHOLDS";
            _excludehouseholds.Caption = "Exclude households";
            this.Fields.Add(_excludehouseholds);
            //
            //_emailaddress
            //
            _emailaddress.Name      = "EMAILADDRESS";
            _emailaddress.Caption   = "Email address";
            _emailaddress.MaxLength = 100;
            this.Fields.Add(_emailaddress);
            //
            //_includeindividuals
            //
            _includeindividuals.Name    = "INCLUDEINDIVIDUALS";
            _includeindividuals.Caption = "Individuals";
            _includeindividuals.Value   = true;
            this.Fields.Add(_includeindividuals);
            //
            //_includeorganizations
            //
            _includeorganizations.Name    = "INCLUDEORGANIZATIONS";
            _includeorganizations.Caption = "Organizations";
            _includeorganizations.Value   = true;
            this.Fields.Add(_includeorganizations);
            //
            //_includegroups
            //
            _includegroups.Name    = "INCLUDEGROUPS";
            _includegroups.Caption = "Groups/Households";
            _includegroups.Value   = true;
            this.Fields.Add(_includegroups);
            //
            //_checkalternatelookupids
            //
            _checkalternatelookupids.Name    = "CHECKALTERNATELOOKUPIDS";
            _checkalternatelookupids.Caption = "Check alternate lookup IDs";
            this.Fields.Add(_checkalternatelookupids);
            //
            //_fuzzysearchonname
            //
            _fuzzysearchonname.Name    = "FUZZYSEARCHONNAME";
            _fuzzysearchonname.Caption = "Include fuzzy search on name";
            this.Fields.Add(_fuzzysearchonname);
            //
            //_includenonconstituentrecords
            //
            _includenonconstituentrecords.Name    = "INCLUDENONCONSTITUENTRECORDS";
            _includenonconstituentrecords.Caption = "Include constituents not considered for fundraising purposes";
            _includenonconstituentrecords.Visible = false;
            this.Fields.Add(_includenonconstituentrecords);
            //
            //_phonenumber
            //
            _phonenumber.Name    = "PHONENUMBER";
            _phonenumber.Caption = "Phone number";
            this.Fields.Add(_phonenumber);
            //
            //_prospectmanagerid
            //
            _prospectmanagerid.Name            = "PROSPECTMANAGERID";
            _prospectmanagerid.Caption         = "Prospect manager";
            _prospectmanagerid.SearchListId    = new System.Guid("35fa0186-b669-436f-913a-5e9fd5e59982");
            _prospectmanagerid.EnableQuickFind = true;
            this.Fields.Add(_prospectmanagerid);
            //
            //_middlename
            //
            _middlename.Name    = "MIDDLENAME";
            _middlename.Caption = "Middle name";
            this.Fields.Add(_middlename);
            //
            //_suffixcodeid
            //
            _suffixcodeid.Name          = "SUFFIXCODEID";
            _suffixcodeid.Caption       = "Suffix";
            _suffixcodeid.CodeTableName = "SUFFIXCODE";
            this.Fields.Add(_suffixcodeid);
            //
            //_constituency
            //
            _constituency.Name             = "CONSTITUENCY";
            _constituency.Caption          = "Constituency";
            _constituency.SimpleDataListId = new System.Guid("7821c1ab-3001-485b-aec7-f55749f959e6");
            this.Fields.Add(_constituency);
            //
            //_sourcecode
            //
            _sourcecode.Name    = "SOURCECODE";
            _sourcecode.Caption = "Source code";
            this.Fields.Add(_sourcecode);
            //
            //_gendercode
            //
            _gendercode.Name    = "GENDERCODE";
            _gendercode.Caption = "Gender";
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Unknown, Translation = "Unknown"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Male, Translation = "Male"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Female, Translation = "Female"
            });
            this.Fields.Add(_gendercode);
            //
            //_scu
            //
            _scu.Name             = "SCU";
            _scu.Caption          = "Degree from";
            _scu.SimpleDataListId = new System.Guid("bb0353ee-ac0e-4d80-9fc3-0d4e6202dbf6");
            this.Fields.Add(_scu);
            //
            //_umhsdata
            //
            _umhsdata.Name      = "UMHSDATA";
            _umhsdata.Caption   = "MIMED Data";
            _umhsdata.MaxLength = 3;
            this.Fields.Add(_umhsdata);
            //
            //_mrn
            //
            _mrn.Name      = "MRN";
            _mrn.Caption   = "MRN";
            _mrn.MaxLength = 50;
            this.Fields.Add(_mrn);
            //
            //_cpisequence
            //
            _cpisequence.Name      = "CPISEQUENCE";
            _cpisequence.Caption   = "CPI Sequence";
            _cpisequence.MaxLength = 50;
            this.Fields.Add(_cpisequence);
            //
            //_patientsonly
            //
            _patientsonly.Name    = "PATIENTSONLY";
            _patientsonly.Caption = "MIMED Constituents Only";
            this.Fields.Add(_patientsonly);
            //
            //_birthdate
            //
            _birthdate.Name    = "BIRTHDATE";
            _birthdate.Caption = "Birth date";
            this.Fields.Add(_birthdate);
            //
            //_searchin
            //
            _searchin.Name       = "SEARCHIN";
            _searchin.Caption    = "Search in";
            _searchin.DBReadOnly = true;
            this.Fields.Add(_searchin);
            //
            //_advancedsearchoptionsgroup
            //
            _advancedsearchoptionsgroup.Name    = "ADVANCEDSEARCHOPTIONSGROUP";
            _advancedsearchoptionsgroup.Caption = "Advanced search options";
            this.Fields.Add(_advancedsearchoptionsgroup);
            //
            //_showadvancedoptions
            //
            _showadvancedoptions.Name    = "SHOWADVANCEDOPTIONS";
            _showadvancedoptions.Caption = "Show advanced search options";
            this.Actions.Add(_showadvancedoptions);
            //
            //_hideadvancedoptions
            //
            _hideadvancedoptions.Name    = "HIDEADVANCEDOPTIONS";
            _hideadvancedoptions.Caption = "Hide advanced search options";
            this.Actions.Add(_hideadvancedoptions);

            OnCreated();
        }
Exemple #3
0
        public @UMHSConnectionFormUIModel() : base()
        {
            _mrn                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _cpisequence        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _firstname          = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _keyname            = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _relationshipcodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _birthdate          = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _age                = new global::Blackbaud.AppFx.UIModeling.Core.TinyIntField();
            _gendercode         = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <GENDERCODES> >();
            _infosourcecodeid   = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _comments           = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            //_relexists = new global::Blackbaud.AppFx.UIModeling.Core.StringField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("0d96a634-6f95-4317-b097-27268de0a69c");
            this.DataFormInstanceId = new System.Guid("6085707b-f469-4d8a-bbc4-f6111aa092e6");
            this.RecordType         = "MIMED Data";
            this.ContextRecordType  = "MIMED Data";
            this.FixedDialog        = true;
            this.FORMHEADER.Value   = "Add Patient Connection";
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSConnectionForm.html";

            //
            //_mrn
            //
            _mrn.Name      = "MRN";
            _mrn.Caption   = "MRN";
            _mrn.Required  = true;
            _mrn.MaxLength = 50;
            this.Fields.Add(_mrn);
            //
            //_cpisequence
            //
            _cpisequence.Name      = "CPISEQUENCE";
            _cpisequence.Caption   = "CPI sequence";
            _cpisequence.Required  = true;
            _cpisequence.MaxLength = 50;
            this.Fields.Add(_cpisequence);
            //
            //_firstname
            //
            _firstname.Name      = "FIRSTNAME";
            _firstname.Caption   = "First name";
            _firstname.MaxLength = 50;
            this.Fields.Add(_firstname);
            //
            //_keyname
            //
            _keyname.Name      = "KEYNAME";
            _keyname.Caption   = "Last name";
            _keyname.MaxLength = 100;
            this.Fields.Add(_keyname);
            //
            //_relationshipcodeid
            //
            _relationshipcodeid.Name          = "RELATIONSHIPCODEID";
            _relationshipcodeid.Caption       = "Relationship";
            _relationshipcodeid.CodeTableName = "USR_UMHS_RELATIONSHIPCODE";
            this.Fields.Add(_relationshipcodeid);
            //
            //_birthdate
            //
            _birthdate.Name     = "BIRTHDATE";
            _birthdate.Caption  = "Birth date";
            _birthdate.Required = true;
            this.Fields.Add(_birthdate);
            //
            //_age
            //
            _age.Name       = "AGE";
            _age.Caption    = "Age";
            _age.DBReadOnly = true;
            this.Fields.Add(_age);
            //
            //_gendercode
            //
            _gendercode.Name    = "GENDERCODE";
            _gendercode.Caption = "Gender";
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Unknown, Translation = "Unknown"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Male, Translation = "Male"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Female, Translation = "Female"
            });
            _gendercode.Value = GENDERCODES.@Unknown;
            this.Fields.Add(_gendercode);
            //
            //_infosourcecodeid
            //
            _infosourcecodeid.Name          = "INFOSOURCECODEID";
            _infosourcecodeid.Caption       = "Information source";
            _infosourcecodeid.CodeTableName = "INFOSOURCECODE";
            this.Fields.Add(_infosourcecodeid);
            //
            //_comments
            //
            _comments.Name    = "COMMENTS";
            _comments.Caption = "Comments";
            this.Fields.Add(_comments);

            ////
            ////_relexists
            ////
            //_relexists.Name = "RELEXISTS";
            //_relexists.Caption = "Relationship Exists";
            //this.Fields.Add(_relexists);

            OnCreated();
        }
        public @UMHSBatchDupeCheckUIModel() : base()
        {
            _id                         = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _batchid                    = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _mrn                        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _constituentlookupid        = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _batchconstituentid         = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _titlecodeid                = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _firstname                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _middlename                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _lastname                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _suffixcodeid               = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _birthdate                  = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _addresstypecodeid          = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _addressblock               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _city                       = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _stateid                    = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _postcode                   = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _countryid                  = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _phonenumber                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _phonetypecodeid            = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _phonecountryid             = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _phoneother                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _phoneothertypecodeid       = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _phoneothercountryid        = new global::Blackbaud.AppFx.UIModeling.Core.SimpleDataListField <System.Guid>();
            _emailaddress               = new global::Blackbaud.AppFx.UIModeling.Core.EmailAddressField();
            _emailaddresstypecodeid     = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _duplicaterecordid          = new global::Blackbaud.AppFx.UIModeling.Core.GuidField();
            _overallmatchthreshold      = new global::Blackbaud.AppFx.UIModeling.Core.DecimalField();
            _automatchthreshold         = new global::Blackbaud.AppFx.UIModeling.Core.DecimalField();
            _domanualreviewforautomatch = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _gotonextrecord             = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _save                       = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();
            _cancel                     = new global::Blackbaud.AppFx.UIModeling.Core.GenericUIAction();

            this.SearchListId          = new System.Guid("0724fade-676e-4e54-84ae-8ab6ef10abe6");
            this.SearchRecordType      = "MIMED Data";
            this.FORMHEADER.Value      = "MIMED Batch Duplicate Search";
            this.TranslationFunctionId = new System.Guid("e58d466f-1532-4dea-9b50-dd046094ed31");
            this.UserInterfaceUrl      = "browser/htmlforms/constituent/duplicatecheck/DuplicateConstituentSearch.html";

            //
            //_id
            //
            _id.Name    = "ID";
            _id.Caption = "Constituent";
            _id.Visible = false;
            this.Fields.Add(_id);
            //
            //_batchconstituentid
            //
            _batchconstituentid.Name    = "BATCHCONSTITUENTID";
            _batchconstituentid.Caption = "Batch Constituent ID";
            _batchconstituentid.Visible = false;
            this.Fields.Add(_batchconstituentid);
            //
            //_batchid
            //
            _batchid.Name    = "BATCHID";
            _batchid.Caption = "BATCHID";
            _batchid.Visible = false;
            this.Fields.Add(_batchid);
            //
            //_mrn
            //
            _mrn.Name      = "MRN";
            _mrn.Caption   = "MRN";
            _mrn.MaxLength = 50;
            this.Fields.Add(_mrn);
            //
            //_constituentlookupid
            //
            _constituentlookupid.Name      = "CONSTITUENTLOOKUPID";
            _constituentlookupid.Caption   = "Constituent Lookup ID";
            _constituentlookupid.MaxLength = 200;
            this.Fields.Add(_constituentlookupid);

            //
            //_titlecodeid
            //
            _titlecodeid.Name          = "TITLECODEID";
            _titlecodeid.Caption       = "Title";
            _titlecodeid.CodeTableName = "TITLECODE";
            this.Fields.Add(_titlecodeid);
            //
            //_firstname
            //
            _firstname.Name      = "FIRSTNAME";
            _firstname.Caption   = "First name";
            _firstname.MaxLength = 50;
            this.Fields.Add(_firstname);
            //
            //_middlename
            //
            _middlename.Name      = "MIDDLENAME";
            _middlename.Caption   = "Middle name";
            _middlename.MaxLength = 50;
            this.Fields.Add(_middlename);
            //
            //_lastname
            //
            _lastname.Name      = "LASTNAME";
            _lastname.Caption   = "Last name";
            _lastname.MaxLength = 100;
            this.Fields.Add(_lastname);
            //
            //_suffixcodeid
            //
            _suffixcodeid.Name          = "SUFFIXCODEID";
            _suffixcodeid.Caption       = "Suffix";
            _suffixcodeid.CodeTableName = "SUFFIXCODE";
            this.Fields.Add(_suffixcodeid);
            //
            //_birthdate
            //
            _birthdate.Name    = "BIRTHDATE";
            _birthdate.Caption = "Birthdate";
            this.Fields.Add(_birthdate);
            //
            //_addresstypecodeid
            //
            _addresstypecodeid.Name          = "ADDRESSTYPECODEID";
            _addresstypecodeid.Caption       = "Address type code";
            _addresstypecodeid.Category      = "Address";
            _addresstypecodeid.CodeTableName = "ADDRESSTYPECODE";
            this.Fields.Add(_addresstypecodeid);
            //
            //_addressblock
            //
            _addressblock.Name      = "ADDRESSBLOCK";
            _addressblock.Caption   = "Address";
            _addressblock.Category  = "Address";
            _addressblock.MaxLength = 500;
            this.Fields.Add(_addressblock);
            //
            //_city
            //
            _city.Name      = "CITY";
            _city.Caption   = "City";
            _city.Category  = "Address";
            _city.MaxLength = 100;
            this.Fields.Add(_city);
            //
            //_stateid
            //
            _stateid.Name             = "STATEID";
            _stateid.Caption          = "State";
            _stateid.Category         = "Address";
            _stateid.SimpleDataListId = new System.Guid("cae6185d-898e-474f-84d1-dadaa4b63ad3");
            this.Fields.Add(_stateid);
            //
            //_postcode
            //
            _postcode.Name      = "POSTCODE";
            _postcode.Caption   = "Post code";
            _postcode.Category  = "Address";
            _postcode.MaxLength = 12;
            this.Fields.Add(_postcode);
            //
            //_countryid
            //
            _countryid.Name             = "COUNTRYID";
            _countryid.Caption          = "Address country";
            _countryid.Category         = "Address";
            _countryid.SimpleDataListId = new System.Guid("5a7ceca8-d00f-497a-ba94-498520028f5c");
            this.Fields.Add(_countryid);
            //
            //_phonenumber
            //
            _phonenumber.Name      = "PHONENUMBER";
            _phonenumber.Caption   = "Phone";
            _phonenumber.Category  = "Phone";
            _phonenumber.MaxLength = 200;
            this.Fields.Add(_phonenumber);
            //
            //_phonetypecodeid
            //
            _phonetypecodeid.Name          = "PHONETYPECODEID";
            _phonetypecodeid.Caption       = "Phone type code";
            _phonetypecodeid.Category      = "Phone";
            _phonetypecodeid.CodeTableName = "PHONETYPECODE";
            this.Fields.Add(_phonetypecodeid);
            //
            //_phonecountryid
            //
            _phonecountryid.Name             = "PHONE_COUNTRYID";
            _phonecountryid.Caption          = "Phone country";
            _phonecountryid.Category         = "Phone";
            _phonecountryid.SimpleDataListId = new System.Guid("5a7ceca8-d00f-497a-ba94-498520028f5c");
            this.Fields.Add(_phonecountryid);
            //
            //_phoneother
            //
            _phoneother.Name      = "PHONE_OTHER";
            _phoneother.Caption   = "Phone (other)";
            _phoneother.Category  = "Phone";
            _phoneother.MaxLength = 200;
            this.Fields.Add(_phoneother);
            //
            //_phoneothertypecodeid
            //
            _phoneothertypecodeid.Name          = "PHONE_OTHERTYPECODEID";
            _phoneothertypecodeid.Caption       = "Phone (other) type code";
            _phoneothertypecodeid.Category      = "Phone";
            _phoneothertypecodeid.CodeTableName = "PHONETYPECODE";
            this.Fields.Add(_phoneothertypecodeid);
            //
            //_phoneothercountryid
            //
            _phoneothercountryid.Name             = "PHONE_OTHER_COUNTRYID";
            _phoneothercountryid.Caption          = "Phone (other) country";
            _phoneothercountryid.Category         = "Phone";
            _phoneothercountryid.SimpleDataListId = new System.Guid("5a7ceca8-d00f-497a-ba94-498520028f5c");
            this.Fields.Add(_phoneothercountryid);
            //
            //_emailaddress
            //
            _emailaddress.Name     = "EMAILADDRESS";
            _emailaddress.Caption  = "Email address";
            _emailaddress.Category = "Email";
            this.Fields.Add(_emailaddress);
            //
            //_emailaddresstypecodeid
            //
            _emailaddresstypecodeid.Name          = "EMAILADDRESSTYPECODEID";
            _emailaddresstypecodeid.Caption       = "Email address type code";
            _emailaddresstypecodeid.Category      = "Email";
            _emailaddresstypecodeid.CodeTableName = "EMAILADDRESSTYPECODE";
            this.Fields.Add(_emailaddresstypecodeid);
            //
            //_duplicaterecordid
            //
            _duplicaterecordid.Name    = "DUPLICATERECORDID";
            _duplicaterecordid.Caption = "DUPLICATERECORDID";
            _duplicaterecordid.Visible = false;
            this.Fields.Add(_duplicaterecordid);
            //
            //_overallmatchthreshold
            //
            _overallmatchthreshold.Name              = "OVERALLMATCHTHRESHOLD";
            _overallmatchthreshold.Caption           = "Overall match threshold";
            _overallmatchthreshold.Visible           = false;
            _overallmatchthreshold.AvailableToClient = false;
            _overallmatchthreshold.Precision         = 20;
            _overallmatchthreshold.Scale             = 4;
            this.Fields.Add(_overallmatchthreshold);
            //
            //_automatchthreshold
            //
            _automatchthreshold.Name              = "AUTOMATCHTHRESHOLD";
            _automatchthreshold.Caption           = "Auto match threshold";
            _automatchthreshold.Visible           = false;
            _automatchthreshold.AvailableToClient = false;
            _automatchthreshold.Precision         = 20;
            _automatchthreshold.Scale             = 4;
            this.Fields.Add(_automatchthreshold);
            //
            //_domanualreviewforautomatch
            //
            _domanualreviewforautomatch.Name    = "DOMANUALREVIEWFORAUTOMATCH";
            _domanualreviewforautomatch.Caption = "DOMANUALREVIEWFORAUTOMATCH";
            _domanualreviewforautomatch.Visible = false;
            this.Fields.Add(_domanualreviewforautomatch);
            //
            //_gotonextrecord
            //
            _gotonextrecord.Name       = "GOTONEXTRECORD";
            _gotonextrecord.Caption    = "Automatically go to the next duplicate exception";
            _gotonextrecord.DBReadOnly = true;
            _gotonextrecord.Value      = true;
            this.Fields.Add(_gotonextrecord);
            //
            //_save
            //
            _save.Name    = "SAVE";
            _save.Caption = "Skip";
            this.Actions.Add(_save);
            //
            //_cancel
            //
            _cancel.Name    = "CANCEL";
            _cancel.Caption = "Cancel";
            this.Actions.Add(_cancel);

            OnCreated();
        }
        public @UMHSDataFormUIModel() : base()
        {
            _mrn                      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _cpisequence              = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _firstname                = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _middlename               = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _keyname                  = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _birthdate                = new global::Blackbaud.AppFx.UIModeling.Core.FuzzyDateField();
            _age                      = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _titlecodeid              = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _title2codeid             = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _suffixcodeid             = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _suffix2codeid            = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _nickname                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _lookupid                 = new global::Blackbaud.AppFx.UIModeling.Core.StringField();
            _infosourcecodeid         = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _isdmineligible           = new global::Blackbaud.AppFx.UIModeling.Core.BooleanField();
            _dmineligiblereasoncodeid = new global::Blackbaud.AppFx.UIModeling.Core.CodeTableField();
            _gendercode               = new global::Blackbaud.AppFx.UIModeling.Core.ValueListField <System.Nullable <GENDERCODES> >();
            _umhsinformation          = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();
            _sourceinformation        = new global::Blackbaud.AppFx.UIModeling.Core.GroupField();

            this.Mode = global::Blackbaud.AppFx.UIModeling.Core.DataFormMode.Add;
            this.DataFormTemplateId = new System.Guid("c7976657-1974-4225-b724-f143b7651998");
            this.DataFormInstanceId = new System.Guid("a3e4ea4a-1328-467f-99cd-d352c409eee8");
            this.RecordType         = "MIMED Data";
            this.ContextRecordType  = "Constituent";
            this.FixedDialog        = true;
            this.UserInterfaceUrl   = "browser/htmlforms/custom/um.customfx.gratefulpatient/UMHSDataForm.html";

            //
            //_mrn
            //
            _mrn.Name      = "MRN";
            _mrn.Caption   = "MRN";
            _mrn.MaxLength = 50;
            this.Fields.Add(_mrn);
            //
            //_cpisequence
            //
            _cpisequence.Name      = "CPISEQUENCE";
            _cpisequence.Caption   = "CPI seq";
            _cpisequence.MaxLength = 50;
            this.Fields.Add(_cpisequence);
            //
            //_lookupid
            //
            _lookupid.Name       = "LOOKUPID";
            _lookupid.Caption    = "_lookupid";
            _lookupid.MaxLength  = 50;
            _lookupid.DBReadOnly = true;
            this.Fields.Add(_lookupid);
            //
            //_firstname
            //
            _firstname.Name      = "FIRSTNAME";
            _firstname.Caption   = "First name";
            _firstname.Required  = true;
            _firstname.MaxLength = 50;
            this.Fields.Add(_firstname);
            //
            //_middlename
            //
            _middlename.Name      = "MIDDLENAME";
            _middlename.Caption   = "Middle name";
            _middlename.MaxLength = 50;
            this.Fields.Add(_middlename);
            //
            //_keyname
            //
            _keyname.Name      = "KEYNAME";
            _keyname.Caption   = "Last name";
            _keyname.Required  = true;
            _keyname.MaxLength = 100;
            this.Fields.Add(_keyname);
            //
            //_birthdate
            //
            _birthdate.Name    = "BIRTHDATE";
            _birthdate.Caption = "Birth date";
            // _birthdate.Required = true;
            this.Fields.Add(_birthdate);
            //
            //_age
            //
            _age.Name       = "AGE";
            _age.Caption    = "Age";
            _age.DBReadOnly = true;
            this.Fields.Add(_age);
            //
            //_titlecodeid
            //
            _titlecodeid.Name          = "TITLECODEID";
            _titlecodeid.Caption       = "Title";
            _titlecodeid.CodeTableName = "TITLECODE";
            this.Fields.Add(_titlecodeid);
            //
            //_title2codeid
            //
            _title2codeid.Name          = "TITLE2CODEID";
            _title2codeid.Caption       = "Title 2";
            _title2codeid.CodeTableName = "TITLECODE";
            this.Fields.Add(_title2codeid);
            //
            //_suffixcodeid
            //
            _suffixcodeid.Name          = "SUFFIXCODEID";
            _suffixcodeid.Caption       = "Suffix";
            _suffixcodeid.CodeTableName = "SUFFIXCODE";
            this.Fields.Add(_suffixcodeid);
            //
            //_suffix2codeid
            //
            _suffix2codeid.Name          = "SUFFIX2CODEID";
            _suffix2codeid.Caption       = "Suffix 2";
            _suffix2codeid.CodeTableName = "SUFFIXCODE";
            this.Fields.Add(_suffix2codeid);
            //
            //_nickname
            //
            _nickname.Name      = "NICKNAME";
            _nickname.Caption   = "Nickname";
            _nickname.MaxLength = 50;
            this.Fields.Add(_nickname);


            //
            //_infosourcecodeid
            //
            _infosourcecodeid.Name          = "INFOSOURCECODEID";
            _infosourcecodeid.Caption       = "Information source";
            _infosourcecodeid.CodeTableName = "INFOSOURCECODE";
            this.Fields.Add(_infosourcecodeid);
            //
            //_isdmineligible
            //
            _isdmineligible.Name    = "ISDMINELIGIBLE";
            _isdmineligible.Caption = "Direct Mail Ineligible";
            this.Fields.Add(_isdmineligible);

            _dmineligiblereasoncodeid.Name          = "DMINELIGIBLEREASONCODEID";
            _dmineligiblereasoncodeid.Caption       = "Reason";
            _dmineligiblereasoncodeid.CodeTableName = "USR_UMHS_DMINELIGIBLEREASONCODE";
            this.Fields.Add(_dmineligiblereasoncodeid);

            //
            //_gendercode
            //
            _gendercode.Name    = "GENDERCODE";
            _gendercode.Caption = "Gender";
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Unknown, Translation = "Unknown"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Male, Translation = "Male"
            });
            _gendercode.DataSource.Add(new global::Blackbaud.AppFx.UIModeling.Core.ValueListItem <System.Nullable <GENDERCODES> > {
                Value = GENDERCODES.@Female, Translation = "Female"
            });
            _gendercode.Value = GENDERCODES.@Unknown;
            this.Fields.Add(_gendercode);


            //
            //_umhsinformation
            //
            _umhsinformation.Name    = "UMHSINFORMATION";
            _umhsinformation.Caption = "MIMED Information";
            _umhsinformation.Fields.Add("MRN");
            _umhsinformation.Fields.Add("CPISEQUENCE");
            _umhsinformation.Fields.Add("LOOKUPID");
            _umhsinformation.Fields.Add("KEYNAME");
            _umhsinformation.Fields.Add("FIRSTNAME");
            _umhsinformation.Fields.Add("MIDDLENAME");
            _umhsinformation.Fields.Add("TITLECODEID");
            _umhsinformation.Fields.Add("TITLE2CODEID");
            _umhsinformation.Fields.Add("SUFFIXCODEID");
            _umhsinformation.Fields.Add("SUFFIX2CODEID");
            _umhsinformation.Fields.Add("NICKNAME");
            _umhsinformation.Fields.Add("BIRTHDATE");
            _umhsinformation.Fields.Add("GENDERCODE");
            _umhsinformation.Fields.Add("ISDMINELIGIBLE");
            _umhsinformation.Fields.Add("DMINELIGIBLEREASONCODEID");
            this.Fields.Add(_umhsinformation);

            //
            //_umhssource
            //
            _sourceinformation.Name    = "UMHSSOURCE";
            _sourceinformation.Caption = "MIMED Source";
            _sourceinformation.Fields.Add("INFOSOURCECODEID");
            _sourceinformation.DBReadOnly = true;
            this.Fields.Add(_sourceinformation);

            OnCreated();
        }