<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="DIAGNOSIS" 
Description="Основное заболевание" 
Inherits="AKUZ.AMBULANCE_RECORD">
  <Fields>
    <Attribute Name="Diagnosis" Index="10100003" Type="string" Description="Диагноз" CharacterMaximumLength="4096" Required="1" />
    <Attribute Name="Descr" Index="10100007" Type="string" Description="Дополнительное поле" CharacterMaximumLength="2000" />
    <Attribute Name="Mkb" Index="10100009" Type="string" Description="Код МКБ" CharacterMaximumLength="8" />
    <Attribute Name="RegistrationDate" Index="10100010" Type="date" Description="Дата регистрации" Required="1" />
  </Fields>
  <DbMapping>
    <Table name="T_DIAGNOSIS">
      <Map Name="Diagnosis" Column="Diagnosis" />
      <Map Name="Descr" Column="Descr" />
      <Map Name="Mkb" Column="Mkb" />
      <Map Name="RegistrationDate" Column="RegistrationDate" />
    </Table>
  </DbMapping>
</Entity>