Пример #1
0
        public BrokerOperationResult UpdateNextContactDue(string patientDfn, DateTime nextContactDue)
        {
            // *** Add a next contact date observation to the patient ***

            BrokerOperationResult result;

            Observation obs = ObservationsFactory.CreateNextContactObservation(patientDfn, nextContactDue);

            // *** Save it ***
            result = this.SaveObservation(obs);

            return(result);
        }
Пример #2
0
        public BrokerOperationResult UpdateLastContactDate(string patientDfn, DateTime lastContactDate)
        {
            // *** Add a last contact date observation to the patient ***

            BrokerOperationResult result;

            // *** Create the observation ***

            Observation obs = ObservationsFactory.CreateLastContactObservation(patientDfn, lastContactDate);

            // *** Save it ***
            result = this.SaveObservation(obs);

            return(result);
        }