597 【住院医生工作站-临床医嘱】临床医嘱需增加“备注”字段支持

This commit is contained in:
wangjian963
2026-06-01 14:41:12 +08:00
parent a04b5f8dba
commit 275e7f5978
3 changed files with 13 additions and 3 deletions

View File

@@ -219,6 +219,7 @@
T1.effective_dose_start AS start_time,
T1.based_on_id AS based_on_id,
T1.medication_id AS advice_definition_id,
T1.content_json::jsonb ->> 'remark' AS remark,
T1.effective_dose_end AS stop_time,
T1.update_by AS stop_user_name
FROM med_medication_request AS T1
@@ -275,6 +276,7 @@
T1.req_authored_time AS start_time,
T1.based_on_id AS based_on_id,
T1.device_def_id AS advice_definition_id,
T1.content_json::jsonb ->> 'remark' AS remark,
NULL::timestamp AS stop_time,
'' AS stop_user_name
FROM wor_device_request AS T1
@@ -328,6 +330,7 @@
T1.occurrence_start_time AS start_time,
T1.based_on_id AS based_on_id,
T1.activity_id AS advice_definition_id,
T1.remark AS remark,
T1.occurrence_end_time AS stop_time,
T1.update_by AS stop_user_name
FROM wor_service_request AS T1