<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_DOCUMENT_SANATORY_CARD" 
Description="Санаторно-курортная карта" 
PrimaryKey="CdaDocumentSanatoryCardID">
  <Fields>
    <Link Name="CdaSectionDgnSanatoryCard" Type="AKUZ.CDA_SECTION_DGN_SANATORY_CARD" Description="Диагнозы" LinkAttribute="CdaDocumentSanatoryCard" Required="1" />
    <Link Name="CdaSectionDocinfoSanatoryCard" Type="AKUZ.CDA_SECTION_DOCINFO_SANATORY_CARD" Description="Сведения о документе" LinkAttribute="CdaDocumentSanatoryCard" Required="1" />
    <Link Name="CdaSectionBenefitsSanatoryCard" Type="AKUZ.CDA_SECTION_BENEFITS_SANATORY_CARD" Description="Льготы" LinkAttribute="CdaDocumentSanatoryCard" />
    <Link Name="CdaSectionComplntsSanatoryCard" Type="AKUZ.CDA_SECTION_COMPLNTS_SANATORY_CARD" Description="Жалобы" LinkAttribute="CdaDocumentSanatoryCard" Required="1" />
    <Link Name="CdaSectionAnamSanatoryCard" Type="AKUZ.CDA_SECTION_ANAM_SANATORY_CARD" Description="Анамнез заболевания" LinkAttribute="CdaDocumentSanatoryCard" Required="1" />
    <Link Name="CdaSectionLinkdocsSanatoryCard" Type="AKUZ.CDA_SECTION_LINKDOCS_SANATORY_CARD" Description="Связанные документы" LinkAttribute="CdaDocumentSanatoryCard" Required="1" />
    <Link Name="CdaSectionResinfoSanatoryCard" Type="AKUZ.CDA_SECTION_RESINFO_SANATORY_CARD" Description="Заключение" LinkAttribute="CdaDocumentSanatoryCard" Required="1" />
    <Attribute Name="CdaDocumentSanatoryCardID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_DOCUMENT_SANATORY_CARD" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_DOCUMENT_SANATORY_CARD">
      <Map Name="CdaDocumentSanatoryCardID" Column="CdaDocumentSanatoryCardID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>