<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/home_coordinatorLayout"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/white"
    android:orientation="vertical">

    <include
        android:id="@+id/title"
        layout="@layout/title_white_bar" />

    <View
        android:layout_width="match_parent"
        android:layout_height="@dimen/dp_5"
        android:background="@color/col_6f7" />

    <androidx.core.widget.NestedScrollView
        android:layout_width="match_parent"
        android:layout_height="wrap_content">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:orientation="vertical"
            android:paddingLeft="@dimen/dp_16"
            android:paddingTop="@dimen/dp_21"
            android:paddingRight="@dimen/dp_16">


                <RelativeLayout
                    android:id="@+id/commomTitleLayout"
                    android:layout_width="match_parent"
                    android:layout_marginBottom="@dimen/dp_5"
                    android:layout_height="wrap_content">

                    <TextView
                        android:id="@+id/tv_title"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:textColor="@color/col_313"
                        android:textSize="@dimen/sp_17"
                        android:textStyle="bold"
                        android:layout_marginEnd="@dimen/dp_10"
                        android:layout_toStartOf="@+id/uploadStatus"
                        tools:text="sssss" />

                    <TextView
                        android:id="@+id/uploadStatus"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_alignParentEnd="true"
                        android:textSize="@dimen/sp_11"
                        tools:text="管家上传" />

                </RelativeLayout>


            <LinearLayout
                android:id="@+id/ll_tijian_layout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical">

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="@dimen/dp_5"
                    android:gravity="center_vertical"
                    android:orientation="horizontal">

                    <TextView
                        android:id="@+id/tvEventTime"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="体检时间:"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_15" />

                    <TextView
                        android:id="@+id/tv_tijian_time"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_15" />

                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_vertical"
                    android:layout_marginBottom="@dimen/dp_5"
                    android:orientation="horizontal">

                    <TextView
                        android:id="@+id/tvUpload"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="上传时间:"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_15" />

                    <TextView
                        android:id="@+id/tv_upload_time"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:gravity="center_vertical"
                        android:textColor="@color/col_c7c"
                        android:textColorHint="@color/col_6B6"
                        android:textSize="@dimen/sp_15" />

                </LinearLayout>

                <LinearLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_gravity="center_vertical"
                    android:layout_marginBottom="@dimen/dp_15"
                    android:orientation="horizontal">

                    <TextView
                        android:id="@+id/tvOrgName"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:text="体检机构:"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_15" />

                    <TextView
                        android:id="@+id/tv_org"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:layout_marginStart="@dimen/dp_10"
                        android:background="@null"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_15" />

                </LinearLayout>

                <TextView
                    android:id="@+id/tvList"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="@dimen/dp_10"
                    android:text="体检单"
                    android:textStyle="bold"
                    android:textColor="@color/black"
                    android:textSize="@dimen/dp_15" />

                <androidx.recyclerview.widget.RecyclerView
                    android:id="@+id/rvList"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="@dimen/dp_18" />

            </LinearLayout>

            <LinearLayout
                android:id="@+id/ll_medical_layout"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:orientation="vertical"
                android:visibility="gone">

                <RelativeLayout
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content">

                    <TextView
                        android:id="@+id/tvMeicalName"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:text="药品名称:"
                        android:layout_toStartOf="@+id/medicalUpload"
                        android:textColor="@color/col_c7c"
                        android:textSize="@dimen/sp_15" />


                    <TextView
                        android:id="@+id/medicalUpload"
                        android:layout_width="wrap_content"
                        android:layout_height="wrap_content"
                        android:layout_alignParentEnd="true"
                        tools:text="管家上传" />
                    |
                </RelativeLayout>



                <TextView
                    android:id="@+id/tvMeicalStartTime"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/dp_5"
                    android:text="开始时间:"
                    android:textColor="@color/col_c7c"
                    android:textSize="@dimen/sp_15" />

                <TextView
                    android:id="@+id/tvMeicalEndTime"
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/dp_5"
                    android:text="结束时间:"
                    android:textColor="@color/col_c7c"
                    android:textSize="@dimen/sp_15" />

                <TextView
                    android:layout_width="wrap_content"
                    android:layout_height="wrap_content"
                    android:layout_marginTop="@dimen/dp_15"
                    android:layout_marginBottom="@dimen/dp_10"
                    android:text="用药上传"
                    android:textStyle="bold"
                    android:textColor="@color/black"
                    android:textSize="@dimen/dp_15" />

                <androidx.recyclerview.widget.RecyclerView
                    android:id="@+id/rvMedicalList"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:layout_marginBottom="@dimen/dp_18" />

            </LinearLayout>

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginBottom="@dimen/dp_13"
                android:text="备注"
                android:textStyle="bold"
                android:textColor="@color/black"
                android:textSize="@dimen/dp_15" />

            <TextView
                android:id="@+id/tvRemark"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_marginBottom="@dimen/dp_18"
                android:textColor="@color/col_c7c"
                android:textSize="@dimen/dp_15" />
        </LinearLayout>
    </androidx.core.widget.NestedScrollView>


</LinearLayout>
