<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="VIMIS_CDA_CONSULTATION_DOCUMENT" 
Description="Документ консультации в формате ВИМИС CDA" 
PrimaryKey="VimisCdaConsultationDocumentID">
  <Fields>
    <Parent Name="MedicalExamination" Type="AKUZ.MEDICAL_EXAMINATION" Description="Медицинский осмотр" />
    <Parent Name="EhrRusCncm76clke" Type="EHR.EHR_RUS_CNCM76CLKE" Description="Справочник типов консультаций" />
    <Link Name="CdaSectionDocinfoProtocolConsultation" Type="AKUZ.CDA_SECTION_DOCINFO_PROTOCOL_CONSULTATION" Description="Сведения о документе" LinkAttribute="VimisCdaConsultationDocument" />
    <Link Name="CdaSectionVitalparam" Type="AKUZ.CDA_SECTION_VITALPARAM" Description="Витальные параметры" LinkAttribute="VimisCdaConsultationDocument" />
    <Link Name="CdaSectionResinfoConsultation" Type="AKUZ.CDA_SECTION_RESINFO_CONSULTATION" Description="Заключение врача-специалиста" LinkAttribute="VimisCdaConsultationDocument" />
    <Link Name="CdaSectionImm" Type="AKUZ.CDA_SECTION_IMM" Description="Вакцинация и иммунизация" LinkAttribute="VimisCdaConsultationDocument" />
    <Link Name="VimisSectionDgn" Type="AKUZ.VIMIS_SECTION_DGN" Description="Сведения о диагнозах" LinkAttribute="VimisCdaConsultationDocument" />
    <Link Name="CdaSectionSocanam" Type="AKUZ.CDA_SECTION_SOCANAM" Description="Анамнез" LinkAttribute="VimisCdaConsultationDocument" />
    <Link Name="CdaSectionConsultationAddinfoNeuro" Type="AKUZ.CDA_SECTION_CONSULTATION_ADDINFO_NEURO" Description="Дополнительные сведения об осмотре невролога" LinkAttribute="VimisCdaConsultationDocument" />
    <Link Name="CdaSectionConsultationAddinfoCardio" Type="AKUZ.CDA_SECTION_CONSULTATION_ADDINFO_CARDIO" Description="Дополнительные сведения об осмотре кардиолога" LinkAttribute="VimisCdaConsultationDocument" />
    <Link Name="CdaSectionConsultationAddinfo" Type="AKUZ.CDA_SECTION_CONSULTATION_ADDINFO" Description="Дополнительные сведения о консультации" LinkAttribute="VimisCdaConsultationDocument" />
    <Attribute Name="VimisCdaConsultationDocumentID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_VIMIS_CDA_CONSULTATION_DOCUMENT" Description="Медицинская документация" />
    <Link Name="VimisSectionMedicalCardCons" Type="AKUZ.VIMIS_SECTION_MEDICAL_CARD_CONS" Description="Данные о медицинских картах пациента" LinkAttribute="VimisCdaConsultationDocument" />
  </Fields>
  <DbMapping>
    <Table name="T_VIMIS_CDA_CONSULTATION_DOCUMENT">
      <Map Name="MedicalExamination" Column="MedicalExamination" />
      <Map Name="EhrRusCncm76clke" Column="EhrRusCncm76clke" />
      <Map Name="VimisCdaConsultationDocumentID" Column="VimisCdaConsultationDocumentID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>