-
Notifications
You must be signed in to change notification settings - Fork 0
/
domain.yml
169 lines (162 loc) · 4.2 KB
/
domain.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
intents:
- greet
- goodbye
- deny
- inform
- request_patient_info:
use_entities: false
- request_patient_emr:
use_entities: false
- request_patient_inspection_report:
use_entities: false
- request_patient_laboratory_report:
use_entities: false
- request_patient_laboratory_indicator:
use_entities: false
- request_patient_abnormal:
use_entities: false
- request_patient_Medical_order:
use_entities: false
- request_similar_patient:
use_entities: false
- request_patient_detail:
use_entities: false
- request_related_literature:
use_entities: false
- request_literature_detail:
use_entities: false
- request_related_guide:
use_entities: false
- request_guide_detail:
use_entities: false
- request_collect:
use_entities: false
slots:
patient-name:
type: unfeaturized
auto_fill: false
medical-record-number:
type: unfeaturized
auto_fill: false
hospital-number:
type: unfeaturized
auto_fill: false
department:
type: unfeaturized
auto_fill: false
admission-time:
type: unfeaturized
auto_fill: false
bed-number:
type: unfeaturized
auto_fill: false
inspection-name:
type: unfeaturized
auto_fill: false
inspection-time:
type: unfeaturized
auto_fill: false
laboratory-indicator:
type: unfeaturized
auto_fill: false
order-name:
type: unfeaturized
auto_fill: false
disease-name:
type: unfeaturized
auto_fill: false
literature-name:
type: unfeaturized
auto_fill: false
guide-name:
type: unfeaturized
auto_fill: false
requested_slot:
type: unfeaturized
entities:
- patient-name
- medical-record-number
- hospital-number
- department
- time
- time-type
- bed-number
- inspection-name
- inspection-time
- laboratory-indicator
- order-name
- disease-name
- literature-name
- guide-name
templates:
utter_greet:
- text: "你好"
utter_goodbye:
- text: "拜拜"
utter_ask_patient-name:
- text: "请输入需要查询的患者名字"
utter_ask_medical-record-number:
- text: "请输入患者的病历号"
utter_ask_hospital-number:
- text: "请输入患者的住院号"
utter_ask_department:
- text: "请输入患者的科室"
utter_ask_admission-time:
- text: "请输入患者的住院时间"
utter_ask_bed-number:
- text: "请输入患者的床号"
utter_ask_inspection-name:
- text: "请输入需要查询的检查报告"
utter_ask_inspection-time:
- text: "请输入需要查询的患者检验时间"
utter_ask_laboratory-indicator:
- text: "请输入需要查询的检验指标"
utter_ask_order-name:
- text: "请输入需要查询的医嘱类型"
utter_ask_disease-name:
- text: "请输入需要查询的疾病诊断"
utter_ask_literature-name:
- text: "请输入需要查询的文献标题"
utter_ask_guide-name:
- text: "请输入需要查询的临床指南标题"
utter_default:
- text: "抱歉,我好像听不懂你说的"
utter_slots_values:
- text: "查询结果:\n
- patient-name: {patient-name}\n
- medical-record-number: {medical-record-number}\n
- hospital-number: {hospital-number}\n
- department: {department}\n
- admission-time: {admission-time}\n
- bed-number: {bed-number}\n
- inspection-name: {inspection-name}\n
- inspection-time: {inspection-time}\n
- laboratory-indicator: {laboratory-indicator}\n
- order-name: {order-name}\n
- disease-name: {disease-name}\n"
utter_submit:
- text: "slots filled"
utter_noworries:
- text: "end"
actions:
- utter_greet
- utter_goodbye
- utter_deny
- utter_ask_patient-name
- utter_ask_medical-record-number
- utter_ask_hospital-number
- utter_ask_department
- utter_ask_admission-time
- utter_ask_bed-number
- utter_ask_inspection-name
- utter_ask_inspection-time
- utter_ask_laboratory-indicator
- utter_ask_order-name
- utter_ask_disease-name
- utter_ask_literature-name
- utter_ask_guide-name
- utter_slots_values
- utter_noworries
- utter_submit
forms:
- request_form