open_ehr 0.6.1 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +10 -2
- data/Gemfile.lock +58 -18
- data/Guardfile +2 -1
- data/History.txt +10 -3
- data/Manifest.txt +3 -5
- data/README.rdoc +36 -32
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/bin/adl_validator.rb +84 -0
- data/lib/open_ehr/am/archetype/constraint_model/primitive.rb +11 -7
- data/lib/open_ehr/am/archetype/constraint_model.rb +4 -16
- data/lib/open_ehr/am/archetype/ontology.rb +37 -6
- data/lib/open_ehr/am/archetype.rb +6 -7
- data/lib/open_ehr/am/open_ehr_profile/data_types/text.rb +5 -2
- data/lib/open_ehr/parser/adl.rb +19 -0
- data/lib/open_ehr/parser/adl_grammar.tt +155 -0
- data/lib/open_ehr/parser/adl_parser.rb +48 -0
- data/lib/open_ehr/parser/cadl_grammar.tt +803 -0
- data/lib/open_ehr/parser/dadl.rb +13 -0
- data/lib/open_ehr/parser/dadl_grammar.tt +358 -0
- data/lib/open_ehr/parser/exception.rb +68 -0
- data/lib/open_ehr/parser/scanner/adl_scanner.rb +819 -0
- data/lib/open_ehr/parser/shared_token_grammar.tt +1200 -0
- data/lib/open_ehr/parser/validator.rb +20 -0
- data/lib/open_ehr/parser.rb +16 -12
- data/lib/open_ehr.rb +1 -0
- data/open_ehr.gemspec +364 -0
- data/spec/lib/open_ehr/am/archetype/archetype_spec.rb +7 -2
- data/spec/lib/open_ehr/am/archetype/constraint_model/c_multiple_attribute_spec.rb +0 -6
- data/spec/lib/open_ehr/am/archetype/constraint_model/c_object_spec.rb +10 -10
- data/spec/lib/open_ehr/am/archetype/constraint_model/c_single_attribute_spec.rb +0 -6
- data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_boolean_spec.rb +5 -0
- data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_date_time_spec.rb +5 -0
- data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_duration_spec.rb +5 -0
- data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_integer_spec.rb +5 -0
- data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_primitive_spec.rb +8 -6
- data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_real_spec.rb +7 -2
- data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_string_spec.rb +5 -0
- data/spec/lib/open_ehr/am/archetype/constraint_model/primitive/c_time_spec.rb +5 -0
- data/spec/lib/open_ehr/am/archetype/ontology/archetype_ontology_spec.rb +27 -7
- data/spec/lib/open_ehr/am/archetype/ontology/archetype_term_spec.rb +3 -3
- data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.assumed_types.v1.adl +88 -0
- data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.basic_types.v1.adl +143 -0
- data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.basic_types_fail.v1.adl +50 -0
- data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.most_minimal.v1.adl +27 -0
- data/spec/lib/open_ehr/parser/adl/adl-test-ENTRY.structure_test1.v1.adl +46 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ACTION.imaging.v1.adl +275 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ACTION.referral.v1.adl +351 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.auscultation-chest.v1.adl +765 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.auscultation.v1.adl +217 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.dimensions-circumference.v1.adl +134 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.dimensions.v1.adl +241 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-abdomen.v1.adl +321 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-chest.v1.adl +379 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-fetus.v1.adl +577 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-generic-joint.v1.adl +146 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-generic-lymphnode.v1.adl +176 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-generic-mass.v1.adl +221 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-generic.v1.adl +139 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-nervous_system.v1.adl +116 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-uterine_cervix.v1.adl +420 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-CLUSTER.exam-uterus.v1.adl +293 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-COMPOSITION.discharge.v1draft.adl +53 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-COMPOSITION.encounter.v1draft.adl +45 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-EVALUATION.adverse.v1.adl +411 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-INSTRUCTION.medication.v1.adl +88 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-INSTRUCTION.referral.v1.adl +84 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.Laboratory_request.v1.adl +492 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.follow_up.v1draft.adl +94 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.imaging.v1.adl +127 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.medication-formulation.v1.adl +457 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.medication.v1.adl +869 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-ITEM_TREE.referral.v1.adl +494 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-OBSERVATION.apgar.v1.adl +545 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-OBSERVATION.blood_pressure.v1.adl +673 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-OBSERVATION.body_mass_index.v1.adl +166 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-SECTION.findings.v1.adl +47 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-SECTION.reason_for_encounter.v1.adl +51 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-SECTION.summary.v1.adl +52 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-SECTION.vital_signs.v1.adl +54 -0
- data/spec/lib/open_ehr/parser/adl/openEHR-EHR-cadl_sample.v1.adl +9 -0
- data/spec/lib/open_ehr/parser/adl_parser_spec.rb +210 -0
- data/spec/lib/open_ehr/parser/base_spec.rb +19 -0
- data/spec/spec.opts +2 -1
- data/spec/spec_helper.rb +3 -0
- metadata +166 -52
- data/doc/README_rdoc.html +0 -148
- data/doc/created.rid +0 -2
- data/doc/images/brick.png +0 -0
- data/doc/images/brick_link.png +0 -0
- data/doc/images/bug.png +0 -0
- data/doc/images/bullet_black.png +0 -0
- data/doc/images/bullet_toggle_minus.png +0 -0
- data/doc/images/bullet_toggle_plus.png +0 -0
- data/doc/images/date.png +0 -0
- data/doc/images/find.png +0 -0
- data/doc/images/loadingAnimation.gif +0 -0
- data/doc/images/macFFBgHack.png +0 -0
- data/doc/images/package.png +0 -0
- data/doc/images/page_green.png +0 -0
- data/doc/images/page_white_text.png +0 -0
- data/doc/images/page_white_width.png +0 -0
- data/doc/images/plugin.png +0 -0
- data/doc/images/ruby.png +0 -0
- data/doc/images/tag_green.png +0 -0
- data/doc/images/wrench.png +0 -0
- data/doc/images/wrench_orange.png +0 -0
- data/doc/images/zoom.png +0 -0
- data/doc/index.html +0 -54
- data/doc/js/darkfish.js +0 -116
- data/doc/js/jquery.js +0 -32
- data/doc/js/quicksearch.js +0 -114
- data/doc/js/thickbox-compressed.js +0 -10
- data/doc/rdoc.css +0 -706
- data/lib/#open_ehr.rb# +0 -11
@@ -0,0 +1,275 @@
|
|
1
|
+
archetype (adl_version=1.4)
|
2
|
+
openEHR-EHR-ACTION.imaging.v1
|
3
|
+
|
4
|
+
concept
|
5
|
+
[at0000] -- Imaging investigation
|
6
|
+
language
|
7
|
+
original_language = <[ISO_639-1::en]>
|
8
|
+
description
|
9
|
+
original_author = <
|
10
|
+
["name"] = <"Sam Heard">
|
11
|
+
["organisation"] = <"Ocean Informatics">
|
12
|
+
["date"] = <"17/04/2006">
|
13
|
+
["email"] = <"sam.heard@oceaninformatics.biz">
|
14
|
+
>
|
15
|
+
details = <
|
16
|
+
["en"] = <
|
17
|
+
language = <[ISO_639-1::en]>
|
18
|
+
purpose = <"To record actions regarding imaging investigations.">
|
19
|
+
use = <"">
|
20
|
+
keywords = <"Xray", "ultrasound", "MRI", "magnetic resonance", "CT", "scan", "tomography">
|
21
|
+
misuse = <"Not used for recording the findings of the investigation; use openEHR-EHR-OBSERVATION.imaging for the findings.">
|
22
|
+
>
|
23
|
+
>
|
24
|
+
lifecycle_state = <"AuthorDraft">
|
25
|
+
other_contributors = <>
|
26
|
+
|
27
|
+
definition
|
28
|
+
ACTION[at0000] matches { -- Imaging investigation
|
29
|
+
ism_transition matches {
|
30
|
+
ISM_TRANSITION matches {
|
31
|
+
current_state matches {
|
32
|
+
DV_CODED_TEXT matches {
|
33
|
+
defining_code matches {[openehr::524]}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
careflow_step matches {
|
37
|
+
DV_CODED_TEXT matches {
|
38
|
+
defining_code matches {[local::at0001]} -- Planned
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
ISM_TRANSITION matches {
|
43
|
+
current_state matches {
|
44
|
+
DV_CODED_TEXT matches {
|
45
|
+
defining_code matches {[openehr::524]}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
careflow_step matches {
|
49
|
+
DV_CODED_TEXT matches {
|
50
|
+
defining_code matches {[local::at0004]} -- Requested
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
ISM_TRANSITION matches {
|
55
|
+
current_state matches {
|
56
|
+
DV_CODED_TEXT matches {
|
57
|
+
defining_code matches {[openehr::527]}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
careflow_step matches {
|
61
|
+
DV_CODED_TEXT matches {
|
62
|
+
defining_code matches {[local::at0002]} -- Postponed
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
ISM_TRANSITION matches {
|
67
|
+
current_state matches {
|
68
|
+
DV_CODED_TEXT matches {
|
69
|
+
defining_code matches {[openehr::528]}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
careflow_step matches {
|
73
|
+
DV_CODED_TEXT matches {
|
74
|
+
defining_code matches {[local::at0003]} -- Cancelled
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
ISM_TRANSITION matches {
|
79
|
+
current_state matches {
|
80
|
+
DV_CODED_TEXT matches {
|
81
|
+
defining_code matches {[openehr::529]}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
careflow_step matches {
|
85
|
+
DV_CODED_TEXT matches {
|
86
|
+
defining_code matches {[local::at0005]} -- Appointment made
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
ISM_TRANSITION matches {
|
91
|
+
current_state matches {
|
92
|
+
DV_CODED_TEXT matches {
|
93
|
+
defining_code matches {[openehr::529]}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
careflow_step matches {
|
97
|
+
DV_CODED_TEXT matches {
|
98
|
+
defining_code matches {[local::at0006]} -- Resheduled
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
ISM_TRANSITION matches {
|
103
|
+
current_state matches {
|
104
|
+
DV_CODED_TEXT matches {
|
105
|
+
defining_code matches {[openehr::245]}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
careflow_step matches {
|
109
|
+
DV_CODED_TEXT matches {
|
110
|
+
defining_code matches {[local::at0007]} -- Commenced
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
ISM_TRANSITION matches {
|
115
|
+
current_state matches {
|
116
|
+
DV_CODED_TEXT matches {
|
117
|
+
defining_code matches {[openehr::245]}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
careflow_step matches {
|
121
|
+
DV_CODED_TEXT matches {
|
122
|
+
defining_code matches {[local::at0008]} -- Investigation complete
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
ISM_TRANSITION matches {
|
127
|
+
current_state matches {
|
128
|
+
DV_CODED_TEXT matches {
|
129
|
+
defining_code matches {[openehr::245]}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
careflow_step matches {
|
133
|
+
DV_CODED_TEXT matches {
|
134
|
+
defining_code matches {[local::at0009]} -- Reported
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
ISM_TRANSITION matches {
|
139
|
+
current_state matches {
|
140
|
+
DV_CODED_TEXT matches {
|
141
|
+
defining_code matches {[openehr::245]}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
careflow_step matches {
|
145
|
+
DV_CODED_TEXT matches {
|
146
|
+
defining_code matches {[local::at0011]} -- Report communicated
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
ISM_TRANSITION matches {
|
151
|
+
current_state matches {
|
152
|
+
DV_CODED_TEXT matches {
|
153
|
+
defining_code matches {[openehr::245]}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
careflow_step matches {
|
157
|
+
DV_CODED_TEXT matches {
|
158
|
+
defining_code matches {[local::at0012]} -- Further imaging required
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
ISM_TRANSITION matches {
|
163
|
+
current_state matches {
|
164
|
+
DV_CODED_TEXT matches {
|
165
|
+
defining_code matches {[openehr::530]}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
careflow_step matches {
|
169
|
+
DV_CODED_TEXT matches {
|
170
|
+
defining_code matches {[local::at0013]} -- Imaging suspended
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
ISM_TRANSITION matches {
|
175
|
+
current_state matches {
|
176
|
+
DV_CODED_TEXT matches {
|
177
|
+
defining_code matches {[openehr::531]}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
careflow_step matches {
|
181
|
+
DV_CODED_TEXT matches {
|
182
|
+
defining_code matches {[local::at0014]} -- Imaging aborted
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
ISM_TRANSITION matches {
|
187
|
+
current_state matches {
|
188
|
+
DV_CODED_TEXT matches {
|
189
|
+
defining_code matches {[openehr::532]}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
careflow_step matches {
|
193
|
+
DV_CODED_TEXT matches {
|
194
|
+
defining_code matches {[local::at0010]} -- Completed
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
}
|
199
|
+
description matches {
|
200
|
+
allow_archetype ITEM_TREE occurrences matches {0..1} matches {
|
201
|
+
include
|
202
|
+
archetype_id/value matches {/imaging\.v1/}
|
203
|
+
exclude
|
204
|
+
archetype_id/value matches {/.*/}
|
205
|
+
}
|
206
|
+
}
|
207
|
+
}
|
208
|
+
|
209
|
+
ontology
|
210
|
+
term_definitions = <
|
211
|
+
["en"] = <
|
212
|
+
items = <
|
213
|
+
["at0000"] = <
|
214
|
+
description = <"An action related to an investigation by an imaging technique">
|
215
|
+
text = <"Imaging investigation">
|
216
|
+
>
|
217
|
+
["at0001"] = <
|
218
|
+
description = <"Imaging investigation is planned">
|
219
|
+
text = <"Planned">
|
220
|
+
>
|
221
|
+
["at0002"] = <
|
222
|
+
description = <"Imaging investigation is postponed">
|
223
|
+
text = <"Postponed">
|
224
|
+
>
|
225
|
+
["at0003"] = <
|
226
|
+
description = <"Imaging investigation is cancelled">
|
227
|
+
text = <"Cancelled">
|
228
|
+
>
|
229
|
+
["at0004"] = <
|
230
|
+
description = <"Imaging investigation has been requested">
|
231
|
+
text = <"Requested">
|
232
|
+
>
|
233
|
+
["at0005"] = <
|
234
|
+
description = <"Imaging investigation scheduled for specific date and time">
|
235
|
+
text = <"Appointment made">
|
236
|
+
>
|
237
|
+
["at0006"] = <
|
238
|
+
description = <"Appointment for imaging investigation has been altered">
|
239
|
+
text = <"Resheduled">
|
240
|
+
>
|
241
|
+
["at0007"] = <
|
242
|
+
description = <"Imaging investigation has commenced">
|
243
|
+
text = <"Commenced">
|
244
|
+
>
|
245
|
+
["at0008"] = <
|
246
|
+
description = <"The imaging investigation has been completed; awaiting report">
|
247
|
+
text = <"Investigation complete">
|
248
|
+
>
|
249
|
+
["at0009"] = <
|
250
|
+
description = <"The imaging investigation has been reported">
|
251
|
+
text = <"Reported">
|
252
|
+
>
|
253
|
+
["at0010"] = <
|
254
|
+
description = <"The imaging investigation is completed and report processed">
|
255
|
+
text = <"Completed">
|
256
|
+
>
|
257
|
+
["at0011"] = <
|
258
|
+
description = <"The imaging investigation has been reported and communicated to the referer">
|
259
|
+
text = <"Report communicated">
|
260
|
+
>
|
261
|
+
["at0012"] = <
|
262
|
+
description = <"The investigator has established that further imaging is required">
|
263
|
+
text = <"Further imaging required">
|
264
|
+
>
|
265
|
+
["at0013"] = <
|
266
|
+
description = <"The imaging was not able to be completed">
|
267
|
+
text = <"Imaging suspended">
|
268
|
+
>
|
269
|
+
["at0014"] = <
|
270
|
+
description = <"The imaging investigation was not and will not be completed.">
|
271
|
+
text = <"Imaging aborted">
|
272
|
+
>
|
273
|
+
>
|
274
|
+
>
|
275
|
+
>
|
@@ -0,0 +1,351 @@
|
|
1
|
+
archetype (adl_version=1.4)
|
2
|
+
openEHR-EHR-ACTION.referral.v1
|
3
|
+
|
4
|
+
concept
|
5
|
+
[at0000] -- Referral actions
|
6
|
+
language
|
7
|
+
original_language = <[ISO_639-1::en]>
|
8
|
+
translations = <
|
9
|
+
["de"] = <
|
10
|
+
language = <[ISO_639-1::de]>
|
11
|
+
author = <
|
12
|
+
["name"] = <"Jasmin Buck, Sebastian Garde">
|
13
|
+
["organisation"] = <"University of Heidelberg, Central Queensland University">
|
14
|
+
>
|
15
|
+
>
|
16
|
+
>
|
17
|
+
description
|
18
|
+
original_author = <
|
19
|
+
["name"] = <"Sam Heard">
|
20
|
+
["email"] = <"sam.heard@oceaninformatics.biz">
|
21
|
+
>
|
22
|
+
details = <
|
23
|
+
["de"] = <
|
24
|
+
language = <[ISO_639-1::de]>
|
25
|
+
purpose = <"Zur Dokumentation von Handlungen, die auf eine Behandlungsanfrage an einen zweiten Gesundheitsdienstleister basieren">
|
26
|
+
use = <"">
|
27
|
+
misuse = <"">
|
28
|
+
>
|
29
|
+
["en"] = <
|
30
|
+
language = <[ISO_639-1::en]>
|
31
|
+
purpose = <"For recording actions based on a request for a second provider to provide care">
|
32
|
+
use = <"">
|
33
|
+
misuse = <"">
|
34
|
+
>
|
35
|
+
>
|
36
|
+
lifecycle_state = <"NotSet">
|
37
|
+
other_contributors = <>
|
38
|
+
|
39
|
+
definition
|
40
|
+
ACTION[at0000] matches { -- Referral actions
|
41
|
+
ism_transition matches {
|
42
|
+
ISM_TRANSITION matches {
|
43
|
+
current_state matches {
|
44
|
+
DV_CODED_TEXT matches {
|
45
|
+
defining_code matches {[openehr::524]}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
careflow_step matches {
|
49
|
+
DV_CODED_TEXT matches {
|
50
|
+
defining_code matches {[local::at0001]} -- Planned
|
51
|
+
}
|
52
|
+
}
|
53
|
+
}
|
54
|
+
ISM_TRANSITION matches {
|
55
|
+
current_state matches {
|
56
|
+
DV_CODED_TEXT matches {
|
57
|
+
defining_code matches {[openehr::524]}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
careflow_step matches {
|
61
|
+
DV_CODED_TEXT matches {
|
62
|
+
defining_code matches {[local::at0002]} -- Communicated
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
ISM_TRANSITION matches {
|
67
|
+
current_state matches {
|
68
|
+
DV_CODED_TEXT matches {
|
69
|
+
defining_code matches {[openehr::524]}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
careflow_step matches {
|
73
|
+
DV_CODED_TEXT matches {
|
74
|
+
defining_code matches {[local::at0003]} -- Acknowledged
|
75
|
+
}
|
76
|
+
}
|
77
|
+
}
|
78
|
+
ISM_TRANSITION matches {
|
79
|
+
current_state matches {
|
80
|
+
DV_CODED_TEXT matches {
|
81
|
+
defining_code matches {[openehr::527]}
|
82
|
+
}
|
83
|
+
}
|
84
|
+
careflow_step matches {
|
85
|
+
DV_CODED_TEXT matches {
|
86
|
+
defining_code matches {[local::at0005]} -- Postponed
|
87
|
+
}
|
88
|
+
}
|
89
|
+
}
|
90
|
+
ISM_TRANSITION matches {
|
91
|
+
current_state matches {
|
92
|
+
DV_CODED_TEXT matches {
|
93
|
+
defining_code matches {[openehr::528]}
|
94
|
+
}
|
95
|
+
}
|
96
|
+
careflow_step matches {
|
97
|
+
DV_CODED_TEXT matches {
|
98
|
+
defining_code matches {[local::at0006]} -- Cancelled
|
99
|
+
}
|
100
|
+
}
|
101
|
+
}
|
102
|
+
ISM_TRANSITION matches {
|
103
|
+
current_state matches {
|
104
|
+
DV_CODED_TEXT matches {
|
105
|
+
defining_code matches {[openehr::529]}
|
106
|
+
}
|
107
|
+
}
|
108
|
+
careflow_step matches {
|
109
|
+
DV_CODED_TEXT matches {
|
110
|
+
defining_code matches {[local::at0004]} -- Appointment
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
ISM_TRANSITION matches {
|
115
|
+
current_state matches {
|
116
|
+
DV_CODED_TEXT matches {
|
117
|
+
defining_code matches {[openehr::245]}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
careflow_step matches {
|
121
|
+
DV_CODED_TEXT matches {
|
122
|
+
defining_code matches {[local::at0008]} -- Attended
|
123
|
+
}
|
124
|
+
}
|
125
|
+
}
|
126
|
+
ISM_TRANSITION matches {
|
127
|
+
current_state matches {
|
128
|
+
DV_CODED_TEXT matches {
|
129
|
+
defining_code matches {[openehr::245]}
|
130
|
+
}
|
131
|
+
}
|
132
|
+
careflow_step matches {
|
133
|
+
DV_CODED_TEXT matches {
|
134
|
+
defining_code matches {[local::at0009]} -- Secondary referral
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
ISM_TRANSITION matches {
|
139
|
+
current_state matches {
|
140
|
+
DV_CODED_TEXT matches {
|
141
|
+
defining_code matches {[openehr::245]}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
careflow_step matches {
|
145
|
+
DV_CODED_TEXT matches {
|
146
|
+
defining_code matches {[local::at0010]} -- Secondary referral completed
|
147
|
+
}
|
148
|
+
}
|
149
|
+
}
|
150
|
+
ISM_TRANSITION matches {
|
151
|
+
current_state matches {
|
152
|
+
DV_CODED_TEXT matches {
|
153
|
+
defining_code matches {[openehr::245]}
|
154
|
+
}
|
155
|
+
}
|
156
|
+
careflow_step matches {
|
157
|
+
DV_CODED_TEXT matches {
|
158
|
+
defining_code matches {[local::at0011]} -- Return of care
|
159
|
+
}
|
160
|
+
}
|
161
|
+
}
|
162
|
+
ISM_TRANSITION matches {
|
163
|
+
current_state matches {
|
164
|
+
DV_CODED_TEXT matches {
|
165
|
+
defining_code matches {[openehr::530]}
|
166
|
+
}
|
167
|
+
}
|
168
|
+
careflow_step matches {
|
169
|
+
DV_CODED_TEXT matches {
|
170
|
+
defining_code matches {[local::at0007]} -- Did not attend
|
171
|
+
}
|
172
|
+
}
|
173
|
+
}
|
174
|
+
ISM_TRANSITION matches {
|
175
|
+
current_state matches {
|
176
|
+
DV_CODED_TEXT matches {
|
177
|
+
defining_code matches {[openehr::531]}
|
178
|
+
}
|
179
|
+
}
|
180
|
+
careflow_step matches {
|
181
|
+
DV_CODED_TEXT matches {
|
182
|
+
defining_code matches {[local::at0013]} -- No further contact
|
183
|
+
}
|
184
|
+
}
|
185
|
+
}
|
186
|
+
ISM_TRANSITION matches {
|
187
|
+
current_state matches {
|
188
|
+
DV_CODED_TEXT matches {
|
189
|
+
defining_code matches {[openehr::531]}
|
190
|
+
}
|
191
|
+
}
|
192
|
+
careflow_step matches {
|
193
|
+
DV_CODED_TEXT matches {
|
194
|
+
defining_code matches {[local::at0014]} -- Multiple 'did not attend'
|
195
|
+
}
|
196
|
+
}
|
197
|
+
}
|
198
|
+
ISM_TRANSITION matches {
|
199
|
+
current_state matches {
|
200
|
+
DV_CODED_TEXT matches {
|
201
|
+
defining_code matches {[openehr::532]}
|
202
|
+
}
|
203
|
+
}
|
204
|
+
careflow_step matches {
|
205
|
+
DV_CODED_TEXT matches {
|
206
|
+
defining_code matches {[local::at0012]} -- Completed
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
}
|
211
|
+
description matches {
|
212
|
+
allow_archetype ITEM_TREE occurrences matches {0..1} matches {
|
213
|
+
include
|
214
|
+
domain_concept matches {/referral\.v1/}
|
215
|
+
exclude
|
216
|
+
domain_concept matches {/.*/}
|
217
|
+
}
|
218
|
+
}
|
219
|
+
}
|
220
|
+
|
221
|
+
ontology
|
222
|
+
term_definitions = <
|
223
|
+
["de"] = <
|
224
|
+
items = <
|
225
|
+
["at0000"] = <
|
226
|
+
description = <"Zur Dokumentation von Handlungen, die auf eine Behandlungsanfrage an einen zweiten Gesundheitsdienstleister basieren">
|
227
|
+
text = <"�berweisungshandlungen">
|
228
|
+
>
|
229
|
+
["at0001"] = <
|
230
|
+
description = <"�berweisung wurde geplant, aber keine weiter Handlung hat stattgefunden">
|
231
|
+
text = <"Geplant">
|
232
|
+
>
|
233
|
+
["at0002"] = <
|
234
|
+
description = <"Die Anfrage f�r die �berweisung wurde �bermittelt">
|
235
|
+
text = <"�bermittelt">
|
236
|
+
>
|
237
|
+
["at0003"] = <
|
238
|
+
description = <"Die �berweisungsanfrage wurde vom zweiten Gesundheitsdienstleister best�tigt">
|
239
|
+
text = <"Best�tigt">
|
240
|
+
>
|
241
|
+
["at0004"] = <
|
242
|
+
description = <"Ein Termin mit dem zweiten Gesundheitsdienstleister wurde vereinbart">
|
243
|
+
text = <"Termin">
|
244
|
+
>
|
245
|
+
["at0005"] = <
|
246
|
+
description = <"Die �berweisung wurde verschoben, wird aber in der Zukunft durchgef�hrt werden">
|
247
|
+
text = <"Verschoben">
|
248
|
+
>
|
249
|
+
["at0006"] = <
|
250
|
+
description = <"Die �berweisung wurde gestrichen">
|
251
|
+
text = <"Gestrichen">
|
252
|
+
>
|
253
|
+
["at0007"] = <
|
254
|
+
description = <"Die Person ist zu ihrem Termin nicht erschienen">
|
255
|
+
text = <"Nicht erschienen">
|
256
|
+
>
|
257
|
+
["at0008"] = <
|
258
|
+
description = <"Die Person suchte den zweiten Gesundheitsdienstleister auf">
|
259
|
+
text = <"Erschienen">
|
260
|
+
>
|
261
|
+
["at0009"] = <
|
262
|
+
description = <"Eine �berweisung zu einem dritten Gesundheisdienstleister wurde organisiert">
|
263
|
+
text = <"Zweite �berweisung">
|
264
|
+
>
|
265
|
+
["at0010"] = <
|
266
|
+
description = <"Die zweite �berweisung ist abgeschlossen">
|
267
|
+
text = <"Zweite �berweisung abgeschlossen">
|
268
|
+
>
|
269
|
+
["at0011"] = <
|
270
|
+
description = <"Die Behandlung wurde zur�ck zum �berweisenden Gesundheitsdienstleister gegeben">
|
271
|
+
text = <"Behandlung zur�ckgegeben">
|
272
|
+
>
|
273
|
+
["at0012"] = <
|
274
|
+
description = <"Der �berweisungsprozess ist abgeschlossen">
|
275
|
+
text = <"Abgeschlossen">
|
276
|
+
>
|
277
|
+
["at0013"] = <
|
278
|
+
description = <"Der �berweisungsprozess ist nicht abgeschlossen, es besteht aber kein Kontakt zum zweiten Gesundheitsdienstleister mehr">
|
279
|
+
text = <"Kein weiterer Kontakt">
|
280
|
+
>
|
281
|
+
["at0014"] = <
|
282
|
+
description = <"Die Person ist zu wiederholten Gelegenheiten nicht erschienen - es werden keine weiteren Termine vereinbart">
|
283
|
+
text = <"Wiederholtes 'nicht erschienen'">
|
284
|
+
>
|
285
|
+
>
|
286
|
+
>
|
287
|
+
["en"] = <
|
288
|
+
items = <
|
289
|
+
["at0000"] = <
|
290
|
+
description = <"Actions arising based on a request for health care from a second health care provider.">
|
291
|
+
text = <"Referral actions">
|
292
|
+
>
|
293
|
+
["at0001"] = <
|
294
|
+
description = <"Referral has been planned but no further action">
|
295
|
+
text = <"Planned">
|
296
|
+
>
|
297
|
+
["at0002"] = <
|
298
|
+
description = <"The request for referral has been communicated">
|
299
|
+
text = <"Communicated">
|
300
|
+
>
|
301
|
+
["at0003"] = <
|
302
|
+
description = <"The referral request has been acknowledged by second provider">
|
303
|
+
text = <"Acknowledged">
|
304
|
+
>
|
305
|
+
["at0004"] = <
|
306
|
+
description = <"An appointment with the second provider has been arranged">
|
307
|
+
text = <"Appointment">
|
308
|
+
>
|
309
|
+
["at0005"] = <
|
310
|
+
description = <"Referral has been postponed but will be organised in the future">
|
311
|
+
text = <"Postponed">
|
312
|
+
>
|
313
|
+
["at0006"] = <
|
314
|
+
description = <"Referral has been cancelled">
|
315
|
+
text = <"Cancelled">
|
316
|
+
>
|
317
|
+
["at0007"] = <
|
318
|
+
description = <"The person did not attend for their appointment">
|
319
|
+
text = <"Did not attend">
|
320
|
+
>
|
321
|
+
["at0008"] = <
|
322
|
+
description = <"The person attended the second provider">
|
323
|
+
text = <"Attended">
|
324
|
+
>
|
325
|
+
["at0009"] = <
|
326
|
+
description = <"Referral to a third provider has been organised">
|
327
|
+
text = <"Secondary referral">
|
328
|
+
>
|
329
|
+
["at0010"] = <
|
330
|
+
description = <"Secondary referral is complete">
|
331
|
+
text = <"Secondary referral completed">
|
332
|
+
>
|
333
|
+
["at0011"] = <
|
334
|
+
description = <"Care is transferred back to referrer">
|
335
|
+
text = <"Return of care">
|
336
|
+
>
|
337
|
+
["at0012"] = <
|
338
|
+
description = <"Referral process is complete">
|
339
|
+
text = <"Completed">
|
340
|
+
>
|
341
|
+
["at0013"] = <
|
342
|
+
description = <"The referral process was not completed but no further contact with second provider is organised">
|
343
|
+
text = <"No further contact">
|
344
|
+
>
|
345
|
+
["at0014"] = <
|
346
|
+
description = <"The person did not attend on multiple occasions - no further appointments will been sent">
|
347
|
+
text = <"Multiple 'did not attend'">
|
348
|
+
>
|
349
|
+
>
|
350
|
+
>
|
351
|
+
>
|