<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_ONKO_CODE_DGN_BASE" 
Description="Кодирование диагноза базовое" 
PrimaryKey="CdaOnkoCodeDgnBaseID" 
DNAttributes="{EhrRusApke6ar2v5/NameEHR}" 
DisplayName="{0}">
  <Fields>
    <Parent Name="CdaOnkoSectionDgn" Type="AKUZ.CDA_ONKO_SECTION_DGN" Description="Диагноз онко" />
    <Parent Name="EhrRusApke6ar2v5" Type="EHR.EHR_RUS_APKE6AR2V5" Description="Степень обоснованности диагноза" Required="1" />
    <Child Name="CdaOnkoDgns" Type="AKUZ.CDA_ONKO_DGN" Description="Диагноз онко" ChildAttribute="CdaOnkoCodeDgnBase" />
    <Attribute Name="CdaOnkoCodeDgnBaseID" Type="guid" Description="Идентификатор" />
    <Parent Name="CdaOnkoSectionPlansur" Type="AKUZ.CDA_ONKO_SECTION_PLANSUR" Description="Планируемая хирургическая операция" />
    <Parent Name="CdaOnkoSectionState" Type="AKUZ.CDA_ONKO_SECTION_STATE" Description="Состояние онко больного пациента" />
    <Parent Name="CdaOnkoSectionCancerInfo" Type="AKUZ.CDA_ONKO_SECTION_CANCER_INFO" Description="Данные по запущенному ЗНО" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_ONKO_CODE_DGN_BASE">
      <Map Name="CdaOnkoSectionDgn" Column="CdaOnkoSectionDgn" />
      <Map Name="EhrRusApke6ar2v5" Column="EhrRusApke6ar2v5" />
      <Map Name="CdaOnkoCodeDgnBaseID" Column="CdaOnkoCodeDgnBaseID" />
      <Map Name="CdaOnkoSectionPlansur" Column="CdaOnkoSectionPlansur" />
      <Map Name="CdaOnkoSectionState" Column="CdaOnkoSectionState" />
      <Map Name="CdaOnkoSectionCancerInfo" Column="CdaOnkoSectionCancerInfo" />
    </Table>
  </DbMapping>
</Entity>