<import-sjs
  name="utils"
  from="./index.sjs"
/>

<wrapper className="{{ className }}">
  <patient-check showAll="{{ showAll }}">
    <entry-main
      slot-scope="props"
      filters="{{ filters }}"
      medicCards="{{ medicCards }}"
      onChange="onFilterChange"
      hasFilter="{{ hasFilter }}"
      patients="{{ utils.setPatients(showInpatient, props.items) }}"
      patientId="{{ patientId }}"
      onAutoFilter="onAutoFilterHandel"
      typeOptions="{{ typeOptions }}"
      statusItems="{{ statusOptions }}"
      defaultName="{{ defaultName }}"
      defaultLabel="{{ defaultLabel }}"
      defaultStatus="{{ defaultStatus }}"
      showTimeSelector="{{ showTimeSelector }}"
    >
      <slot contentHeight="{{ contentHeight }}" />
    </entry-main>
  </patient-check>
</wrapper>
