<Databases>
  <Database>
    <Tables>
      <Table Name="T_CDA_SVEDEN_MEDIC_POSTHUMOUS" Schema="AKUZ">
        <AddColumns>
          <Column Name="CdaSectionDocinfoDisease" Type="guid" IsNullable="1" />
        </AddColumns>
        <ForeignKeys>
          <ForeignKey Name="FK_T_CDA_SECTION_DOCINFO_DISEASE_T_CDA_SVEDEN_MEDIC_POSTHUMOUS_CdaSectionDocinfoDisease" ShortName="FK_T_CDA_SECTION_DOCINFO_DISEASE_T_CDA_SVEDEN_MEDIC_PO_DAF32A81" Column="CdaSectionDocinfoDisease" Table="T_CDA_SECTION_DOCINFO_DISEASE" TableSchema="AKUZ" TableColumn="CdaSectionDocinfoDiseaseID" CascadeDelete="0" CascadeUpdate="0" />
        </ForeignKeys>
      </Table>
      <Table Name="T_CDA_SECTION_MEDICAL_REPORT_LINKDOCS" Schema="AKUZ">
        <DropColumns>
          <Column Name="CdaDisease" />
        </DropColumns>
        <DropForeignKeys>
          <ForeignKey Name="FK_T_CDA_DISEASE_T_CDA_SECTION_MEDICAL_REPORT_LINKDOCS_CdaDisease" ShortName="FK_T_CDA_DISEASE_T_CDA_SECTION_MEDICAL_REPORT_LINKDOCS_947D06D6" />
        </DropForeignKeys>
      </Table>
      <Table Name="T_CDA_SECTION_DISEASE_LINKDOCS" Schema="AKUZ">
        <Columns>
          <Column Name="CdaSectionDiseaseLinkdocsID" Type="guid" IsNullable="0" />
          <Column Name="CdaDisease" Type="guid" IsNullable="1" />
        </Columns>
        <PrimaryKey Name="PK_T_CDA_SECTION_DISEASE_LINKDOCS" Clustered="1">
          <Column Name="CdaSectionDiseaseLinkdocsID" />
        </PrimaryKey>
        <ForeignKeys>
          <ForeignKey Name="FK_T_CDA_DISEASE_T_CDA_SECTION_DISEASE_LINKDOCS_CdaDisease" Column="CdaDisease" Table="T_CDA_DISEASE" TableSchema="AKUZ" TableColumn="CdaDiseaseID" CascadeDelete="0" CascadeUpdate="0" />
        </ForeignKeys>
        <UniqueConstraints>
          <UniqueConstraint Name="UQ_T_CDA_SECTION_DISEASE_LINKDOCS_CdaDisease" KeyColumn="CdaSectionDiseaseLinkdocsID" IsColumnNullable="1">
            <Column Name="CdaDisease" />
          </UniqueConstraint>
        </UniqueConstraints>
      </Table>
      <Table Name="T_CDA_LINKDOCS_INFO" Schema="AKUZ">
        <Columns>
          <Column Name="CdaLinkdocsInfoID" Type="guid" IsNullable="0" />
          <Column Name="EhrRus8cjuur1fmq" Type="int" IsNullable="1" />
          <Column Name="DocumentNote" Type="text" IsNullable="1" />
          <Column Name="DocumentCreationDate" Type="datetime" IsNullable="0" />
          <Column Name="Post" Type="int" IsNullable="1" />
          <Column Name="DocumentSeries" Type="string" Length="255" IsNullable="1" />
          <Column Name="DocumentNumber" Type="string" Length="255" IsNullable="1" />
          <Column Name="EhrRusVjqd8ittoj" Type="int" IsNullable="1" />
          <Column Name="DocumentLink" Type="string" Length="255" IsNullable="1" />
          <Column Name="CdaSectionDiseaseLinkdocs" Type="guid" IsNullable="1" />
          <Column Name="EhrRusSlm365" Type="int" IsNullable="1" />
        </Columns>
        <PrimaryKey Name="PK_T_CDA_LINKDOCS_INFO" Clustered="1">
          <Column Name="CdaLinkdocsInfoID" />
        </PrimaryKey>
        <ForeignKeys>
          <ForeignKey Name="FK_T_EHR_RUS_8CJUUR1FMQ_T_CDA_LINKDOCS_INFO_EhrRus8cjuur1fmq" Column="EhrRus8cjuur1fmq" Table="T_EHR_RUS_8CJUUR1FMQ" TableSchema="EHR" TableColumn="EhrRusID" CascadeDelete="0" CascadeUpdate="0" />
          <ForeignKey Name="FK_T_POST_T_CDA_LINKDOCS_INFO_Post" Column="Post" Table="T_POST" TableSchema="AKUZ" TableColumn="ResourceID" CascadeDelete="0" CascadeUpdate="0" />
          <ForeignKey Name="FK_T_EHR_RUS_VJQD8ITTOJ_T_CDA_LINKDOCS_INFO_EhrRusVjqd8ittoj" Column="EhrRusVjqd8ittoj" Table="T_EHR_RUS_VJQD8ITTOJ" TableSchema="EHR" TableColumn="EhrRusID" CascadeDelete="0" CascadeUpdate="0" />
          <ForeignKey Name="FK_T_CDA_SECTION_DISEASE_LINKDOCS_T_CDA_LINKDOCS_INFO_CdaSectionDiseaseLinkdocs" ShortName="FK_T_CDA_SECTION_DISEASE_LINKDOCS_T_CDA_LINKDOCS_INFO__43388CCE" Column="CdaSectionDiseaseLinkdocs" Table="T_CDA_SECTION_DISEASE_LINKDOCS" TableSchema="AKUZ" TableColumn="CdaSectionDiseaseLinkdocsID" CascadeDelete="0" CascadeUpdate="0" />
          <ForeignKey Name="FK_T_EHR_RUS_SLM365_T_CDA_LINKDOCS_INFO_EhrRusSlm365" Column="EhrRusSlm365" Table="T_EHR_RUS_SLM365" TableSchema="EHR" TableColumn="EhrRusID" CascadeDelete="0" CascadeUpdate="0" />
        </ForeignKeys>
      </Table>
    </Tables>
  </Database>
</Databases>