refactor(tuichat): 重构添加成员页面UI和交互逻辑
- 将顶部标题栏改为白底黑字风格,调整返回按钮颜色 - 移除原有的Tab标签页,改为搜索框配合分段Tab布局 - 添加搜索框右侧"搜索"文字按钮功能 - 重新设计底部确认按钮为全宽度样式 - 调整导航面板宽度从220dp增加到280dp - 新增多个颜色值和图形资源用于支持新UI样式 - 更新通话图标和分隔线样式 - 修改应急救援相关API接口和数据模型 - 调整患者信息展示逻辑和界面元素可见性控制
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.xjjk.healthyclients.bean.emergency
|
||||
|
||||
data class GroupInfo(
|
||||
val orderId: String,
|
||||
val sessionId: String,
|
||||
val salvageUserName: String,
|
||||
val salvageUserSex: String,
|
||||
val salvageUserAvatar: String,
|
||||
val salvageUserAge: Int,
|
||||
val salvageUserMobile: String,
|
||||
val orgName: String,
|
||||
val deptName: String,
|
||||
val orderStatus: String,
|
||||
val initTime: String
|
||||
)
|
||||
@@ -66,8 +66,8 @@ data class ProposalBean(
|
||||
val sexCode: String?,
|
||||
val workUnit: String?,
|
||||
val careLiaisonName: String?,
|
||||
val idNo: String,
|
||||
val phone: String,
|
||||
val idNo: String?,
|
||||
val phone: String?,
|
||||
val careStatus: String,
|
||||
val dataLevel: Int,
|
||||
val negativeList: String,
|
||||
|
||||
@@ -7,6 +7,7 @@ import com.xjjk.healthyclients.bean.emergency.BigDiseaseBean
|
||||
import com.xjjk.healthyclients.bean.emergency.BigDiseaseDetailsBean
|
||||
import com.xjjk.healthyclients.bean.emergency.EmergencyGroupInfo
|
||||
import com.xjjk.healthyclients.bean.emergency.GetOrderBySessionIdBean
|
||||
import com.xjjk.healthyclients.bean.emergency.GroupInfo
|
||||
import com.xjjk.healthyclients.bean.emergency.HospitalBean
|
||||
import com.xjjk.healthyclients.bean.emergency.LocationResourceBean
|
||||
import com.xjjk.healthyclients.bean.emergency.OrderThroughBean
|
||||
@@ -128,4 +129,10 @@ interface EmergencyApi {
|
||||
*/
|
||||
@GET("/health-emergency/emergency/LargeScreenNew/isLiaisonUser")
|
||||
suspend fun isLiaisonUser(): ApiResponse<Boolean>
|
||||
|
||||
/**
|
||||
* 当前登录人参与的应急工单列表
|
||||
*/
|
||||
@GET("/health-emergency/api/emergency/order/myParticipatedOrders")
|
||||
suspend fun getParticipatedOrders (): ApiResponse<PageBean<GroupInfo>>
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
package com.xjjk.healthyclients.data.bean
|
||||
|
||||
/**
|
||||
* 通用分页数据包装类
|
||||
*
|
||||
* 用于后端返回 MyBatis-Plus 风格的分页结构,实际列表数据位于 [records] 字段中。
|
||||
*
|
||||
* @param T 列表元素类型
|
||||
*/
|
||||
data class PageBean<T>(
|
||||
/** 数据列表 */
|
||||
val records: List<T>?,
|
||||
/** 总记录数 */
|
||||
val total: Int = 0,
|
||||
/** 每页大小 */
|
||||
val size: Int = 0,
|
||||
/** 当前页码 */
|
||||
val current: Int = 0,
|
||||
/** 总页数 */
|
||||
val pages: Int = 0
|
||||
)
|
||||
@@ -10,6 +10,7 @@ import com.xjjk.healthyclients.bean.emergency.BigDiseaseBean
|
||||
import com.xjjk.healthyclients.bean.emergency.BigDiseaseDetailsBean
|
||||
import com.xjjk.healthyclients.bean.emergency.EmergencyGroupInfo
|
||||
import com.xjjk.healthyclients.bean.emergency.GetOrderBySessionIdBean
|
||||
import com.xjjk.healthyclients.bean.emergency.GroupInfo
|
||||
import com.xjjk.healthyclients.bean.emergency.HospitalBean
|
||||
import com.xjjk.healthyclients.bean.emergency.LocationResourceBean
|
||||
import com.xjjk.healthyclients.bean.emergency.OrderThroughBean
|
||||
@@ -181,4 +182,8 @@ object EmergencyRepository : BaseRepository() {
|
||||
suspend fun isLiaisonUser(): ApiResponse<Boolean> {
|
||||
return apiCall { service.isLiaisonUser() }
|
||||
}
|
||||
|
||||
suspend fun getParticipatedOrders(): ApiResponse<PageBean<GroupInfo>> {
|
||||
return apiCall { service.getParticipatedOrders() }
|
||||
}
|
||||
}
|
||||
@@ -87,7 +87,6 @@ class EmergencyFragment :
|
||||
)
|
||||
var mListener: LocationSource.OnLocationChangedListener? = null
|
||||
|
||||
|
||||
private val paramedicOperateListener = object : OnParamedicOperateListener {
|
||||
override fun addGroupUser(
|
||||
groupId: String,
|
||||
@@ -233,6 +232,8 @@ class EmergencyFragment :
|
||||
|
||||
// }
|
||||
}
|
||||
titleId = mHeadType[0].value
|
||||
mViewModel.getEmergencyData(mHeadType[0].value, mCurrentLat, mCurrentLon)
|
||||
}
|
||||
|
||||
override fun createObserve() {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.xjjk.healthyclients.ui.activity
|
||||
|
||||
import android.graphics.Color
|
||||
import android.os.Bundle
|
||||
import android.view.View
|
||||
import androidx.lifecycle.Lifecycle
|
||||
@@ -28,6 +29,7 @@ class ProposalActivity :
|
||||
// 加载健康档案数据
|
||||
|
||||
}
|
||||
|
||||
override fun createObserve() {
|
||||
super.createObserve()
|
||||
lifecycleScope.launch {
|
||||
@@ -38,43 +40,52 @@ class ProposalActivity :
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun setProposalInfo(proposalBean: ProposalBean?) {
|
||||
proposalBean?.let {
|
||||
// 患者信息
|
||||
mBinding.tvPatientName.text = it.name
|
||||
mBinding.tvPatientGenderAge.text = it.sexCode + " · " + it.age
|
||||
mBinding.tvDocumentStatus.text = it.careStatus
|
||||
mBinding.tvPatientCompany.text = it.workUnit
|
||||
mBinding.tvIdNumber.text = it.idNo
|
||||
mBinding.tvPhone.text = it.phone
|
||||
mBinding.tvPatientGenderAge.text = formatNullString(it.sexCode) + " · " + it.age + "岁"
|
||||
//mBinding.tvDocumentStatus.text = it.careStatus
|
||||
mBinding.tvPatientCompany.text = formatNullString(it.workUnit)
|
||||
mBinding.tvIdNumber.text = formatNullString(it.idNo)
|
||||
mBinding.tvPhone.text = formatNullString(it.phone)
|
||||
|
||||
// 关爱管理信息
|
||||
mBinding.tvLevel.text = it.dataLevel.toString()
|
||||
mBinding.tvLiaisonName.text = it.careLiaisonName
|
||||
mBinding.tvNegativeList.text = it.negativeList
|
||||
//mBinding.tvLevel.text = it.dataLevel.toString()
|
||||
mBinding.tvLiaisonName.text = formatNullString(it.careLiaisonName)
|
||||
mBinding.tvNegativeList.text = formatNullString(it.negativeList)
|
||||
|
||||
|
||||
// 档案与标签
|
||||
mBinding.tvFlagFat.text = it.flagFat.toString()
|
||||
mBinding.tvWeight.text = it.weight
|
||||
mBinding.tvHeight.text = it.height
|
||||
mBinding.tvBmi.text = it.bmiCurrent
|
||||
mBinding.tvStandardWeight.text = it.targetWeight
|
||||
if (it.flagFat != 1) {
|
||||
mBinding.llFatTag.visibility = View.INVISIBLE
|
||||
}
|
||||
mBinding.tvWeight.text = formatNullString(it.weight)
|
||||
mBinding.tvHeight.text = formatNullString(it.height)
|
||||
mBinding.tvBmi.text = formatNullString(it.bmiCurrent)
|
||||
mBinding.tvStandardWeight.text = formatNullString(it.targetWeight)
|
||||
|
||||
// 心血管健康
|
||||
mBinding.tvBloodPressure.text = it.hypertension.toString()
|
||||
mBinding.tvSystolicAvg.text = it.systolicPressureAvg
|
||||
mBinding.tvSystolicTarget.text = it.systolicPressureTarget
|
||||
mBinding.tvSystolic.text = it.systolicPressureAvg
|
||||
mBinding.tvDiastolicAvg.text = it.diastolicPressureAvg
|
||||
mBinding.tvDiastolicTarget.text = it.diastolicPressureTarget
|
||||
mBinding.tvDiastolic.text = it.diastolicPressureAvg
|
||||
if (it.hypertension != 1) {
|
||||
mBinding.llHighPressureTag.visibility = View.INVISIBLE
|
||||
}
|
||||
mBinding.tvSystolicAvg.text = formatNullString(it.systolicPressureAvg)
|
||||
mBinding.tvSystolicTarget.text = formatNullString(it.systolicPressureTarget)
|
||||
mBinding.tvSystolic.text = formatNullString(it.systolicPressureAvg)
|
||||
mBinding.tvDiastolicAvg.text = formatNullString(it.diastolicPressureAvg)
|
||||
mBinding.tvDiastolicTarget.text = formatNullString(it.diastolicPressureTarget)
|
||||
mBinding.tvDiastolic.text = formatNullString(it.diastolicPressureAvg)
|
||||
|
||||
// 代谢指标
|
||||
mBinding.tvDiabetes.text = it.diabetes.toString()
|
||||
// 心血管健康
|
||||
if (it.diabetes != 1) {
|
||||
mBinding.llDiabetesTag.visibility = View.INVISIBLE
|
||||
}
|
||||
mBinding.llDiabetesTag.visibility = if (it.diabetes != 0) View.VISIBLE else View.GONE
|
||||
mBinding.tvFbsValue.text = it.glu
|
||||
mBinding.tvFbsTarget.text = it.bloodSugarTarget
|
||||
mBinding.tvFbsCurrent.text = it.glu
|
||||
mBinding.tvFbsValue.text = formatNullString(it.glu)
|
||||
mBinding.tvFbsTarget.text = formatNullString(it.bloodSugarTarget)
|
||||
mBinding.tvFbsCurrent.text = formatNullString(it.glu)
|
||||
|
||||
// 血脂四项
|
||||
mBinding.tvTcValue.text = it.tc
|
||||
@@ -98,6 +109,7 @@ class ProposalActivity :
|
||||
mBinding.tvHcyCurrent.text = it.homocysteine
|
||||
|
||||
// 医疗意见与记录
|
||||
mBinding.tvCabinOpinion.text = it.cabinOpinion
|
||||
mBinding.tvCabinTime.text = it.cabinOpinionTime
|
||||
mBinding.tvCabinReporter.text = it.cabinOpinionUserName
|
||||
mBinding.tvDoctorTime.text = it.expertOpinionTime
|
||||
@@ -105,6 +117,12 @@ class ProposalActivity :
|
||||
}
|
||||
}
|
||||
|
||||
fun formatNullString(input: String?): String {
|
||||
return input?.ifEmpty {
|
||||
"--"
|
||||
} ?: "--"
|
||||
}
|
||||
|
||||
override fun bindEvent() {
|
||||
// 绑定事件
|
||||
}
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 渐变下划线装饰:白色 → 主题青色,用于医疗意见章节标题下方 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:startColor="#FFFFFF"
|
||||
android:endColor="#2EB8B2"
|
||||
android:angle="0" />
|
||||
<size android:height="2dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 渐变下划线装饰:白色 → 主题青色,用于医疗意见章节标题下方 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:startColor="#2EB8B2"
|
||||
android:endColor="#FFFFFF"
|
||||
android:angle="0" />
|
||||
<size android:height="2dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 渐变下划线装饰:白色 → 主题青色,用于医疗意见章节标题下方 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:startColor="#FFFFFF"
|
||||
android:endColor="#5ABDBA"
|
||||
android:centerColor="#FFFFFF"
|
||||
android:centerY="0.5"
|
||||
android:angle="270" />
|
||||
<size android:height="2dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 灰色圆角背景 #F5F7FB radius 12dp -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#F5F7FB" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#F5F7FB" />
|
||||
<corners android:radius="8dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 患者信息卡片浅绿渐变头部 #DEFFFC → #FFFFFF -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:startColor="#DEFFFC"
|
||||
android:endColor="#FFFFFF"
|
||||
android:angle="270" />
|
||||
<corners
|
||||
android:topLeftRadius="12dp"
|
||||
android:topRightRadius="12dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="oval">
|
||||
<solid android:color="#F24439" />
|
||||
<size
|
||||
android:width="6dp"
|
||||
android:height="6dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 表格数据单元格:白色背景 + 浅灰边框 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FFFFFF" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#E6E6EA" />
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 表格表头单元格:灰色背景 + 浅灰边框 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#F5F7FB" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#E6E6EA" />
|
||||
</shape>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#1A2EB8B2" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<gradient
|
||||
android:startColor="#DEFFFC"
|
||||
android:endColor="#FFFFFF"
|
||||
android:angle="270" />
|
||||
<!--<corners
|
||||
android:topLeftRadius="12dp"
|
||||
android:topRightRadius="12dp" />-->
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 青色标签背景 #2EB8B2 radius 12dp,用于"重点关爱"等标签 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#2EB8B2" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/theme_color" />
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 卡片顶部青色细条,配合患者信息卡片使用 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#2EB8B2" />
|
||||
<corners
|
||||
android:topLeftRadius="8dp"
|
||||
android:topRightRadius="8dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 青色标签背景 #2EB8B2 radius 4dp -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#2EB8B2" />
|
||||
<corners android:radius="4dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 小号青色标签背景 #2EB8B2 radius 2dp,用于BMI"标准"标签 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#2EB8B2" />
|
||||
<corners android:radius="2dp" />
|
||||
</shape>
|
||||
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- 卡片顶部青色细条,配合患者信息卡片使用 -->
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#2EB8B2" />
|
||||
<corners
|
||||
android:topLeftRadius="8dp"
|
||||
android:topRightRadius="8dp"
|
||||
android:bottomRightRadius="8dp"
|
||||
android:bottomLeftRadius="8dp"/>
|
||||
</shape>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:radius="12dp" />
|
||||
</shape>
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 4.5 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.9 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 8.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 6.0 KiB |
@@ -81,6 +81,11 @@
|
||||
android:textStyle="bold"
|
||||
tools:text="艾比拜·牙库甫" />
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_patient_gender_age"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -88,9 +93,15 @@
|
||||
android:layout_marginStart="8dp"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold"
|
||||
tools:text="男性 · 52岁" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_patient_company"
|
||||
android:layout_width="wrap_content"
|
||||
@@ -98,13 +109,19 @@
|
||||
android:layout_marginTop="6dp"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold"
|
||||
tools:text="新疆油田分公司采油一厂" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<!-- 档案已建立 标签 -->
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="24dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:background="@drawable/bg_teal_tag_round_4"
|
||||
android:gravity="center"
|
||||
android:paddingStart="10dp"
|
||||
@@ -118,6 +135,8 @@
|
||||
android:textColor="@color/white"
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
@@ -136,7 +155,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_height="40dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
@@ -161,7 +180,7 @@
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_height="40dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
@@ -190,23 +209,29 @@
|
||||
|
||||
<!-- ==================== 关爱管理信息 ==================== -->
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp">
|
||||
|
||||
<!-- 标题卡片 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp">
|
||||
android:orientation="horizontal">
|
||||
|
||||
<View
|
||||
android:layout_width="3dp"
|
||||
android:layout_height="16dp"
|
||||
android:background="@color/theme_color" />
|
||||
android:background="@drawable/bg_title_tag" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -246,21 +271,15 @@
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@color/divider_ea" />
|
||||
|
||||
<!-- 关爱联络员 卡片 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp">
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -287,21 +306,15 @@
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@color/divider_ea" />
|
||||
|
||||
<!-- 负面清单 卡片 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp">
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -310,18 +323,19 @@
|
||||
android:textColor="@color/gray_80"
|
||||
android:textSize="14sp" />
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_negative_list"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="12dp"
|
||||
android:layout_weight="1"
|
||||
android:ellipsize="end"
|
||||
android:gravity="end"
|
||||
android:maxLines="2"
|
||||
android:singleLine="false"
|
||||
android:textColor="@color/text_tab_color"
|
||||
android:textSize="13sp"
|
||||
tools:text="胃炎、高尿酸、负重关节炎" />
|
||||
android:textSize="13sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- ==================== 档案与标签卡片 ==================== -->
|
||||
@@ -345,7 +359,7 @@
|
||||
<View
|
||||
android:layout_width="3dp"
|
||||
android:layout_height="16dp"
|
||||
android:background="@color/theme_color" />
|
||||
android:background="@drawable/bg_title_tag" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -363,6 +377,7 @@
|
||||
|
||||
<!-- 疾病标签:肥胖 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_fatTag"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
@@ -632,7 +647,7 @@
|
||||
<View
|
||||
android:layout_width="3dp"
|
||||
android:layout_height="16dp"
|
||||
android:background="@color/theme_color" />
|
||||
android:background="@drawable/bg_title_tag" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -650,6 +665,7 @@
|
||||
|
||||
<!-- 高血压 标签 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_highPressureTag"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
@@ -686,14 +702,28 @@
|
||||
android:padding="16dp">
|
||||
|
||||
<!-- 子标题 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_blood_pressure" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="4dp"
|
||||
android:text="血压"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 表头行 -->
|
||||
<LinearLayout
|
||||
@@ -866,7 +896,7 @@
|
||||
<View
|
||||
android:layout_width="3dp"
|
||||
android:layout_height="16dp"
|
||||
android:background="@color/theme_color" />
|
||||
android:background="@drawable/bg_title_tag" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -919,14 +949,28 @@
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_blood_glucose" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="4dp"
|
||||
android:text="血糖"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 表头 -->
|
||||
<LinearLayout
|
||||
@@ -1049,7 +1093,7 @@
|
||||
<View
|
||||
android:layout_width="3dp"
|
||||
android:layout_height="16dp"
|
||||
android:background="@color/theme_color" />
|
||||
android:background="@drawable/bg_title_tag" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -1059,18 +1103,6 @@
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="血脂"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
@@ -1086,6 +1118,30 @@
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_blood_lipids" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="4dp"
|
||||
android:text="血脂"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 表头 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -1357,7 +1413,7 @@
|
||||
<View
|
||||
android:layout_width="3dp"
|
||||
android:layout_height="16dp"
|
||||
android:background="@color/theme_color" />
|
||||
android:background="@drawable/bg_title_tag" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -1367,18 +1423,6 @@
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="16sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_weight="1" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="尿酸"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<View
|
||||
@@ -1394,6 +1438,29 @@
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:layout_width="24dp"
|
||||
android:layout_height="24dp"
|
||||
android:src="@drawable/ic_uric_acid" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginStart="4dp"
|
||||
android:text="尿酸"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 表头 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
@@ -1515,7 +1582,7 @@
|
||||
<View
|
||||
android:layout_width="3dp"
|
||||
android:layout_height="16dp"
|
||||
android:background="@color/theme_color" />
|
||||
android:background="@drawable/bg_title_tag" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -1655,13 +1722,29 @@
|
||||
|
||||
<!-- ==================== 医疗意见与记录 ==================== -->
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipChildren="false">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_medical_advice"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<!-- 标题卡片 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@color/white"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal"
|
||||
@@ -1671,7 +1754,7 @@
|
||||
<View
|
||||
android:layout_width="3dp"
|
||||
android:layout_height="16dp"
|
||||
android:background="@color/theme_color" />
|
||||
android:background="@drawable/bg_title_tag" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
@@ -1731,14 +1814,24 @@
|
||||
<View
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
android:background="@drawable/bg_gradient_underline_reverse" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/tv_cabinOpinion"
|
||||
android:layout_marginTop="8dp"
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/text_teal_dark"/>
|
||||
|
||||
<!-- 时间和填报人 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:layout_marginBottom="4dp"
|
||||
android:orientation="horizontal"
|
||||
android:paddingStart="16dp"
|
||||
android:paddingEnd="16dp">
|
||||
@@ -1761,9 +1854,11 @@
|
||||
tools:text="2026-05-15 14:30" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 【健康综述】卡片 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_cabin_summary"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
@@ -1771,22 +1866,20 @@
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_medical_advice">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_gradient_underline_vertical"
|
||||
android:text="【健康综述】"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="2dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cabin_summary"
|
||||
android:layout_width="match_parent"
|
||||
@@ -1795,11 +1888,12 @@
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textColor="@color/text_teal_dark"
|
||||
android:textSize="13sp"
|
||||
tools:text="患者张建国,男,52岁,高血压病史5年,目前血压控制不理想(收缩压持续偏高)。BMI 28.5,属于肥胖。空腹血糖偏高(6.8mmol/L),处于糖尿病前期。血脂三项均超标,甘油三酯明显偏高。血尿酸持续偏高,存在痛风风险。同型半胱氨酸偏高,心血管风险增加。" />
|
||||
android:text="患者张建国,男,52岁,高血压病史5年,目前血压控制不理想(收缩压持续偏高)。BMI 28.5,属于肥胖。空腹血糖偏高(6.8mmol/L),处于糖尿病前期。血脂三项均超标,甘油三酯明显偏高。血尿酸持续偏高,存在痛风风险。同型半胱氨酸偏高,心血管风险增加。" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 【降控目标】卡片 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_health_target"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
@@ -1807,22 +1901,20 @@
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_cabin_summary">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_gradient_underline_vertical"
|
||||
android:text="【降控目标】"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="2dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cabin_target"
|
||||
android:layout_width="match_parent"
|
||||
@@ -1831,11 +1923,12 @@
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textColor="@color/text_teal_dark"
|
||||
android:textSize="13sp"
|
||||
tools:text="1. 血压:收缩压控制在140mmHg以下,舒张压控制在90mmHg以下。\n2. 体重:目标减至75kg,BMI降至25.3。\n3. 血糖:空腹血糖控制在6.1mmol/L以下。\n4. 血脂:LDL-C降至3.4以下,TG降至1.7以下。\n5. 尿酸:控制在420μmol/L以下。" />
|
||||
android:text="1. 血压:收缩压控制在140mmHg以下,舒张压控制在90mmHg以下。\n2. 体重:目标减至75kg,BMI降至25.3。\n3. 血糖:空腹血糖控制在6.1mmol/L以下。\n4. 血脂:LDL-C降至3.4以下,TG降至1.7以下。\n5. 尿酸:控制在420μmol/L以下。" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 【生活干预建议】卡片 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_health_suggest"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
@@ -1843,22 +1936,20 @@
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_health_target">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_gradient_underline_vertical"
|
||||
android:text="【生活干预建议】"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="2dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_doctor_lifestyle"
|
||||
android:layout_width="match_parent"
|
||||
@@ -1867,11 +1958,101 @@
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textColor="@color/text_teal_dark"
|
||||
android:textSize="13sp"
|
||||
tools:text="1. 饮食:低盐低脂低嘌呤饮食,减少动物内脏和海鲜摄入,每日盐摄入不超过5g。\n2. 运动:每周至少150分钟中等强度有氧运动(快走、游泳),逐步增加运动量。\n3. 戒烟限酒:建议完全戒烟,严格限制酒精摄入。\n4. 体重管理:每月减重1-2kg为宜,避免节食减肥。" />
|
||||
android:text="1. 饮食:低盐低脂低嘌呤饮食,减少动物内脏和海鲜摄入,每日盐摄入不超过5g。\n2. 运动:每周至少150分钟中等强度有氧运动(快走、游泳),逐步增加运动量。\n3. 戒烟限酒:建议完全戒烟,严格限制酒精摄入。\n4. 体重管理:每月减重1-2kg为宜,避免节食减肥。" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 【服药情况】卡片 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_health_medication"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_health_suggest">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_gradient_underline_vertical"
|
||||
android:text="【服药情况】"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_doctor_medication"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textColor="@color/text_teal_dark"
|
||||
android:textSize="13sp"
|
||||
android:text="1.氨氯地平片 5mg 每日一次(降压)\n2. 阿托伐他汀钙片 20mg 每晚一次(调脂)\n3. 别嘌醇片 100mg 每日一次(降尿酸)\n4. 叶酸片 0.8mg 每日一次(降低同型半胱氨酸)\n5. 建议3个月后复查全套生化指标,评估治疗效果" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:layout_marginBottom="-20dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_link"
|
||||
app:layout_constraintBottom_toTopOf="@id/ll_cabin_summary"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_medical_advice" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:layout_marginBottom="-20dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_link"
|
||||
app:layout_constraintBottom_toTopOf="@id/ll_health_target"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_cabin_summary" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:layout_marginBottom="-20dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_link"
|
||||
app:layout_constraintBottom_toTopOf="@id/ll_health_suggest"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_health_target" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:layout_marginBottom="-20dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_link"
|
||||
app:layout_constraintBottom_toTopOf="@id/ll_health_medication"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_health_suggest" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<!-- ========== 专家医生意见 ========== -->
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:clipChildren="false">
|
||||
|
||||
<!-- 专家医生意见 标题 + 填报信息 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_doctor_opinion"
|
||||
@@ -1880,11 +2061,14 @@
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@color/white"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:paddingTop="16dp"
|
||||
android:paddingBottom="16dp">
|
||||
android:paddingBottom="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<!-- 居中标题 + 装饰线 -->
|
||||
<LinearLayout
|
||||
@@ -1911,7 +2095,7 @@
|
||||
<View
|
||||
android:layout_width="80dp"
|
||||
android:layout_height="1dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
android:background="@drawable/bg_gradient_underline_reverse" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 时间和填报人 -->
|
||||
@@ -1930,7 +2114,7 @@
|
||||
android:layout_weight="1"
|
||||
android:textColor="#B6B6B6"
|
||||
android:textSize="11sp"
|
||||
tools:text="填报人:陈明远(主任医师)" />
|
||||
android:text="填报人:陈明远(主任医师)" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_doctor_time"
|
||||
@@ -1938,12 +2122,13 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#B6B6B6"
|
||||
android:textSize="11sp"
|
||||
tools:text="2026-05-15 14:30" />
|
||||
android:text="2026-05-15 14:30" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 【综合评估】卡片 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_doctor_assessment"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
@@ -1951,22 +2136,20 @@
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_doctor_opinion">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_gradient_underline_vertical"
|
||||
android:text="【综合评估】"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="2dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_cabin_assessment"
|
||||
android:layout_width="match_parent"
|
||||
@@ -1975,11 +2158,13 @@
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textColor="@color/text_teal_dark"
|
||||
android:textSize="13sp"
|
||||
tools:text="患者为代谢综合征高危人群,同时合并高血压、肥胖、高尿酸血症、高同型半胱氨酸血症,心血管事件风险较高。目前空腹血糖6.8mmol/L,建议完善口服葡萄糖耐量试验(OGTT)以明确是否存在糖耐量异常。" />
|
||||
android:text="患者为代谢综合征高危人群,同时合并高血压、肥胖、高尿酸血症、高同型半胱氨酸血症,心血管事件风险较高。目前空腹血糖6.8mmol/L,建议完善口服葡萄糖耐量试验(OGTT)以明确是否存在糖耐量异常。" />
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<!-- 【诊疗建议】卡片 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_doctor_advice"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
@@ -1987,22 +2172,20 @@
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
android:padding="16dp"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_doctor_assessment">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_gradient_underline_vertical"
|
||||
android:text="【诊疗建议】"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="2dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_doctor_diagnosis"
|
||||
android:layout_width="match_parent"
|
||||
@@ -2011,47 +2194,12 @@
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textColor="@color/text_teal_dark"
|
||||
android:textSize="13sp"
|
||||
tools:text="1. 降压方案调整:目前氨氯地平单药控制欠佳,建议联合缬沙坦80mg每日一次,两药联合降压,目标血压130/85mmHg\n2. 调脂治疗:甘油三酯明显偏高(2.9mmol/L),在阿托伐他汀基础上加用非诺贝特200mg每日一次,注意监测肝功能\n3. 高尿酸:继续别嘌醇治疗,建议加用碳酸氢钠片碱化尿液,多饮水(每日>2000ml)\n4. 同型半胱氨酸:继续叶酸补充,建议加用维生素B6和B12联合治疗" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 【服药情况】卡片 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="【服药情况】"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="2dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_doctor_medication"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="8dp"
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textColor="@color/text_teal_dark"
|
||||
android:textSize="13sp"
|
||||
tools:text="1.氨氯地平片 5mg 每日一次(降压)\n2. 阿托伐他汀钙片 20mg 每晚一次(调脂)\n3. 别嘌醇片 100mg 每日一次(降尿酸)\n4. 叶酸片 0.8mg 每日一次(降低同型半胱氨酸)\n5. 建议3个月后复查全套生化指标,评估治疗效果" />
|
||||
android:text="1. 降压方案调整:目前氨氯地平单药控制欠佳,建议联合缬沙坦80mg每日一次,两药联合降压,目标血压130/85mmHg\n2. 调脂治疗:甘油三酯明显偏高(2.9mmol/L),在阿托伐他汀基础上加用非诺贝特200mg每日一次,注意监测肝功能\n3. 高尿酸:继续别嘌醇治疗,建议加用碳酸氢钠片碱化尿液,多饮水(每日>2000ml)\n4. 同型半胱氨酸:继续叶酸补充,建议加用维生素B6和B12联合治疗" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 【注意事项】卡片 -->
|
||||
<LinearLayout
|
||||
android:id="@+id/ll_doctor_notice"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
@@ -2059,22 +2207,21 @@
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_white_round_12"
|
||||
android:orientation="vertical"
|
||||
android:padding="16dp">
|
||||
android:padding="16dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_doctor_advice">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_gradient_underline_vertical"
|
||||
android:text="【注意事项】"
|
||||
android:textColor="@color/text_primary_25"
|
||||
android:textSize="14sp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<View
|
||||
android:layout_width="70dp"
|
||||
android:layout_height="2dp"
|
||||
android:layout_marginTop="4dp"
|
||||
android:background="@drawable/bg_gradient_underline" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_doctor_notice"
|
||||
android:layout_width="match_parent"
|
||||
@@ -2083,9 +2230,46 @@
|
||||
android:lineSpacingExtra="4dp"
|
||||
android:textColor="@color/text_teal_dark"
|
||||
android:textSize="13sp"
|
||||
tools:text="患者需高度重视生活方式改善,这是所有药物治疗的基础。建议定期(每月一次)到健康小屋随访,监测血压和体重变化。" />
|
||||
android:text="患者需高度重视生活方式改善,这是所有药物治疗的基础。建议定期(每月一次)到健康小屋随访,监测血压和体重变化。" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:layout_marginBottom="-20dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_link"
|
||||
app:layout_constraintBottom_toTopOf="@id/ll_doctor_notice"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_doctor_advice" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:layout_marginBottom="-20dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_link"
|
||||
app:layout_constraintBottom_toTopOf="@id/ll_doctor_advice"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_doctor_assessment" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="16dp"
|
||||
android:layout_height="0dp"
|
||||
android:layout_marginTop="-20dp"
|
||||
android:layout_marginEnd="36dp"
|
||||
android:layout_marginBottom="-20dp"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/ic_link"
|
||||
app:layout_constraintBottom_toTopOf="@id/ll_doctor_assessment"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/ll_doctor_opinion" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
android:layout_width="@dimen/dp_70"
|
||||
android:layout_height="@dimen/dp_70"
|
||||
android:layout_marginStart="@dimen/dp_16"
|
||||
android:src="@drawable/ic_emergency_120" />
|
||||
android:src="@drawable/ic_paramedic" />
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user