<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_DOCUMENT_MEDRECORD_EXTRACT" 
Description="Выписка из медицинской карты амбулаторного больного" 
PrimaryKey="CdaDocumentMedrecordExtractID">
  <Fields>
    <Link Name="CdaSectionDocinfoMedrecordExtract" Type="AKUZ.CDA_SECTION_DOCINFO_MEDRECORD_EXTRACT" Description="Сведения о документе" LinkAttribute="CdaDocumentMedrecordExtract" Required="1" />
    <Link Name="CdaSectionDgnMedrecordExtract" Type="AKUZ.CDA_SECTION_DGN_MEDRECORD_EXTRACT" Description="Диагнозы" LinkAttribute="CdaDocumentMedrecordExtract" />
    <Link Name="CdaSectionLinkdocsMedrecordExtract" Type="AKUZ.CDA_SECTION_LINKDOCS_MEDRECORD_EXTRACT" Description="Связанные документы" LinkAttribute="CdaDocumentMedrecordExtract" />
    <Attribute Name="CdaDocumentMedrecordExtractID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_DOCUMENT_MEDRECORD_EXTRACT" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_DOCUMENT_MEDRECORD_EXTRACT">
      <Map Name="CdaDocumentMedrecordExtractID" Column="CdaDocumentMedrecordExtractID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>