<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_CONSULTATION_PROTOCOL_AKENEO" 
Description="Протокол консультации" 
PrimaryKey="CdaConsultationProtocolAkeneoID">
  <Fields>
    <Link Name="CdaSectionSocanam" Type="AKUZ.CDA_SECTION_SOCANAM" Description="Анамнез" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionDocinfoProtocolConsultation" Type="AKUZ.CDA_SECTION_DOCINFO_PROTOCOL_CONSULTATION" Description="Сведения о документе" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionVitalparamEpicrisisAkeneo" Type="AKUZ.CDA_SECTION_VITALPARAM_EPICRISIS_AKENEO" Description="Витальные параметры" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionConsultationAddinfo" Type="AKUZ.CDA_SECTION_CONSULTATION_ADDINFO" Description="Дополнительные сведения о консультации" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionObstetricanamnAkeneo" Type="AKUZ.CDA_SECTION_OBSTETRICANAMN_AKENEO" Description="Акушерский анамнез" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionConsultDocGynaecolAkeneo" Type="AKUZ.CDA_SECTION_CONSULT_DOC_GYNAECOL_AKENEO" Description="Дополнительные сведения об осмотре акушера-гинеколога" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionDgnAkeneo" Type="AKUZ.CDA_SECTION_DGN_AKENEO" Description="Диагноз" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionLabodeliConsultAkeneo" Type="AKUZ.CDA_SECTION_LABODELI_CONSULT_AKENEO" Description="Беременность и роды" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionResinfoAkeneo" Type="AKUZ.CDA_SECTION_RESINFO_AKENEO" Description="Заключение врача-специалиста" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Link Name="CdaSectionReferenceDocsAkeneo" Type="AKUZ.CDA_SECTION_REFERENCE_DOCS_AKENEO" Description="Связанные документы" LinkAttribute="CdaConsultationProtocolAkeneo" />
    <Attribute Name="CdaConsultationProtocolAkeneoID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_CONSULTATION_PROTOCOL_AKENEO" Description="Медицинская документация" />
    <Link Name="VimisSectionMedicalCardConsProt" Type="AKUZ.VIMIS_SECTION_MEDICAL_CARD_CONS_PROT" Description="Данные о медицинских картах пациента" LinkAttribute="CdaConsultationProtocolAkeneo" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_CONSULTATION_PROTOCOL_AKENEO">
      <Map Name="CdaConsultationProtocolAkeneoID" Column="CdaConsultationProtocolAkeneoID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>