med_medication_request表添加 诊断id

This commit is contained in:
Wang.Huan
2025-03-21 16:23:31 +08:00
parent c81a92e81d
commit 9e7714dd0e
3 changed files with 12 additions and 0 deletions

View File

@@ -205,6 +205,7 @@ public class DoctorStationAdviceAppServiceImpl implements IDoctorStationAdviceAp
medicationRequest.setOrgId(adviceSaveDto.getOrgId());
medicationRequest.setLocationId(adviceSaveDto.getLocationId());
medicationRequest.setEncounterId(adviceSaveDto.getEncounterId());
medicationRequest.setConditionId(adviceSaveDto.getConditionId()); // 诊断id
medicationRequest.setTherapyEnum(adviceSaveDto.getTherapyEnum());
medicationRequest.setMethodCode(adviceSaveDto.getMethodCode());
medicationRequest.setRateCode(adviceSaveDto.getRateCode());

View File

@@ -79,6 +79,12 @@ public class AdviceSaveDto {
@JsonSerialize(using = ToStringSerializer.class)
private Long encounterId;
/**
* 诊断ID
*/
@JsonSerialize(using = ToStringSerializer.class)
private Long conditionId;
/** 治疗类型 */
private Integer therapyEnum;

View File

@@ -91,6 +91,11 @@ public class MedicationRequest extends HisBaseEntity {
/** 就诊id */
private Long encounterId;
/**
* 诊断ID
*/
private Long conditionId;
/** 支持用药信息 */
private String supportInfo;