<!-- 就诊人列表 -->
<popup className="{{ classStyleName }}" show="{{ popUpOpened }}" position="{{ popupPosition }}" disableScroll="{{ false }}">
    <view class="popup-content-container">
      <view class="title">
        <view>{{ title }}</view>
        <view onTap="onClose">
          <image class="close-image" src="https://gw.alipayobjects.com/mdn/rms_e695cc/afts/img/A*dEvTSpTQtbEAAAAAAAAAAAAAARQnAQ" mode="aspectFill" />
        </view>
      </view>
      <view class="patient-content">
          <!-- 就诊人列表 -->
          <block a:if="{{ hospitalizationRecordList && hospitalizationRecordList.length > 0 }}">
              <view a:for="{{ hospitalizationRecordList }}" class="patient-item" key="{{ item.userId }}">
                  <view class="patient-item-left">
                      <view class="patient-item-line-one">
                          <view class="name">{{ item.name }}</view>
                          <view class="mark {{ item.bindCardNum ? '' : 'unbound' }}">{{item.bindCardNum ? ' 已' : '未'}}绑定就诊卡</view>
                          <view class="mark">{{ item.relationShip }}</view>
                      </view>
                      <view class="patient-item-line-two">
                          {{ item.sex }}
                          {{ item.age ? ', ' + item.age + '岁' : '' }}
                          {{ item.phoneNumber ? ', ' + item.phoneNumber : '' }}
                      </view>
                  </view>
                  <view class="patient-item-right">
                      <button
                          data-info="{{ item }}"
                          type="primary"
                          class="choose-btn"
                          onTap="onChoosePatient">
                          选择
                      </button>
                  </view>
              </view>
          </block>
          <!-- 无就诊人 -->
          <view class="no-data" a:else>
            <image mode="scaleToFill" src="https://gw.alipayobjects.com/mdn/rms_e695cc/afts/img/A*53NkSYyUHVYAAAAAAAAAAAAAARQnAQ" class="no-data-img"/>
        </view>
      </view>
      <!-- 添加其他住院人按钮 -->
      <view class="add-patient">
          <view class="add-patient-btn">
            <view onTap="onAddPatient">
              <am-icon type="add" size="16" color="#1677ff"/>
            </view>
            <view class="add-patient-btn-txt" onTap="onAddPatient">添加其他住院人</view>
          </view>
      </view>
    </view>
</popup>
