renalware-core 2.0.0.pre.beta5 → 2.0.0.pre.beta6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (91) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/renalware/session_timeout_redirect.js.erb +8 -4
  3. data/app/assets/stylesheets/renalware/partials/_navigation.scss +2 -2
  4. data/app/controllers/renalware/admin/users_controller.rb +3 -3
  5. data/app/helpers/renalware/application_helper.rb +2 -1
  6. data/app/helpers/renalware/layout_helper.rb +2 -2
  7. data/app/views/renalware/clinical/body_compositions/_form.html.slim +6 -2
  8. data/app/views/renalware/clinical/body_compositions/new.html.slim +4 -3
  9. data/app/views/renalware/clinics/clinic_visits/edit.html.slim +5 -2
  10. data/app/views/renalware/events/swabs/edit.html.slim +4 -2
  11. data/app/views/renalware/hd/historical_profiles/show.html.slim +6 -3
  12. data/app/views/renalware/patients/alerts/_form.html.slim +1 -1
  13. data/app/views/renalware/renal/profiles/edit.html.slim +5 -3
  14. data/app/views/renalware/transplants/donor_operations/edit.html.slim +7 -3
  15. data/lib/breadcrumb.rb +8 -0
  16. data/lib/renalware/version.rb +1 -1
  17. data/vendor/assets/fonts/foundation-icons.eot +0 -0
  18. data/vendor/assets/fonts/foundation-icons.scss +594 -0
  19. data/vendor/assets/fonts/foundation-icons.svg +970 -0
  20. data/vendor/assets/fonts/foundation-icons.ttf +0 -0
  21. data/vendor/assets/fonts/foundation-icons.woff +0 -0
  22. data/vendor/assets/javascripts/renalware/iframeResizer.contentWindow.js +1108 -0
  23. data/vendor/assets/javascripts/renalware/iframeResizer.js +1002 -0
  24. data/vendor/assets/javascripts/renalware/jquery-readyselector.js +17 -0
  25. data/vendor/assets/javascripts/renalware/masonry.min.js +9 -0
  26. data/vendor/assets/javascripts/renalware/modernizr.js +3 -0
  27. data/vendor/assets/javascripts/renalware/mousetrap.js +1044 -0
  28. data/vendor/assets/javascripts/renalware/print.min.js +1 -0
  29. data/vendor/assets/javascripts/renalware/rails.validations.js +660 -0
  30. data/vendor/assets/javascripts/renalware/rails.validations.simple_form.js +46 -0
  31. data/vendor/assets/stylesheets/renalware/print.min.css +1 -0
  32. data/vendor/assets/stylesheets/renalware/select2/css/select2.css +431 -0
  33. data/vendor/assets/stylesheets/renalware/select2/css/select2.min.css +1 -0
  34. data/vendor/xsd/ukrdc/README.md +9 -0
  35. data/vendor/xsd/ukrdc/Schema/Allergies/Allergy.xsd +69 -0
  36. data/vendor/xsd/ukrdc/Schema/ClinicalRelationships/ClinicalRelationship.xsd +27 -0
  37. data/vendor/xsd/ukrdc/Schema/Diagnoses/CauseOfDeath.xsd +32 -0
  38. data/vendor/xsd/ukrdc/Schema/Diagnoses/Diagnosis.xsd +41 -0
  39. data/vendor/xsd/ukrdc/Schema/Diagnoses/RenalDiagnosis.xsd +41 -0
  40. data/vendor/xsd/ukrdc/Schema/Documents/Document.xsd +72 -0
  41. data/vendor/xsd/ukrdc/Schema/Encounters/Encounter.xsd +121 -0
  42. data/vendor/xsd/ukrdc/Schema/Encounters/TransplantList.xsd +108 -0
  43. data/vendor/xsd/ukrdc/Schema/Encounters/Treatment.xsd +207 -0
  44. data/vendor/xsd/ukrdc/Schema/FamilyHistories/FamilyHistory.xsd +42 -0
  45. data/vendor/xsd/ukrdc/Schema/LabOrders/LabOrder.xsd +181 -0
  46. data/vendor/xsd/ukrdc/Schema/Medications/Medication.xsd +88 -0
  47. data/vendor/xsd/ukrdc/Schema/Observations/Observation.xsd +65 -0
  48. data/vendor/xsd/ukrdc/Schema/Patient.xsd +87 -0
  49. data/vendor/xsd/ukrdc/Schema/Procedures/DialysisSession.xsd +61 -0
  50. data/vendor/xsd/ukrdc/Schema/Procedures/Procedure.xsd +38 -0
  51. data/vendor/xsd/ukrdc/Schema/Procedures/Transplant.xsd +160 -0
  52. data/vendor/xsd/ukrdc/Schema/Procedures/VascularAccess.xsd +49 -0
  53. data/vendor/xsd/ukrdc/Schema/ProgramMemberships/ProgramMembership.xsd +46 -0
  54. data/vendor/xsd/ukrdc/Schema/README.md +1 -0
  55. data/vendor/xsd/ukrdc/Schema/SocialHistories/SocialHistory.xsd +15 -0
  56. data/vendor/xsd/ukrdc/Schema/Surveys/Survey.xsd +143 -0
  57. data/vendor/xsd/ukrdc/Schema/Types/ActionCode.xsd +37 -0
  58. data/vendor/xsd/ukrdc/Schema/Types/Address.xsd +67 -0
  59. data/vendor/xsd/ukrdc/Schema/Types/CF_DMD.xsd +27 -0
  60. data/vendor/xsd/ukrdc/Schema/Types/CF_EDTA_COD.xsd +343 -0
  61. data/vendor/xsd/ukrdc/Schema/Types/CF_EDTA_PRD.xsd +356 -0
  62. data/vendor/xsd/ukrdc/Schema/Types/CF_HL7_0004.xsd +76 -0
  63. data/vendor/xsd/ukrdc/Schema/Types/CF_HL7_00204.xsd +46 -0
  64. data/vendor/xsd/ukrdc/Schema/Types/CF_HL7_00206.xsd +41 -0
  65. data/vendor/xsd/ukrdc/Schema/Types/CF_RR1.xsd +567 -0
  66. data/vendor/xsd/ukrdc/Schema/Types/CF_RR23.xsd +82 -0
  67. data/vendor/xsd/ukrdc/Schema/Types/CF_RR7_Discharge.xsd +80 -0
  68. data/vendor/xsd/ukrdc/Schema/Types/CF_RR7_Treatment.xsd +241 -0
  69. data/vendor/xsd/ukrdc/Schema/Types/CF_SNOMED.xsd +27 -0
  70. data/vendor/xsd/ukrdc/Schema/Types/Clinician.xsd +27 -0
  71. data/vendor/xsd/ukrdc/Schema/Types/CodeTableDetail.xsd +27 -0
  72. data/vendor/xsd/ukrdc/Schema/Types/CodedField.xsd +27 -0
  73. data/vendor/xsd/ukrdc/Schema/Types/CommonMetadata.xsd +23 -0
  74. data/vendor/xsd/ukrdc/Schema/Types/ContactDetail.xsd +55 -0
  75. data/vendor/xsd/ukrdc/Schema/Types/DrugProduct.xsd +41 -0
  76. data/vendor/xsd/ukrdc/Schema/Types/EthnicGroup.xsd +114 -0
  77. data/vendor/xsd/ukrdc/Schema/Types/FamilyDoctor.xsd +21 -0
  78. data/vendor/xsd/ukrdc/Schema/Types/LabResultItem.xsd +160 -0
  79. data/vendor/xsd/ukrdc/Schema/Types/LabTestItem.xsd +24 -0
  80. data/vendor/xsd/ukrdc/Schema/Types/Language.xsd +981 -0
  81. data/vendor/xsd/ukrdc/Schema/Types/Location.xsd +27 -0
  82. data/vendor/xsd/ukrdc/Schema/Types/NV_RR14.xsd +39 -0
  83. data/vendor/xsd/ukrdc/Schema/Types/Name.xsd +51 -0
  84. data/vendor/xsd/ukrdc/Schema/Types/Occupation.xsd +75 -0
  85. data/vendor/xsd/ukrdc/Schema/Types/Order.xsd +48 -0
  86. data/vendor/xsd/ukrdc/Schema/Types/PatientNumber.xsd +90 -0
  87. data/vendor/xsd/ukrdc/Schema/Types/PersonalContactType.xsd +11 -0
  88. data/vendor/xsd/ukrdc/Schema/Types/Result.xsd +178 -0
  89. data/vendor/xsd/ukrdc/Schema/UKRDC.xsd +148 -0
  90. metadata +78 -5
  91. data/lib/renalware/breadcrumb.rb +0 -10
