<configure
  xmlns="http://namespaces.zope.org/zope"
  xmlns:browser="http://namespaces.zope.org/browser"
  i18n_domain="senaite.health">

  <!-- Batches view. Use core's default, but with subscriber -->
  <browser:page
    for="bika.health.interfaces.IDoctor"
    name="batches"
    class="bika.lims.browser.batchfolder.BatchFolderContentsView"
    permission="zope2.View"
    layer="bika.health.interfaces.IBikaHealth"
  />

  <browser:page
    for="bika.health.interfaces.IDoctor"
    name="analysisrequests"
    class=".analysisrequests.AnalysisRequestsView"
    permission="zope2.View"
    layer="bika.health.interfaces.IBikaHealth"
  />

  <browser:page
    for="*"
    name="getDoctorID"
    class=".getdoctorid.ajaxGetDoctorID"
    permission="zope2.View"
    layer="bika.health.interfaces.IBikaHealth"
  />

  <browser:page
    for="*"
    name="getdoctorinfo"
    class=".getdoctorinfo.ajaxGetDoctorInfo"
    permission="zope2.View"
    layer="bika.health.interfaces.IBikaHealth"
  />

  <!-- Redirect to Client AR Add view when "AR Add" clicked inside Doctor -->
  <browser:page
    for="bika.health.interfaces.IDoctor"
    name="ar_add"
    class=".analysisrequests.AnalysisRequestAddRedirectView"
    permission="senaite.core.permissions.AddAnalysisRequest"
    layer="bika.lims.interfaces.IBikaLIMS"
  />

</configure>
