Beispiel #1
0
        public PutPatientPriorityResponse UpdatePatientPriority(PutPatientPriorityRequest request)
        {
            PutPatientPriorityResponse response = new PutPatientPriorityResponse();
            IPatientRepository         repo     = Factory.GetRepository(request, RepositoryType.Patient);

            response = repo.UpdatePriority(request) as PutPatientPriorityResponse;
            return(response);
        }
Beispiel #2
0
        public PutPatientPriorityResponse Put(PutPatientPriorityRequest request)
        {
            PutPatientPriorityResponse response = new PutPatientPriorityResponse();

            try
            {
                if (string.IsNullOrEmpty(request.UserId))
                {
                    throw new UnauthorizedAccessException("PatientDD:Put()::Unauthorized Access");
                }

                response         = PatientManager.UpdatePatientPriority(request);
                response.Version = request.Version;
            }
            catch (Exception ex)
            {
                CommonFormatterUtil.FormatExceptionResponse(response, base.Response, ex);

                string aseProcessID = ConfigurationManager.AppSettings.Get("ASEProcessID") ?? "0";
                Helpers.LogException(int.Parse(aseProcessID), ex);
            }
            return(response);
        }
 PutPatientPriorityResponse IPatientDataManager.UpdatePatientPriority(PutPatientPriorityRequest request)
 {
     throw new NotImplementedException();
 }
Beispiel #4
0
 public PutPatientPriorityResponse UpdatePriority(PutPatientPriorityRequest request)
 {
     throw new NotImplementedException();
 }