@@ -0,0 +1,356 @@
1
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
2
+ <xs:complexType name="CF_EDTA_PRD">
3
+ <!-- Also known as RR4/RR20 -->
4
+ <xs:sequence>
5
+ <xs:element name="CodingStandard" minOccurs="0">
6
+ <xs:simpleType>
7
+ <xs:restriction base="xs:string">
8
+ <xs:enumeration value="EDTA"/>
9
+ <xs:enumeration value="EDTA2"/>
10
+ </xs:restriction>
11
+ </xs:simpleType>
12
+ </xs:element>
13
+ <xs:element name="Code" minOccurs="0">
14
+ <xs:simpleType>
15
+ <xs:restriction base="xs:string">
16
+ <xs:enumeration value="0">
17
+ <xs:annotation>
18
+ <xs:documentation>Chronic Renal Failure, Aetiology uncertain</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:enumeration>
21
+ <xs:enumeration value="10">
22
+ <xs:annotation>
23
+ <xs:documentation>Glomerulonephritis, historically not examined</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:enumeration>
26
+ <xs:enumeration value="11">
27
+ <xs:annotation>
28
+ <xs:documentation>Severe nephoritic syndrome with focal sclerosis (Paediatric)</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:enumeration>
31
+ <xs:enumeration value="12">
32
+ <xs:annotation>
33
+ <xs:documentation>IgA nephropathy proven by immunofluoresence</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:enumeration>
36
+ <xs:enumeration value="13">
37
+ <xs:annotation>
38
+ <xs:documentation>Dense deposite disease, membrano-prolif. GN Type II</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:enumeration>
41
+ <xs:enumeration value="14">
42
+ <xs:annotation>
43
+ <xs:documentation>Membranous nephropathy</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:enumeration>
46
+ <xs:enumeration value="15">
47
+ <xs:annotation>
48
+ <xs:documentation>Membrano-proliferative GN Type I</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:enumeration>
51
+ <xs:enumeration value="16">
52
+ <xs:annotation>
53
+ <xs:documentation>Rapidly progressive GN without systemic disease (crescentic)</xs:documentation>
54
+ </xs:annotation>
55
+ </xs:enumeration>
56
+ <xs:enumeration value="17">
57
+ <xs:annotation>
58
+ <xs:documentation>Focal segmental glomeruloscerosis with nephrotic syndrome in adults </xs:documentation>
59
+ </xs:annotation>
60
+ </xs:enumeration>
61
+ <xs:enumeration value="19">
62
+ <xs:annotation>
63
+ <xs:documentation>Glomerulonephritis, historically examined</xs:documentation>
64
+ </xs:annotation>
65
+ </xs:enumeration>
66
+ <xs:enumeration value="20">
67
+ <xs:annotation>
68
+ <xs:documentation>Pyelo/Interstital nephritis - cause not specified</xs:documentation>
69
+ </xs:annotation>
70
+ </xs:enumeration>
71
+ <xs:enumeration value="21">
72
+ <xs:annotation>
73
+ <xs:documentation>Pyelo/Interstital nephritis - with neurogenic bladder</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:enumeration>
76
+ <xs:enumeration value="22">
77
+ <xs:annotation>
78
+ <xs:documentation>Pyelo/Interstital nephritis - congen. obst. uropathy +/- reflux</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:enumeration>
81
+ <xs:enumeration value="23">
82
+ <xs:annotation>
83
+ <xs:documentation>Pyelo/Interstital nephritis - acquired obst. uropathy</xs:documentation>
84
+ </xs:annotation>
85
+ </xs:enumeration>
86
+ <xs:enumeration value="24">
87
+ <xs:annotation>
88
+ <xs:documentation>Pyelo/Interstital nephritis - vesico-ureteric reflux no obstruction</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:enumeration>
91
+ <xs:enumeration value="25">
92
+ <xs:annotation>
93
+ <xs:documentation>Pyelo/Interstital nephritis - due to urolithiasis</xs:documentation>
94
+ </xs:annotation>
95
+ </xs:enumeration>
96
+ <xs:enumeration value="29">
97
+ <xs:annotation>
98
+ <xs:documentation>Pyelo/Interstital nephritis - due to other cause (please specify)</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:enumeration>
101
+ <xs:enumeration value="30">
102
+ <xs:annotation>
103
+ <xs:documentation>Tubulo interstital nephritis (not pyelonephritis)</xs:documentation>
104
+ </xs:annotation>
105
+ </xs:enumeration>
106
+ <xs:enumeration value="31">
107
+ <xs:annotation>
108
+ <xs:documentation>Nephropathy due to analgesic drugs</xs:documentation>
109
+ </xs:annotation>
110
+ </xs:enumeration>
111
+ <xs:enumeration value="32">
112
+ <xs:annotation>
113
+ <xs:documentation>Nephropathy due to cis-platinum</xs:documentation>
114
+ </xs:annotation>
115
+ </xs:enumeration>
116
+ <xs:enumeration value="33">
117
+ <xs:annotation>
118
+ <xs:documentation>Nephropathy due to Cyclosporin A</xs:documentation>
119
+ </xs:annotation>
120
+ </xs:enumeration>
121
+ <xs:enumeration value="34">
122
+ <xs:annotation>
123
+ <xs:documentation>Lead induced nephropathy (interstitial)</xs:documentation>
124
+ </xs:annotation>
125
+ </xs:enumeration>
126
+ <xs:enumeration value="39">
127
+ <xs:annotation>
128
+ <xs:documentation>Nephroapthy caused by other specific drug</xs:documentation>
129
+ </xs:annotation>
130
+ </xs:enumeration>
131
+ <xs:enumeration value="40">
132
+ <xs:annotation>
133
+ <xs:documentation>Cystic Kidney Disease - Type Unspecified</xs:documentation>
134
+ </xs:annotation>
135
+ </xs:enumeration>
136
+ <xs:enumeration value="41">
137
+ <xs:annotation>
138
+ <xs:documentation>Polycystic Kidneys - Adult Type (Dominant)</xs:documentation>
139
+ </xs:annotation>
140
+ </xs:enumeration>
141
+ <xs:enumeration value="42">
142
+ <xs:annotation>
143
+ <xs:documentation>Polycystic Kidneys = Infantile (Recessive)</xs:documentation>
144
+ </xs:annotation>
145
+ </xs:enumeration>
146
+ <xs:enumeration value="43">
147
+ <xs:annotation>
148
+ <xs:documentation>Medullary Cystic Disease - including Nephoronophthisis</xs:documentation>
149
+ </xs:annotation>
150
+ </xs:enumeration>
151
+ <xs:enumeration value="49">
152
+ <xs:annotation>
153
+ <xs:documentation>Cystic Kidney Disease - Other Specified Type</xs:documentation>
154
+ </xs:annotation>
155
+ </xs:enumeration>
156
+ <xs:enumeration value="50">
157
+ <xs:annotation>
158
+ <xs:documentation>Hereditary/Familial Nephropathy - Typoe Unspecified</xs:documentation>
159
+ </xs:annotation>
160
+ </xs:enumeration>
161
+ <xs:enumeration value="51">
162
+ <xs:annotation>
163
+ <xs:documentation>Hereditary Nephritis with Nerve Deafness (Alport's)</xs:documentation>
164
+ </xs:annotation>
165
+ </xs:enumeration>
166
+ <xs:enumeration value="52">
167
+ <xs:annotation>
168
+ <xs:documentation>Cystinosis</xs:documentation>
169
+ </xs:annotation>
170
+ </xs:enumeration>
171
+ <xs:enumeration value="53">
172
+ <xs:annotation>
173
+ <xs:documentation>Primary Oxalosis</xs:documentation>
174
+ </xs:annotation>
175
+ </xs:enumeration>
176
+ <xs:enumeration value="54">
177
+ <xs:annotation>
178
+ <xs:documentation>Fabry's disease</xs:documentation>
179
+ </xs:annotation>
180
+ </xs:enumeration>
181
+ <xs:enumeration value="59">
182
+ <xs:annotation>
183
+ <xs:documentation>Hereditary Nephropathy - Other</xs:documentation>
184
+ </xs:annotation>
185
+ </xs:enumeration>
186
+ <xs:enumeration value="60">
187
+ <xs:annotation>
188
+ <xs:documentation>congenital Renal Hypoplasia - Type Unspecified</xs:documentation>
189
+ </xs:annotation>
190
+ </xs:enumeration>
191
+ <xs:enumeration value="61">
192
+ <xs:annotation>
193
+ <xs:documentation>Oligomeganephronic Hypoplasia</xs:documentation>
194
+ </xs:annotation>
195
+ </xs:enumeration>
196
+ <xs:enumeration value="63">
197
+ <xs:annotation>
198
+ <xs:documentation>Congenital Renal Dysplasia +/- Urinary Tract Malformation</xs:documentation>
199
+ </xs:annotation>
200
+ </xs:enumeration>
201
+ <xs:enumeration value="66">
202
+ <xs:annotation>
203
+ <xs:documentation>Syndrome of Agenesis of Abdo. muscles - Prune Belly Syndrome</xs:documentation>
204
+ </xs:annotation>
205
+ </xs:enumeration>
206
+ <xs:enumeration value="70">
207
+ <xs:annotation>
208
+ <xs:documentation>Renal Vascular Disease - Type Unspecified</xs:documentation>
209
+ </xs:annotation>
210
+ </xs:enumeration>
211
+ <xs:enumeration value="71">
212
+ <xs:annotation>
213
+ <xs:documentation>Renal Vascular Disease due to MALIGNANT Hypertension</xs:documentation>
214
+ </xs:annotation>
215
+ </xs:enumeration>
216
+ <xs:enumeration value="72">
217
+ <xs:annotation>
218
+ <xs:documentation>Renal Vascular Disease due to Hypertension</xs:documentation>
219
+ </xs:annotation>
220
+ </xs:enumeration>
221
+ <xs:enumeration value="73">
222
+ <xs:annotation>
223
+ <xs:documentation>Renal Vascular Disease due to Polyarteritis</xs:documentation>
224
+ </xs:annotation>
225
+ </xs:enumeration>
226
+ <xs:enumeration value="74">
227
+ <xs:annotation>
228
+ <xs:documentation>Wegener's Granulomatosis</xs:documentation>
229
+ </xs:annotation>
230
+ </xs:enumeration>
231
+ <xs:enumeration value="75">
232
+ <xs:annotation>
233
+ <xs:documentation>Ischaemic Renal Disease/Cholesterol Embolism</xs:documentation>
234
+ </xs:annotation>
235
+ </xs:enumeration>
236
+ <xs:enumeration value="76">
237
+ <xs:annotation>
238
+ <xs:documentation>Glomerulonephritis related to liver cirrhosis</xs:documentation>
239
+ </xs:annotation>
240
+ </xs:enumeration>
241
+ <xs:enumeration value="78">
242
+ <xs:annotation>
243
+ <xs:documentation>Cryoglobulinaemic Glomerulonephritis</xs:documentation>
244
+ </xs:annotation>
245
+ </xs:enumeration>
246
+ <xs:enumeration value="79">
247
+ <xs:annotation>
248
+ <xs:documentation>Renal Vascular Disease - Classified (Please Specify)</xs:documentation>
249
+ </xs:annotation>
250
+ </xs:enumeration>
251
+ <xs:enumeration value="80">
252
+ <xs:annotation>
253
+ <xs:documentation>Diabetes Type 1 (Insulin Dependent)</xs:documentation>
254
+ </xs:annotation>
255
+ </xs:enumeration>
256
+ <xs:enumeration value="81">
257
+ <xs:annotation>
258
+ <xs:documentation>Diabetes Type 2 (Non-Insulin Dependent)</xs:documentation>
259
+ </xs:annotation>
260
+ </xs:enumeration>
261
+ <xs:enumeration value="82">
262
+ <xs:annotation>
263
+ <xs:documentation>Myelomatosis</xs:documentation>
264
+ </xs:annotation>
265
+ </xs:enumeration>
266
+ <xs:enumeration value="83">
267
+ <xs:annotation>
268
+ <xs:documentation>Amyloid</xs:documentation>
269
+ </xs:annotation>
270
+ </xs:enumeration>
271
+ <xs:enumeration value="84">
272
+ <xs:annotation>
273
+ <xs:documentation>Systemic Lupus Erythematosus</xs:documentation>
274
+ </xs:annotation>
275
+ </xs:enumeration>
276
+ <xs:enumeration value="85">
277
+ <xs:annotation>
278
+ <xs:documentation>Henoch-Schonlein Purpura</xs:documentation>
279
+ </xs:annotation>
280
+ </xs:enumeration>
281
+ <xs:enumeration value="86">
282
+ <xs:annotation>
283
+ <xs:documentation>Goodpastures Syndrome</xs:documentation>
284
+ </xs:annotation>
285
+ </xs:enumeration>
286
+ <xs:enumeration value="87">
287
+ <xs:annotation>
288
+ <xs:documentation>Scleroderma</xs:documentation>
289
+ </xs:annotation>
290
+ </xs:enumeration>
291
+ <xs:enumeration value="88">
292
+ <xs:annotation>
293
+ <xs:documentation>Haemolytic Uraemic Syndrome</xs:documentation>
294
+ </xs:annotation>
295
+ </xs:enumeration>
296
+ <xs:enumeration value="89">
297
+ <xs:annotation>
298
+ <xs:documentation>Multu-System Diseased - Type Unspecified</xs:documentation>
299
+ </xs:annotation>
300
+ </xs:enumeration>
301
+ <xs:enumeration value="90">
302
+ <xs:annotation>
303
+ <xs:documentation>Cortical or Tubula Necrosis</xs:documentation>
304
+ </xs:annotation>
305
+ </xs:enumeration>
306
+ <xs:enumeration value="91">
307
+ <xs:annotation>
308
+ <xs:documentation>Tuberculosis</xs:documentation>
309
+ </xs:annotation>
310
+ </xs:enumeration>
311
+ <xs:enumeration value="92">
312
+ <xs:annotation>
313
+ <xs:documentation>Gout</xs:documentation>
314
+ </xs:annotation>
315
+ </xs:enumeration>
316
+ <xs:enumeration value="93">
317
+ <xs:annotation>
318
+ <xs:documentation>Nephrocalcinosis / Hypercalcaemic Nephropathy</xs:documentation>
319
+ </xs:annotation>
320
+ </xs:enumeration>
321
+ <xs:enumeration value="94">
322
+ <xs:annotation>
323
+ <xs:documentation>Balkan Nephropathy</xs:documentation>
324
+ </xs:annotation>
325
+ </xs:enumeration>
326
+ <xs:enumeration value="95">
327
+ <xs:annotation>
328
+ <xs:documentation>Kidney Tumour</xs:documentation>
329
+ </xs:annotation>
330
+ </xs:enumeration>
331
+ <xs:enumeration value="96">
332
+ <xs:annotation>
333
+ <xs:documentation>Traumatic or Surgical Loss of Kidney</xs:documentation>
334
+ </xs:annotation>
335
+ </xs:enumeration>
336
+ <xs:enumeration value="99">
337
+ <xs:annotation>
338
+ <xs:documentation>Other identified Renal Disorders - Please Specify</xs:documentation>
339
+ </xs:annotation>
340
+ </xs:enumeration>
341
+
342
+ <!-- TODO: EDTA2 Codes will go here -->
343
+
344
+ </xs:restriction>
345
+ </xs:simpleType>
346
+ </xs:element>
347
+ <xs:element name="Description" minOccurs="0">
348
+ <xs:simpleType>
349
+ <xs:restriction base="xs:string">
350
+ <xs:maxLength value="32000"/>
351
+ </xs:restriction>
352
+ </xs:simpleType>
353
+ </xs:element>
354
+ </xs:sequence>
355
+ </xs:complexType>
356
+ </xs:schema>
@@ -0,0 +1,76 @@
1
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
2
+ <xs:complexType name="CF_HL7_0004">
3
+ <xs:sequence>
4
+ <xs:element name="CodingStandard" minOccurs="0">
5
+ <xs:simpleType>
6
+ <xs:restriction base="xs:string">
7
+ <xs:enumeration value="HL7_0004"/>
8
+ </xs:restriction>
9
+ </xs:simpleType>
10
+ </xs:element>
11
+ <xs:element name="Code" minOccurs="0">
12
+ <xs:simpleType>
13
+ <xs:restriction base="xs:string">
14
+ <xs:enumeration value="E">
15
+ <xs:annotation>
16
+ <xs:documentation>Emergency</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:enumeration>
19
+ <xs:enumeration value="I">
20
+ <xs:annotation>
21
+ <xs:documentation>Inpatient</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:enumeration>
24
+ <xs:enumeration value="O">
25
+ <xs:annotation>
26
+ <xs:documentation>Outpatient</xs:documentation>
27
+ </xs:annotation>
28
+ </xs:enumeration>
29
+ <xs:enumeration value="P">
30
+ <xs:annotation>
31
+ <xs:documentation>Preadmit</xs:documentation>
32
+ </xs:annotation>
33
+ </xs:enumeration>
34
+ <xs:enumeration value="R">
35
+ <xs:annotation>
36
+ <xs:documentation>Recurring Patient</xs:documentation>
37
+ </xs:annotation>
38
+ </xs:enumeration>
39
+ <xs:enumeration value="B">
40
+ <xs:annotation>
41
+ <xs:documentation>Obstetrics</xs:documentation>
42
+ </xs:annotation>
43
+ </xs:enumeration>
44
+ <xs:enumeration value="D">
45
+ <xs:annotation>
46
+ <xs:documentation>Day Hospital</xs:documentation>
47
+ </xs:annotation>
48
+ </xs:enumeration>
49
+ <xs:enumeration value="W">
50
+ <xs:annotation>
51
+ <xs:documentation>Week Hospital</xs:documentation>
52
+ </xs:annotation>
53
+ </xs:enumeration>
54
+ <xs:enumeration value="S">
55
+ <xs:annotation>
56
+ <xs:documentation>Psychiatric</xs:documentation>
57
+ </xs:annotation>
58
+ </xs:enumeration>
59
+ <xs:enumeration value="K">
60
+ <xs:annotation>
61
+ <xs:documentation>Newborn</xs:documentation>
62
+ </xs:annotation>
63
+ </xs:enumeration>
64
+ </xs:restriction>
65
+ </xs:simpleType>
66
+ </xs:element>
67
+ <xs:element name="Description" minOccurs="0">
68
+ <xs:simpleType>
69
+ <xs:restriction base="xs:string">
70
+ <xs:maxLength value="32000"/>
71
+ </xs:restriction>
72
+ </xs:simpleType>
73
+ </xs:element>
74
+ </xs:sequence>
75
+ </xs:complexType>
76
+ </xs:schema>
@@ -0,0 +1,46 @@
1
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
2
+ <xs:complexType name="CF_HL7_00204">
3
+ <xs:sequence>
4
+ <xs:element name="CodingStandard" minOccurs="0">
5
+ <xs:simpleType>
6
+ <xs:restriction base="xs:string">
7
+ <xs:enumeration value="HL7_00204"/>
8
+ </xs:restriction>
9
+ </xs:simpleType>
10
+ </xs:element>
11
+ <xs:element name="Code" minOccurs="0">
12
+ <xs:simpleType>
13
+ <xs:restriction base="xs:string">
14
+ <xs:enumeration value="DA">
15
+ <xs:annotation>
16
+ <xs:documentation>Drug Allergy</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:enumeration>
19
+ <xs:enumeration value="FA">
20
+ <xs:annotation>
21
+ <xs:documentation>Food Allergy</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:enumeration>
24
+ <xs:enumeration value="MA">
25
+ <xs:annotation>
26
+ <xs:documentation>Miscellaneous Allergy</xs:documentation>
27
+ </xs:annotation>
28
+ </xs:enumeration>
29
+ <xs:enumeration value="MC">
30
+ <xs:annotation>
31
+ <xs:documentation>Miscellaneous Contraindication</xs:documentation>
32
+ </xs:annotation>
33
+ </xs:enumeration>
34
+ </xs:restriction>
35
+ </xs:simpleType>
36
+ </xs:element>
37
+ <xs:element name="Description" minOccurs="0">
38
+ <xs:simpleType>
39
+ <xs:restriction base="xs:string">
40
+ <xs:maxLength value="32000"/>
41
+ </xs:restriction>
42
+ </xs:simpleType>
43
+ </xs:element>
44
+ </xs:sequence>
45
+ </xs:complexType>
46
+ </xs:schema>