<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_SANATORIUM_TREATMENT_CERTIFICATE" 
Description="Справка для получения путевки на санаторно-курортное лечение" 
PrimaryKey="CdaSanatoriumTreatmentCertificateID">
  <Fields>
    <Link Name="CdaSectionDocinfoSanatorium" Type="AKUZ.CDA_SECTION_DOCINFO_SANATORIUM" Description="Сведения о документе" LinkAttribute="CdaSanatoriumTreatmentCertificate" />
    <Link Name="CdaSectionBenefitsSanatorium" Type="AKUZ.CDA_SECTION_BENEFITS_SANATORIUM" Description="Льготы" LinkAttribute="CdaSanatoriumTreatmentCertificate" />
    <Link Name="CdaSectionDgnSanatorium" Type="AKUZ.CDA_SECTION_DGN_SANATORIUM" Description="Диагнозы" LinkAttribute="CdaSanatoriumTreatmentCertificate" />
    <Link Name="CdaSectionRecotherSanatorium" Type="AKUZ.CDA_SECTION_RECOTHER_SANATORIUM" Description="Рекомендации" LinkAttribute="CdaSanatoriumTreatmentCertificate" />
    <Attribute Name="CdaSanatoriumTreatmentCertificateID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_SANATORIUM_TREATMENT_CERTIFICATE" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_SANATORIUM_TREATMENT_CERTIFICATE">
      <Map Name="CdaSanatoriumTreatmentCertificateID" Column="CdaSanatoriumTreatmentCertificateID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>