You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
110 lines
3.3 KiB
110 lines
3.3 KiB
using System.ComponentModel.DataAnnotations; |
|
|
|
namespace medical.transfomer.dto |
|
{ |
|
public class InsuranceRequest |
|
{ |
|
/// <summary> |
|
/// 交易类型代码 |
|
/// [必填] 固定4位数字,参考医保业务代码表 |
|
/// 示例:1101(人员信息查询) |
|
/// </summary> |
|
[Required, StringLength(4)] |
|
public string Infno { get; set; } |
|
|
|
/// <summary> |
|
/// 交易流水号 |
|
/// [必填] 30位复合格式:机构编号(12位)+yyyyMMddHHmmss(14位)+4位序列号 |
|
/// 示例:H44123456202308141023001234 |
|
/// </summary> |
|
[Required, StringLength(30)] |
|
public string MsgId { get; set; } |
|
|
|
/// <summary> |
|
/// 参保地区行政区划代码 |
|
/// [必填] 6位数字,参考最新医保区划代码 |
|
/// 示例:440305(南山区) |
|
/// </summary> |
|
[Required, StringLength(6)] |
|
public string MdtrtareaAdmvs { get; set; } |
|
|
|
/// <summary> |
|
/// 参保地行政区划代码 |
|
/// [条件必填] 6位数字,异地就医时必填 |
|
/// 示例:440306(宝安区) |
|
/// </summary> |
|
[StringLength(6)] |
|
public string InsuplcAdmdvs { get; set; } |
|
|
|
[Required, StringLength(10)] |
|
public string RecerSysCode { get; set; } |
|
|
|
[StringLength(100)] |
|
public string DevNo { get; set; } |
|
|
|
[StringLength(2000)] |
|
public string DevSafeInfo { get; set; } |
|
|
|
[StringLength(1024)] |
|
public string Cainfo { get; set; } |
|
|
|
[StringLength(10)] |
|
public string Signtype { get; set; } |
|
|
|
[Required, StringLength(6)] |
|
public string Infver { get; set; } |
|
|
|
/// <summary> |
|
/// 操作员类型 |
|
/// [必填] 1-医保经办人 2-医院工作人员 3-参保人 |
|
/// </summary> |
|
[Required] |
|
public int OpterType { get; set; } |
|
|
|
/// <summary> |
|
/// 操作员账号 |
|
/// [必填] 30位医保经办人账号(区域编码+工作人员编号) |
|
/// 示例:4403052021000123 |
|
/// </summary> |
|
[Required, StringLength(30)] |
|
public string Opter { get; set; } |
|
|
|
/// <summary> |
|
/// 操作员姓名 |
|
/// [必填] 50位中文实名,与医保系统登记信息一致 |
|
/// 示例:张三 |
|
/// </summary> |
|
[Required, StringLength(50)] |
|
public string OpterName { get; set; } |
|
|
|
/// <summary> |
|
/// 交易时间 |
|
/// [必填] ISO 8601格式:yyyy-MM-ddTHH:mm:ss |
|
/// 示例:2023-08-14T15:30:00 |
|
/// </summary> |
|
[Required] |
|
public DateTime InfTime { get; set; } |
|
|
|
/// <summary> |
|
/// 定点医疗机构编号 |
|
/// [必填] 12位医保标准编码 |
|
/// 示例:H441234567890 |
|
/// </summary> |
|
[Required, StringLength(12)] |
|
public string FixmedinsCode { get; set; } |
|
|
|
/// <summary> |
|
/// 定点医疗机构名称 |
|
/// [必填] 20位中文标准名称 |
|
/// 示例:深圳市人民医院 |
|
/// </summary> |
|
[Required, StringLength(20)] |
|
public string FixmedinsName { get; set; } |
|
|
|
[StringLength(30)] |
|
public string SignNo { get; set; } |
|
|
|
[Required, StringLength(40000)] |
|
public string Input { get; set; } |
|
} |
|
} |