<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_MEDCERTIFICATE" 
Description="Медицинская справка" 
PrimaryKey="CdaMedcertificateID">
  <Fields>
    <Link Name="CdaSectionDocinfoMedcertificate" Type="AKUZ.CDA_SECTION_DOCINFO_MEDCERTIFICATE" Description="Сведения о документе" LinkAttribute="CdaMedcertificate" Required="1" />
    <Link Name="CdaSectionMedicalReportLinkdocs" Type="AKUZ.CDA_SECTION_MEDICAL_REPORT_LINKDOCS" Description="Связанные документы" LinkAttribute="CdaMedcertificate" />
    <Attribute Name="CdaMedcertificateID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_MEDCERTIFICATE" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_MEDCERTIFICATE">
      <Map Name="CdaMedcertificateID" Column="CdaMedcertificateID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>