<?xml version="1.0" encoding="utf-8"?>
<Entity 
Schema="AKUZ" 
Name="ANESTHESIOLOGICAL_CARE_CARD" 
Description="Карта проведения анестезиологического пособия" 
Inherits="AKUZ.AMBULANCE_CARD_RECORD">
  <Fields>
    <Parent Name="Operations" Type="AKUZ.OPERATIONS" Description="Операции" Required="1" />
    <Attribute Name="OperationDuration" Type="int" Description="Длительность операции" />
    <Attribute Name="AnesthesiaDuration" Type="int" Description="Длительность анестезиологического пособия" />
    <Attribute Name="AnesthesiaMachine" Type="string" Description="Наркозный аппарат (производитель, марка)" CharacterMaximumLength="4096" />
    <Attribute Name="BreathingCircuit" Type="string" Description="Дыхательный контур" CharacterMaximumLength="4096" />
    <Child Name="AnesthesiologicalCareParameters" Type="AKUZ.ANESTHESIOLOGICAL_CARE_PARAMETER" Description="Параметры анестезиологической карты" ChildAttribute="AnesthesiologicalCareCard" />
    <Attribute Name="Height" Type="int" Description="Рост" />
    <Attribute Name="Weight" Type="float" Description="Вес" NumericPrecision="4" NumericScale="1" />
    <Parent Name="BloodGroup" Type="VCLib.ENUMS" Description="Группа крови" EnumType="BloodGroup" />
    <Parent Name="Rhesus_factor" Type="VCLib.ENUMS" Description="Резус-фактор" EnumType="Rhesus_factor" />
    <Choice Name="CellanoGroup" Description="Антиген К1 системы Kell">
      <Item Name="K-" Index="0" />
      <Item Name="K+" Index="1" />
    </Choice>
  </Fields>
  <DbMapping>
    <Table name="T_ANESTHESIOLOGICAL_CARE_CARD">
      <Map Name="Operations" Column="Operations" />
      <Map Name="OperationDuration" Column="OperationDuration" />
      <Map Name="AnesthesiaDuration" Column="AnesthesiaDuration" />
      <Map Name="AnesthesiaMachine" Column="AnesthesiaMachine" />
      <Map Name="BreathingCircuit" Column="BreathingCircuit" />
      <Map Name="Height" Column="Height" />
      <Map Name="Weight" Column="Weight" />
      <Map Name="BloodGroup" Column="BloodGroup" />
      <Map Name="Rhesus_factor" Column="Rhesus_factor" />
      <Map Name="CellanoGroup" Column="CellanoGroup" />
    </Table>
  </DbMapping>
</Entity>