Exemple #1
0
 private Dictionary <string, double> SetCandidiasisResults(CandidiasisExamination examination)
 {
     return(new Dictionary <string, double>
     {
         ["Candida albicans"] = examination.CandidaAlbicans,
         ["Candida non-albicans"] = examination.CandidaNonAlbicans,
         ["Grzyby pleśniowe"] = examination.MoldFungus
     });
 }
Exemple #2
0
        private Examination CreateCandidiasisExamination(ISheet sheet, ExaminationType type, Patient client)
        {
            var examination            = new CandidiasisExamination(sheet);
            var candidiasisExamination = new Examination
            {
                Type             = type,
                Hash             = Hash.Generate(examination.Id + client.Id),
                Owner            = client,
                Ph               = examination.Ph,
                StoolConsistency = Converter.SetConsistency(examination.StoolConsistency),
                Results          = SetCandidiasisResults(examination)
            };

            return(candidiasisExamination);
        }