Class: StatementContentOfDeathMapper

Inherits:
Object
  • Object
show all
Includes:
XmlSchemaMapper
Defined in:
app/mappers/statement_content_of_death_mapper.rb

Overview

Note:

Заявление о смерти, подаваемое в электронном виде

Instance Attribute Summary collapse

Instance Attribute Details

#act_rec_birth_reqsOldActRecordRequisitesMapper

Реквизиты АЗ о рождении умершего ребенка (до 14 лет), заполняется при наличии у ребенка свидетельства о рождении minOccurs: 0, maxOccurs: 1



37
38
39
# File 'app/mappers/statement_content_of_death_mapper.rb', line 37

def act_rec_birth_reqs
  @act_rec_birth_reqs
end

#amount_childInt

Число детей, родившихся у матери умершего ребенка при последних родах (с ЕПГУ получаем id, значение id соответствует числу) minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


45
46
47
# File 'app/mappers/statement_content_of_death_mapper.rb', line 45

def amount_child
  @amount_child
end

#birth_timeTIME

Время рождения (в т.ч. ребенка, умершего на 1-ой неделе жизни) minOccurs: 0, maxOccurs: 1

Returns:

  • (TIME)


29
30
31
# File 'app/mappers/statement_content_of_death_mapper.rb', line 29

def birth_time
  @birth_time
end

#cause_of_deathInt

Код Смерть произошла по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


83
84
85
# File 'app/mappers/statement_content_of_death_mapper.rb', line 83

def cause_of_death
  @cause_of_death
end

#cause_of_death_stringSTRING250

Смерть произошла - строковое представление minOccurs: 0, maxOccurs: 1

Returns:

  • (STRING250)


87
88
89
# File 'app/mappers/statement_content_of_death_mapper.rb', line 87

def cause_of_death_string
  @cause_of_death_string
end

#child_weightInt

Масса тела ребенка при рождении. Заполняется из медицинского свидетельства о рождении - пункт 16, при мертворождении - пункт 17 медицинского свидетельства о перинатальной смерти, указывается в граммах. minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


59
60
61
# File 'app/mappers/statement_content_of_death_mapper.rb', line 59

def child_weight
  @child_weight
end

#connection_with_deadCONNECTIONWithDead

Отношение к умершему (справочник еЗАГС) minOccurs: 0, maxOccurs: 1

Returns:

  • (CONNECTIONWithDead)


25
26
27
# File 'app/mappers/statement_content_of_death_mapper.rb', line 25

def connection_with_dead
  @connection_with_dead
end

#death_period_road_accidentDEATHPeriodRoadAccident

Код Смерть в результате ДТП (для Росстата) minOccurs: 0, maxOccurs: 1

Returns:

  • (DEATHPeriodRoadAccident)


91
92
93
# File 'app/mappers/statement_content_of_death_mapper.rb', line 91

def death_period_road_accident
  @death_period_road_accident
end

#death_placed_atDEATHPlace

Код Смерть наступила по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (DEATHPlace)


79
80
81
# File 'app/mappers/statement_content_of_death_mapper.rb', line 79

def death_placed_at
  @death_placed_at
end

#death_timeTIME

Время смерти ребенка, умершего на 1-ой неделе жизни minOccurs: 0, maxOccurs: 1

Returns:

  • (TIME)


33
34
35
# File 'app/mappers/statement_content_of_death_mapper.rb', line 33

def death_time
  @death_time
end

#educationInt

Код Образования по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


67
68
69
# File 'app/mappers/statement_content_of_death_mapper.rb', line 67

def education
  @education
end

#education_stringSTRING250

Образование - строковое представление minOccurs: 0, maxOccurs: 1

Returns:

  • (STRING250)


71
72
73
# File 'app/mappers/statement_content_of_death_mapper.rb', line 71

def education_string
  @education_string
end

#group_of_causes_of_deathGroupOfCausesOfDeathMapper

Возможные причины смерти (по медицинскому свидетельству о смерти или о перинатальной смерти) minOccurs: 0, maxOccurs: 1



17
18
19
# File 'app/mappers/statement_content_of_death_mapper.rb', line 17

def group_of_causes_of_death
  @group_of_causes_of_death
end

#is_parietal_deathBoolean

Признак перинатальной смерти субъекта заявления minOccurs: 0, maxOccurs: 1

Returns:

  • (Boolean)


21
22
23
# File 'app/mappers/statement_content_of_death_mapper.rb', line 21

def is_parietal_death
  @is_parietal_death
end

#mother_ageInt

Возраст матери minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


63
64
65
# File 'app/mappers/statement_content_of_death_mapper.rb', line 63

def mother_age
  @mother_age
end

#mother_of_dead_childCitizenWithoutIdentDocMapper

Данные о матери умершего ребенка, заполняются только в отношении ребенка, умершего в возрасте до 1 года (в т.ч. и на 1-й неделе жизни) minOccurs: 0, maxOccurs: 1



41
42
43
# File 'app/mappers/statement_content_of_death_mapper.rb', line 41

def mother_of_dead_child
  @mother_of_dead_child
end

#number_childInt

Который по счету ребенок из родившихся умер (с ЕПГУ получаем id, значение id соответствует числу) minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


49
50
51
# File 'app/mappers/statement_content_of_death_mapper.rb', line 49

def number_child
  @number_child
end

#number_child_in_familyInt

Порядковый номер ребенка в семье minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


53
54
55
# File 'app/mappers/statement_content_of_death_mapper.rb', line 53

def number_child_in_family
  @number_child_in_family
end

#occupationInt

Код Занятость по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (Int)


75
76
77
# File 'app/mappers/statement_content_of_death_mapper.rb', line 75

def occupation
  @occupation
end

#was_dead_person_establishedBoolean

Установленна ли личность умершего? minOccurs: 0, maxOccurs: 1

Returns:

  • (Boolean)


12
13
14
# File 'app/mappers/statement_content_of_death_mapper.rb', line 12

def was_dead_person_established
  @was_dead_person_established
end

#who_registered_deathWHORegisteredDeath

Код Причина смерти установлена по классификатору Росстата minOccurs: 0, maxOccurs: 1

Returns:

  • (WHORegisteredDeath)


95
96
97
# File 'app/mappers/statement_content_of_death_mapper.rb', line 95

def who_registered_death
  @who_registered_death
end