コード例 #1
0
        private MedicationKey CreateMedicationMappingKey(MedicationMapData md)
        {
            var key = new MedicationKey
            {
                Form          = md.Form,
                FullName      = md.FullName,
                Route         = md.Route,
                Strength      = md.Strength,
                SubstanceName = md.SubstanceName
            };

            return(key);
        }
コード例 #2
0
        private MedicationKey CreateMedicationKey(MedicationData md)
        {
            var key = new MedicationKey
            {
                Form          = md.Form,
                FullName      = md.FullName,
                Route         = md.Route,
                Strength      = FormatStrengthDisplay(md.Strength, md.Unit),
                SubstanceName = md.SubstanceName
            };

            return(key);
        }