<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_DGN_PROTOCOLEXTRACT" 
Description="Диагноз" 
PrimaryKey="CdaDgnProtocolextractID">
  <Fields>
    <Attribute Name="CdaDgnProtocolextractID" Type="guid" Description="Идентификатор" />
    <Parent Name="CdaSectionDgnProtocolextract" Type="AKUZ.CDA_SECTION_DGN_PROTOCOLEXTRACT" Description="Диагноз" />
    <Parent Name="EhrRusMk291qg5ln" Type="EHR.EHR_RUS_MK291QG5LN" Description="Виды нозологических единиц диагноза" Required="1" />
    <Attribute Name="MkbCode" Type="string" Description="Код МКБ" CharacterMaximumLength="8" Required="1" />
    <Attribute Name="MkbDesc" Type="string" Description="Описание МКБ" CharacterMaximumLength="512" />
    <Parent Name="CdaDgnTicket" Type="AKUZ.CDA_DGN_TICKET" Description="Диагнозы" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_DGN_PROTOCOLEXTRACT">
      <Map Name="CdaDgnProtocolextractID" Column="CdaDgnProtocolextractID" />
      <Map Name="CdaSectionDgnProtocolextract" Column="CdaSectionDgnProtocolextract" />
      <Map Name="EhrRusMk291qg5ln" Column="EhrRusMk291qg5ln" />
      <Map Name="MkbCode" Column="MkbCode" />
      <Map Name="MkbDesc" Column="MkbDesc" />
      <Map Name="CdaDgnTicket" Column="CdaDgnTicket" />
    </Table>
  </DbMapping>
</Entity>