Example #1
0
        private void ClearAllFields()
        {
            _patient = new PatientDemographicsModel {
                WasEnvelopeRandomised = BlowTrialDataService.IsEnvelopeRandomising()
            };
            StudyCentre         = StudyCentreOptions.First().Key;
            _multipleSibling    = null;
            _hasSiblingEnrolled = false;

            _wtForAgeCentile = null;
            NotifyPropertyChanged("Name", "HospitalIdentifier", "AdmissionWeight", "GestAgeDays", "GestAgeWeeks", "IsMale", "DateOfBirth", "TimeOfBirth", "DateOfEnrollment", "TimeOfEnrollment", "LikelyDie24Hr", "BadMalform", "BadInfectnImmune", "WasGivenBcgPrior", "RefusedConsent", "MothersName", "WtForAgeCentile", "PhoneNumber", "IsYoungerThanMinEnrolTime", "EnvelopeNumber", "OkToRandomise", "IsConsentRequired", "HasSiblingEnrolled", "MultipleSiblingId", "HasNoPhone", "AdmissionDiagnosis", "StudyCentre", "BackgroundBrush", "TextBrush", "HospitalIdentifierMask", "PhoneMask", "IsInborn");
            RecordAltered = false;
            _isEnrollmentDateTimeAssigned = false;
        }