<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="OPERATION_DIVISION_LINK_RESEARCH" 
Description="Операции отделения" 
PrimaryKey="OperationDivisionLinkResearchID">
  <Fields>
    <Attribute Name="OperationDivisionLinkResearchID" Type="guid" Description="Идентификатор" />
    <Parent Name="OperationRoom" Type="AKUZ.OPERATION_ROOM" Description="Операционная" />
    <Parent Name="DivisionService" Type="AKUZ.DIVISION_SERVICE" Description="Процедура проводимая в отделении" Required="1" />
    <Parent Name="OperationRoomLinkDivision" Type="AKUZ.OPERATION_ROOM_LINK_DIVISION" Description="Принадлежность операционной к отделению" Required="1" />
  </Fields>
  <DbMapping>
    <Table name="T_OPERATION_DIVISION_LINK_RESEARCH">
      <Map Name="OperationDivisionLinkResearchID" Column="OperationDivisionLinkResearchID" />
      <Map Name="DivisionService" Column="DivisionService" />
      <Map Name="OperationRoomLinkDivision" Column="OperationRoomLinkDivision" />
    </Table>
    <Lexem>
      <Map Name="OperationRoom" PathAttributes="{OperationRoomLinkDivision/OperationRoom}">
        <lx:Path OwnerQueryLevel="0" xmlns:lx="lexem">
          <lx:StepString name="OperationRoomLinkDivision" />
          <lx:StepString name="OperationRoom" />
        </lx:Path>
      </Map>
    </Lexem>
  </DbMapping>
</Entity>