<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="HOSPITAL_STANDART_ROUTE_LINK" 
Description="Связка элемента стандарта с назначением" 
PrimaryKey="HospitalStandartRouteLinkID">
  <Fields>
    <Attribute Name="HospitalStandartRouteLinkID" Type="guid" Description="Идентификатор" />
    <Parent Name="AmbulanceCardRecord" Type="AKUZ.AMBULANCE_CARD_RECORD" Description="Медицинская запись амбулаторной карты" />
    <Parent Name="HospitalStandartApplicationHistory" Type="AKUZ.HOSPITAL_STANDART_APPLICATION_HISTORY" Description="Использование стандартов лечения в терапии пациента" Required="1" />
    <Parent Name="StandartLinkRoute" Type="AKUZ.STANDART_LINK_ROUTE" Description="Назначение в стандарте" Required="1" />
    <Link Name="HospitalStandartCancel" Type="AKUZ.HOSPITAL_STANDART_CANCEL" Description="Отмена элемента стандарта" LinkAttribute="HospitalStandartRouteLink" />
  </Fields>
  <DbMapping>
    <Table name="T_HOSPITAL_STANDART_ROUTE_LINK">
      <Map Name="HospitalStandartRouteLinkID" Column="HospitalStandartRouteLinkID" />
      <Map Name="AmbulanceCardRecord" Column="AmbulanceCardRecord" />
      <Map Name="HospitalStandartApplicationHistory" Column="HospitalStandartApplicationHistory" />
      <Map Name="StandartLinkRoute" Column="StandartLinkRoute" />
    </Table>
  </DbMapping>
</Entity>