<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="DIVISION_SIGNIFICANT_EVENTS" 
Description="Значимые события в отделении" 
PrimaryKey="DivisionSignificantEventsID">
  <Fields>
    <Attribute Name="DivisionSignificantEventsID" Type="guid" Description="Идентификатор" />
    <Attribute Name="PostingDate" Type="datetime" Description="Дата и время события" Required="1" />
    <Parent Name="Post" Type="AKUZ.POST" Description="Должность" Required="1" />
    <Parent Name="MedicalEpisode" Type="AKUZ.MEDICAL_EPISODE" Description="Медицинский эпизод" />
  </Fields>
  <DbMapping>
    <Table name="T_DIVISION_SIGNIFICANT_EVENTS">
      <Map Name="DivisionSignificantEventsID" Column="DivisionSignificantEventsID" />
      <Map Name="PostingDate" Column="PostingDate" />
      <Map Name="Post" Column="Post" />
      <Map Name="MedicalEpisode" Column="MedicalEpisode" />
    </Table>
  </DbMapping>
</Entity>