D_Insert.sql 240 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305
  1. if not exists(select * from sysobjects where id=object_id('D_ReportStaticsQuota'))
  2. BEGIN
  3. EXEC dbo.sp_executesql @statement = N'
  4. SET ANSI_NULLS ON
  5. SET QUOTED_IDENTIFIER ON
  6. CREATE TABLE [dbo].[D_ReportStaticsQuota](
  7. [Id] [int] IDENTITY(1,1) NOT NULL,
  8. [ReportClassArr] [nvarchar](200) NULL,
  9. [StaticsQuotaName] [nvarchar](500) NULL,
  10. [StaticsQuotaValue] [nvarchar](20) NULL,
  11. [ZBIndex] [int] NOT NULL,
  12. CONSTRAINT [PK_D_ReportStaticsQuota] PRIMARY KEY CLUSTERED
  13. (
  14. [Id] ASC
  15. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  16. ) ON [PRIMARY]
  17. '
  18. SET IDENTITY_INSERT [dbo].[D_ReportStaticsQuota] ON
  19. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (1, N'1,2,3,4,5,6,7,10,11,13,15,16,17,19,21,22,23,24,25,26,27,28,29,33,35,36,37,', N'18岁以下的病例', N'-18Y', 2)
  20. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (2, N'8,', N'年龄大于18岁的病例,及出生28天的新生儿肺炎', N'-2Y|18Y-', 2)
  21. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (3, N'3,', N'本次住院时间超过60天', N'60D-', 3)
  22. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (4, N'8,11,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,', N'本次住院超过90天', N'90D-', 3)
  23. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (5, N'1,2,4,5,6,7,10,13,', N'本次住院天数大于120天', N'120D-', 3)
  24. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (6, N'14,', N'住院时间>365天(一年)', N'365D-', 3)
  25. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (8, N'14,', N'住院24小时内出院', NULL, 4)
  26. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (9, N'14,15,16,17,33,', N'住院24小时内死亡', N'e,5', 4)
  27. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (10, N'15,16,17,33,', N'在入院后24小时内转院的病人', N'b,c,2,3', 4)
  28. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (11, N'15,16,17,', N'在入院后24小时内非医嘱离院的病人', N'd,4', 4)
  29. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (12, N'1,2,3,4,5,6,7,8,10,11,13,', N'同一疾病30日内重复入院', NULL, 5)
  30. SET IDENTITY_INSERT [dbo].[D_ReportStaticsQuota] OFF
  31. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病种类型id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_ReportStaticsQuota', @level2type=N'COLUMN',@level2name=N'ReportClassArr'
  32. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排除项' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_ReportStaticsQuota', @level2type=N'COLUMN',@level2name=N'StaticsQuotaName'
  33. End
  34. --疾病系统分类
  35. if not exists(select * from sysobjects where id=object_id('D_DiseaseSystem'))
  36. BEGIN
  37. EXEC dbo.sp_executesql @statement = N'
  38. SET ANSI_NULLS ON
  39. SET QUOTED_IDENTIFIER ON
  40. CREATE TABLE [dbo].[D_DiseaseSystem](
  41. [ID] [int] IDENTITY(1,1) NOT NULL,
  42. [DiseaseSystemName] [nvarchar](50) NULL,
  43. [Sort] [int] NULL,
  44. CONSTRAINT [PK_D_DiseaseSystem] PRIMARY KEY CLUSTERED
  45. (
  46. [ID] ASC
  47. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  48. ) ON [PRIMARY]
  49. '
  50. SET IDENTITY_INSERT [dbo].[D_DiseaseSystem] ON
  51. INSERT [dbo].[D_DiseaseSystem] ([ID], [DiseaseSystemName], [Sort]) VALUES (1, N'呼吸系统疾病/手术 ', 1)
  52. INSERT [dbo].[D_DiseaseSystem] ([ID], [DiseaseSystemName], [Sort]) VALUES (2, N'神经系统疾病/手术', 2)
  53. INSERT [dbo].[D_DiseaseSystem] ([ID], [DiseaseSystemName], [Sort]) VALUES (3, N'生殖系统疾病/手术', 3)
  54. INSERT [dbo].[D_DiseaseSystem] ([ID], [DiseaseSystemName], [Sort]) VALUES (4, N'心血管系统疾病/手术', 4)
  55. INSERT [dbo].[D_DiseaseSystem] ([ID], [DiseaseSystemName], [Sort]) VALUES (5, N'运动系统疾病/手术', 5)
  56. INSERT [dbo].[D_DiseaseSystem] ([ID], [DiseaseSystemName], [Sort]) VALUES (6, N'肿瘤(手术治疗)', 6)
  57. INSERT [dbo].[D_DiseaseSystem] ([ID], [DiseaseSystemName], [Sort]) VALUES (7, N'其他疾病/手术', 7)
  58. SET IDENTITY_INSERT [dbo].[D_DiseaseSystem] OFF
  59. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'疾病系统分类名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_DiseaseSystem', @level2type=N'COLUMN',@level2name=N'DiseaseSystemName'
  60. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_DiseaseSystem', @level2type=N'COLUMN',@level2name=N'Sort'
  61. End
  62. if not exists(select * from sysobjects where id=object_id('D_Disease_Category'))
  63. BEGIN
  64. EXEC dbo.sp_executesql @statement = N'
  65. SET ANSI_NULLS ON
  66. SET QUOTED_IDENTIFIER ON
  67. CREATE TABLE [dbo].[D_Disease_Category](
  68. [DCID] [int] IDENTITY(1,1) NOT NULL,
  69. [DiseaseType] [nvarchar](50) NOT NULL,
  70. [DiseaseType_API] [nvarchar](50) NULL,
  71. [DiseaseSystem] [int] NOT NULL,
  72. [DiseaseDescription] [nvarchar](100) NOT NULL,
  73. [SortID] [int] NOT NULL,
  74. [Enabled] [bit] NOT NULL,
  75. [Num] [nvarchar](20) NOT NULL,
  76. [IsOpen] [bit] NOT NULL,
  77. [DiseaseContent] [nvarchar](max) NULL,
  78. [IsLeakOpen] [bit] NULL,
  79. [ByMonth_StartYear] [int] NULL,
  80. [ByMonth_StartMonth] [int] NULL,
  81. [ByMonth_CurrentYear] [int] NULL,
  82. [ByMonth_CurrentMonth] [int] NULL,
  83. [ByDay_StartDate] [datetime] NULL,
  84. [ByDay_CurrentDate] [datetime] NULL,
  85. [ByDay_LeakDay] [int] NULL,
  86. [LastLeakDate] [datetime] NULL,
  87. [HisDeptList] [nvarchar](max) NULL,
  88. [HisDeptEnabled] [bit] NULL,
  89. [LeakExtractRuleEnabled] [bit] NULL,
  90. [LeakExtractRule] [int] NULL,
  91. CONSTRAINT [PK_D_Disease_Category] PRIMARY KEY CLUSTERED
  92. (
  93. [DCID] ASC
  94. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  95. ) ON [PRIMARY]
  96. '
  97. SET IDENTITY_INSERT [dbo].[D_Disease_Category] ON
  98. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (1, N'STEMI', N'AMI', 4, N'急性心肌梗死(ST 段抬高型,首次住院)', 1, 1, N'form-1', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容</p>
  99. <p><span style="white-space: pre;"> </span>1.主要诊断疾病编码(ICD-10)为I21.0~I21.3、I21.9的病例</p>
  100. <p>&nbsp;</p>
  101. <p>无需上报内容:</p>
  102. <p><span style="white-space: pre;"> </span>1.由外院诊疗后转入本院的病例</p>
  103. <p><span style="white-space: pre;"> </span>2.参与临床药物与器械试验的病例</p>
  104. <p><span style="white-space: pre;"> </span>3.18岁以下的病例</p>
  105. <p><span style="white-space: pre;"> </span>4.非首次确诊急性心肌梗死患者</p>
  106. <p><span style="white-space: pre;"> </span>5.同一疾病30日内重复入院</p>
  107. <p><span style="white-space: pre;"> </span>6.本次住院天数大于120天</p>
  108. <p><span style="white-space: pre;"> </span>7.急性小灶心肌梗死&nbsp; ICD-10&nbsp; I21.401&nbsp;</p>
  109. <p><span style="white-space: pre;"> </span>8.急性心内膜下心肌梗死&nbsp; ICD-10&nbsp; I21.402&nbsp;</p>
  110. <p><span style="white-space: pre;"> </span>9.非ST抬高性心肌梗死&nbsp; ICD-10&nbsp; I21.403&nbsp;</p>
  111. <p><span style="white-space: pre;"> </span>10.非冠心病心肌梗死&nbsp; &nbsp; ICD-10&nbsp; I21.901</p>
  112. <p>&nbsp;</p>
  113. <p>数据验证:</p>
  114. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  115. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  116. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  117. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 2)
  118. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (2, N'HF', N'HF', 4, N'心力衰竭', 2, 1, N'form-2', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容</p>
  119. <p><span style="font-size: 12pt;"><span style="white-space: pre;"> </span>1.<span style="font-family: FangSong;">主要诊断原发病 ICD-10 编码:I05 至 I09、或 I11 至 I13、 或 I20 至 I21、或 I40 至 I41、或 I42 至 I43 伴第二诊断为 I50 的出院患者。&nbsp;</span></span></p>
  120. <p><span style="font-size: 12pt;"> </span></p>
  121. <p>&nbsp;</p>
  122. <p>无需上报内容:</p>
  123. <p><span style="white-space: pre;"> </span>1.由外院诊疗后转入本院的病例</p>
  124. <p><span style="white-space: pre;"> </span>2.参与临床药物与器械试验的病例</p>
  125. <p><span style="white-space: pre;"> </span>3.非心源性的心力衰竭和各种疾病的终末情况</p>
  126. <p><span style="white-space: pre;"> </span>4.心功能Ⅰ级的病例</p>
  127. <p><span style="white-space: pre;"> </span>5.18岁以下的病例</p>
  128. <p><span style="white-space: pre;"> </span>6.同一疾病30日内重复入院</p>
  129. <p><span style="white-space: pre;"> </span>7.心脏外科手术后</p>
  130. <p><span style="white-space: pre;"> </span>8.产科手术和操作的其他并发症(O75.4)</p>
  131. <p><span style="white-space: pre;"> </span>9.流产、异位妊娠或葡萄胎妊娠(O00~O07、O08.8)</p>
  132. <p><span style="white-space: pre;"> </span>10.新生儿心力衰竭(P29.0)</p>
  133. <p><span style="white-space: pre;"> </span>11.继发性高血压 (I15)</p>
  134. <p><span style="white-space: pre;"> </span>12.入院前心脏有各类置入物(心脏起搏、除颤等辅助装置,ICD-9-CM-3编码37.61003~37.95001)</p>
  135. <p><span style="white-space: pre;"> </span>13.本次住院天数大于120天</p>
  136. <p>&nbsp;</p>
  137. <p>数据验证:</p>
  138. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  139. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  140. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  141. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 2)
  142. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (3, N'Cap-Adult', N'CAP', 1, N'社区获得性肺炎(成人,首次住院)', 13, 1, N'form-13', 1, N'<div data-v-c0d7d944="" class="content"><p style="white-space: normal;">上报内容</p>
  143. <p style="white-space: normal;"><span style="font-family: FangSong; font-size: 12pt;">主要诊断 ICD-10 编码:J13 至 J16,J18;年龄≥18 岁的出院患者。&nbsp;</span></p>
  144. <p style="white-space: normal;">&nbsp;</p>
  145. <p style="white-space: normal;">无需上报内容:</p>
  146. <p style="white-space: normal;"><span style="white-space: pre;"> </span>1.年龄小于18岁的病例</p>
  147. <p style="white-space: normal;"><span style="white-space: pre;"> </span>2.由外院住院诊疗后转入本院</p>
  148. <p style="white-space: normal;"><span style="white-space: pre;"> </span>3.参与临床药物与器械试验</p>
  149. <p style="white-space: normal;"><span style="white-space: pre;"> </span>4.肺炎反复门诊抗菌素治疗无效</p>
  150. <p style="white-space: normal;"><span style="white-space: pre;"> </span>5.同一疾病30日内重复入院</p>
  151. <p style="white-space: normal;"><span style="white-space: pre;"> </span>6.呼吸机相关性肺炎VAP</p>
  152. <p style="white-space: normal;">&nbsp;7.医院获得性肺炎HAP</p>
  153. <p style="white-space: normal;"><span style="white-space: pre;"> </span>8.本次住院时间超过60天</p>
  154. <p style="white-space: normal;">&nbsp;</p>
  155. <p style="white-space: normal;">数据验证:</p>
  156. <p style="white-space: normal;"><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  157. <p style="white-space: normal;"><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  158. <p style="white-space: normal;"><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  159. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 2)
  160. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (4, N'Hip', N'HIP', 5, N'髋关节置换术', 5, 1, N'form-5', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容</p>
  161. <div class="page" title="Page 33">
  162. <div class="layoutArea">
  163. <div class="column">
  164. <p><span style="font-size: 12pt; font-family: FangSong;">主要手术 ICD-9-CM-3 编码:00.7,81.51 至 81.53 的手术出院患者。&nbsp;</span></p>
  165. </div>
  166. </div>
  167. </div>
  168. <p>&nbsp;</p>
  169. <p>无需上报内容:</p>
  170. <p><span style="white-space: pre;"> </span>1.参与临床药物与器械试验的病例,</p>
  171. <p><span style="white-space: pre;"> </span>2.18岁以下的病例,</p>
  172. <p><span style="white-space: pre;"> </span>3.同一疾病30日内重复入院,</p>
  173. <p><span style="white-space: pre;"> </span>4.本次住院超过120天!</p>
  174. <p>&nbsp;</p>
  175. <p>数据验证:</p>
  176. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  177. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  178. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  179. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 1)
  180. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (5, N'Knee', N'KNEE', 5, N'膝关节置换术', 6, 1, N'form-6', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容</p>
  181. <div class="page" title="Page 34">
  182. <div class="layoutArea">
  183. <div class="column">
  184. <p><span style="font-size: 12pt; font-family: FangSong;">主要手术 ICD-9-CM-3 编码:00.80 至 00.83,81.54, 81.55 的手术出院患者。&nbsp;</span></p>
  185. </div>
  186. </div>
  187. </div>
  188. <p>&nbsp;</p>
  189. <p>无需上报内容:</p>
  190. <p><span style="white-space: pre;"> </span>1.参与临床药物与器械试验的病例,</p>
  191. <p><span style="white-space: pre;"> </span>2.18岁以下的病例,</p>
  192. <p><span style="white-space: pre;"> </span>3.同一疾病30日内重复入院,</p>
  193. <p><span style="white-space: pre;"> </span>4.本次住院超过120天!</p>
  194. <p>&nbsp;</p>
  195. <p>数据验证:</p>
  196. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  197. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  198. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  199. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 1)
  200. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (6, N'STK', N'STK', 2, N'脑梗死(首次 住院)', 3, 1, N'form-3', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容:</p>
  201. <p><span style="font-family: FangSong_GB2312; font-size: 12pt;">主要诊断 ICD-10 编码:I63.0 至 I63.9 的出院患者。&nbsp;</span></p>
  202. <p>&nbsp;</p>
  203. <p>无需上报内容:</p>
  204. <p><span style="white-space: pre;"> </span>1.由外院诊疗后转入本院的病例</p>
  205. <p><span style="white-space: pre;"> </span>2.参与临床药物与器械试验的病例</p>
  206. <p><span style="white-space: pre;"> </span>3.18岁以下的病例</p>
  207. <p><span style="white-space: pre;"> </span>4.非首次确诊急性脑梗死患者</p>
  208. <p><span style="white-space: pre;"> </span>5.脑梗死后遗症I69.3</p>
  209. <p><span style="white-space: pre;"> </span>6.脑梗死反复门诊治疗无效</p>
  210. <p><span style="white-space: pre;"> </span>7.同一疾病30日内重复入院</p>
  211. <p><span style="white-space: pre;"> </span>8.腔隙性脑梗死</p>
  212. <p><span style="white-space: pre;"> </span>9.小脑梗死</p>
  213. <p><span style="white-space: pre;"> </span>10.出血性脑梗死</p>
  214. <p><span style="white-space: pre;"> </span>11.本次住院天数大于120天</p>
  215. <p>&nbsp;</p>
  216. <p>数据验证:</p>
  217. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  218. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  219. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  220. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 2)
  221. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (7, N'CABG', N'CABG', 4, N'冠状动脉旁路移植术', 7, 1, N'form-7', 1, N'<div data-v-c0d7d944="" class="content"><p>CABG 冠状动脉旁路移植术</p>
  222. <p>上报内容</p>
  223. <p><span style="font-size: 12pt;"><span style="font-family: FangSong_GB2312;">主要手术 ICD-9-CM-3 编码:36.1 的手术出院患者</span></span></p>
  224. <p>&nbsp;</p>
  225. <p>无需上报内容:</p>
  226. <p><span style="white-space: pre;"> </span>1.参与临床药物与器械试验的病例,</p>
  227. <p><span style="white-space: pre;"> </span>2.18岁以下的病例,</p>
  228. <p><span style="white-space: pre;"> </span>3.同一疾病30日内重复入院,</p>
  229. <p><span style="white-space: pre;"> </span>4.本次住院超过120天!</p>
  230. <p>&nbsp;</p>
  231. <p>数据验证:</p>
  232. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  233. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  234. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  235. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 1)
  236. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (8, N'Cap', N'CAP2', 1, N'社区获得性肺炎(儿童,首次住院)', 4, 1, N'form-4', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容</p>
  237. <p><span style="font-family: FangSong; font-size: 12pt;">主要诊断 ICD-10 编码:J13 至 J16,J18;2 岁≤年龄&lt; 18 岁的出院患儿。&nbsp;</span></p>
  238. <p>&nbsp;</p>
  239. <p>无需上报内容:</p>
  240. <p><span style="white-space: pre;"> </span>1.年龄大于18岁以及小于2岁的新生儿肺炎</p>
  241. <p><span style="white-space: pre;"> </span>2.由外院住院诊疗后转入本院,</p>
  242. <p><span style="white-space: pre;"> </span>3.参与临床药物与器械试验,</p>
  243. <p><span style="white-space: pre;"> </span>4.肺炎反复门诊抗菌素治疗无效,</p>
  244. <p><span style="white-space: pre;"> </span>5.同一疾病30日内重复入院,</p>
  245. <p><span style="white-space: pre;"> </span>6.呼吸机相关性肺炎VAP</p>
  246. <p><span style="white-space: pre;"> </span>7.医院获得性肺炎HAP</p>
  247. <p><span style="white-space: pre;"> </span>8.本次住院时间超过90天</p>
  248. <p>&nbsp;</p>
  249. <p>数据验证:</p>
  250. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  251. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  252. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  253. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 2)
  254. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (9, N'PIP', N'PIP', 7, N'围手术期预防感染', 18, 1, N'form-18', 1, N'<div data-v-c0d7d944="" class="content"><p>“围手术期预防感染”(PIP)与“围手术期预防深静脉血栓栓塞”(DVT)有重复的病种:</p>
  255. <p>(1)&nbsp; &nbsp;闭合性心脏瓣膜切开术</p>
  256. <p>(2)&nbsp; &nbsp;心脏瓣膜置换术</p>
  257. <p>(3)&nbsp; &nbsp;脊柱颈融合术</p>
  258. <p>(4)&nbsp; &nbsp;脊柱再融合术</p>
  259. <p>(5)&nbsp; &nbsp;冠状动脉搭桥术</p>
  260. <p>(6)&nbsp; &nbsp;髋关节置换术</p>
  261. <p>(7)&nbsp; &nbsp;膝关节置换术</p>
  262. <p>因DVT中已包含PIP的内容,此种情况仅填写DVT,无需填报2次。</p>
  263. <div class="page" title="Page 59">
  264. <div class="layoutArea">
  265. <div class="column">
  266. <p>&nbsp;</p>
  267. </div>
  268. </div>
  269. </div></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 1)
  270. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (10, N'CS', N'CS', 3, N'剖宫产', 12, 1, N'form-12', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容:</p>
  271. <p><span style="font-family: FangSong; font-size: 12pt;">主要手术 ICD-9-CM-3 编码:74.0,74.1,74.2,74.4, 74.99 的手术出院患者。&nbsp;</span></p>
  272. <div class="page" title="Page 36">
  273. <div class="layoutArea">
  274. <div class="column"><span style="font-size: 12pt;"> </span></div>
  275. <span style="font-size: 12pt;"> </span></div>
  276. <span style="font-size: 12pt;"> </span></div>
  277. <p>&nbsp;</p>
  278. <p>无需上报内容:</p>
  279. <p><span style="white-space: pre;"> </span>1.由外院剖宫产术后转入本院的病例,</p>
  280. <p><span style="white-space: pre;"> </span>2.参与临床药物与器械试验的病例,</p>
  281. <p><span style="white-space: pre;"> </span>3.18岁以下的病例,</p>
  282. <p><span style="white-space: pre;"> </span>4.同一疾病30日内重复入院,</p>
  283. <p><span style="white-space: pre;"> </span>5.本次住院超过120天!</p>
  284. <p><span style="white-space: pre;"> </span>6.病历记录孕期<28周或不明的</p>
  285. <p>&nbsp;</p>
  286. <p>数据验证:</p>
  287. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  288. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  289. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  290. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 1)
  291. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (11, N'AECOPD', N'COPD', 1, N'慢性阻塞性肺疾病急性发作(住院)', 10, 1, N'form-10', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容</p>
  292. <p><span style="font-family: FangSong_GB2312; font-size: 12pt;">主要诊断 ICD-10 编码:J44.0,J44.1 的出院患者。&nbsp;</span></p>
  293. <p>&nbsp;</p>
  294. <p>无需上报内容:</p>
  295. <p><span style="white-space: pre;"> </span>1.由外院住院诊疗后转入本院的病例</p>
  296. <p><span style="white-space: pre;"> </span>2.18岁以下的病例,</p>
  297. <p><span style="white-space: pre;"> </span>3.同一疾病30日内重复入院,</p>
  298. <p><span style="white-space: pre;"> </span>4.本次住院超过90天!</p>
  299. <p>&nbsp;</p>
  300. <p>数据验证:</p>
  301. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  302. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  303. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  304. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 2)
  305. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (12, N'DVT', N'DVT', 7, N'围手术期深静脉血栓', 17, 1, N'form-17', 1, N'<div data-v-c0d7d944="" class="content"><p style="white-space: normal;">“围手术期预防深静脉血栓栓塞”(DVT)与“围手术期预防感染”(PIP)有重复的病种:</p><p style="white-space: normal;">(1)&nbsp; &nbsp;闭合性心脏瓣膜切开术</p><p style="white-space: normal;">(2)&nbsp; &nbsp;心脏瓣膜置换术</p><p style="white-space: normal;">(3)&nbsp; &nbsp;脊柱颈融合术</p><p style="white-space: normal;">(4)&nbsp; &nbsp;脊柱再融合术</p><p style="white-space: normal;">(5)&nbsp; &nbsp;冠状动脉搭桥术</p><p style="white-space: normal;">(6)&nbsp; &nbsp;髋关节置换术</p><p style="white-space: normal;">(7)&nbsp; &nbsp;膝关节置换术</p><p style="white-space: normal;">因DVT中已包含PIP的内容,此种情况仅填写DVT,无需填报2次。</p><p><br></p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1)
  306. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (13, N'TIA', N'TIA', 2, N'短暂性脑缺血发作', 8, 1, N'form-8', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容:</p>
  307. <p><span style="font-family: FangSong_GB2312; font-size: 12pt;">主要诊断 ICD-10 编码:G45.0 至 G45.9 的出院患者。&nbsp;</span></p>
  308. <div class="page" title="Page 17">
  309. <div class="layoutArea">
  310. <div class="column">
  311. <p>&nbsp;</p>
  312. </div>
  313. </div>
  314. </div>
  315. <p>无需上报内容:</p>
  316. <p><span style="white-space: pre;"> </span>1.由外院诊疗后转入本院的病例</p>
  317. <p><span style="white-space: pre;"> </span>2.参与临床药物与器械试验的病例</p>
  318. <p><span style="white-space: pre;"> </span>3.18岁以下的病例</p>
  319. <p><span style="white-space: pre;"> </span>4.非首次确诊TIA患者</p>
  320. <p><span style="white-space: pre;"> </span>5.同一疾病30日内重复入院</p>
  321. <p><span style="white-space: pre;"> </span>6.本次住院天数大于120天</p>
  322. <p><span style="white-space: pre;"> </span>7.TIA反复门诊治疗无效</p>
  323. <p>&nbsp;</p>
  324. <p>数据验证:</p>
  325. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  326. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  327. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  328. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 2)
  329. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (14, N'HBIPS', N'HBIPS', 7, N'住院精神病患者安全和权益', 9, 1, N'form-9', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容:</p>
  330. <div class="page" title="Page 63">
  331. <div class="layoutArea">
  332. <div class="column">
  333. <p><span style="font-size: 12pt; font-family: FangSong_GB2312;">主要诊断 ICD-10 编码:F00-F99 的出院患者。&nbsp;</span></p>
  334. </div>
  335. </div>
  336. </div>
  337. <div class="page" title="Page 63">&nbsp;</div>
  338. <p>无需上报内容:</p>
  339. <p><span style="white-space: pre;"> </span>1.住院时间>365天(一年)</p>
  340. <p><span style="white-space: pre;"> </span>2.住院24小时内出院</p>
  341. <p><span style="white-space: pre;"> </span>3.住院24小时内死亡</p>
  342. <p><span style="white-space: pre;"> </span>4.临床药物或器械试验的病例</p>
  343. <p>&nbsp;</p>
  344. <p>数据验证</p>
  345. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  346. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  347. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  348. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 2)
  349. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (15, N'TC', N'TC', 6, N'甲状腺癌(手术治疗)', 14, 1, N'form-14', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容</p>
  350. <div class="page" title="Page 42">
  351. <div class="layoutArea">
  352. <div class="column">
  353. <p><span style="font-size: 16.000000pt; font-family: ''FangSong'';"><span style="font-size: 12pt;">主要诊断 ICD-10 编码:C73 开头,且伴主要手术操作 ICD-9-CM-3 编码:06.2 至 06.5 的手术出院患者</span>。&nbsp;</span></p>
  354. </div>
  355. </div>
  356. </div>
  357. <p>&nbsp;</p>
  358. <p>无需上报内容:</p>
  359. <p><span style="white-space: pre;"> </span>1. 18岁以下的病例;</p>
  360. <p><span style="white-space: pre;"> </span>2. 参与临床药物器械试验者;</p>
  361. <p><span style="white-space: pre;"> </span>3. 本次住院超过90天;</p>
  362. <p><span style="white-space: pre;"> </span>4. 在入院后24小时内死亡的患者;</p>
  363. <p><span style="white-space: pre;"> </span>5. 在入院后24小时内转院的病人;</p>
  364. <p><span style="white-space: pre;"> </span>6. 在入院后24小时内非医嘱离院的病人。</p>
  365. <p>&nbsp;</p>
  366. <p>数据验证:</p>
  367. <p>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  368. <p>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  369. <p>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  370. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 3)
  371. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (16, N'LC', N'LC', 6, N'肺癌(手术治疗)', 16, 1, N'form-16', 1, N'<div data-v-c0d7d944="" class="content"><p><span style="font-family: -apple-system, BlinkMacSystemFont, ''Segoe UI'', Roboto, Oxygen, Ubuntu, Cantarell, ''Open Sans'', ''Helvetica Neue'', sans-serif;">上报内容</span></p>
  372. <p><span style="font-size: 12pt;">主要诊断 ICD-10 编码:C34 开头,且伴主要手术 ICD-9-CM-3 编码:32.2 至 32.6,&nbsp; &nbsp; &nbsp; 32.9 的手术出院患者。</span><span style="font-family: FangSong; font-size: 16pt;">&nbsp;</span></p>
  373. <p>&nbsp;</p>
  374. <p>无需上报内容:</p>
  375. <p><span style="white-space: pre;"> </span>1. 18岁以下的病例;</p>
  376. <p><span style="white-space: pre;"> </span>2. 参与临床药物器械试验者;</p>
  377. <p><span style="white-space: pre;"> </span>3. 本次住院超过90天;</p>
  378. <p><span style="white-space: pre;"> </span>4. 在入院后24小时内死亡的患者;</p>
  379. <p><span style="white-space: pre;"> </span>5. 在入院后24小时内转院的病人;</p>
  380. <p><span style="white-space: pre;"> </span>6. 在入院后24小时内非医嘱离院的病人。</p>
  381. <p>&nbsp;</p>
  382. <p>数据验证:</p>
  383. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  384. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  385. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 3)
  386. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (17, N'BC', N'BC', 6, N'乳腺癌(手术治疗)', 15, 1, N'form-15', 1, N'<div data-v-c0d7d944="" class="content"><p>上报内容</p>
  387. <p><span style="font-size: 12pt;">主要诊断 ICD-10 编码:C50 开头,且伴主要手术 ICD-9-CM-3 编码:85.2 至 85.4 的手术出院患者。</span><span style="font-family: FangSong; font-size: 16pt;">&nbsp;</span></p>
  388. <p>&nbsp;</p>
  389. <p>无需上报内容:</p>
  390. <p><span style="white-space: pre;"> </span>1. 18岁以下的病例;</p>
  391. <p><span style="white-space: pre;"> </span>2. 参与临床药物器械试验者;</p>
  392. <p><span style="white-space: pre;"> </span>3. 本次住院超过90天;</p>
  393. <p><span style="white-space: pre;"> </span>4. 在入院后24小时内死亡的患者;</p>
  394. <p><span style="white-space: pre;"> </span>5. 在入院后24小时内转院的病人;</p>
  395. <p><span style="white-space: pre;"> </span>6. 在入院后24小时内非医嘱离院的病人。</p>
  396. <p>&nbsp;</p>
  397. <p>数据验证:</p>
  398. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  399. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  400. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  401. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 1, 1, 3)
  402. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (19, N'CAC', N'CAC', 1, N'哮喘(成人,急性发作,住院)', 19, 1, N'form-19', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容:</span></p>
  403. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;"> </span></p>
  404. <div class="page" title="Page 30">
  405. <div class="layoutArea">
  406. <div class="column">
  407. <p><span style="font-size: 12pt; font-family: FangSong_GB2312;">主要诊断 ICD-10 编码:J45,J46;年龄≥18 岁的出院患者。&nbsp;</span></p>
  408. <p>&nbsp;</p>
  409. </div>
  410. </div>
  411. </div>
  412. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  413. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">由外院住院诊疗后转入本院的病例</span></p>
  414. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2. 18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  415. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院天数大于90天</span></p>
  416. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">4. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物器械试验者</span></p>
  417. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;">&nbsp;</p>
  418. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  419. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  420. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  421. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  422. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 2)
  423. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (20, N'DG', N'DG', 3, N'异位妊娠(手术治疗)', 20, 1, N'form-20', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容:</span></p>
  424. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;"> </span></p>
  425. <div class="page" title="Page 38">
  426. <div class="layoutArea">
  427. <div class="column">
  428. <p><span style="font-size: 12pt; font-family: FangSong;">主要诊断 ICD-10 编码:O00 开头,且伴主要手术 ICD-9-CM-3 编码:66.01,66.02,&nbsp; &nbsp; &nbsp; 66.62,66.95, 74.30 的手术出院患者。&nbsp;</span></p>
  429. </div>
  430. </div>
  431. </div>
  432. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  433. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  434. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  435. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">有记录的理由不列质控管理的病例</span></p>
  436. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天</span></p>
  437. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  438. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  439. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  440. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  441. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  442. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 3)
  443. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (21, N'PD', N'PD', 2, N'帕金森病', 21, 1, N'form-21', 1, N'<div data-v-c0d7d944="" class="content"><p style="margin: 0 0 10px; background: white; box-sizing: border-box;"><span style="font-family: 微软雅黑, sans-serif;">上报内容</span></p>
  444. <p style=";background: white;"><span style="font-family: FangSong_GB2312; font-size: 12pt;">主要诊断 ICD-10 编码:G20.x00 的出院患者。&nbsp;</span></p>
  445. <div class="page" title="Page 19">
  446. <div class="layoutArea">
  447. <div class="column">
  448. <div class="page" title="Page 26">
  449. <div class="layoutArea">
  450. <div class="column"><span style="font-size: 12pt;"> </span></div>
  451. <span style="font-size: 12pt;"> </span></div>
  452. <span style="font-size: 12pt;"> </span></div>
  453. </div>
  454. </div>
  455. </div>
  456. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  457. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">无需上报内容:</span></p>
  458. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">1.</span><span style="font-family: 微软雅黑, sans-serif;">由外院诊疗后转入本院的病例</span></p>
  459. <p style=";background: white;"><span style="font-family: 微软雅黑, sans-serif;">2.</span><span style="font-family: 微软雅黑, sans-serif;">参与临床药物与器械试验的病例</span></p>
  460. <p style=";background: white;"><span style="font-family: 微软雅黑, sans-serif;">3.</span><span style="font-family: 微软雅黑, sans-serif;">到达医院前已经被确认采取安慰治疗或姑息治疗者</span></p>
  461. <p style=";background: white;"><span style="font-family: 微软雅黑, sans-serif;">4.18</span><span style="font-family: 微软雅黑, sans-serif;">岁以下的病例</span></p>
  462. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">5.</span><span style="font-family: 微软雅黑, sans-serif;">本次住院天数大于90天</span></p>
  463. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  464. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">数据验证:</span></p>
  465. <p style="margin: 0 0 10px; background: white; box-sizing: border-box;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: 微软雅黑, sans-serif;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  466. <p style="margin: 0 0 10px; background: white; box-sizing: border-box;"><span style="box-sizing: border-box;">2. </span><span style="font-family: 微软雅黑, sans-serif;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  467. <p><span style="font-size: 14px; font-family: 微软雅黑, sans-serif;">3. </span><span style="font-size: 14px; font-family: 微软雅黑, sans-serif;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 2)
  468. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (22, N'CSE', N'CSE', 2, N'惊厥性癫痫持续状态', 22, 1, N'form-22', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;">上报内容:</p>
  469. <p style="background: white; margin: 0 0 10px 0;"><span style="font-size: 12pt;">主要诊断 ICD-10 编码:G41.0、G41.8、G41.9 的出院患者。</span><span style="font-family: FangSong_GB2312; font-size: 16pt;">&nbsp;</span></p>
  470. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  471. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  472. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">由外院诊疗后转入本院的病例</span></p>
  473. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  474. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">到达医院前已经被确认采取安慰治疗或姑息治疗者</span></p>
  475. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">4.18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  476. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">5.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院天数大于90天</span></p>
  477. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  478. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  479. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  480. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  481. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  482. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 2)
  483. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (23, N'aSAH', N'aSAH', 2, N'急性动脉瘤性蛛网膜下腔出血', 23, 1, N'form-23', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容:</span></p>
  484. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: FangSong; font-size: 12pt;">主要诊断 ICD-10 编码:I60.0 至 I60.9,且伴主要手术 ICD-9-CM 编码:01.3,02.2,02.3,38.3,38.4,38.6,39.5 的手术出院患者。&nbsp;</span></p>
  485. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  486. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  487. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">由外院诊疗后转入本院的病例</span></p>
  488. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  489. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">到达医院前已经被确认采取安慰治疗或姑息治疗者</span></p>
  490. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">4.18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  491. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">5.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院天数大于90天</span></p>
  492. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;">&nbsp;</p>
  493. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  494. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  495. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  496. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  497. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 3)
  498. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (24, N'MVR', N'MVR', 4, N'二尖瓣置换术', 24, 1, N'form-24', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容:</span></p>
  499. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: FangSong; font-size: 12pt;">&nbsp; 主要手术 ICD-9-CM-3 编码:35.02、35.12、35.23、35.24 的手术出院患者。&nbsp;</span></p>
  500. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  501. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  502. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp; 1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  503. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp; 2.18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  504. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp; 3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天</span></p>
  505. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  506. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  507. <p style="background: white; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">控指标。</span></p>
  508. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  509. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  510. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1)
  511. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (25, N'MEN', N'MEN', 2, N'脑膜瘤(初发手术治疗)', 25, 1, N'form-25', 1, N'<div data-v-c0d7d944="" class="content"><p style="margin: 0 0 10px; background: white; box-sizing: border-box;"><span style="font-family: 微软雅黑, sans-serif;">上报内容:</span></p>
  512. <p style="margin: 0 0 10px; background: white; box-sizing: border-box;"><span style="font-family: FangSong; font-size: 12pt;">主要诊断 ICD-10 编码:C70.0、C70.9、D32.0、D32.9、 D42.9,伴 ICD-9-CM-3 编码:01.51、01.59 的手术出院患者&nbsp;</span></p>
  513. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  514. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">无需上报内容:</span></p>
  515. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">1.</span><span style="font-family: 微软雅黑, sans-serif;">由外院诊疗后转入本院的病例</span></p>
  516. <p style=";background: white;"><span style="font-family: 微软雅黑, sans-serif;">2.</span><span style="font-family: 微软雅黑, sans-serif;">参与临床药物与器械试验的病例</span></p>
  517. <p style=";background: white;"><span style="font-family: 微软雅黑, sans-serif;">3.</span><span style="font-family: 微软雅黑, sans-serif;">到达医院前已经被确认采取安慰治疗或姑息治疗者</span></p>
  518. <p style=";background: white;"><span style="font-family: 微软雅黑, sans-serif;">4.18</span><span style="font-family: 微软雅黑, sans-serif;">岁以下的病例</span></p>
  519. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">5.</span><span style="font-family: 微软雅黑, sans-serif;">本次住院天数大于90天</span></p>
  520. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  521. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">数据验证:</span></p>
  522. <p style="margin: 0 0 10px; background: white; box-sizing: border-box;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: 微软雅黑, sans-serif;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  523. <p style="margin: 0 0 10px; background: white; box-sizing: border-box;"><span style="box-sizing: border-box;">2. </span><span style="font-family: 微软雅黑, sans-serif;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  524. <p><span style="font-size: 14px; font-family: 微软雅黑, sans-serif;">3. </span><span style="font-size: 14px; font-family: 微软雅黑, sans-serif;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  525. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 3)
  526. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (26, N'ICH', N'ICH', 2, N'脑出血', 26, 1, N'form-26', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容:</span></p>
  527. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: FangSong_GB2312; font-size: 12pt;">主要诊断 ICD-10 编码:I61.0 至 I61.9 的出院患者&nbsp;</span></p>
  528. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;">&nbsp;</p>
  529. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  530. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">由外院诊疗后转入本院的病例</span></p>
  531. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  532. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">到达医院前已经被确认采取安慰治疗或姑息治疗者</span></p>
  533. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">4.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">非首次确诊急性出血性卒中</span></p>
  534. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">5.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">创伤性脑出血S06.80</span></p>
  535. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">6.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">脑出血后遗症 I69.10</span></p>
  536. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">7.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">出血性脑梗死</span></p>
  537. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">8.18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  538. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">9.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院天数大于90天</span></p>
  539. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  540. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  541. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  542. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  543. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  544. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 2)
  545. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (27, N'GLI', N'GLI', 2, N'胶质瘤(初发,手术治疗)', 27, 1, N'form-27', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;">上报内容:</p>
  546. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: FangSong; font-size: 12pt;">主要诊断 ICD-10 编码:C71,伴 ICD-9-CM-3 编码:01.52 至 01.59 的手术出院患者。&nbsp;</span></p>
  547. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  548. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  549. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">由外院诊疗后转入本院的病例</span></p>
  550. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  551. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">到达医院前已经被确认采取安慰治疗或姑息治疗者</span></p>
  552. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">4.18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  553. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">5.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院天数大于90天</span></p>
  554. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  555. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">数据验证:</span></p>
  556. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  557. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  558. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  559. <p>&nbsp;</p>
  560. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 3)
  561. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (28, N'PA', N'PA', 2, N'垂体腺瘤(初发,手术治疗)', 28, 1, N'form-28', 1, N'<div data-v-c0d7d944="" class="content"><p style="text-indent: 28px; background: white; margin: 0 0 10px 0;">上报内容:</p>
  562. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;">&nbsp;</p>
  563. <div class="page" title="Page 22">
  564. <div class="layoutArea">
  565. <div class="column">
  566. <p><span style="font-size: 16.000000pt; font-family: ''FangSong'';"><span style="font-size: 12pt;">&nbsp; &nbsp; &nbsp;主要诊断 ICD-10 编码:D35.2、C75.1、D44.3、E22.0、 E23.6,伴 ICD-9-CM-3 编&nbsp; &nbsp; &nbsp; &nbsp; 码:07.61 至 07.69、07.71、07.72、 07.79 和 01.59 的手术出院患者。</span>&nbsp;</span></p>
  567. </div>
  568. </div>
  569. </div>
  570. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  571. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp; &nbsp; &nbsp; 无需上报内容:</span></p>
  572. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">由外院诊疗后转入本院的病例</span></p>
  573. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  574. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">到达医院前已经被确认采取安慰治疗或姑息治疗者</span></p>
  575. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">4.18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  576. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">5.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院天数大于90天</span></p>
  577. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  578. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  579. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  580. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  581. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  582. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 3)
  583. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (29, N'AVR', N'AVR', 4, N'主动脉瓣置换术', 29, 1, N'form-29', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;"><span style="font-size: 12pt; font-family: FangSong;">上报内容:</span></p>
  584. <div class="page" title="Page 11">
  585. <div class="layoutArea">
  586. <div class="column">
  587. <p><span style="font-size: 12pt; font-family: FangSong;">主要手术 ICD-9-CM-3 编码:35.0、35.2 的手术出院患者。&nbsp;</span></p>
  588. <p>&nbsp;</p>
  589. </div>
  590. </div>
  591. </div>
  592. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  593. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  594. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2. 18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  595. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天</span></p>
  596. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  597. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  598. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  599. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  600. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1)
  601. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (30, N'ASD', N'ASD', 4, N'房间隔缺损手术', 30, 1, N'form-30', 1, N'<div data-v-c0d7d944="" class="content"><p style="text-indent: 28px; background: white; margin: 0 0 10px 0;">&nbsp;</p>
  602. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;上报内容:</span></p>
  603. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: FangSong; font-size: 16pt;"><span style="font-size: 12pt;">&nbsp; 主要手术 ICD-9-CM-3 编码:35.53、35.55、35.62、35.72 的手术出院患者。</span>&nbsp;</span></p>
  604. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  605. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp; &nbsp; &nbsp; 无需上报内容:</span></p>
  606. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例,</span></p>
  607. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">外院转入手术失敗病例</span></p>
  608. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天</span></p>
  609. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  610. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  611. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  612. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  613. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  614. <p>&nbsp;</p>
  615. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1)
  616. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (31, N'VSD', N'VSD', 4, N'室间隔缺损手术', 31, 1, N'form-31', 1, N'<div data-v-c0d7d944="" class="content"><p style="text-indent: 28px; background: white; margin: 0 0 10px 0;">&nbsp;</p>
  617. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;上报内容:</span></p>
  618. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: FangSong; font-size: 16pt;"><span style="font-size: 12pt;">&nbsp; 主要手术 ICD-9-CM-3 编码:35.53、35.55、35.62、35.72 的手术出院患者。</span>&nbsp;</span></p>
  619. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  620. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp; &nbsp; &nbsp; 无需上报内容:</span></p>
  621. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例,</span></p>
  622. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">外院转入手术失敗病例</span></p>
  623. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天</span></p>
  624. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  625. <p style="text-indent: 28px; background: white;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  626. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  627. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  628. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  629. <p>&nbsp;</p>
  630. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 1)
  631. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (32, N'AF', N'AF', 4, N'房颤', 32, 1, N'form-32', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容</span></p>
  632. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: FangSong_GB2312; font-size: 12pt;">主要诊断 ICD-10 编码:I48 的出院患者&nbsp;</span></p>
  633. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;">&nbsp;</p>
  634. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  635. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例,</span></p>
  636. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">有记录的理由不列质控管理的病例,</span></p>
  637. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天!</span></p>
  638. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;">&nbsp;</p>
  639. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  640. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  641. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  642. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 2)
  643. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (33, N'GC', N'GC', 6, N'胃癌(手术治疗)', 33, 1, N'form-33', 1, N'<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容:</span></p>
  644. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;"> </span></p>
  645. <div class="page" title="Page 44">
  646. <div class="layoutArea">
  647. <div class="column">
  648. <p><span style="font-size: 12pt; font-family: FangSong;">主要诊断 ICD-10 编码:C16 开头,且伴主要手术 ICD-9-CM-3 编码:43.4 至 43.9 的手术出院患者。&nbsp;</span></p>
  649. </div>
  650. </div>
  651. </div>
  652. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  653. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  654. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span> <span style="font-family: ''微软雅黑'',sans-serif; color: black;">18</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">岁以下的病例</span></p>
  655. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物器械试验者</span></p>
  656. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天</span></p>
  657. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">4. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">在入院后24小时内死亡的患者</span></p>
  658. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">5. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">在入院后24小时内转院的病人</span></p>
  659. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  660. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: 微软雅黑, sans-serif;">数据验证:</span></p>
  661. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  662. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  663. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  664. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 3)
  665. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (34, N'UM', N'UM', 3, N'子宫肌瘤(手术治疗)', 34, 1, N'form-34', 1, N'<div data-v-c0d7d944="" class="content"><p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;"> </span></span></p>
  666. <div class="page" title="Page 39">
  667. <div class="layoutArea">
  668. <div class="column">
  669. <p><span style="font-size: 12pt; font-family: FangSong;">上报内容:</span></p>
  670. <p><span style="font-size: 12pt; font-family: FangSong;">主要诊断 ICD-10 编码与名称:D25 开头,且伴主要手术 ICD-9-CM-3 编码:68.29,68.3 至 68.5,68.9 的手术出院 患者。&nbsp;</span></p>
  671. <p>&nbsp;</p>
  672. </div>
  673. </div>
  674. </div>
  675. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 12pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">无需上报内容:</span></span></p>
  676. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;">&nbsp;</p>
  677. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 12pt; background: #ffffff;">1.参与临床药物与器械试验的病例,</span></p>
  678. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-size: 12pt;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; background: #ffffff;">2.医师</span><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; background: #ffffff;"><span style="font-family: Helvetica Neue;">有记录的理由</span></span><span style="font-family: 宋体; line-height: 18.2px; background: #ffffff;"><span style="font-family: 宋体;">,</span></span><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; background: #ffffff;"><span style="font-family: Helvetica Neue;">不列质控管理的病例</span>,</span></span></p>
  679. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 12pt; background: #ffffff;">4.本次住院超过90天!</span></p>
  680. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;">&nbsp;</p>
  681. <p>数据验证:</p>
  682. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  683. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  684. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  685. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;">&nbsp;</p>
  686. <p>&nbsp;</p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 3)
  687. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (35, N'SEP', N'SEP', 7, N'严重脓毒症和脓毒症休克早期治疗', 35, 1, N'form-35', 1, N'<div data-v-c0d7d944="" class="content"><p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">上报内容</span></span></p>
  688. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;"> </span></span></p>
  689. <div class="page" title="Page 65">
  690. <div class="layoutArea">
  691. <div class="column">
  692. <p><span style="font-size: 12pt; font-family: FangSong;">主要诊断/其他诊断 ICD-10 编码:A02.1,A22.7,A32.7, A40.1 至 A40.9, A41.0 至 A41.9,A42.7,A54.8,B73.7, R65.2,R65.3,R65.9 的出院患者。&nbsp;</span></p>
  693. <p>&nbsp;</p>
  694. <span style="font-size: 12pt;"> </span></div>
  695. <span style="font-size: 12pt;"> </span></div>
  696. <span style="font-size: 12pt;"> </span></div>
  697. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">无需上报内容</span></span></p>
  698. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;">&nbsp;</p>
  699. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: -apple-system; line-height: 19.0667px; color: #333333; font-size: 11pt;">1、参与临床药物与器械试验的病例</span></p>
  700. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: -apple-system; line-height: 19.0667px; color: #333333; font-size: 11pt;">2、到达医院前,已经被确认采取安慰治疗或姑息治疗者</span></p>
  701. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: -apple-system; line-height: 19.0667px; color: #333333; font-size: 11pt;">3、18岁以下的病例</span></p>
  702. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: -apple-system; line-height: 19.0667px; color: #333333; font-size: 11pt;">4、本次住院天数大于90天</span></p>
  703. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: -apple-system; line-height: 19.0667px; color: #333333; font-size: 11pt;">5、由外院感染性休克诊疗后转入本院的病例</span></p>
  704. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: -apple-system; line-height: 19.0667px; color: #333333; font-size: 11pt;">6、在医师病程记录,有在严重脓毒症出现后3小时内出现被确认采取安慰治疗或姑息治疗的医嘱</span></p>
  705. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: -apple-system; line-height: 19.0667px; color: #333333; font-size: 11pt;">7、在医师病程记录,在感染性休克出现后6小时内出现被确认采取安慰治疗或姑息治疗的医嘱</span></p>
  706. <p class="MsoNormal" style="margin: 0pt 0pt 0.0001pt; text-align: justify; font-family: Calibri; font-size: 10.5pt;"><span style="font-size: 10.5pt;">&nbsp;</span></p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 2)
  707. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (36, N'VTE', N'VTE', 7, N'中高危风险患者预防静脉血栓栓塞症', 36, 1, N'form-36', 1, N'<div data-v-c0d7d944="" class="content"><p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">无需上报内容</span></span></p>
  708. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">1.患者年龄小于18岁</span></p>
  709. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">2.住院时间超过90天的患者</span></p>
  710. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">3.参与临床试验的患者</span></p>
  711. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">4.患者入住或转入ICU的主要诊断或其他诊断ICD-10代码中有以下</span></p>
  712. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">(</span>1)栓塞和血栓形成ICD-10编码四位亚目及病种名称</span></p>
  713. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">(</span>2)产科并发栓塞ICD-10编码四位亚目及名称</span></p>
  714. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">(</span>3)神经内科脑梗死ICD-10编码四位亚目及病种名称</span></p>
  715. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">(</span>4)经神科ICD-10编码(F00~99)及病种名称</span></p>
  716. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">5.患者入住或转入ICU的主要手术与操作名称与其ICD-9.CM.3代码中,有血管外科手术名称者(如血管内膜剥脱术等)</span></p>
  717. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;">&nbsp;</p>
  718. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">6.已报送“</span><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; color: #0000ff; font-size: 10.5pt; background: #ffffff;"><span style="color: #000000;">DVT,STK,STEMI</span>,</span><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">TKR,THR,CABG,AVR,MVR,ASD,VSD"单病种质量监测信息项者,不再重复报送!</span></p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 2)
  719. INSERT [dbo].[D_Disease_Category] ([DCID], [DiseaseType], [DiseaseType_API], [DiseaseSystem], [DiseaseDescription], [SortID], [Enabled], [Num], [IsOpen], [DiseaseContent], [IsLeakOpen], [ByMonth_StartYear], [ByMonth_StartMonth], [ByMonth_CurrentYear], [ByMonth_CurrentMonth], [ByDay_StartDate], [ByDay_CurrentDate], [ByDay_LeakDay], [LastLeakDate], [HisDeptList], [HisDeptEnabled], [LeakExtractRuleEnabled], [LeakExtractRule]) VALUES (37, N'TN', N'TN', 7, N'甲状腺结节(手术治疗)', 37, 1, N'form-37', 1, N'<div data-v-c0d7d944="" class="content"><p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">上报内容</span></span></p>
  720. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;"> </span></span></p>
  721. <div class="page" title="Page 68">
  722. <div class="layoutArea">
  723. <div class="column">
  724. <p><span style="font-size: 16.000000pt; font-family: ''FangSong'';"><span style="font-size: 12pt;">主要诊断 ICD-10 编码:D34,E04.0,E04.1,E04.2, 且伴主要手术 ICD-9-CM-3 编码:06.2 至 06.5 的手术出院患者。</span>&nbsp;</span></p>
  725. <p>&nbsp;</p>
  726. </div>
  727. </div>
  728. </div>
  729. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;"><span style="font-family: Helvetica Neue;">无需上报内容</span></span></p>
  730. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;">&nbsp;</p>
  731. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">1、18岁以下的病例</span></p>
  732. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">2、参与临床药物器械试验者</span></p>
  733. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">3、本次住院超过90天!</span></p>
  734. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">4、甲状腺恶性病变</span></p>
  735. <p class="p" style="font-family: Calibri; font-size: 12pt; margin-top: 4pt; margin-bottom: 4pt; line-height: 20.8px;"><span style="font-family: ''Helvetica Neue''; line-height: 18.2px; font-size: 10.5pt; background: #ffffff;">5、超声诊断分类“甲状腺结节TI--RADS 4类以上者</span></p></div>', 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 0, 1, 3)
  736. SET IDENTITY_INSERT [dbo].[D_Disease_Category] OFF
  737. ALTER TABLE [dbo].[D_Disease_Category] ADD CONSTRAINT [DF_D_Disease_Category_CEName] DEFAULT (N'a') FOR [DiseaseDescription]
  738. ALTER TABLE [dbo].[D_Disease_Category] ADD CONSTRAINT [DF__D_Dise__SortI__6442E2C9] DEFAULT ((1)) FOR [SortID]
  739. ALTER TABLE [dbo].[D_Disease_Category] ADD CONSTRAINT [DF_D_Disease_Category_Enabled] DEFAULT ((0)) FOR [Enabled]
  740. ALTER TABLE [dbo].[D_Disease_Category] ADD CONSTRAINT [DF_D_Disease_Category_IsOpen] DEFAULT ((1)) FOR [IsOpen]
  741. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'id自增' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'DCID'
  742. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病种类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'DiseaseType'
  743. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'接口使用的病种类型,为了兼容接口调用使用' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'DiseaseType_API'
  744. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'疾病系统分类' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'DiseaseSystem'
  745. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'类型描述' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'DiseaseDescription'
  746. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'排序' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'SortID'
  747. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否启用,控制填报界面是都显示' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'Enabled'
  748. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'卫健委唯一标识' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'Num'
  749. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否开启。不开启则前端页面不显示,为隐藏记录' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'IsOpen'
  750. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'填报内容' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'DiseaseContent'
  751. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否开启漏报抽取' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'IsLeakOpen'
  752. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'按月抽取-' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'ByMonth_StartYear'
  753. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'按月抽取-抽取数据起始月份' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'ByMonth_StartMonth'
  754. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'按月抽取-抽取数据执行到某年' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'ByMonth_CurrentYear'
  755. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'按月抽取-抽取数据执行到某个月份' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'ByMonth_CurrentMonth'
  756. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'按天抽取-抽取开始日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'ByDay_StartDate'
  757. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'按天抽取-抽取执行到哪天' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'ByDay_CurrentDate'
  758. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'按天抽取-每次抽取天数' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'ByDay_LeakDay'
  759. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'最后一次抽取时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'LastLeakDate'
  760. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出院科室数据' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'HisDeptList'
  761. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否按照出院科室抽取' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'HisDeptEnabled'
  762. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'漏报抽取规则是否可以更改 ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'LeakExtractRuleEnabled'
  763. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'漏报抽取规则 {0, "Icd9、Icd10满足其一"},{1, "Icd9满足"},{2, "Icd10满足"},{3, "Icd10、Icd9同时满足"},' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category', @level2type=N'COLUMN',@level2name=N'LeakExtractRule'
  764. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病种类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_Disease_Category'
  765. update [D_Disease_Category] set
  766. [D_Disease_Category].[Enabled]=[Dict_Disease_Category].[Enabled],
  767. [D_Disease_Category].[IsLeakOpen]=[Dict_Disease_Category].[IsLeakOpen],
  768. [D_Disease_Category].[ByMonth_StartYear]=[Dict_Disease_Category].[StartYear],
  769. [D_Disease_Category].[ByMonth_StartMonth]=[Dict_Disease_Category].[StartMonth],
  770. [D_Disease_Category].[ByMonth_CurrentYear]=[Dict_Disease_Category].[CurrentYear],
  771. [D_Disease_Category].[ByMonth_CurrentMonth]=[Dict_Disease_Category].[CurrentMonth],
  772. [D_Disease_Category].[ByDay_CurrentDate]=[Dict_Disease_Category].[CurrentDate],
  773. [D_Disease_Category].[ByDay_LeakDay]=[Dict_Disease_Category].[LeakDay],
  774. [D_Disease_Category].[HisDeptList]=[Dict_Disease_Category].HISDeptList,
  775. [D_Disease_Category].[HisDeptEnabled]=[Dict_Disease_Category].[HISDeptEnabled]
  776. from [D_Disease_Category]
  777. join [Dict_Disease_Category]
  778. on [D_Disease_Category].[DCID] =[Dict_Disease_Category].CID
  779. END
  780. if not exists(select * from sysobjects where id=object_id('D_MedicalRecord'))
  781. BEGIN
  782. EXEC dbo.sp_executesql @statement = N'
  783. CREATE TABLE [dbo].[D_MedicalRecord](
  784. [ID] [int] IDENTITY(1,1) NOT NULL,
  785. [ReportNo] [nvarchar](50) NOT NULL,
  786. [ReportClass] [int] NULL,
  787. [Status] [smallint] NULL,
  788. [Hospital_HBH] [nvarchar](50) NULL,
  789. [Base_HNumber] [nvarchar](50) NULL,
  790. [Base_VisitId] [nvarchar](50) NULL,
  791. [Base_Inpatientno] [nvarchar](50) NULL,
  792. [Base_BGName] [nvarchar](50) NULL,
  793. [Base_ZKHSName] [nvarchar](max) NULL,
  794. [Base_LYFS] [nvarchar](50) NULL,
  795. [Base_ZGYSName] [nvarchar](50) NULL,
  796. [Base_RYDate] [datetime] NULL,
  797. [Base_CYDate] [datetime] NULL,
  798. [Base_ICD10] [nvarchar](50) NULL,
  799. [Base_ICD9] [nvarchar](50) NULL,
  800. [Base_CSRQ] [datetime] NULL,
  801. [Base_Sex] [nvarchar](50) NULL,
  802. [Base_IsDRGs] [nvarchar](50) NULL,
  803. [DataInfo] [nvarchar](max) NULL,
  804. [Edit_DBGTime] [datetime] NULL,
  805. [Add_TJTime] [datetime] NULL,
  806. [Add_UserName] [nvarchar](50) NULL,
  807. [Add_UserProfileId] [int] NULL,
  808. [Add_OperDeptId] [int] NULL,
  809. [SBWorkDayCha] [int] NULL,
  810. [DealDiseaseDeptId] [int] NULL,
  811. [SHTime] [datetime] NULL,
  812. [BackUpFlag] [int] NOT NULL,
  813. [Ncis_IsCheckToWsb] [bit] NULL,
  814. [Ncis_IsExportWsb] [bit] NULL,
  815. [Ncis_ExportDate] [datetime] NULL,
  816. [Ncis_JoinErrorMessage] [nvarchar](max) NULL,
  817. [Ncis_IsJoinError] [bit] NULL,
  818. [DeleteId] [int] NULL,
  819. [DeleteTime] [datetime] NULL,
  820. [DeleteHostName] [nvarchar](max) NULL,
  821. [DeleteHostIP] [nvarchar](max) NULL,
  822. CONSTRAINT [PK_D_Base] PRIMARY KEY CLUSTERED
  823. (
  824. [ID] ASC
  825. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  826. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  827. '
  828. ALTER TABLE [dbo].[D_MedicalRecord] ADD CONSTRAINT [DF__D_Medical__BackU__75785BC3] DEFAULT ((0)) FOR [BackUpFlag]
  829. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'序列号,唯一标识,医院的编码加提交时间加userid' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'ReportNo'
  830. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病种类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'ReportClass'
  831. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据状态({0, "暂存"}, {1, "审核中"}, {2, "移交待审"},{11, "审核通过"},{20,"终审" },{8, "退回"},{9, "作废"})' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Status'
  832. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'医院代码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Hospital_HBH'
  833. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病案号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_HNumber'
  834. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'VisitId' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_VisitId'
  835. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'流水号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_Inpatientno'
  836. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上报医师、报告医生' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_BGName'
  837. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'质控护士' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_ZKHSName'
  838. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'离院方式' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_LYFS'
  839. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主管医师、质控医师(管床医师)' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_ZGYSName'
  840. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'入院时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_RYDate'
  841. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出院时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_CYDate'
  842. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'主要诊断编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_ICD10'
  843. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'手术编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_ICD9'
  844. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出生日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_CSRQ'
  845. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'性别' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_Sex'
  846. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'本院是否按病种付费' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Base_IsDRGs'
  847. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上报数据json' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'DataInfo'
  848. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'报告时间、对接卫健委时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Edit_DBGTime'
  849. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提交时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Add_TJTime'
  850. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户名' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Add_UserName'
  851. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'用户id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Add_UserProfileId'
  852. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上报科室' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Add_OperDeptId'
  853. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'实际报送时间差(单位为整数天)出院时间和提交时间差' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'SBWorkDayCha'
  854. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'处理部门' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'DealDiseaseDeptId'
  855. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'审核时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'SHTime'
  856. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'回收站标志,0表示数据正常,1表示该数据已经删除到回收站' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'BackUpFlag'
  857. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'是否要上报到卫健委' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Ncis_IsCheckToWsb'
  858. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'数据对接:是否对接成功' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Ncis_IsExportWsb'
  859. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'导出到卫健委对接时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Ncis_ExportDate'
  860. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'对接卫计委系统,返回的错误信息' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Ncis_JoinErrorMessage'
  861. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'对接卫计委系统' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'Ncis_IsJoinError'
  862. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'删除这条数据的用户Id' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'DeleteId'
  863. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'删除数据的时间 ' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'DeleteTime'
  864. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'删除该记录的计算机名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'DeleteHostName'
  865. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'删除该记录的用户IP' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord', @level2type=N'COLUMN',@level2name=N'DeleteHostIP'
  866. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病例数据表' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord'
  867. END
  868. if not exists(select * from sysobjects where id=object_id('D_MedicalRecord_YYFX'))
  869. BEGIN
  870. EXEC dbo.sp_executesql @statement = N'
  871. SET ANSI_NULLS ON
  872. SET QUOTED_IDENTIFIER ON
  873. CREATE TABLE [dbo].[D_MedicalRecord_YYFX](
  874. [ID] [int] IDENTITY(1,1) NOT NULL,
  875. [RecordNo] [nvarchar](50) NOT NULL,
  876. [YYFX_Result] [nvarchar](max) NULL,
  877. [UpdateDateTime] [datetime] NOT NULL,
  878. CONSTRAINT [PK_D_MedicalRecord_YYFX] PRIMARY KEY CLUSTERED
  879. (
  880. [ID] ASC
  881. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  882. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  883. '
  884. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'填报记录序列号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_YYFX', @level2type=N'COLUMN',@level2name=N'RecordNo'
  885. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'语义分析结果' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_YYFX', @level2type=N'COLUMN',@level2name=N'YYFX_Result'
  886. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'更新时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_YYFX', @level2type=N'COLUMN',@level2name=N'UpdateDateTime'
  887. END
  888. --表Q_UserProfile字段CID长度扩大到256
  889. if exists(select * from syscolumns where id=object_id('Q_UserProfile') and name='CID')
  890. EXEC dbo.sp_executesql @statement = N'ALTER TABLE Q_UserProfile ALTER COLUMN CID nvarchar(256)'
  891. --无需上报理由
  892. if not exists(select * from Report_NoReportNote where ReportClass >17)
  893. BEGIN
  894. SET IDENTITY_INSERT [dbo].[Report_NoReportNote] ON
  895. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (111, 19, N'由外院住院诊疗后转入本院的病例', 1)
  896. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (112, 19, N'18岁以下的病例', 1)
  897. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (114, 19, N'本次住院天数大于90天', 1)
  898. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (115, 19, N'参与临床药物器械试验者', 1)
  899. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (116, 20, N'参与临床药物与器械试验的病例', 1)
  900. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (117, 20, N'有记录的理由不列质控管理的病例', 1)
  901. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (118, 20, N'本次住院超过90天', 1)
  902. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (119, 21, N'由外院诊疗后转入本院的病例', 1)
  903. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (120, 21, N'参与临床药物与器械试验的病例', 1)
  904. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (121, 21, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  905. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (122, 21, N'18岁以下的病例', 1)
  906. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (123, 21, N'本次住院天数大于90天', 1)
  907. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (125, 22, N'由外院诊疗后转入本院的病例', 1)
  908. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (126, 22, N'参与临床药物与器械试验的病例', 1)
  909. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (127, 22, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  910. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (128, 22, N'18岁以下的病例', 1)
  911. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (129, 22, N'本次住院天数大于90天', 1)
  912. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (130, 23, N'由外院诊疗后转入本院的病例', 1)
  913. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (131, 23, N'参与临床药物与器械试验的病例', 1)
  914. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (132, 23, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  915. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (133, 23, N'18岁以下的病例', 1)
  916. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (134, 23, N'本次住院天数大于90天', 1)
  917. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (135, 24, N'参与临床药物与器械试验的病例', 1)
  918. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (136, 24, N'18岁以下的病例', 1)
  919. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (137, 24, N'本次住院超过90天', 1)
  920. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (138, 25, N'由外院诊疗后转入本院的病例', 1)
  921. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (139, 25, N'参与临床药物与器械试验的病例', 1)
  922. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (140, 25, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  923. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (141, 25, N'18岁以下的病例', 1)
  924. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (142, 25, N'本次住院天数大于90天', 1)
  925. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (143, 26, N'由外院诊疗后转入本院的病例', 1)
  926. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (144, 26, N'参与临床药物与器械试验的病例', 1)
  927. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (145, 26, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  928. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (146, 26, N'非首次确诊急性出血性卒中', 1)
  929. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (147, 26, N'创伤性脑出血S06.80', 1)
  930. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (148, 26, N'脑出血后遗症 I69.10', 1)
  931. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (149, 26, N'出血性脑梗死', 1)
  932. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (150, 26, N'18岁以下的病例', 1)
  933. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (151, 26, N'本次住院天数大于90天', 1)
  934. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (152, 27, N'由外院诊疗后转入本院的病例', 1)
  935. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (153, 27, N'参与临床药物与器械试验的病例', 1)
  936. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (154, 27, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  937. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (155, 27, N'18岁以下的病例', 1)
  938. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (156, 27, N'本次住院天数大于90天', 1)
  939. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (157, 28, N'由外院诊疗后转入本院的病例', 1)
  940. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (158, 28, N'参与临床药物与器械试验的病例', 1)
  941. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (159, 28, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  942. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (160, 28, N'18岁以下的病例', 1)
  943. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (161, 28, N'本次住院天数大于90天', 1)
  944. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (162, 29, N'参与临床药物与器械试验的病例', 1)
  945. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (163, 29, N'18岁以下的病例', 1)
  946. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (164, 29, N'本次住院超过90天', 1)
  947. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (165, 30, N'参与临床药物与器械试验的病例,', 1)
  948. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (166, 30, N'外院转入手术失敗病例', 1)
  949. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (167, 30, N'本次住院超过90天', 1)
  950. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (168, 31, N'参与临床药物与器械试验的病例,', 1)
  951. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (169, 31, N'外院转入手术失敗病例', 1)
  952. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (170, 31, N'本次住院超过90天', 1)
  953. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (171, 32, N'参与临床药物与器械试验的病例,', 1)
  954. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (172, 32, N'有记录的理由不列质控管理的病例,', 1)
  955. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (173, 32, N'本次住院超过90天', 1)
  956. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (174, 33, N'18岁以下的病例', 1)
  957. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (175, 33, N'参与临床药物器械试验者', 1)
  958. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (176, 33, N'本次住院超过90天', 1)
  959. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (177, 33, N'在入院后24小时内死亡的患者', 1)
  960. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (178, 33, N'在入院后24小时内转院的病人', 1)
  961. SET IDENTITY_INSERT [dbo].[Report_NoReportNote] OFF
  962. END
  963. --修改 [Report_Leak] IsReport:是否上报,数据抽取时的状态,不会改变,
  964. --将DealReport为空的按照IsReport赋值
  965. if exists(select * from syscolumns where id=object_id('Report_Leak') and name='IsReport')
  966. BEGIN
  967. if exists (select * from Report_Leak where DealReport is null and IsReport is not null)
  968. update Report_Leak set DealReport = IsReport where DealReport is null and IsReport is not null
  969. --将IsReport为 2 无需上报,3 不符合条件 的数据,DealReport不为此值的按照IsReport
  970. if exists (select * from Report_Leak where DealReport<>IsReport and IsReport in (2,3) and DealReport not in (2,3))
  971. update Report_Leak set DealReport = IsReport where DealReport<>IsReport and IsReport in (2,3) and DealReport not in (2,3)
  972. END
  973. --是否更新漏报出院科室
  974. if not exists (select * from Q_Options where Name = 'IsUpdateLeakDept')
  975. insert into Q_Options([Name],[Value] )values(N'IsUpdateLeakDept',N'true')
  976. --填报记录表添加数据版本号字段D_MedicalRecord
  977. if not exists(select * from syscolumns where id=object_id('D_MedicalRecord') and name='DataVersion')
  978. EXEC dbo.sp_executesql @statement = N'alter table D_MedicalRecord add DataVersion nvarchar(10)'
  979. if not exists(select * from syscolumns where id=object_id('D_MedicalRecord') and name='BuildVersion')
  980. EXEC dbo.sp_executesql @statement = N'alter table D_MedicalRecord add BuildVersion nvarchar(10)'
  981. if not exists(select * from syscolumns where id=object_id('Report_ICDCodeMatch') and name='ICDCodeValue')
  982. begin
  983. EXEC dbo.sp_executesql @statement = N'alter table Report_ICDCodeMatch add ICDCodeValue nvarchar(10)'
  984. EXEC dbo.sp_executesql @statement = N'alter table Report_ICDCodeMatch add SuborderValue nvarchar(10)'
  985. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'细目字典值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Report_ICDCodeMatch', @level2type=N'COLUMN',@level2name=N'ICDCodeValue'
  986. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'亚目字典值' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'Report_ICDCodeMatch', @level2type=N'COLUMN',@level2name=N'SuborderValue'
  987. end
  988. --更新admin病种,
  989. if not exists(select * from Q_UserProfile where UserName='admin'and CID='1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37')
  990. update Q_UserProfile
  991. set CID='1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37'
  992. where UserName='admin'
  993. --无需上报理由更新
  994. if exists(select * from D_ReportStaticsQuota where StaticsQuotaName='年龄大于18岁的病例,及出生28天的新生儿肺炎' )
  995. update D_ReportStaticsQuota
  996. set StaticsQuotaName='年龄大于18岁以及小于2岁的新生儿肺炎'
  997. where StaticsQuotaName='年龄大于18岁的病例,及出生28天的新生儿肺炎'
  998. --是否开启自动对接卫健委
  999. if not exists(select * from syscolumns where id=object_id('D_Disease_Category') and name='IsNcisAutoOpen')
  1000. BEGIN
  1001. EXEC dbo.sp_executesql @statement = N'alter table D_Disease_Category add [IsNcisAutoOpen] [bit] NULL default 0'
  1002. END
  1003. --卫健委日期格式不对调整 yyyy-MM-dd 改为 yyyy-MM-dd HH:mm
  1004. --入院
  1005. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-4-1"'))=10 and DataVersion='2' )
  1006. update D_MedicalRecord
  1007. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-4-1"', JSON_VALUE(DataInfo,'$."CM-0-2-4-1"') + ' 00:00')
  1008. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-4-1"'))=10 and DataVersion='2'
  1009. --出院
  1010. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-4-2"'))=10 and DataVersion='2' )
  1011. update D_MedicalRecord
  1012. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-4-2"', JSON_VALUE(DataInfo,'$."CM-0-2-4-2"') + ' 00:00')
  1013. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-4-2"'))=10 and DataVersion='2'
  1014. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-2-2"'))=10 and DataVersion='2' )
  1015. update D_MedicalRecord
  1016. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-2-2"', JSON_VALUE(DataInfo,'$."CM-0-2-2-2"') + ' 00:00')
  1017. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-2-2"'))=10 and DataVersion='2'
  1018. --yyyy-MM-dd HH 改为 yyyy-MM-dd HH:mm
  1019. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-4-1"'))=13 and DataVersion='2' )
  1020. update D_MedicalRecord
  1021. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-4-1"', JSON_VALUE(DataInfo,'$."CM-0-2-4-1"') + ':00')
  1022. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-4-1"'))=13 and DataVersion='2'
  1023. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-4-2"'))=13 and DataVersion='2' )
  1024. update D_MedicalRecord
  1025. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-4-2"', JSON_VALUE(DataInfo,'$."CM-0-2-4-2"') + ':00')
  1026. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-4-2"'))=13 and DataVersion='2'
  1027. --发病日期时间
  1028. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-2-2"'))=13 and DataVersion='2' and ReportClass not in(3,10,20) )
  1029. update D_MedicalRecord
  1030. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-2-2"', JSON_VALUE(DataInfo,'$."CM-0-2-2-2"') + ':00')
  1031. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-2-2"'))=13 and DataVersion='2' and ReportClass not in(3,10,20)
  1032. --术前使用抗菌药物时间
  1033. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-1-4-1"'))=13 and DataVersion='2' )
  1034. update D_MedicalRecord
  1035. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-1-4-1"', JSON_VALUE(DataInfo,'$."CM-1-4-1"') + ':00')
  1036. where LEN(JSON_VALUE(DataInfo,'$."CM-1-4-1"'))=13 and DataVersion='2'
  1037. --术后抗菌药物停止使用时间
  1038. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-1-6-1"'))=13 and DataVersion='2' )
  1039. update D_MedicalRecord
  1040. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-1-6-1"', JSON_VALUE(DataInfo,'$."CM-1-6-1"') + ':00')
  1041. where LEN(JSON_VALUE(DataInfo,'$."CM-1-6-1"'))=13 and DataVersion='2'
  1042. --发病日期时间 cap-adult 为 yyyy-MM-dd CS、DG
  1043. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-2-2"'))>10 and DataVersion='2' and ReportClass in(3,10,20))
  1044. update D_MedicalRecord
  1045. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-2-2"', left(JSON_VALUE(DataInfo,'$."CM-0-2-2-2"'),10) )
  1046. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-2-2"'))>10 and DataVersion='2' and ReportClass in(3,10,20)
  1047. --cs 胎儿娩出日期时间
  1048. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CS-2-4-2"'))>16 and DataVersion='2' and ReportClass =10)
  1049. update D_MedicalRecord
  1050. set DataInfo=JSON_MODIFY(DataInfo, '$."CS-2-4-2"', left(JSON_VALUE(DataInfo,'$."CS-2-4-2"'),16) )
  1051. where LEN(JSON_VALUE(DataInfo,'$."CS-2-4-2"'))>16 and DataVersion='2' and ReportClass =10
  1052. --icu日期时间
  1053. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-5-1"'))=13 and DataVersion='2' )
  1054. update D_MedicalRecord
  1055. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-5-1"', JSON_VALUE(DataInfo,'$."CM-0-2-5-1"') + ':00')
  1056. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-5-1"'))=13 and DataVersion='2'
  1057. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-5-2"'))=13 and DataVersion='2' )
  1058. update D_MedicalRecord
  1059. set DataInfo=JSON_MODIFY(DataInfo, '$."CM-0-2-5-2"', JSON_VALUE(DataInfo,'$."CM-0-2-5-2"') + ':00')
  1060. where LEN(JSON_VALUE(DataInfo,'$."CM-0-2-5-2"'))=13 and DataVersion='2'
  1061. --修改ReportClass可为空
  1062. if exists(select * from syscolumns where id=object_id('ReportLeakJoinLogs') and name='ReportClass')
  1063. EXEC dbo.sp_executesql @statement = N'alter table ReportLeakJoinLogs alter column ReportClass int null'
  1064. --根据病种设置最小时间设置通用视图的抽取设置
  1065. if not exists (select * from Q_Options where Name='LeakStartDate' )
  1066. insert into Q_Options([Name],[Value] )values(N'LeakStartDate',(SELECT convert(nvarchar(100),min(ByDay_StartDate),111) FROM D_Disease_Category where ByDay_StartDate is not null ))
  1067. if not exists (select * from Q_Options where Name='LeakCurrentDate' )
  1068. insert into Q_Options([Name],[Value] )values(N'LeakCurrentDate',(SELECT convert(nvarchar(100),min(ByDay_CurrentDate),111) FROM D_Disease_Category where ByDay_CurrentDate is not null ))
  1069. if not exists (select * from Q_Options where Name='LeakLeakDay' )
  1070. insert into Q_Options([Name],[Value] )values(N'LeakLeakDay',(SELECT min(ByDay_LeakDay) FROM D_Disease_Category where ByDay_LeakDay is not null ))
  1071. --hf 时间格式
  1072. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."HF-5-3"'))=13 and DataVersion='2' and ReportClass =2 )
  1073. update D_MedicalRecord
  1074. set DataInfo=JSON_MODIFY(DataInfo, '$."HF-5-3"', JSON_VALUE(DataInfo,'$."HF-5-3"') + ':00')
  1075. where LEN(JSON_VALUE(DataInfo,'$."HF-5-3"'))=13 and DataVersion='2' and ReportClass =2
  1076. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."HF-5-3"'))>16 and DataVersion='2' and ReportClass =2)
  1077. update D_MedicalRecord
  1078. set DataInfo=JSON_MODIFY(DataInfo, '$."HF-5-3"', left(JSON_VALUE(DataInfo,'$."HF-5-3"'),16) )
  1079. where LEN(JSON_VALUE(DataInfo,'$."HF-5-3"'))>16 and DataVersion='2' and ReportClass =2
  1080. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."HF-2-2"'))=13 and DataVersion='2' and ReportClass =2 )
  1081. update D_MedicalRecord
  1082. set DataInfo=JSON_MODIFY(DataInfo, '$."HF-2-2"', JSON_VALUE(DataInfo,'$."HF-2-2"') + ':00')
  1083. where LEN(JSON_VALUE(DataInfo,'$."HF-2-2"'))=13 and DataVersion='2' and ReportClass =2
  1084. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."HF-2-2"'))>16 and DataVersion='2' and ReportClass =2)
  1085. update D_MedicalRecord
  1086. set DataInfo=JSON_MODIFY(DataInfo, '$."HF-2-2"', left(JSON_VALUE(DataInfo,'$."HF-2-2"'),16) )
  1087. where LEN(JSON_VALUE(DataInfo,'$."HF-2-2"'))>16 and DataVersion='2' and ReportClass =2
  1088. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."HF-3-3"'))=13 and DataVersion='2' and ReportClass =2 )
  1089. update D_MedicalRecord
  1090. set DataInfo=JSON_MODIFY(DataInfo, '$."HF-3-3"', JSON_VALUE(DataInfo,'$."HF-3-3"') + ':00')
  1091. where LEN(JSON_VALUE(DataInfo,'$."HF-3-3"'))=13 and DataVersion='2' and ReportClass =2
  1092. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."HF-3-3"'))>16 and DataVersion='2' and ReportClass =2)
  1093. update D_MedicalRecord
  1094. set DataInfo=JSON_MODIFY(DataInfo, '$."HF-3-3"', left(JSON_VALUE(DataInfo,'$."HF-3-3"'),16) )
  1095. where LEN(JSON_VALUE(DataInfo,'$."HF-3-3"'))>16 and DataVersion='2' and ReportClass =2
  1096. --stk 时间类型不对
  1097. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Knee-5-1-4"'))=16 and DataVersion='2' and ReportClass =5 )
  1098. update D_MedicalRecord
  1099. set DataInfo=JSON_MODIFY(DataInfo, '$."Knee-5-1-4"', JSON_VALUE(DataInfo,'$."Knee-5-1-4"') + ':00')
  1100. where LEN(JSON_VALUE(DataInfo,'$."Knee-5-1-4"'))=16 and DataVersion='2' and ReportClass =5
  1101. --Hip 时间格式: yyyy-MM-dd HH:mm
  1102. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Hip-3-3-4"'))=13 and DataVersion='2' and ReportClass =4 )
  1103. update D_MedicalRecord
  1104. set DataInfo=JSON_MODIFY(DataInfo, '$."Hip-3-3-4"', JSON_VALUE(DataInfo,'$."Hip-3-3-4"') + ':00')
  1105. where LEN(JSON_VALUE(DataInfo,'$."Hip-3-3-4"'))=13 and DataVersion='2' and ReportClass =4
  1106. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Hip-3-3-2"'))=13 and DataVersion='2' and ReportClass =4 )
  1107. update D_MedicalRecord
  1108. set DataInfo=JSON_MODIFY(DataInfo, '$."Hip-3-3-2"', JSON_VALUE(DataInfo,'$."Hip-3-3-2"') + ':00')
  1109. where LEN(JSON_VALUE(DataInfo,'$."Hip-3-3-2"'))=13 and DataVersion='2' and ReportClass =4
  1110. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Hip-3-2-4"'))=13 and DataVersion='2' and ReportClass =4 )
  1111. update D_MedicalRecord
  1112. set DataInfo=JSON_MODIFY(DataInfo, '$."Hip-3-2-4"', JSON_VALUE(DataInfo,'$."Hip-3-2-4"') + ':00')
  1113. where LEN(JSON_VALUE(DataInfo,'$."Hip-3-2-4"'))=13 and DataVersion='2' and ReportClass =4
  1114. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Hip-3-3-6"'))=13 and DataVersion='2' and ReportClass =4 )
  1115. update D_MedicalRecord
  1116. set DataInfo=JSON_MODIFY(DataInfo, '$."Hip-3-3-6"', JSON_VALUE(DataInfo,'$."Hip-3-3-6"') + ':00')
  1117. where LEN(JSON_VALUE(DataInfo,'$."Hip-3-3-6"'))=13 and DataVersion='2' and ReportClass =4
  1118. --KNEE 时间格式: yyyy-MM-dd HH:mm
  1119. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Knee-3-4-1-2"'))=13 and DataVersion='2' and ReportClass =5 )
  1120. update D_MedicalRecord
  1121. set DataInfo=JSON_MODIFY(DataInfo, '$."Knee-3-4-1-2"', JSON_VALUE(DataInfo,'$."Knee-3-4-1-2"') + ':00')
  1122. where LEN(JSON_VALUE(DataInfo,'$."Knee-3-4-1-2"'))=13 and DataVersion='2' and ReportClass =5
  1123. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Knee-3-4-2-2"'))=13 and DataVersion='2' and ReportClass =5 )
  1124. update D_MedicalRecord
  1125. set DataInfo=JSON_MODIFY(DataInfo, '$."Knee-3-4-2-2"', JSON_VALUE(DataInfo,'$."Knee-3-4-2-2"') + ':00')
  1126. where LEN(JSON_VALUE(DataInfo,'$."Knee-3-4-2-2"'))=13 and DataVersion='2' and ReportClass =5
  1127. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Knee-3-4-3-2"'))=13 and DataVersion='2' and ReportClass =5 )
  1128. update D_MedicalRecord
  1129. set DataInfo=JSON_MODIFY(DataInfo, '$."Knee-3-4-3-2"', JSON_VALUE(DataInfo,'$."Knee-3-4-3-2"') + ':00')
  1130. where LEN(JSON_VALUE(DataInfo,'$."Knee-3-4-3-2"'))=13 and DataVersion='2' and ReportClass =5
  1131. --AECOPD 时间格式: yyyy-MM-dd HH:mm
  1132. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."AECOPD-5-2-3"'))=13 and DataVersion='2' and ReportClass =11 )
  1133. update D_MedicalRecord
  1134. set DataInfo=JSON_MODIFY(DataInfo, '$."AECOPD-5-2-3"', JSON_VALUE(DataInfo,'$."AECOPD-5-2-3"') + ':00')
  1135. where LEN(JSON_VALUE(DataInfo,'$."AECOPD-5-2-3"'))=13 and DataVersion='2' and ReportClass =11
  1136. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."AECOPD-5-2-2"'))=13 and DataVersion='2' and ReportClass =11 )
  1137. update D_MedicalRecord
  1138. set DataInfo=JSON_MODIFY(DataInfo, '$."AECOPD-5-2-2"', JSON_VALUE(DataInfo,'$."AECOPD-5-2-2"') + ':00')
  1139. where LEN(JSON_VALUE(DataInfo,'$."AECOPD-5-2-2"'))=13 and DataVersion='2' and ReportClass =11
  1140. --Cap 时间格式: yyyy-MM-dd HH:mm
  1141. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Cap-11-1-2"'))=13 and DataVersion='2' and ReportClass =8 )
  1142. update D_MedicalRecord
  1143. set DataInfo=JSON_MODIFY(DataInfo, '$."Cap-11-1-2"', JSON_VALUE(DataInfo,'$."Cap-11-1-2"') + ':00')
  1144. where LEN(JSON_VALUE(DataInfo,'$."Cap-11-1-2"'))=13 and DataVersion='2' and ReportClass =8
  1145. if exists(select * from D_MedicalRecord where LEN(JSON_VALUE(DataInfo,'$."Cap-11-1-1"'))=13 and DataVersion='2' and ReportClass =8 )
  1146. update D_MedicalRecord
  1147. set DataInfo=JSON_MODIFY(DataInfo, '$."Cap-11-1-1"', JSON_VALUE(DataInfo,'$."Cap-11-1-1"') + ':00')
  1148. where LEN(JSON_VALUE(DataInfo,'$."Cap-11-1-1"'))=13 and DataVersion='2' and ReportClass =8
  1149. --根据病种无需上报条件将符合无需上报要求并且未报的数据状态进行更新
  1150. if exists(select * from Report_Leak where DieaseICD in('I63.801','I50.902') and DealReport=0 )
  1151. update Report_Leak set DealReport=2
  1152. where DieaseICD in('I63.801','I50.902') and DealReport=0
  1153. --无需上报条件增加所有病种住院24小时出院
  1154. if exists(select * from D_ReportStaticsQuota where id=8 and ReportClassArr='14,' )
  1155. update D_ReportStaticsQuota set ReportClassArr='1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,' where id=8 and ReportClassArr='14,'
  1156. --无需上报条件 18岁以下的病例
  1157. if exists(select * from D_ReportStaticsQuota where id=1 and ReportClassArr='1,2,3,4,5,6,7,10,11,13,15,16,17,19,21,22,23,24,25,26,27,28,29,33,35,36,37,' )
  1158. update D_ReportStaticsQuota set ReportClassArr='1,2,3,4,5,6,7,9,10,11,12,13,14,15,16,17,19,20,21,22,23,24,25,26,27,28,29,32,33,35,36,37,' where id=1 and ReportClassArr='1,2,3,4,5,6,7,10,11,13,15,16,17,19,21,22,23,24,25,26,27,28,29,33,35,36,37,'
  1159. if exists(select * from D_Disease_Category where CHARINDEX('18岁',DiseaseContent) > 0 and DCID=9)
  1160. update D_Disease_Category set DiseaseContent='<div class="content">
  1161. <p>无需上报内容:</p>
  1162. <p>“围手术期预防感染”(PIP)与“围手术期预防深静脉血栓栓塞”(DVT)有重复的病种:</p>
  1163. <p>(1)&nbsp; &nbsp;闭合性心脏瓣膜切开术</p>
  1164. <p>(2)&nbsp; &nbsp;心脏瓣膜置换术</p>
  1165. <p>(3)&nbsp; &nbsp;脊柱颈融合术</p>
  1166. <p>(4)&nbsp; &nbsp;脊柱再融合术</p>
  1167. <p>(5)&nbsp; &nbsp;冠状动脉搭桥术</p>
  1168. <p>(6)&nbsp; &nbsp;髋关节置换术</p>
  1169. <p>(7)&nbsp; &nbsp;膝关节置换术</p>
  1170. <p>因DVT中已包含PIP的内容,此种情况仅填写DVT,无需填报2次。</p>
  1171. <p>&nbsp;</p></div>'
  1172. where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =9
  1173. if exists(select * from D_Disease_Category where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =12)
  1174. update D_Disease_Category set DiseaseContent='<div class="content">
  1175. <p>无需上报内容:</p>
  1176. <p style="white-space: normal;">“围手术期预防深静脉血栓栓塞”(DVT)与“围手术期预防感染”(PIP)有重复的病种:</p>
  1177. <p style="white-space: normal;">(1)&nbsp; &nbsp;闭合性心脏瓣膜切开术</p>
  1178. <p style="white-space: normal;">(2)&nbsp; &nbsp;心脏瓣膜置换术</p>
  1179. <p style="white-space: normal;">(3)&nbsp; &nbsp;脊柱颈融合术</p>
  1180. <p style="white-space: normal;">(4)&nbsp; &nbsp;脊柱再融合术</p>
  1181. <p style="white-space: normal;">(5)&nbsp; &nbsp;冠状动脉搭桥术</p>
  1182. <p style="white-space: normal;">(6)&nbsp; &nbsp;髋关节置换术</p>
  1183. <p style="white-space: normal;">(7)&nbsp; &nbsp;膝关节置换术</p>
  1184. <p style="white-space: normal;">因DVT中已包含PIP的内容,此种情况仅填写DVT,无需填报2次。</p>
  1185. <p>&nbsp;</p></div>'
  1186. where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =12
  1187. if exists(select * from D_Disease_Category where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =14)
  1188. update D_Disease_Category set DiseaseContent='<div class="content"><p>上报内容:</p>
  1189. <p><span style="font-size: 12pt; font-family: FangSong_GB2312;">主要诊断 ICD-10 编码:F00-F99 的出院患者。&nbsp;</span></p>
  1190. <div class="page" title="Page 63">&nbsp;</div>
  1191. <p>无需上报内容:</p>
  1192. <p><span style="white-space: pre;"> </span>1.住院时间>365天(一年)</p>
  1193. <p><span style="white-space: pre;"> </span>2.住院24小时内出院</p>
  1194. <p><span style="white-space: pre;"> </span>3.住院24小时内死亡</p>
  1195. <p><span style="white-space: pre;"> </span>4.临床药物或器械试验的病例</p>
  1196. <p>&nbsp;</p>
  1197. <p>数据验证</p>
  1198. <p><span style="white-space: pre;"> </span>1. *是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</p>
  1199. <p><span style="white-space: pre;"> </span>2. 强制验证项若超过正常值,系统给予提示,不允许填写。</p>
  1200. <p><span style="white-space: pre;"> </span>3. 其他项若超出正常值范围,系统给予提示,但允许填写实际数据</p>
  1201. <p>&nbsp;</p></div>'
  1202. where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =14
  1203. if exists(select * from D_Disease_Category where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =20)
  1204. update D_Disease_Category set DiseaseContent='<div data-v-c0d7d944="" class="content"><p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容:</span></p>
  1205. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;"> </span></p>
  1206. <div class="page" title="Page 38">
  1207. <div class="layoutArea">
  1208. <div class="column">
  1209. <p><span style="font-size: 12pt; font-family: FangSong;">主要诊断 ICD-10 编码:O00 开头,且伴主要手术 ICD-9-CM-3 编码:66.01,66.02,&nbsp; &nbsp; &nbsp; 66.62,66.95, 74.30 的手术出院患者。&nbsp;</span></p>
  1210. </div>
  1211. </div>
  1212. </div>
  1213. <p style="text-indent: 28px; background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">&nbsp;</span></p>
  1214. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  1215. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例</span></p>
  1216. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">有记录的理由不列质控管理的病例</span></p>
  1217. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天</span></p>
  1218. <p style="background: white; margin: 0 0 10px 0;">&nbsp;</p>
  1219. <p style="background: white; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  1220. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  1221. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  1222. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p>
  1223. <p>&nbsp;</p></div>'
  1224. where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =20
  1225. if exists(select * from D_Disease_Category where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =32)
  1226. update D_Disease_Category set DiseaseContent='<div data-v-c0d7d944="" class="content"><p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">上报内容</span></p>
  1227. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: FangSong_GB2312; font-size: 12pt;">主要诊断 ICD-10 编码:I48 的出院患者&nbsp;</span></p>
  1228. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;">&nbsp;</p>
  1229. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">无需上报内容:</span></p>
  1230. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">1.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">参与临床药物与器械试验的病例,</span></p>
  1231. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">2.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">有记录的理由不列质控管理的病例,</span></p>
  1232. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">3.</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">本次住院超过90天!</span></p>
  1233. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;">&nbsp;</p>
  1234. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="font-family: ''微软雅黑'',sans-serif; color: black;">数据验证:</span></p>
  1235. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">1. *</span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">是必填项目,其他项未填则按未做统计,★为本病种的核心(重点)质量监控指标。</span></p>
  1236. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">2. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">强制验证项若超过正常值,系统给予提示,不允许填写。</span></p>
  1237. <p style="background: white; box-sizing: border-box; font-variant-ligatures: normal; font-variant-caps: normal; orphans: 2; widows: 2; -webkit-text-stroke-width: 0px; word-spacing: 0px; margin: 0 0 10px 0;"><span style="box-sizing: border-box;">3. </span><span style="font-family: ''微软雅黑'',sans-serif; color: black;">其他项若超出正常值范围,系统给予提示,但允许填写实际数据。</span></p></div>'
  1238. where CHARINDEX('18岁',DiseaseContent) > 0 and DCID =32
  1239. --reportleak 添加CM_0_1_1_3 ICD10_oth DiseaseType
  1240. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='CM_0_1_1_3')
  1241. BEGIN
  1242. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add CM_0_1_1_3 nvarchar(max) NULL'
  1243. END
  1244. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='ICD10_oth')
  1245. BEGIN
  1246. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add ICD10_oth nvarchar(max) NULL'
  1247. END
  1248. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='DiseaseType')
  1249. BEGIN
  1250. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add DiseaseType nvarchar(max) NULL'
  1251. END
  1252. --是否开启主治医师筛选
  1253. if not exists (select * from Q_Options where Name = 'OpenCM_0_1_1_3')
  1254. insert into Q_Options([Name],[Value] )values(N'OpenCM_0_1_1_3',N'false')
  1255. --sep 给予复苏液体种类
  1256. --if exists(select * from D_MedicalRecord where JSON_VALUE(DataInfo,'$."SEP-2-4-4"') is null and DataVersion='2' and reportclass=35 )
  1257. --update D_MedicalRecord
  1258. --set DataInfo=JSON_MODIFY(DataInfo, '$."SEP-2-4-4"', 'a')
  1259. --where JSON_VALUE(DataInfo,'$."SEP-2-4-4"') is null and DataVersion='2' and reportclass=35
  1260. --hf 第一诊断或第二诊断对应的原发疾病ICD-10的三位类目编码与名称
  1261. if exists(select * from D_MedicalRecord where (JSON_VALUE(DataInfo,'$."HF-0-1-4-2"')='1' or JSON_VALUE(DataInfo,'$."HF-0-1-4-2"')='45') and DataVersion='2' and ReportClass =2 )
  1262. update D_MedicalRecord
  1263. set DataInfo=JSON_MODIFY(DataInfo, '$."HF-0-1-4-2"', 'UTD')
  1264. where (JSON_VALUE(DataInfo,'$."HF-0-1-4-2"')='1' or JSON_VALUE(DataInfo,'$."HF-0-1-4-2"')='45') and DataVersion='2' and ReportClass =2
  1265. --无需上报理由 UM SEP VTE TN
  1266. if not exists(select * from Report_NoReportNote where ReportClass >33)
  1267. BEGIN
  1268. SET IDENTITY_INSERT [dbo].[Report_NoReportNote] ON
  1269. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (179, 34, N'参与临床药物与器械试验的病例', 1)
  1270. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (180, 34, N'医师有记录的理由,不列质控管理的病例', 1)
  1271. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (181, 34, N'本次住院超过90天', 1)
  1272. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (182, 35, N'参与临床药物与器械试验的病例', 1)
  1273. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (183, 35, N'到达医院前,已经被确认采取安慰治疗或姑息治疗者', 1)
  1274. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (184, 35, N'18岁以下的病例', 1)
  1275. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (185, 35, N'本次住院天数大于90天', 1)
  1276. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (186, 35, N'由外院感染性休克诊疗后转入本院的病例', 1)
  1277. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (187, 35, N'在医师病程记录,有在严重脓毒症出现后3小时内出现被确认采取安慰治疗或姑息治疗的医嘱', 1)
  1278. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (188, 35, N'在医师病程记录,在感染性休克出现后6小时内出现被确认采取安慰治疗或姑息治疗的医嘱', 1)
  1279. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (189, 36, N'患者年龄小于18岁', 1)
  1280. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (190, 36, N'住院时间超过90天的患者', 1)
  1281. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (191, 36, N'参与临床试验的患者', 1)
  1282. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (192, 36, N'患者入住或转入ICU的主要诊断或其他诊断ICD-10代码中有 栓塞和血栓形成ICD-10编码四位亚目及病种名称', 1)
  1283. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (193, 36, N'患者入住或转入ICU的主要诊断或其他诊断ICD-10代码中有 产科并发栓塞ICD-10编码四位亚目及名称', 1)
  1284. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (194, 36, N'患者入住或转入ICU的主要诊断或其他诊断ICD-10代码中有 神经内科脑梗死ICD-10编码四位亚目及病种名称', 1)
  1285. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (195, 36, N'患者入住或转入ICU的主要诊断或其他诊断ICD-10代码中有 经神科ICD-10编码(F00~99)及病种名称', 1)
  1286. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (196, 36, N'患者入住或转入ICU的主要手术与操作名称与其ICD-9.CM.3代码中,有血管外科手术名称者(如血管内膜剥脱术等)', 1)
  1287. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (197, 36, N'已报送“DVT,STK,STEMI,TKR,THR,CABG,AVR,MVR,ASD,VSD"单病种质量监测信息项者,不再重复报送!', 1)
  1288. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (198, 37, N'18岁以下的病例', 1)
  1289. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (199, 37, N'参与临床药物器械试验者', 1)
  1290. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (200, 37, N'本次住院超过90天!', 1)
  1291. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (201, 37, N'甲状腺恶性病变', 1)
  1292. INSERT [dbo].[Report_NoReportNote] ([Id], [ReportClass], [Note], [Selected]) VALUES (202, 37, N'超声诊断分类“甲状腺结节TI--RADS 4类以上者', 1)
  1293. SET IDENTITY_INSERT [dbo].[Report_NoReportNote] OFF
  1294. END
  1295. --病种添加系统特别说明
  1296. if not exists(select * from syscolumns where id=object_id('D_Disease_Category') and name='SystemDescription')
  1297. BEGIN
  1298. EXEC dbo.sp_executesql @statement = N'alter table D_Disease_Category add SystemDescription nvarchar(max) NULL'
  1299. END
  1300. --系统属性设置:增加自动化更新科室信息
  1301. set Identity_insert [dbo].[Report_DistributeDept] ON
  1302. if not exists (select * from [Report_DistributeDept] where ID = 26)
  1303. INSERT [dbo].[Report_DistributeDept] ([ID] ,[DistributeDeptName] ,[IsStart] ,[HasValue]) VALUES (26, N'自动同步HIS科室信息', 0, NULL)
  1304. set Identity_insert [dbo].[Report_DistributeDept] OFF
  1305. if not exists(select * from sysobjects where id=object_id('Report_DeptSyncLog'))
  1306. BEGIN
  1307. EXEC dbo.sp_executesql @statement = N'
  1308. CREATE TABLE [dbo].[Report_DeptSyncLog](
  1309. [Id] [int] IDENTITY(1,1) NOT NULL,
  1310. [Name] [nvarchar](max) NULL,
  1311. [Status] [int] NULL,
  1312. [Description] [nvarchar](max) NULL,
  1313. [SyncTime] [datetime] NULL,
  1314. CONSTRAINT [PK_Report_DeptSyncLog] PRIMARY KEY CLUSTERED
  1315. (
  1316. [Id] ASC
  1317. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  1318. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  1319. '
  1320. END
  1321. if not exists(select * from sysobjects where id=object_id('Report_LeakDataRemind'))
  1322. BEGIN
  1323. EXEC dbo.sp_executesql @statement = N'
  1324. CREATE TABLE [dbo].[Report_LeakDataRemind](
  1325. [Id] [int] IDENTITY(1,1) NOT NULL,
  1326. [Name] [nvarchar](max) NOT NULL,
  1327. [RemindNum] [int] NULL,
  1328. [RemindStart] [bit] NOT NULL,
  1329. [RemindRoles] [nvarchar](max) NULL,
  1330. CONSTRAINT [PK_Report_LeakDataRemind] PRIMARY KEY CLUSTERED
  1331. (
  1332. [Id] ASC
  1333. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  1334. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  1335. '
  1336. INSERT INTO [dbo].[Report_LeakDataRemind]([Name],[RemindNum],[RemindStart],[RemindRoles]) VALUES(N'第一次提醒',7,0,NULL)
  1337. INSERT INTO [dbo].[Report_LeakDataRemind]([Name],[RemindNum],[RemindStart],[RemindRoles]) VALUES(N'第二次提醒',14,0,NULL)
  1338. END
  1339. if not exists(select * from Report_NoReportNote where [ReportClass]=14 and [Note] = '小于18周岁的病例')
  1340. BEGIN
  1341. INSERT [dbo].[Report_NoReportNote] ([ReportClass], [Note], [Selected])
  1342. VALUES (14, N'小于18周岁的病例', 1)
  1343. END
  1344. if not exists(select * from Q_Quanxian where QuanxianName = '数据统计' or QuanxianName='指标统计')
  1345. BEGIN
  1346. INSERT [dbo].[Q_Quanxian] ([QuanxianName], [Sort]) VALUES (N'指标统计', 24)
  1347. END
  1348. if not exists( select * from sysindexes where id=object_id('D_MedicalRecord') and name='NonClusteredIndex-D_MedicalRecord')
  1349. begin
  1350. CREATE NONCLUSTERED INDEX [NonClusteredIndex-D_MedicalRecord] ON [dbo].[D_MedicalRecord]
  1351. (
  1352. [ReportClass] ASC,
  1353. [Base_HNumber] ASC,
  1354. [Base_CYDate] ASC
  1355. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  1356. end
  1357. if not exists (select * from D_ReportStaticsQuota where ID >12)
  1358. BEGIN
  1359. set Identity_insert [dbo].[D_ReportStaticsQuota] ON
  1360. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (13, N'48,49,', N'18岁以上的病例', N'18Y-', 2)
  1361. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (14, N'52,', N'年龄<18个月或年龄>8岁的患者', N'-545D|8Y-', 2)
  1362. set Identity_insert [dbo].[D_ReportStaticsQuota] OFF
  1363. end
  1364. --统计所用索引
  1365. if not exists( select * from sysindexes where id=object_id('D_MedicalRecord') and name='NonClusteredIndex-Stats')
  1366. begin
  1367. CREATE NONCLUSTERED INDEX [NonClusteredIndex-Stats] ON [dbo].[D_MedicalRecord]
  1368. (
  1369. [Status] ASC,
  1370. [DataVersion] ASC
  1371. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  1372. end
  1373. --Report_Leak 添加 住院天数 CM_4_1、其中:手术费 CM_6_15
  1374. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='CM_4_1')
  1375. BEGIN
  1376. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add CM_4_1 int NULL'
  1377. END
  1378. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='CM_6_15')
  1379. BEGIN
  1380. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add CM_6_15 float NULL'
  1381. END
  1382. --卫健委变化
  1383. if not exists(select * from syscolumns where id=object_id('D_Disease_Category') and name='IsNcisChange')
  1384. BEGIN
  1385. EXEC dbo.sp_executesql @statement = N'alter table D_Disease_Category add IsNcisChange [bit] NULL default 0'
  1386. END
  1387. --开启自动对接卫健委的病种
  1388. if not exists (select * from Q_Options where Name = 'NcisAutoOpenList')
  1389. BEGIN
  1390. insert into Q_Options([Name],[Value] )values(N'NcisAutoOpenList',N'')
  1391. END
  1392. --Report_Leak 添加 年龄 age
  1393. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='age')
  1394. BEGIN
  1395. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add age int NULL'
  1396. END
  1397. --病种重复病例设置 D_RepeatReportSetting
  1398. if not exists(select * from sysobjects where id=object_id('D_RepeatReportSetting'))
  1399. BEGIN
  1400. EXEC dbo.sp_executesql @statement = N'
  1401. SET ANSI_NULLS ON
  1402. SET QUOTED_IDENTIFIER ON
  1403. CREATE TABLE [dbo].[D_RepeatReportSetting](
  1404. [Id] [int] IDENTITY(1,1) NOT NULL,
  1405. [ReportClass] [int] NOT NULL,
  1406. [RepeatReportClass] [int] NOT NULL,
  1407. [Icd9Code] [nvarchar](max) NULL,
  1408. [Icd10Code] [nvarchar](max) NULL,
  1409. [Enabled] [bit] NOT NULL,
  1410. CONSTRAINT [PK_D_RepeatReportSetting] PRIMARY KEY CLUSTERED
  1411. (
  1412. [Id] ASC
  1413. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  1414. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  1415. '
  1416. SET IDENTITY_INSERT [dbo].[D_RepeatReportSetting] ON
  1417. INSERT [dbo].[D_RepeatReportSetting] ([Id], [ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (1, 9, 10, N'74.0、74.1、74.2、74.4、74.99', NULL, 1)
  1418. INSERT [dbo].[D_RepeatReportSetting] ([Id], [ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (2, 12, 4, N'00.7、81.51~81.53', NULL, 1)
  1419. INSERT [dbo].[D_RepeatReportSetting] ([Id], [ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (3, 12, 5, N'00.80~00.83、81.54、81.55', NULL, 1)
  1420. INSERT [dbo].[D_RepeatReportSetting] ([Id], [ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (4, 12, 7, N'36.1', NULL, 1)
  1421. SET IDENTITY_INSERT [dbo].[D_RepeatReportSetting] OFF
  1422. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病种类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_RepeatReportSetting', @level2type=N'COLUMN',@level2name=N'ReportClass'
  1423. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病例重复的病种类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_RepeatReportSetting', @level2type=N'COLUMN',@level2name=N'RepeatReportClass'
  1424. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'icd9编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_RepeatReportSetting', @level2type=N'COLUMN',@level2name=N'Icd9Code'
  1425. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'icd10编码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_RepeatReportSetting', @level2type=N'COLUMN',@level2name=N'Icd10Code'
  1426. End
  1427. --指标统计删除表
  1428. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Report_ComIndiSum')) drop table Report_ComIndiSum
  1429. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Report_ComIndiSum_New')) drop table Report_ComIndiSum_New
  1430. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('ReportStaticsQuota')) drop table ReportStaticsQuota
  1431. --总体统计公共表
  1432. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_Diease_BaseInfo_New')) drop table Statics_Diease_BaseInfo_New
  1433. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_Diease_BaseInfo')) drop table Statics_Diease_BaseInfo
  1434. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_Year_TJ')) drop table Statics_Year_TJ
  1435. --重构 总体统计删除表
  1436. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_Result')) drop table Statics_Result
  1437. --重构 总体统计删除存储过程
  1438. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_TJ_Year')) drop proc Pro_Statics_TJ_Year
  1439. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_CAP_Adult_CYTime')) drop proc Pro_Statics_ZT_CAP_Adult_CYTime
  1440. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_CAP_Adult_TJTime')) drop proc Pro_Statics_ZT_CAP_Adult_TJTime
  1441. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_HF_CYTime')) drop proc Pro_Statics_ZT_HF_CYTime
  1442. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_HF_TJTime')) drop proc Pro_Statics_ZT_HF_TJTime
  1443. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_HIP_CYTime')) drop proc Pro_Statics_ZT_HIP_CYTime
  1444. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_HIP_TJTime')) drop proc Pro_Statics_ZT_HIP_TJTime
  1445. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_Knee_CYTime')) drop proc Pro_Statics_ZT_Knee_CYTime
  1446. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_Knee_TJTime')) drop proc Pro_Statics_ZT_Knee_TJTime
  1447. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_STEMI_CYTime')) drop proc Pro_Statics_ZT_STEMI_CYTime
  1448. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_STEMI_TJTime')) drop proc Pro_Statics_ZT_STEMI_TJTime
  1449. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_STK_CYTime')) drop proc Pro_Statics_ZT_STK_CYTime
  1450. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_STK_TJTime')) drop proc Pro_Statics_ZT_STK_TJTime
  1451. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_CABG_CYTime')) drop proc Pro_Statics_ZT_CABG_CYTime
  1452. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Pro_Statics_ZT_CABG_TJTime')) drop proc Pro_Statics_ZT_CABG_TJTime
  1453. --旧 总体统计删除表
  1454. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_AMI')) drop table Statics_TJ_AMI
  1455. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_AMI_New')) drop table Statics_TJ_AMI_New
  1456. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_BC_New')) drop table Statics_TJ_BC_New
  1457. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CABG')) drop table Statics_TJ_CABG
  1458. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CABG_New')) drop table Statics_TJ_CABG_New
  1459. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP')) drop table Statics_TJ_CAP
  1460. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP_New')) drop table Statics_TJ_CAP_New
  1461. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP2')) drop table Statics_TJ_CAP2
  1462. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP2_New')) drop table Statics_TJ_CAP2_New
  1463. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_COPD')) drop table Statics_TJ_COPD
  1464. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_COPD_New')) drop table Statics_TJ_COPD_New
  1465. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CS')) drop table Statics_TJ_CS
  1466. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CS_New')) drop table Statics_TJ_CS_New
  1467. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_DVT')) drop table Statics_TJ_DVT
  1468. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_DVT_New')) drop table Statics_TJ_DVT_New
  1469. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HBIPS_New')) drop table Statics_TJ_HBIPS_New
  1470. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HF')) drop table Statics_TJ_HF
  1471. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HF_New')) drop table Statics_TJ_HF_New
  1472. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HIP')) drop table Statics_TJ_HIP
  1473. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HIP_New')) drop table Statics_TJ_HIP_New
  1474. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_KNEE')) drop table Statics_TJ_KNEE
  1475. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_KNEE_New')) drop table Statics_TJ_KNEE_New
  1476. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_LC_New')) drop table Statics_TJ_LC_New
  1477. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_PIP')) drop table Statics_TJ_PIP
  1478. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_PIP_New')) drop table Statics_TJ_PIP_New
  1479. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_STK')) drop table Statics_TJ_STK
  1480. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_STK_New')) drop table Statics_TJ_STK_New
  1481. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_TC_New')) drop table Statics_TJ_TC_New
  1482. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_TIA_New')) drop table Statics_TJ_TIA_New
  1483. --旧 总体统计删除存储过程
  1484. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_Year')) drop proc Statics_TJ_Year
  1485. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_AMI_CYTime')) drop proc Statics_TJ_AMI_CYTime
  1486. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_AMI_CYTime_AllTerm')) drop proc Statics_TJ_AMI_CYTime_AllTerm
  1487. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_AMI_CYTime_AllTerm_New')) drop proc Statics_TJ_AMI_CYTime_AllTerm_New
  1488. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_AMI_TJTime')) drop proc Statics_TJ_AMI_TJTime
  1489. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_AMI_TJTime_AllTerm')) drop proc Statics_TJ_AMI_TJTime_AllTerm
  1490. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_AMI_TJTime_AllTerm_New')) drop proc Statics_TJ_AMI_TJTime_AllTerm_New
  1491. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_BC_CYTime_AllTerm_New')) drop proc Statics_TJ_BC_CYTime_AllTerm_New
  1492. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_BC_TJTime_AllTerm_New')) drop proc Statics_TJ_BC_TJTime_AllTerm_New
  1493. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CABG_CYTime')) drop proc Statics_TJ_CABG_CYTime
  1494. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CABG_CYTime_AllTerm')) drop proc Statics_TJ_CABG_CYTime_AllTerm
  1495. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CABG_CYTime_AllTerm_New')) drop proc Statics_TJ_CABG_CYTime_AllTerm_New
  1496. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CABG_TJTime')) drop proc Statics_TJ_CABG_TJTime
  1497. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CABG_TJTime_AllTerm')) drop proc Statics_TJ_CABG_TJTime_AllTerm
  1498. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CABG_TJTime_AllTerm_New')) drop proc Statics_TJ_CABG_TJTime_AllTerm_New
  1499. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP_CYTime')) drop proc Statics_TJ_CAP_CYTime
  1500. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP_CYTime_AllTerm')) drop proc Statics_TJ_CAP_CYTime_AllTerm
  1501. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP_CYTime_AllTerm_New')) drop proc Statics_TJ_CAP_CYTime_AllTerm_New
  1502. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP_TJTime')) drop proc Statics_TJ_CAP_TJTime
  1503. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP_TJTime_AllTerm')) drop proc Statics_TJ_CAP_TJTime_AllTerm
  1504. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP_TJTime_AllTerm_New')) drop proc Statics_TJ_CAP_TJTime_AllTerm_New
  1505. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP2_CYTime')) drop proc Statics_TJ_CAP2_CYTime
  1506. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP2_CYTime_AllTerm')) drop proc Statics_TJ_CAP2_CYTime_AllTerm
  1507. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP2_CYTime_AllTerm_New')) drop proc Statics_TJ_CAP2_CYTime_AllTerm_New
  1508. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP2_TJTime')) drop proc Statics_TJ_CAP2_TJTime
  1509. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP2_TJTime_AllTerm')) drop proc Statics_TJ_CAP2_TJTime_AllTerm
  1510. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CAP2_TJTime_AllTerm_New')) drop proc Statics_TJ_CAP2_TJTime_AllTerm_New
  1511. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_COPD_CYTime')) drop proc Statics_TJ_COPD_CYTime
  1512. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_COPD_CYTime_AllTerm')) drop proc Statics_TJ_COPD_CYTime_AllTerm
  1513. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_COPD_CYTime_AllTerm_New')) drop proc Statics_TJ_COPD_CYTime_AllTerm_New
  1514. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_COPD_TJTime')) drop proc Statics_TJ_COPD_TJTime
  1515. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_COPD_TJTime_AllTerm')) drop proc Statics_TJ_COPD_TJTime_AllTerm
  1516. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_COPD_TJTime_AllTerm_New')) drop proc Statics_TJ_COPD_TJTime_AllTerm_New
  1517. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CS_CYTime')) drop proc Statics_TJ_CS_CYTime
  1518. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CS_CYTime_AllTerm')) drop proc Statics_TJ_CS_CYTime_AllTerm
  1519. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CS_CYTime_AllTerm_New')) drop proc Statics_TJ_CS_CYTime_AllTerm_New
  1520. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CS_TJTime')) drop proc Statics_TJ_CS_TJTime
  1521. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CS_TJTime_AllTerm')) drop proc Statics_TJ_CS_TJTime_AllTerm
  1522. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_CS_TJTime_AllTerm_New')) drop proc Statics_TJ_CS_TJTime_AllTerm_New
  1523. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_DVT_CYTime')) drop proc Statics_TJ_DVT_CYTime
  1524. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_DVT_CYTime_AllTerm')) drop proc Statics_TJ_DVT_CYTime_AllTerm
  1525. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_DVT_CYTime_AllTerm_New')) drop proc Statics_TJ_DVT_CYTime_AllTerm_New
  1526. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_DVT_TJTime')) drop proc Statics_TJ_DVT_TJTime
  1527. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_DVT_TJTime_AllTerm')) drop proc Statics_TJ_DVT_TJTime_AllTerm
  1528. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_DVT_TJTime_AllTerm_New')) drop proc Statics_TJ_DVT_TJTime_AllTerm_New
  1529. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HBIPS_CYTime_AllTerm_New')) drop proc Statics_TJ_HBIPS_CYTime_AllTerm_New
  1530. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HBIPS_TJTime_AllTerm_New')) drop proc Statics_TJ_HBIPS_TJTime_AllTerm_New
  1531. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HF_CYTime')) drop proc Statics_TJ_HF_CYTime
  1532. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HF_CYTime_AllTerm')) drop proc Statics_TJ_HF_CYTime_AllTerm
  1533. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HF_CYTime_AllTerm_New')) drop proc Statics_TJ_HF_CYTime_AllTerm_New
  1534. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HF_TJTime')) drop proc Statics_TJ_HF_TJTime
  1535. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HF_TJTime_AllTerm')) drop proc Statics_TJ_HF_TJTime_AllTerm
  1536. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HF_TJTime_AllTerm_New')) drop proc Statics_TJ_HF_TJTime_AllTerm_New
  1537. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HIP_CYTime')) drop proc Statics_TJ_HIP_CYTime
  1538. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HIP_CYTime_AllTerm')) drop proc Statics_TJ_HIP_CYTime_AllTerm
  1539. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HIP_CYTime_AllTerm_New')) drop proc Statics_TJ_HIP_CYTime_AllTerm_New
  1540. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HIP_TJTime')) drop proc Statics_TJ_HIP_TJTime
  1541. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HIP_TJTime_AllTerm')) drop proc Statics_TJ_HIP_TJTime_AllTerm
  1542. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_HIP_TJTime_AllTerm_New')) drop proc Statics_TJ_HIP_TJTime_AllTerm_New
  1543. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_KNEE_CYTime')) drop proc Statics_TJ_KNEE_CYTime
  1544. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_KNEE_CYTime_AllTerm')) drop proc Statics_TJ_KNEE_CYTime_AllTerm
  1545. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_KNEE_CYTime_AllTerm_New')) drop proc Statics_TJ_KNEE_CYTime_AllTerm_New
  1546. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_KNEE_TJTime')) drop proc Statics_TJ_KNEE_TJTime
  1547. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_KNEE_TJTime_AllTerm')) drop proc Statics_TJ_KNEE_TJTime_AllTerm
  1548. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_KNEE_TJTime_AllTerm_New')) drop proc Statics_TJ_KNEE_TJTime_AllTerm_New
  1549. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_LC_CYTime_AllTerm_New')) drop proc Statics_TJ_LC_CYTime_AllTerm_New
  1550. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_LC_TJTime_AllTerm_New')) drop proc Statics_TJ_LC_TJTime_AllTerm_New
  1551. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_PIP_CYTime')) drop proc Statics_TJ_PIP_CYTime
  1552. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_PIP_CYTime_AllTerm')) drop proc Statics_TJ_PIP_CYTime_AllTerm
  1553. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_PIP_CYTime_AllTerm_New')) drop proc Statics_TJ_PIP_CYTime_AllTerm_New
  1554. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_PIP_TJTime')) drop proc Statics_TJ_PIP_TJTime
  1555. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_PIP_TJTime_AllTerm')) drop proc Statics_TJ_PIP_TJTime_AllTerm
  1556. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_PIP_TJTime_AllTerm_New')) drop proc Statics_TJ_PIP_TJTime_AllTerm_New
  1557. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_STK_CYTime')) drop proc Statics_TJ_STK_CYTime
  1558. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_STK_CYTime_AllTerm')) drop proc Statics_TJ_STK_CYTime_AllTerm
  1559. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_STK_CYTime_AllTerm_New')) drop proc Statics_TJ_STK_CYTime_AllTerm_New
  1560. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_STK_TJTime')) drop proc Statics_TJ_STK_TJTime
  1561. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_STK_TJTime_AllTerm')) drop proc Statics_TJ_STK_TJTime_AllTerm
  1562. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_STK_TJTime_AllTerm_New')) drop proc Statics_TJ_STK_TJTime_AllTerm_New
  1563. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_TC_CYTime_AllTerm_New')) drop proc Statics_TJ_TC_CYTime_AllTerm_New
  1564. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_TC_TJTime_AllTerm_New')) drop proc Statics_TJ_TC_TJTime_AllTerm_New
  1565. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_TIA_CYTime_AllTerm_New')) drop proc Statics_TJ_TIA_CYTime_AllTerm_New
  1566. IF EXISTS (SELECT * FROM sysobjects WHERE id = OBJECT_ID('Statics_TJ_TIA_TJTime_AllTerm_New')) drop proc Statics_TJ_TIA_TJTime_AllTerm_New
  1567. --自定义字典表
  1568. if not exists(select * from syscolumns where id=object_id('Report_DropList') and name='ReportClass')
  1569. BEGIN
  1570. EXEC dbo.sp_executesql @statement = N'alter table Report_DropList add ReportClass int NULL'
  1571. END
  1572. if not exists(select * from syscolumns where id=object_id('Report_DropListValue') and name='ReportClass')
  1573. BEGIN
  1574. EXEC dbo.sp_executesql @statement = N'alter table Report_DropListValue add ReportClass int NULL'
  1575. END
  1576. if not exists(select * from syscolumns where id=object_id('D_MedicalRecord') and name='IsCustom')
  1577. BEGIN
  1578. EXEC dbo.sp_executesql @statement = N'alter table D_MedicalRecord add IsCustom bit NULL'
  1579. END
  1580. --自动抽取语义分析任务
  1581. if not exists (select * from [DataBaseAutoBak] where ID = 6)
  1582. exec dbo.sp_executesql @statement = N'
  1583. SET IDENTITY_INSERT [dbo].[DataBaseAutoBak] ON
  1584. INSERT [dbo].[DataBaseAutoBak] ([Id], [AutoDbBakEnabled], [AutoDbBakEveryDay], [AutoDbBakAtHour]) VALUES (6, 0, 1, 0)
  1585. SET IDENTITY_INSERT [dbo].[DataBaseAutoBak] OFF
  1586. '
  1587. --自动抽取语义分析漏报表修改
  1588. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='AutoYyfxState')
  1589. BEGIN
  1590. --自动抽取状态:-2抽取时异常,需尝试重新抽取、-1语义分析返回抽取失败、0待抽取、1语义分析返回抽取成功
  1591. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add AutoYyfxState int NULL'
  1592. --最后一次抽取时间
  1593. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add AutoYyfxLastDateTime datetime NULL'
  1594. --自动抽取失败次数
  1595. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add AutoYyfxFailCount int NULL'
  1596. --语义分析成功抽取字段数
  1597. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add AutoYyfxSuccessFieldCount int NULL'
  1598. --语义分析返回结果
  1599. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add AutoYyfxResult nvarchar(MAX) NULL'
  1600. END
  1601. -- 51个病种无需上报理由
  1602. if not exists(select * from Report_NoReportNote where ReportClass >37)
  1603. BEGIN
  1604. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (38, N'由外院住院诊疗后转入本院的病例', 1)
  1605. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (38, N'参与临床药物与器械试验的病例', 1)
  1606. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (38, N'18岁以下的病例', 1)
  1607. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (38, N'同一疾病30日内重复入院', 1)
  1608. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (38, N'本次住院超过90天', 1)
  1609. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (39, N'由外院住院诊疗后转入本院的病例', 1)
  1610. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (39, N'参与临床药物与器械试验的病例', 1)
  1611. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (39, N'18岁以下的病例', 1)
  1612. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (39, N'同一疾病30日内重复入院的病例', 1)
  1613. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (39, N'本次住院超过90天的病例', 1)
  1614. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (40, N'由外院住院诊疗后转入本院的病例', 1)
  1615. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (40, N'参与临床药物与器械试验的病例', 1)
  1616. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (40, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  1617. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (40, N'18岁以下的病例', 1)
  1618. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (40, N'同一疾病30日内重复入院', 1)
  1619. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (40, N'本次住院超过90天', 1)
  1620. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (41, N'由外院住院诊疗后转入本院的病例', 1)
  1621. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (41, N'参与临床药物与器械试验的病例', 1)
  1622. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (41, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  1623. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (41, N'18岁以下的病例', 1)
  1624. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (41, N'同一疾病30日内重复入院', 1)
  1625. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (41, N'本次住院超过90天', 1)
  1626. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (42, N'由外院住院诊疗后转入本院的病例', 1)
  1627. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (42, N'参与临床药物与器械试验的病例', 1)
  1628. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (42, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  1629. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (42, N'18岁以下的病例', 1)
  1630. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (42, N'同一疾病30日内重复入院', 1)
  1631. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (42, N'本次住院超过90天', 1)
  1632. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (43, N'由外院住院诊疗后转入本院的病例', 1)
  1633. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (43, N'参与临床药物与器械试验的病例', 1)
  1634. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (43, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  1635. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (43, N'18岁以下的病例', 1)
  1636. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (43, N'同一疾病30日内重复入院', 1)
  1637. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (43, N'本次住院超过90天', 1)
  1638. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (44, N'18岁以下的病例', 1)
  1639. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (44, N'同一疾病30日内重复入院', 1)
  1640. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (44, N'本次住院超过90天', 1)
  1641. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (45, N'18岁以下的病例', 1)
  1642. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (45, N'同一疾病30日内重复入院', 1)
  1643. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (45, N'本次住院超过90天', 1)
  1644. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (46, N'终末期肾病已行血液净化治疗', 1)
  1645. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (46, N'肿瘤患者', 1)
  1646. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (46, N'18岁以下的病例', 1)
  1647. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (46, N'同一疾病30日内重复入院', 1)
  1648. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (46, N'本次住院超过90天', 1)
  1649. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (47, N'由外院住院诊疗后转入本院的病例', 1)
  1650. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (47, N'参与临床药物与器械试验的病例', 1)
  1651. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (47, N'年龄≥18岁以及<2岁的患者', 1)
  1652. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (47, N'同一疾病30日内重复入院', 1)
  1653. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (47, N'本次住院超过90天', 1)
  1654. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (48, N'由外院住院诊疗后转入本院的病例', 1)
  1655. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (48, N'参与临床药物与器械试验的病例', 1)
  1656. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (48, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  1657. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (48, N'18岁以上的病例', 1)
  1658. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (48, N'同一疾病30日内重复入院', 1)
  1659. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (48, N'本次住院超过90天', 1)
  1660. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (49, N'由外院住院诊疗后转入本院的病例', 1)
  1661. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (49, N'参与临床药物与器械试验的病例', 1)
  1662. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (49, N'到达医院前已经被确认采取安慰治疗或姑息治疗者', 1)
  1663. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (49, N'18岁以上的病例', 1)
  1664. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (49, N'同一疾病30日内重复入院', 1)
  1665. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (49, N'本次住院超过90天', 1)
  1666. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (50, N'由外院住院诊疗后转入本院的病例', 1)
  1667. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (50, N'参与临床药物与器械试验的病例', 1)
  1668. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (50, N'18岁以下的病例', 1)
  1669. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (50, N'同一疾病30日内重复入院', 1)
  1670. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (50, N'本次住院超过90天', 1)
  1671. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (50, N'病历记录孕期<28周或不明的', 1)
  1672. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (51, N'由外院住院诊疗后转入本院的病例', 1)
  1673. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (51, N'18岁以下的病例', 1)
  1674. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (51, N'同一疾病30日内重复入院', 1)
  1675. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (51, N'本次住院超过90天', 1)
  1676. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (52, N'参与临床药物与器械试验的病例', 1)
  1677. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (52, N'年龄<18个月或年龄>8岁的患者', 1)
  1678. INSERT [dbo].[Report_NoReportNote] ( [ReportClass], [Note], [Selected]) VALUES (52, N'本次住院超过90天', 1)
  1679. END
  1680. --漏报统计所用索引
  1681. if not exists( select * from sysindexes where id=object_id('Report_Leak') and name='NonClusteredIndex-ReporotLeakStats')
  1682. begin
  1683. CREATE NONCLUSTERED INDEX [NonClusteredIndex-ReporotLeakStats] ON [dbo].[Report_Leak]
  1684. (
  1685. [ReportClass] ASC,
  1686. [HNumber] ASC,
  1687. [CYDate] ASC
  1688. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  1689. end
  1690. --上报汇总所用索引
  1691. if not exists( select * from sysindexes where id=object_id('Report_Log') and name='NonClusteredIndex-ReportStats')
  1692. begin
  1693. CREATE NONCLUSTERED INDEX [NonClusteredIndex-ReportStats] ON [dbo].[Report_Log]
  1694. (
  1695. [ReportID] ASC,
  1696. [UserProfileId] ASC
  1697. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  1698. END
  1699. --添加 SEP、VTE 病种重复病例除外设置
  1700. if not exists(select * from D_RepeatReportSetting where ReportClass =35)
  1701. BEGIN
  1702. --SEP与各病种重复
  1703. --Cap-Adult
  1704. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (35, 3, N'31.1、93.90、93.91、93.94、93.96、93.98、93.99、96.04、96.70、96.71、96.72', NULL, 1)
  1705. --Cap
  1706. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (35, 8, N'31.1、93.90、93.91、93.94、93.96、93.98、93.99、96.04、96.70、96.71、96.72', NULL, 1)
  1707. --AECOPD
  1708. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (35, 11, N'31.1、93.90、93.91、93.94、93.96、93.98、93.99、96.70、96.71、96.72', NULL, 1)
  1709. --CAC
  1710. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (35, 19, N'31.1、93.90、93.91、93.94、93.96、93.98、93.99、96.70、96.71、96.72', NULL, 1)
  1711. --CACC
  1712. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (35, 47, N'31.1、93.90、93.91、93.94、93.96、93.98、93.99、96.70、96.71、96.72', NULL, 1)
  1713. --VTE与各病种重复
  1714. --Cap-Adult
  1715. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 3, N'96.70、96.71、96.72、93.90、93.91、39.65', NULL, 1)
  1716. --Cap
  1717. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 8, N'96.70、96.71、96.72、93.90、93.91、39.65', NULL, 1)
  1718. --AECOPD
  1719. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 11, N'96.70、96.71、96.72、93.90、93.91、39.65', NULL, 1)
  1720. --TC
  1721. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 15, NULL, N'C73', 1)
  1722. --BC
  1723. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 17, NULL, N'C50',1)
  1724. --CAC
  1725. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 19, N'96.70、96.71、96.72、93.90、93.91', NULL, 1)
  1726. --SEP
  1727. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 35, N'96.70、96.71、96.72、93.90、93.91、89.60、89.61 、89.62、89.63、89.64、89.65、89.66、89.67、89.68', N'A40.1、A40.2、A40.3、A40.8、A40.9、A41.0、A41.1、A41.2、A41.3、A41.4、A41.5、A41.8、A41.9、R65.2、R65.3、R65.9', 1)
  1728. --PT
  1729. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 41, NULL, N'C07', 1)
  1730. --HD
  1731. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 44, N'39.95', NULL, 1)
  1732. --CACC
  1733. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 47, N'96.70、96.71、96.72、93.90、93.91', NULL, 1)
  1734. END
  1735. --reportleak 添加ICD9_oth
  1736. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='ICD9_oth')
  1737. BEGIN
  1738. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add ICD9_oth nvarchar(max) NULL'
  1739. END
  1740. --暂时保留 开始--
  1741. --5.3.0版本医院未全部升级因此以下代码和5.3文件夹内代码重复,后期都普遍升级后此处可删除
  1742. --添加病种重复病例除外设置
  1743. --pip与各病种重复
  1744. if not exists(select * from D_RepeatReportSetting where ReportClass =9 and RepeatReportClass>10)
  1745. BEGIN
  1746. --甲状腺癌(手术治疗)·TC
  1747. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1748. VALUES (9, 15, N'06.2、06.3、06.4、06.5', NULL, 1)
  1749. --房间隔缺损手术·ASD
  1750. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1751. VALUES (9, 30, N'35.61', NULL, 1)
  1752. --室间隔缺损手术·VSD
  1753. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1754. VALUES (9, 31, N'35.62', NULL, 1)
  1755. --甲状腺结节(手术治疗)·TN
  1756. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1757. VALUES (9,37, N'06.2、06.3、06.4、06.5', NULL, 1)
  1758. --复杂性视网膜脱离(手术治疗)·RD
  1759. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1760. VALUES (9, 38, N'13.19、13.3、13.41、13.42、13.43、13.59、13.64、13.65、13.69、13.70、13.71、13.72、13.8、13.90', NULL, 1)
  1761. --原发性急性闭角型青光眼(手术治疗)·PACG
  1762. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1763. VALUES (9, 39, N'13.19、13.3、13.41、13.59、13.70、13.71、13.90', NULL, 1)
  1764. --发育性髋关节发育不良·DDH
  1765. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1766. VALUES (9, 52, N'76.94、79.8', NULL, 1)
  1767. END
  1768. --DVT与各病种重复
  1769. if not exists(select * from D_RepeatReportSetting where ReportClass =12 and RepeatReportClass>7)
  1770. BEGIN
  1771. --二尖瓣置换术·MVR
  1772. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1773. VALUES (12, 24, N'35.0、35.2', NULL, 1)
  1774. --主动脉瓣置换术·AVR
  1775. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1776. VALUES (12, 29, N'35.0、35.2', NULL, 1)
  1777. --胃癌(手术治疗)·GC
  1778. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1779. VALUES (12, 33, N'43.6、43.7、43.8、43.9', NULL, 1)
  1780. --子宫肌瘤(手术治疗)·UM
  1781. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1782. VALUES (12, 34, N'68.2', NULL, 1)
  1783. --宫颈癌(手术治疗)·CC
  1784. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1785. VALUES (12, 42, N'68.3、68.4、68.5、68.6、68.7', NULL, 1)
  1786. --结肠癌(手术治疗)·CoC
  1787. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1788. VALUES (12, 43, N'45.7', NULL, 1)
  1789. END
  1790. --VTE与各病种重复
  1791. if not exists(select * from D_RepeatReportSetting where ReportClass =36 and RepeatReportClass=16)
  1792. BEGIN
  1793. --肺癌(手术治疗)·LC
  1794. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1795. VALUES (36, 16, NULL, N'C34.0、C34.1、C34.2、C34.3、C34.8、C34.9', 1)
  1796. --脑膜瘤(初发手术治疗)·MEN
  1797. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1798. VALUES (36, 25, NULL, N'C70.0、C70.9', 1)
  1799. --胶质瘤(初发,手术治疗)·GLI
  1800. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1801. VALUES (36, 27, NULL, N'C71.0、C71.1、C71.2、C71.3、C71.4、C71.5、C71.6、C71.7、C71.8、C71.9', 1)
  1802. --垂体腺瘤(初发,手术治疗)·PA
  1803. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1804. VALUES (36, 28, NULL, N'C75.1', 1)
  1805. --胃癌(手术治疗)·GC
  1806. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1807. VALUES (36, 33, NULL, N'C16.0、C16.1、C16.2、C16.3、C16.4、C16.5、C16.6、C16.8、C16.9', 1)
  1808. --舌鳞状细胞癌(手术治疗)·TSCC
  1809. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1810. VALUES (36, 40, NULL, N'C01.x、C02.0、C02.1、C02.2、C02.3、C02.4、C02.8、C02.9', 1)
  1811. --宫颈癌(手术治疗)·CC
  1812. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1813. VALUES (36, 42, NULL, N'C53.0、C53.1、C53.8、C53.9', 1)
  1814. --结肠癌(手术治疗)·CoC
  1815. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1816. VALUES (36, 43, NULL, N'C18.0、C18.1、C18.2、C18.3、C18.4、C18.5、C18.6、C18.7、C18.8、C18.9', 1)
  1817. --儿童急性淋巴细胞白血病(初始诱导化疗)·ALL
  1818. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1819. VALUES (36, 48, NULL, N'C91.0', 1)
  1820. --儿童急性早幼粒细胞白血病(初始化疗)·APL
  1821. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1822. VALUES (36, 49, NULL, N'C92.4', 1)
  1823. END
  1824. --HF与各病种重复
  1825. if not exists(select * from D_RepeatReportSetting where ReportClass =2)
  1826. BEGIN
  1827. --急性心肌梗死(ST 段抬高型,首次住院)·STEMI
  1828. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1829. VALUES (2, 1, NULL, N'I21.0、I21.1、I21.2、I21.3', 1)
  1830. END
  1831. --CS与各病种重复
  1832. if not exists(select * from D_RepeatReportSetting where ReportClass =10)
  1833. BEGIN
  1834. --感染分娩母婴阻断·HBV
  1835. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1836. VALUES (10, 50, N'74.0、74.1、74.2、74.4、74.99', N'Z37', 1)
  1837. END
  1838. --AVR与各病种重复
  1839. if not exists(select * from D_RepeatReportSetting where ReportClass =29)
  1840. BEGIN
  1841. --二尖瓣置换术·MVR
  1842. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1843. VALUES (29, 24, N'35.0、35.2',NULL, 1)
  1844. END
  1845. --VTE与pip
  1846. if not exists(select * from D_RepeatReportSetting where ReportClass =36 and RepeatReportClass=9)
  1847. BEGIN
  1848. --pip
  1849. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1850. VALUES (36, 9, N'06.2~06.5、80.6、13.0~13.9、17.11~17.13、17.21~17.24、53.00~53.17、85.2~85.4、38.1、81.1、01.24、80.50~80.59、03.53、21.72、76.72~76.79、79.31~79.39、76.94、79.8、78.5~78.6、83.13~83.14、62.0~62.9、64.0~64.4、35.62、35.61、74.0、74.1、74.2、74.4、74.99', NULL, 1)
  1851. END
  1852. --reportleak 添加RepeatReportClass
  1853. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='RepeatReportClass')
  1854. BEGIN
  1855. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add RepeatReportClass nvarchar(max) NULL'
  1856. END
  1857. --[Q_Quanxian]表添加分析图表权限
  1858. if not exists (select * from [Q_Quanxian] where ID = 25)
  1859. begin
  1860. SET IDENTITY_INSERT [dbo].[Q_Quanxian] ON
  1861. INSERT [dbo].[Q_Quanxian] ([Id], [QuanxianName], [Sort]) VALUES (25, N'分析图表', 25)
  1862. SET IDENTITY_INSERT [dbo].[Q_Quanxian] OFF
  1863. end
  1864. --科室表增加根目录字段
  1865. if not exists(select * from syscolumns where id=object_id('Report_UserDept') and name='FullPath')
  1866. BEGIN
  1867. EXEC dbo.sp_executesql @statement = N'alter table Report_UserDept add ParentPath nvarchar(max) NULL'
  1868. EXEC dbo.sp_executesql @statement = N'alter table Report_UserDept add FullPath nvarchar(max) NULL'
  1869. EXEC dbo.sp_executesql @statement = N'alter table Report_UserDept add FullName nvarchar(max) NULL'
  1870. END
  1871. --pip与BC
  1872. if not exists(select * from D_RepeatReportSetting where ReportClass =9 and RepeatReportClass=17)
  1873. BEGIN
  1874. --乳腺癌(手术治疗)·BC
  1875. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled])
  1876. VALUES (9, 17, N'85.2、85.3、85.4', NULL, 1)
  1877. END
  1878. --系统属性设置:对接失败数据是否自动退回填报员设置
  1879. set Identity_insert [dbo].[Report_DistributeDept] ON
  1880. if not exists (select * from [Report_DistributeDept] where ID = 27)
  1881. INSERT [dbo].[Report_DistributeDept] ([ID] ,[DistributeDeptName] ,[IsStart] ,[HasValue]) VALUES (27, N'对接失败数据是否自动退回填报员', 0, NULL)
  1882. set Identity_insert [dbo].[Report_DistributeDept] OFF
  1883. --增加 D_MedicalRecord 扩展属性字段
  1884. if not exists(select * from syscolumns where id=object_id('D_MedicalRecord') and name='ExtFields')
  1885. BEGIN
  1886. EXEC dbo.sp_executesql @statement = N'alter table D_MedicalRecord add ExtFields nvarchar(max) NULL'
  1887. END
  1888. --漏报表提取率相关字段
  1889. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='filedNum')
  1890. BEGIN
  1891. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add FiledNum int NULL'
  1892. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add NoFilledNum int NULL'
  1893. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add FiledRate float NULL'
  1894. END
  1895. --增加 DataBaseAutoBak 分钟字段
  1896. if not exists(select * from syscolumns where id=object_id('DataBaseAutoBak') and name='AutoDbBakAtMinute')
  1897. BEGIN
  1898. EXEC dbo.sp_executesql @statement = N'alter table DataBaseAutoBak add AutoDbBakAtMinute int default 0'
  1899. END
  1900. --添加回收站权限
  1901. if not exists (select * from [Q_Quanxian] where ID = 27)
  1902. begin
  1903. SET IDENTITY_INSERT [dbo].[Q_Quanxian] ON
  1904. INSERT [dbo].[Q_Quanxian] ([Id], [QuanxianName], [Sort]) VALUES (27, N'回收站', 27)
  1905. SET IDENTITY_INSERT [dbo].[Q_Quanxian] OFF
  1906. end
  1907. --D_MedicalRecord 卫健委对接code
  1908. if not exists(select * from syscolumns where id=object_id('D_MedicalRecord') and name='Ncis_JoinCode')
  1909. BEGIN
  1910. EXEC dbo.sp_executesql @statement = N'alter table D_MedicalRecord add Ncis_JoinCode int NULL'
  1911. END
  1912. --系统属性设置:账号禁用设置
  1913. set Identity_insert [dbo].[Report_DistributeDept] ON
  1914. if not exists (select * from [Report_DistributeDept] where ID = 28)
  1915. INSERT [dbo].[Report_DistributeDept] ([ID] ,[DistributeDeptName] ,[IsStart] ,[HasValue]) VALUES (28, N'账号禁用设置', 0, '5')
  1916. set Identity_insert [dbo].[Report_DistributeDept] OFF
  1917. --增加 Q_UserProfile LoginDate:登录时间 UserLoginFailNum:登录失败次数
  1918. if not exists(select * from syscolumns where id=object_id('Q_UserProfile') and name='LoginDate')
  1919. BEGIN
  1920. EXEC dbo.sp_executesql @statement = N'alter table Q_UserProfile add LoginDate datetime NULL'
  1921. EXEC dbo.sp_executesql @statement = N'alter table Q_UserProfile add UserLoginFailNum int NULL'
  1922. END
  1923. --增加Report_LeakLog LeakId的索引
  1924. if not exists( select * from sysindexes where id=object_id('Report_LeakLog') and name='NonClusteredIndex-LeakID')
  1925. begin
  1926. CREATE NONCLUSTERED INDEX [NonClusteredIndex-LeakID] ON [dbo].[Report_LeakLog]
  1927. (
  1928. [LeakId] ASC
  1929. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  1930. end
  1931. --系统属性设置:是否启用时间粘贴设置
  1932. set Identity_insert [dbo].[Report_DistributeDept] ON
  1933. if not exists (select * from [Report_DistributeDept] where ID = 29)
  1934. INSERT [dbo].[Report_DistributeDept] ([ID] ,[DistributeDeptName] ,[IsStart] ,[HasValue]) VALUES (29, N'时间粘贴设置', 0, NULL)
  1935. set Identity_insert [dbo].[Report_DistributeDept] OFF
  1936. --系统属性设置:数据抽取是否覆盖已填写项
  1937. set Identity_insert [dbo].[Report_DistributeDept] ON
  1938. if not exists (select * from [Report_DistributeDept] where ID = 30)
  1939. INSERT [dbo].[Report_DistributeDept] ([ID] ,[DistributeDeptName] ,[IsStart] ,[HasValue]) VALUES (30, N'数据抽取是否覆盖已填写项', 0, NULL)
  1940. set Identity_insert [dbo].[Report_DistributeDept] OFF
  1941. --自动抽取应上报数据任务
  1942. if not exists (select * from [DataBaseAutoBak] where ID = 7)
  1943. exec dbo.sp_executesql @statement = N'
  1944. SET IDENTITY_INSERT [dbo].[DataBaseAutoBak] ON
  1945. INSERT [dbo].[DataBaseAutoBak] ([Id], [AutoDbBakEnabled], [AutoDbBakEveryDay], [AutoDbBakAtHour],[AutoDbBakAtMinute]) VALUES (7, 0, 1, 0, 0)
  1946. SET IDENTITY_INSERT [dbo].[DataBaseAutoBak] OFF
  1947. '
  1948. --添加 VTE 病种重复病例除外设置
  1949. if not exists(select * from D_RepeatReportSetting where ReportClass =36 and RepeatReportClass=1)
  1950. BEGIN
  1951. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 1, NULL, NULL, 0)
  1952. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 2, NULL, NULL, 0)
  1953. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 4, NULL, NULL, 0)
  1954. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 5, NULL, NULL, 0)
  1955. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 6, NULL, NULL, 0)
  1956. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 7, NULL, NULL, 0)
  1957. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 10, NULL, NULL, 0)
  1958. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 12, NULL, NULL, 0)
  1959. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 13, NULL, NULL, 0)
  1960. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 14, NULL, NULL, 0)
  1961. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 20, NULL, NULL, 0)
  1962. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 21, NULL, NULL, 0)
  1963. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 22, NULL, NULL, 0)
  1964. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 23, NULL, NULL, 0)
  1965. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 24, NULL, NULL, 0)
  1966. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 26, NULL, NULL, 0)
  1967. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 29, NULL, NULL, 0)
  1968. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 30, NULL, NULL, 0)
  1969. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 31, NULL, NULL, 0)
  1970. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 32, NULL, NULL, 0)
  1971. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 34, NULL, NULL, 0)
  1972. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 36, NULL, NULL, 0)
  1973. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 37, NULL, NULL, 0)
  1974. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 38, NULL, NULL, 0)
  1975. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 39, NULL, NULL, 0)
  1976. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 45, NULL, NULL, 0)
  1977. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 46, NULL, NULL, 0)
  1978. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 50, NULL, NULL, 0)
  1979. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 51, NULL, NULL, 0)
  1980. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (36, 52, NULL, NULL, 0)
  1981. END
  1982. --系统属性设置:评审指标设置
  1983. set Identity_insert [dbo].[Report_DistributeDept] ON
  1984. if not exists (select * from [Report_DistributeDept] where ID = 31)
  1985. INSERT [dbo].[Report_DistributeDept] ([ID] ,[DistributeDeptName] ,[IsStart] ,[HasValue]) VALUES (31, N'评审指标设置', 0, NULL)
  1986. set Identity_insert [dbo].[Report_DistributeDept] OFF
  1987. --系统属性设置:完成上报后自动审核设置
  1988. set Identity_insert [dbo].[Report_DistributeDept] ON
  1989. if not exists (select * from [Report_DistributeDept] where ID = 32)
  1990. INSERT [dbo].[Report_DistributeDept] ([ID] ,[DistributeDeptName] ,[IsStart] ,[HasValue]) VALUES (32, N'完成上报的同时自动审核通过', 0, NULL)
  1991. set Identity_insert [dbo].[Report_DistributeDept] OFF
  1992. --无需上报内容添加0类接口
  1993. if not exists (select * from D_ReportStaticsQuota where StaticsQuotaName ='0类切口')
  1994. BEGIN
  1995. set Identity_insert [dbo].[D_ReportStaticsQuota] ON
  1996. INSERT [dbo].[D_ReportStaticsQuota] ([Id], [ReportClassArr], [StaticsQuotaName], [StaticsQuotaValue], [ZBIndex]) VALUES (15, N'9,', N'0类切口 ', N'a', 6)
  1997. set Identity_insert [dbo].[D_ReportStaticsQuota] OFF
  1998. end
  1999. --系统属性设置:是否开启 0类切口无需上报
  2000. set Identity_insert [dbo].[Report_DistributeDept] ON
  2001. if not exists (select * from [Report_DistributeDept] where ID = 33)
  2002. INSERT [dbo].[Report_DistributeDept] ([ID] ,[DistributeDeptName] ,[IsStart] ,[HasValue]) VALUES (33, N'0类切口无需上报', 0, NULL)
  2003. set Identity_insert [dbo].[Report_DistributeDept] OFF
  2004. --reportleak 添加 CM_3_3
  2005. if not exists(select * from syscolumns where id=object_id('Report_Leak') and name='CM_3_3')
  2006. BEGIN
  2007. EXEC dbo.sp_executesql @statement = N'alter table Report_Leak add CM_3_3 nvarchar(max) NULL'
  2008. END
  2009. --菜单设置
  2010. if not exists(select * from sysobjects where id=object_id('D_MenuSetting'))
  2011. BEGIN
  2012. EXEC dbo.sp_executesql @statement = N'
  2013. SET ANSI_NULLS ON
  2014. SET QUOTED_IDENTIFIER ON
  2015. CREATE TABLE [dbo].[D_MenuSetting](
  2016. [ID] [int] IDENTITY(1,1) NOT NULL,
  2017. [MenuName] [nvarchar](max) NULL,
  2018. [DisplayName] [nvarchar](max) NULL,
  2019. CONSTRAINT [PK_D_MenuSetting] PRIMARY KEY CLUSTERED
  2020. (
  2021. [ID] ASC
  2022. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  2023. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  2024. '
  2025. SET IDENTITY_INSERT [dbo].[D_MenuSetting] ON
  2026. INSERT [dbo].[D_MenuSetting] ([ID], [MenuName], [DisplayName]) VALUES (1, N'手工填报数据', NULL)
  2027. INSERT [dbo].[D_MenuSetting] ([ID], [MenuName], [DisplayName]) VALUES (2, N'待报数据', NULL)
  2028. INSERT [dbo].[D_MenuSetting] ([ID], [MenuName], [DisplayName]) VALUES (3, N'管理数据', NULL)
  2029. INSERT [dbo].[D_MenuSetting] ([ID], [MenuName], [DisplayName]) VALUES (4, N'上报汇总', NULL)
  2030. INSERT [dbo].[D_MenuSetting] ([ID], [MenuName], [DisplayName]) VALUES (5, N'漏报管理', NULL)
  2031. INSERT [dbo].[D_MenuSetting] ([ID], [MenuName], [DisplayName]) VALUES (6, N'漏报汇总', NULL)
  2032. SET IDENTITY_INSERT [dbo].[D_MenuSetting] OFF
  2033. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'菜单名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MenuSetting', @level2type=N'COLUMN',@level2name=N'MenuName'
  2034. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'显示名称' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MenuSetting', @level2type=N'COLUMN',@level2name=N'DisplayName'
  2035. End
  2036. --用于导入卫计委上报数据
  2037. if not exists(select * from sysobjects where id=object_id('D_MedicalRecord_Rank'))
  2038. BEGIN
  2039. EXEC dbo.sp_executesql @statement = N'
  2040. CREATE TABLE [dbo].[D_MedicalRecord_Rank](
  2041. [ID] [int] IDENTITY(1,1) NOT NULL,
  2042. [ReportClass] [int] NULL,
  2043. [Base_HNumber] [nvarchar](50) NULL,
  2044. [Base_RYDate] [datetime] NULL,
  2045. [Base_CYDate] [datetime] NULL,
  2046. [Base_CSRQ] [datetime] NULL,
  2047. [DataInfo] [nvarchar](max) NULL,
  2048. [Add_TJTime] [datetime] NOT NULL,
  2049. [Add_OperDeptId] [int] NULL,
  2050. CONSTRAINT [PK_D_MedicalRecord_Rank_Base] PRIMARY KEY CLUSTERED
  2051. (
  2052. [ID] ASC
  2053. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  2054. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  2055. '
  2056. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病种类型' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_Rank', @level2type=N'COLUMN',@level2name=N'ReportClass'
  2057. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'病案号' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_Rank', @level2type=N'COLUMN',@level2name=N'Base_HNumber'
  2058. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'入院时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_Rank', @level2type=N'COLUMN',@level2name=N'Base_RYDate'
  2059. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出院时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_Rank', @level2type=N'COLUMN',@level2name=N'Base_CYDate'
  2060. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'出生日期' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_Rank', @level2type=N'COLUMN',@level2name=N'Base_CSRQ'
  2061. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'上报数据json' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_Rank', @level2type=N'COLUMN',@level2name=N'DataInfo'
  2062. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'提交时间' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_Rank', @level2type=N'COLUMN',@level2name=N'Add_TJTime'
  2063. EXEC sys.sp_addextendedproperty @name=N'MS_Description', @value=N'科室代码' , @level0type=N'SCHEMA',@level0name=N'dbo', @level1type=N'TABLE',@level1name=N'D_MedicalRecord_Rank', @level2type=N'COLUMN',@level2name=N'Add_OperDeptId'
  2064. CREATE NONCLUSTERED INDEX [NonClusteredIndex-ReportClass] ON [dbo].[D_MedicalRecord_Rank]
  2065. (
  2066. [ReportClass] ASC,
  2067. [Add_TJTime] ASC
  2068. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  2069. END
  2070. --用于导入医院病案首页数据,计算评审指标
  2071. if not exists(select * from sysobjects where id=object_id('D_MedicalRecord_Previous'))
  2072. BEGIN
  2073. EXEC dbo.sp_executesql @statement = N'
  2074. CREATE TABLE [dbo].[D_MedicalRecord_Previous](
  2075. [ID] [int] IDENTITY(1,1) NOT NULL,
  2076. [ReportClass] [int] NULL,
  2077. [Base_HNumber] [nvarchar](50) NULL,
  2078. [Base_VisitId] [nvarchar](50) NULL,
  2079. [Base_LYFS] [nvarchar](50) NULL,
  2080. [Base_RYDate] [datetime] NULL,
  2081. [Base_CYDate] [datetime] NULL,
  2082. [Base_CSRQ] [datetime] NULL,
  2083. [DataInfo] [nvarchar](max) NULL,
  2084. [BC30] [nvarchar](50) NULL,
  2085. [Base_BGName] [nvarchar](50) NULL,
  2086. [Base_ZGYSName] [nvarchar](50) NULL,
  2087. [CM_0_1_1_3] [nvarchar](50) NULL,
  2088. [ICD10] [nvarchar](max) NULL,
  2089. [ICD10_oth] [nvarchar](max) NULL,
  2090. [ICDD10] [nvarchar](max) NULL,
  2091. [ICD9] [nvarchar](max) NULL,
  2092. [ICD9_oth] [nvarchar](max) NULL,
  2093. [DiseaseType] [nvarchar](50) NULL,
  2094. [DealReport] [int] NULL,
  2095. [NoMustReportReason] [nvarchar](max) NULL,
  2096. [RepeatReportClass] [nvarchar](max) NULL,
  2097. [IsAuto] [bit] NULL,
  2098. [GainDate] [datetime] NULL,
  2099. CONSTRAINT [PK_D_MedicalRecord_Previous] PRIMARY KEY CLUSTERED
  2100. (
  2101. [ID] ASC
  2102. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  2103. ) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
  2104. '
  2105. END
  2106. if not exists( select * from sysindexes where id=object_id('D_MedicalRecord_Previous') and name='NonClusteredIndex-D_MedicalRecord_Previous')
  2107. BEGIN
  2108. CREATE NONCLUSTERED INDEX [NonClusteredIndex-D_MedicalRecord_Previous] ON [dbo].[D_MedicalRecord_Previous]
  2109. (
  2110. [ReportClass] ASC,
  2111. [Base_HNumber] ASC,
  2112. [Base_CYDate] ASC
  2113. )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
  2114. END
  2115. --医院信息添加医院logo
  2116. if not exists(select * from syscolumns where id=object_id('Report_HospitalInfo') and name='HospitalLogo')
  2117. BEGIN
  2118. EXEC dbo.sp_executesql @statement = N'alter table Report_HospitalInfo add HospitalLogo nvarchar(max) NULL'
  2119. END
  2120. --添加权限 控制 标记上报卫健委功能
  2121. if not exists(select * from Q_Quanxian where QuanxianName = '隐藏标记上报卫健委功能(与数据管理、部门数据管理权限关联)')
  2122. BEGIN
  2123. INSERT [dbo].[Q_Quanxian] ([QuanxianName], [Sort]) VALUES (N'隐藏标记上报卫健委功能(与数据管理、部门数据管理权限关联)', 29)
  2124. END
  2125. --增加心梗和房颤的重复病种重复病例除外设置
  2126. if not exists(select * from D_RepeatReportSetting where ReportClass =32 and RepeatReportClass=1)
  2127. BEGIN
  2128. INSERT [dbo].[D_RepeatReportSetting] ([ReportClass], [RepeatReportClass], [Icd9Code], [Icd10Code], [Enabled]) VALUES (32, 1, NULL, NULL, 0)
  2129. END
  2130. --增加下一次运行时间字段NextRun,缺省值null
  2131. if not exists(select * from syscolumns where id=object_id('DataBaseAutoBak') and name='NextRun')
  2132. EXEC dbo.sp_executesql @statement = N'alter table DataBaseAutoBak add [NextRun] DateTime NULL'
  2133. if not exists(select * from syscolumns where id=object_id('D_ReportLeak_TaskSettings') and name='NextRun')
  2134. EXEC dbo.sp_executesql @statement = N'alter table D_ReportLeak_TaskSettings add [NextRun] DateTime NULL'
  2135. --暂时保留 结束--