Esempio n. 1
0
        public List <PatientMovementModel> GetPatMovement(string patientId)
        {
            List <string> patientList = new List <string>();

            patientList.Add(patientId);
            PatientListParameter patListParameter = new();

            patListParameter.patientList = patientList;
            List <PatientMovementModel> patientMovement = _patientInformation.Patient_Bewegung_Ps(patListParameter);

            return(patientMovement);
        }
Esempio n. 2
0
 private void ContactModelConstructor(List <ContactPatientModel> ContactPatientList)
 {
     foreach (ContactPatientModel contact in ContactPatientList)
     {
         PatientListParameter patList = new PatientListParameter()
         {
             patientList = new List <string> {
                 contact.PatientID
             }
         };
         contacts.PatientMovements.AddRange(_patientInformation.Patient_Bewegung_Ps(patList));
         contacts.LaborData.AddRange(_patientInformation.Patient_Labordaten_Ps(patList));
     }
 }
Esempio n. 3
0
        public ActionResult <List <PatientMovementModel> > Patient_Bewegung_Ps([FromBody] PatientListParameter parameter)
        {
            _logger.LogInformation("CALLED Patient_Bewegung_Ps with parameters: \n\r PatientIDs: {patList}", parameter.ToAQLMatchString());

            try
            {
                return(_patientInformation.Patient_Bewegung_Ps(parameter));
            }
            catch (Exception e)
            {
                _logger.LogWarning("CALLED Patient_Bewegung_Ps:" + e.Message);
                return(ErrorHandling(e));
            }
        }