-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fit 530 titul #4603
fit 530 titul #4603
Changes from all commits
ef5cd59
7f96862
427730b
95fb947
4ca26c4
ef437c9
5e29114
4a6c8bd
381dd27
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -1090,6 +1090,11 @@ def hosp_get_operation_data(num_dir): | |||||
'Фенотип донора:', | ||||||
'Наименование компонента донорской крови', | ||||||
'№ единицы компонентов крови:', | ||||||
'Наименование оперативного вмешательства (операции)', | ||||||
'Дата начала оперативного вмешательства', | ||||||
'Вид анестезиологического пособия', | ||||||
'Осложнения, возникшие в ходе оперативного вмешательства (операции)', | ||||||
'Оперирующий врач' | ||||||
] | ||||||
list_values = [] | ||||||
|
||||||
|
@@ -1134,10 +1139,10 @@ def hosp_get_operation_data(num_dir): | |||||
operation_data['doc_code'] = '' | ||||||
category_difficult = '' | ||||||
for field in fields_operation: | ||||||
if field[3] == 'Название операции' or field[3] == 'Название манипуляции': | ||||||
if field[3] == 'Название операции' or field[3] == 'Название манипуляции' or field[3] == 'Наименование оперативного вмешательства (операции)' : | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [black-format] reported by reviewdog 🐶
Suggested change
|
||||||
operation_data['name_operation'] = field[2] | ||||||
continue | ||||||
if field[3] == 'Дата проведения': | ||||||
if field[3] == 'Дата проведения' or field[3] == 'Дата начала оперативного вмешательства': | ||||||
operation_data['date'] = normalize_date(field[2]) | ||||||
continue | ||||||
if field[3] == 'Время начала': | ||||||
|
@@ -1146,10 +1151,10 @@ def hosp_get_operation_data(num_dir): | |||||
if field[3] == 'Время окончания': | ||||||
operation_data['time_end'] = field[2] | ||||||
continue | ||||||
if field[3] == 'Метод обезболивания': | ||||||
if field[3] == 'Метод обезболивания' or field[3] == 'Вид анестезиологического пособия': | ||||||
operation_data['anesthesia method'] = field[2] | ||||||
continue | ||||||
if field[3] == 'Осложнения' or field[3] == 'Реакции и осложнения:': | ||||||
if field[3] == 'Осложнения' or field[3] == 'Реакции и осложнения:' or field[3] == 'Осложнения, возникшие в ходе оперативного вмешательства (операции)': | ||||||
operation_data['complications'] = field[2] | ||||||
continue | ||||||
if field[3] == 'Код операции': | ||||||
|
@@ -1176,7 +1181,7 @@ def hosp_get_operation_data(num_dir): | |||||
if field[3] == 'МКБ 10': | ||||||
operation_data['mkb10'] = field[2] | ||||||
continue | ||||||
if field[3] == 'Оперировал': | ||||||
if field[3] == 'Оперировал' or field[3] =='Оперирующий врач': | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🚫 [flake8] <225> reported by reviewdog 🐶 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [black-format] reported by reviewdog 🐶
Suggested change
|
||||||
if field[2]: | ||||||
operation_data['doc_fio'] = field[2] | ||||||
continue | ||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[black-format] reported by reviewdog 🐶