Commit a6302f01cd7967d88240ce2309dd3dbb4fb7e5eb
1 parent
fb5293fb0d
Exists in
master
and in
6 other branches
隆化两癌-11.乳腺X线检查
Showing 4 changed files with 91 additions and 0 deletions
- platform-common/src/main/java/com/lyms/platform/common/enums/LhBreastXRayContent.java
- platform-dal/src/main/java/com/lyms/platform/pojo/CancerScreeningModel.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/CancerScreeningFacade.java
- platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/CancerScreeningResult.java
platform-common/src/main/java/com/lyms/platform/common/enums/LhBreastXRayContent.java
View file @
a6302f0
1 | +package com.lyms.platform.common.enums; | |
2 | + | |
3 | +import com.lyms.platform.common.utils.StringUtils; | |
4 | + | |
5 | +/** | |
6 | + * 隆化-妇女健康管理-两癌-乳腺-乳腺X线检查 | |
7 | + * @Author: shiy | |
8 | + * @Date: 2021/11/22 | |
9 | + */ | |
10 | +public enum LhBreastXRayContent { | |
11 | + RxType0("0", "0类:现有影响未能完成评价,需要增加其他影像检查,包括加压点片、加压放大、加拍其他体位,或行超声检查。"), | |
12 | + RxType1("1", "1级:正常,乳腺摄片无异常发现。"), | |
13 | + RxType2("2", "2类:良性发现,存在明确的良性病灶,无恶性征象。"), | |
14 | + RxType3("3", "3类:良性可能大的病灶"), | |
15 | + RxType4("4", "4类:可疑恶性的病灶,但不具备典型的恶性征象。"), | |
16 | + RxType5("5", "5类:高度提示恶性的病灶,有典型乳腺癌的影像学特征。"), | |
17 | + RxType6("6", "6类:已行活检证实为癌"); | |
18 | + | |
19 | + LhBreastXRayContent(String id, String name) { | |
20 | + this.id = id; | |
21 | + this.name = name; | |
22 | + } | |
23 | + | |
24 | + | |
25 | + public static String getName(String id) { | |
26 | + if(StringUtils.isEmpty(id)) { | |
27 | + return null; | |
28 | + } | |
29 | + LhBreastXRayContent[] values = LhBreastXRayContent.values(); | |
30 | + for (LhBreastXRayContent value : values) { | |
31 | + if (value.getId().equals(id)) { | |
32 | + return value.getName(); | |
33 | + } | |
34 | + } | |
35 | + return null; | |
36 | + } | |
37 | + private String id; | |
38 | + private String name; | |
39 | + | |
40 | + public String getId() { | |
41 | + return id; | |
42 | + } | |
43 | + | |
44 | + public void setId(String id) { | |
45 | + this.id = id; | |
46 | + } | |
47 | + | |
48 | + public String getName() { | |
49 | + return name; | |
50 | + } | |
51 | + | |
52 | + public void setName(String name) { | |
53 | + this.name = name; | |
54 | + } | |
55 | + | |
56 | +} |
platform-dal/src/main/java/com/lyms/platform/pojo/CancerScreeningModel.java
View file @
a6302f0
... | ... | @@ -268,6 +268,27 @@ |
268 | 268 | |
269 | 269 | //rxlJy选择其他的内容 |
270 | 270 | private String rxlJyOther; |
271 | + //rxJy选择其他的内容 | |
272 | + private String rxJyOther; | |
273 | + | |
274 | + //隆化新乳腺X线检查内容,展示用到enum(LhBreastXRayContent) | |
275 | + private String rxXJc; | |
276 | + | |
277 | + public String getRxXJc() { | |
278 | + return rxXJc; | |
279 | + } | |
280 | + | |
281 | + public void setRxXJc(String rxXJc) { | |
282 | + this.rxXJc = rxXJc; | |
283 | + } | |
284 | + | |
285 | + public String getRxJyOther() { | |
286 | + return rxJyOther; | |
287 | + } | |
288 | + | |
289 | + public void setRxJyOther(String rxJyOther) { | |
290 | + this.rxJyOther = rxJyOther; | |
291 | + } | |
271 | 292 | |
272 | 293 | public String getRxlJyOther() { |
273 | 294 | return rxlJyOther; |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/CancerScreeningFacade.java
View file @
a6302f0
... | ... | @@ -307,6 +307,10 @@ |
307 | 307 | if(StringUtils.isNotEmpty(cancerScreeningModel.getNewRxCssj())){ |
308 | 308 | result.setNewRxCssjName(LhUltrasoundContent.getName(cancerScreeningModel.getNewRxCssj())); |
309 | 309 | } |
310 | + //乳腺X线检查内容翻译字段 | |
311 | + if(StringUtils.isNotEmpty(cancerScreeningModel.getRxXJc())){ | |
312 | + result.setRxXJcName(LhBreastXRayContent.getName(cancerScreeningModel.getRxXJc())); | |
313 | + } | |
310 | 314 | org.springframework.beans.BeanUtils.copyProperties(cancerScreeningModel,result); |
311 | 315 | //隆化-两癌-翻译乳腺癌名称 |
312 | 316 | result.setBreastAbnormityName(RxaZdycEnums.getName(null!=cancerScreeningModel.getBreastAbnormity()?cancerScreeningModel.getBreastAbnormity().toString():null)); |
platform-operate-api/src/main/java/com/lyms/platform/operate/web/result/CancerScreeningResult.java
View file @
a6302f0
... | ... | @@ -14,6 +14,16 @@ |
14 | 14 | private String addressStr; |
15 | 15 | //超声所见内容翻译字段 |
16 | 16 | private String newRxCssjName; |
17 | + //乳腺X线检查容翻译字段 | |
18 | + private String rxXJcName; | |
19 | + | |
20 | + public String getRxXJcName() { | |
21 | + return rxXJcName; | |
22 | + } | |
23 | + | |
24 | + public void setRxXJcName(String rxXJcName) { | |
25 | + this.rxXJcName = rxXJcName; | |
26 | + } | |
17 | 27 | |
18 | 28 | public String getNewRxCssjName() { |
19 | 29 | return newRxCssjName; |