<!-- 就诊人列表 -->
<popup
    className="{{ classStyleName }}"
    show="{{ inpatientSelectionPopUpOpened }}"
    position="{{ popupPosition }}">
    <view
      class="popup"
      style="background: #fff; border-radius: 16rpx 16rpx 0 0; padding-bottom: 30rpx;">
        <view class="popup-content">
          <view class="title">
            <view>{{ title }}</view>
            <view onTap="onClose">
              <am-icon type="close" size="16" color="#D7D8D8"/>
            </view>
          </view>
          <view class="relation-content">
            <block a:if="{{ inpatientSelectionList && inpatientSelectionList.length > 0 }}">
              <view
                data-item="{{ item }}"
                onTap="onChoosePatientRelation"
                class="patient-relation-item"
                a:for="{{ inpatientSelectionList }}"
                key="{{ index }}">
                  {{ item.name }}
              </view>
            </block>
          </view>
        </view>
    </view>
</popup>
