using System; using WingServerCommon.Log; using WingServerCommon.Interfaces.OpLog; namespace WingServerCommon.Interfaces.Cache { public interface IOrganizationsManager : IBaseCacheManager { } public class OrganizationsManager : CacheManager, IOrganizationsManager { public OrganizationsManager() : base() { } } public class CacheOrganizationDTO : ICacheObject { /// /// 组织编码 /// /// Test00001 public string Code { get; set; } /// /// 组织名称 /// /// 门诊部 public string OrganizationName { get; set; } /// /// 备注 /// /// 机构描述 public string Description { get; set; } /// /// 顶级编码 /// /// public string RootCode { get; set; } /// /// 组织类型 /// /// 0 public int OrganizationType { get; set; } /// /// 所属管理组列表 /// /// "","" public List AuthorityGroups { get; set; } = new(); /// /// 经纬度 /// /// 38.5 public string Nautica { get; set; } /// /// 审核状态 /// /// 0 public int State { get; set; } /// /// 机构负责人 /// /// "user001","user002" public List Directors { get; set; } /// /// 已分配的管理员列表 /// /// "admin001","admin002" public List AssignedAdmins { get; set; } /// /// 患者配置 /// /// public string PatientSettingJson { get; set; } /// /// 检查配置 /// /// public string ExamSettingJson { get; set; } /// /// 患者配置版本 /// /// public string PatientSettingVersion { get; set; } /// /// 检查配置版本 /// /// public string ExamSettingVersion { get; set; } /// /// 最精确地区编码 /// /// 320500 public string RegionCode { get; set; } /// /// 父级编码 /// /// Test0000501_1 public string ParentCode { get; set; } /// /// 短码 /// /// TVDSR1 public string ShortCode { get; set; } /// /// logo图片地址 /// /// http://192.168.6.66:9001/Storage/B1154C6500E4F174249224B41284498E_7.PNG public string LogoUrl { get; set; } /// /// 检查服务病人对象类型 /// /// 0 public int PatientType { get; set; } /// /// 是否是虚拟机构 /// /// public bool Isinvented { get; set; } = false; /// /// 配置列表 /// /// public List Settings { get; set; } = new(); /// /// AI应用集合 /// public List DiagnosisModules { get; set; } = new(); /// /// 敏感信息加密显示 /// /// true public bool IsEncryptedShow { get; set; } = true; /// /// 可转诊机构 /// /// public List ReferralOrganizationCodes { get; set; } = new List(); /// /// 默认词条库编码 /// /// public string DefaultThesaurusCode { get; set; } /// /// 默认报告模板编码 /// /// public string DefaultReportTemplateCode { get; set; } /// /// 即时会诊是否需要填写病人信息 /// /// public bool EmergencyNeedFill { get; set; } /// /// 即时会诊配置版本号 /// /// public string EmergencySettingVersion { get; set; } /// /// 即时会诊病人信息 /// /// public string EmergencySettingJson { get; set; } } public class CacheSettingDTOClass { /// /// 语言key /// /// en-US public string LangugeKey { get; set; } /// /// 配置模块 /// /// exam.json public string SettingModule { get; set; } /// /// 自定义内容Json /// /// public string CustomContent { get; set; } /// /// 完整内容(基础配置拼接自定义内容) /// /// public string CompleteContent { get; set; } /// /// 基于哪个版本进行自定义的,对比用 /// /// public string BaseConfigVersion { get; set; } /// /// 语言版本 /// /// public string Version { get; set; } } }