<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="CDA_SVEDEN_POSESCH_CLOSE_AMB_EV" 
Description="Сведения о посещении" 
PrimaryKey="CdaSvedenPoseschCloseAmbEvID">
  <Fields>
    <Attribute Name="CdaSvedenPoseschCloseAmbEvID" Type="guid" Description="Идентификатор" />
    <Attribute Name="DataNachalPosesch" Type="date" Description="Дата начала посещения" Required="1" />
    <Attribute Name="VremyaNachalPosesch" Type="datetime" DefaultFormat="{0:dd.MM.yyyy}" Description="Время начала посещения" Required="1" />
    <Attribute Name="DataOkonchPosesch" Type="date" Description="Дата окончания посещения" />
    <Attribute Name="VremyaOkonchPosesch" Type="datetime" DefaultFormat="{0:dd.MM.yyyy}" Description="Время окончания посещения" />
    <Parent Name="EhrRusRl682" Type="EHR.EHR_RUS_RL682" Description="Роль" Required="1" />
    <Parent Name="Post" Type="AKUZ.POST" Description="Должность" Required="1" />
    <Parent Name="EhrRusT2ia7uqpsp" Type="EHR.EHR_RUS_T2IA7UQPSP" Description="Место посещения" Required="1" />
	  <Attribute Name="ZhalobPaci" Type="text" Description="Жалобы пациента" />
	  <Attribute Name="ObjektDanni" Type="text" Description="Объективные данные" />
    <Attribute Name="Zaklyuchenie" Type="text" Description="Заключение" />
    <Parent Name="EhrRusAal651vaa0" Type="EHR.EHR_RUS_AAL651VAA0" Description="Группа здоровья" />
    <Parent Name="EhrRusC80ko8qjf4" Type="EHR.EHR_RUS_C80KO8QJF4" Description="Сведения об обстоятельствах посещения" />
    <Attribute Name="Rekomendacii" Type="string" Description="Рекомендации" />
    <Parent Name="CdaSectionAmbsvCloseAmbEv" Type="AKUZ.CDA_SECTION_AMBSV_CLOSE_AMB_EV" Description="Сведения амбулаторно-поликлинического посещения" />
  </Fields>
  <DbMapping>
    <Table name="T_CDA_SVEDEN_POSESCH_CLOSE_AMB_EV">
      <Map Name="CdaSvedenPoseschCloseAmbEvID" Column="CdaSvedenPoseschCloseAmbEvID" />
      <Map Name="DataNachalPosesch" Column="DataNachalPosesch" />
      <Map Name="VremyaNachalPosesch" Column="VremyaNachalPosesch" />
      <Map Name="DataOkonchPosesch" Column="DataOkonchPosesch" />
      <Map Name="VremyaOkonchPosesch" Column="VremyaOkonchPosesch" />
      <Map Name="EhrRusRl682" Column="EhrRusRl682" />
      <Map Name="Post" Column="Post" />
      <Map Name="EhrRusT2ia7uqpsp" Column="EhrRusT2ia7uqpsp" />
      <Map Name="ZhalobPaci" Column="ZhalobPaci" />
      <Map Name="ObjektDanni" Column="ObjektDanni" />
      <Map Name="Zaklyuchenie" Column="Zaklyuchenie" />
      <Map Name="EhrRusAal651vaa0" Column="EhrRusAal651vaa0" />
      <Map Name="EhrRusC80ko8qjf4" Column="EhrRusC80ko8qjf4" />
      <Map Name="Rekomendacii" Column="Rekomendacii" />
      <Map Name="CdaSectionAmbsvCloseAmbEv" Column="CdaSectionAmbsvCloseAmbEv" />
    </Table>
  </DbMapping>
</Entity>