<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_KID_SANATORY_CARD" 
Description="Обратный талон санаторно-курортной карты для детей" 
PrimaryKey="CdaKidSanatoryCardID">
  <Fields>
    <Link Name="CdaSectionKidSanatoryCardDocinfo" Type="AKUZ.CDA_SECTION_KID_SANATORY_CARD_DOCINFO" Description="Сведения о документе" LinkAttribute="CdaKidSanatoryCard" />
    <Link Name="CdaSectionKidSanatoryCardDgn" Type="AKUZ.CDA_SECTION_KID_SANATORY_CARD_DGN" Description="Диагнозы" LinkAttribute="CdaKidSanatoryCard" />
    <Link Name="CdaSectionKidSanatoryCardSum" Type="AKUZ.CDA_SECTION_KID_SANATORY_CARD_SUM" Description="Информация о лечении" LinkAttribute="CdaKidSanatoryCard" />
    <Link Name="CdaSectionKidSanatoryCardRectreat" Type="AKUZ.CDA_SECTION_KID_SANATORY_CARD_RECTREAT" Description="Рекомендованное лечение" LinkAttribute="CdaKidSanatoryCard" />
    <Attribute Name="CdaKidSanatoryCardID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_KID_SANATORY_CARD" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_KID_SANATORY_CARD">
      <Map Name="CdaKidSanatoryCardID" Column="CdaKidSanatoryCardID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>