DropHelper.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. namespace PTMedicalInsurance.Helper
  7. {
  8. class DropHelper
  9. {
  10. /// <summary>
  11. /// 证件类型
  12. /// </summary>
  13. public Dictionary<string, string> CredenecType()
  14. {
  15. Dictionary<string, string> ct = new Dictionary<string, string>();
  16. //List<string> ct = new List<string>();
  17. //ct.Add("01", "居民身份证");
  18. ct.Add("02", "居民身份证");
  19. ct.Add("03", "社保卡");
  20. return ct;
  21. }
  22. /// <summary>
  23. /// 病种名称
  24. /// </summary>
  25. /// <returns></returns>
  26. public Dictionary<string, string> DiseName()
  27. {
  28. Dictionary<string, string> ct = new Dictionary<string, string>();
  29. //List<string> ct = new List<string>();
  30. ct.Add("M07000", "痛风");
  31. ct.Add("M07807", "慢性肾脏病");
  32. ct.Add("M01703", "甲状腺毒性心脏病");
  33. ct.Add("M07200", "强直性脊柱炎");
  34. return ct;
  35. }
  36. /// <summary>
  37. /// 业务类型
  38. /// </summary>
  39. /// <returns></returns>
  40. public Dictionary<string, string> BizType()
  41. {
  42. Dictionary<string, string> ct = new Dictionary<string, string>();
  43. ct.Add("1", "一类门特");
  44. ct.Add("2", "二类门特");
  45. return ct;
  46. }
  47. /// <summary>
  48. /// 业务类型
  49. /// </summary>
  50. /// <returns></returns>
  51. public Dictionary<string, string> Medinsinfo()
  52. {
  53. Dictionary<string, string> ct = new Dictionary<string, string>();
  54. ct.Add("2399001000058", "哈尔滨普瑞眼科医院");
  55. ct.Add("3100001000345", "上海普瑞眼科医院");
  56. return ct;
  57. }
  58. public class ComboBoxItem
  59. {
  60. private string _text = null;
  61. private object _value = null;
  62. public string Text { get { return this._text; } set { this._text = value; } }
  63. public object Value { get { return this._value; } set { this._value = value; } }
  64. public override string ToString()
  65. {
  66. return this._text;
  67. }
  68. }
  69. }
  70. }