예제 #1
0
파일: Patient.cs 프로젝트: MSH/PViMS-2
        public void SetPatientStatus(PatientStatus patientStatus)
        {
            var patientStatusHistory = new PatientStatusHistory()
            {
                Patient       = this,
                EffectiveDate = DateTime.Today,
                Comments      = "New Patient",
                PatientStatus = patientStatus
            };

            this.PatientStatusHistories.Add(patientStatusHistory);
        }
예제 #2
0
파일: Patient.cs 프로젝트: MSH/PViMS-2
        public void ChangePatientStatus(PatientStatus patientStatus, DateTime effectiveDate, string comments)
        {
            var newPatientStatusHistory = new PatientStatusHistory(patientStatus, effectiveDate, comments);

            PatientStatusHistories.Add(newPatientStatusHistory);
        }