<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="FRVICH_HIV_EPID_CONTACT" 
Description="УНРЗ контакта РВИЧ" 
PrimaryKey="FrvichHivEpidContactID">
  <Fields>
    <Attribute Name="FrvichHivEpidContactID" Type="guid" Description="Идентификатор" />
    <Attribute Name="Contact" Type="string" Description="УНРЗ контакта" CharacterMaximumLength="15" />
    <Parent Name="FrvichHivEpid" Type="AKUZ.FRVICH_HIV_EPID" Description="Эпидемиологические сведения РВИЧ" Required="1" />
    <Attribute Name="LastName" Type="string" Description="Фамилия" CharacterMaximumLength="100" />
    <Attribute Name="FirstName" Type="string" Description="Имя" CharacterMaximumLength="100" />
    <Attribute Name="Patronymic" Type="string" Description="Отчество" CharacterMaximumLength="100" />
    <Attribute Name="EpidCode" Type="string" Description="Эпидемиологический код" CharacterMaximumLength="10" />
    <Attribute Name="ProbableInfectionSource" Type="bool" Description="Вероятный источник заражения" Required="1" />
  </Fields>
  <DbMapping>
    <Table name="T_FRVICH_HIV_EPID_CONTACT">
      <Map Name="FrvichHivEpidContactID" Column="FrvichHivEpidContactID" />
      <Map Name="Contact" Column="Contact" />
      <Map Name="FrvichHivEpid" Column="FrvichHivEpid" />
      <Map Name="LastName" Column="LastName" />
      <Map Name="FirstName" Column="FirstName" />
      <Map Name="Patronymic" Column="Patronymic" />
      <Map Name="EpidCode" Column="EpidCode" />
      <Map Name="ProbableInfectionSource" Column="ProbableInfectionSource" />
    </Table>
  </DbMapping>
</Entity>