<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_DOCUMENT_DOCTOR_VISIT" 
Description="Прием (осмотр) врача-специалиста" 
PrimaryKey="CdaDocumentDoctorVisitID">
  <Fields>
    <Attribute Name="Complaints" Type="text" Description="Жалобы пациента" />
    <Link Name="CdaSectionDocinfoDocvisit" Type="AKUZ.CDA_SECTION_DOCINFO_DOCVISIT" Description="Сведения о документе (Общие сведения)" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionBenefitsDocvisit" Type="AKUZ.CDA_SECTION_BENEFITS_DOCVISIT" Description="Льготы" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionAnamDocvisit" Type="AKUZ.CDA_SECTION_ANAM_DOCVISIT" Description="Анамнез заболевания" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionLanamDocvisit" Type="AKUZ.CDA_SECTION_LANAM_DOCVISIT" Description="Анамнез жизни" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionVitalparamDocvisit" Type="AKUZ.CDA_SECTION_VITALPARAM_DOCVISIT" Description="Витальные параметры" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionExaminfoDocvisit" Type="AKUZ.CDA_SECTION_EXAMINFO_DOCVISIT" Description="Осмотр врачей-специалистов" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionScoresDocvisit" Type="AKUZ.CDA_SECTION_SCORES_DOCVISIT" Description="Объективизированная оценка состояния больного" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionDgnMedicinalPrescriptions" Type="AKUZ.CDA_SECTION_DGN_MEDICINAL_PRESCRIPTIONS" Description="Диагнозы" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionDispensobsDocvisit" Type="AKUZ.CDA_SECTION_DISPENSOBS_DOCVISIT" Description="Диспансерное наблюдение" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionImmDocvisit" Type="AKUZ.CDA_SECTION_IMM_DOCVISIT" Description="Иммунизация" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionAssistreptechDocvisit" Type="AKUZ.CDA_SECTION_ASSISTREPTECH_DOCVISIT" Description="Применение вспомогательных репродуктивных технологий" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionLabodeliDocvisit" Type="AKUZ.CDA_SECTION_LABODELI_DOCVISIT" Description="Беременность и роды" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionResinfoDocvisit" Type="AKUZ.CDA_SECTION_RESINFO_DOCVISIT" Description="Заключение" LinkAttribute="CdaDocumentDoctorVisit" />
    <Link Name="CdaSectionLinkdocsDocvisit" Type="AKUZ.CDA_SECTION_LINKDOCS_DOCVISIT" Description="Связанные документы" LinkAttribute="CdaDocumentDoctorVisit" />
    <Attribute Name="CdaDocumentDoctorVisitID" Type="guid" Description="Идентификатор" />
    <Parent Name="CardNote" Type="AKUZ.CN_CDA_DOCUMENT_DOCTOR_VISIT" Description="Медицинская документация" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_DOCUMENT_DOCTOR_VISIT">
      <Map Name="Complaints" Column="Complaints" />
      <Map Name="CdaDocumentDoctorVisitID" Column="CdaDocumentDoctorVisitID" />
      <Map Name="CardNote" Column="CardNote" />
    </Table>
  </DbMapping>
</Entity>