Example #1
0
        public List <ListValue> getList(string monthType)
        {
            List <ListValue> list = new List <ListValue>();
            WomenGravidaTwoToFiveVisitModel model = this.getModel(monthType);

            if (model == null)
            {
                return(null);
            }
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "fw",
                strVal  = DrawItems.objToNumStr(model.AbdominalCirumference, 2)
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "gdgd",
                strVal  = DrawItems.objToNumStr(model.UteruslowHeight, 1)
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "txl",
                strVal  = DrawItems.objToNumStr(model.FHR, 1)
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "xgy",
                strVal  = DrawItems.objToNumStr(model.HBloodPressure, 0)
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "xdy",
                strVal  = DrawItems.objToNumStr(model.LBloodPressure, 0)
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "xhdb",
                strVal  = DrawItems.objToNumStr(model.HB)
            });
            list.Add(new ListValue
            {
                strMark = "%" + monthType + "qtfz",
                strVal  = model.AssistanTexam
            });
            list.Add(new ListValue
            {
                strMark = "#" + monthType + "fl",
                strVal  = model.Classification
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "fly",
                strVal  = model.ClassificationEx
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "zdqt",
                strVal  = model.AdvisingOther
            });
            list.Add(new ListValue
            {
                strMark = "#" + monthType + "zd",
                strVal  = model.Referral
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "zzyy",
                strVal  = model.ReferralReason
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "zzjg",
                strVal  = model.ReferralOrg
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "xcrq",
                strVal  = DrawItems.strToDate(model.NextFollowupDate)
            });
            //list.Add(new ListValue
            //{
            //    strMark = "$" + MonthType + "sfys",
            //    strVal = model.FollowUpDoctor
            //});
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "ndb",
                strVal  = model.PRO
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "sfrq",
                strVal  = DrawItems.strToDate(model.FollowupDate)
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "yz",
                strVal  = DrawItems.objToNumStr(model.PregancyWeeks, 0)
            });
            list.Add(new ListValue
            {
                strMark = "%" + monthType + "zs",
                strVal  = model.ChiefComPlaint
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "tz",
                strVal  = DrawItems.objToNumStr(model.Weight)
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "tw",
                strVal  = model.FetusPosition
            });
            list.Add(new ListValue
            {
                strMark = "#" + monthType + "sf",
                strVal  = model.FollowupWay
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "jgmc",
                strVal  = model.PrenatalOrg
            });
            list.Add(new ListValue
            {
                strMark = "#" + monthType + "jc",
                strVal  = model.FreeSerumCheck
            });
            //list.Add(new ListValue
            //{
            //    strMark = "@" + MonthType + "jcjg",
            //    strVal = model.SerumCheckResult
            //});
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "lxr",
                strVal  = model.ReferralContacts
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "lxfs",
                strVal  = model.ReferralContactsTel
            });
            list.Add(new ListValue
            {
                strMark = "#" + monthType + "dw",
                strVal  = model.ReferralResult
            });
            list.Add(new ListValue
            {
                strMark = "$" + monthType + "jgmc",
                strVal  = model.PrenatalOrg
            });
            list.Add(new ListValue
            {
                strMark = "&" + monthType + "qm",
                strVal  = string.Format("{0}{1}_{2}.png", SignPath, model.IDCardNo, "PrenatalS_" + model.Times)
            });
            list.Add(new ListValue
            {
                strMark = "&" + monthType + "sfys",
                strVal  = string.Format("{0}{1}_{2}_Doc.png", SignPath, model.IDCardNo, "PrenatalS_" + model.Times)
            });
            list.AddRange(DrawItems.lsCheck(DrawItems.objToStr(model.Advising), monthType, "zd", 8));
            list.AddRange(DrawItems.lsCheck(DrawItems.objToStr(model.SerumCheckResult), monthType, "jcjg", 4));
            return(list);
        }