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 @@
1
+ .select2-container{box-sizing:border-box;display:inline-block;margin:0;position:relative;vertical-align:middle;}.select2-container .select2-selection--single{box-sizing:border-box;cursor:pointer;display:block;height:28px;user-select:none;-webkit-user-select:none;}.select2-container .select2-selection--single .select2-selection__rendered{display:block;padding-left:8px;padding-right:20px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}.select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered{padding-right:8px;padding-left:20px;}.select2-container .select2-selection--multiple{box-sizing:border-box;cursor:pointer;display:block;min-height:32px;user-select:none;-webkit-user-select:none;}.select2-container .select2-selection--multiple .select2-selection__rendered{display:inline-block;overflow:hidden;padding-left:8px;text-overflow:ellipsis;white-space:nowrap;}.select2-container .select2-search--inline{float:left;}.select2-container .select2-search--inline .select2-search__field{box-sizing:border-box;border:none;font-size:100%;margin-top:5px;}.select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none;}.select2-dropdown{background-color:white;border:1px solid #aaa;border-radius:4px;box-sizing:border-box;display:block;position:absolute;left:-100000px;width:100%;z-index:1051;}.select2-results{display:block;}.select2-results__options{list-style:none;margin:0;padding:0;}.select2-results__option{padding:6px;user-select:none;-webkit-user-select:none;}.select2-results__option[aria-selected]{cursor:pointer;}.select2-container--open .select2-dropdown{left:0;}.select2-container--open .select2-dropdown--above{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--open .select2-dropdown--below{border-top:none;border-top-left-radius:0;border-top-right-radius:0;}.select2-search--dropdown{display:block;padding:4px;}.select2-search--dropdown .select2-search__field{padding:4px;width:100%;box-sizing:border-box;}.select2-search--dropdown .select2-search__field::-webkit-search-cancel-button{-webkit-appearance:none;}.select2-search--dropdown.select2-search--hide{display:none;}.select2-close-mask{border:0;margin:0;padding:0;display:block;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:99;background-color:#fff;filter:alpha(opacity=0);}.select2-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;}.select2-container--default .select2-selection--single{background-color:#fff;border:1px solid #aaa;border-radius:4px;}.select2-container--default .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px;}.select2-container--default .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;}.select2-container--default .select2-selection--single .select2-selection__placeholder{color:#999;}.select2-container--default .select2-selection--single .select2-selection__arrow{height:26px;position:absolute;top:1px;right:1px;width:20px;}.select2-container--default .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0;}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left;}.select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow{left:1px;right:auto;}.select2-container--default.select2-container--disabled .select2-selection--single{background-color:#eee;cursor:default;}.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear{display:none;}.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px;}.select2-container--default .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;}.select2-container--default .select2-selection--multiple .select2-selection__rendered{box-sizing:border-box;list-style:none;margin:0;padding:0 5px;width:100%;}.select2-container--default .select2-selection--multiple .select2-selection__placeholder{color:#999;margin-top:5px;float:left;}.select2-container--default .select2-selection--multiple .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-top:5px;margin-right:10px;}.select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px;}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove{color:#999;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px;}.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover{color:#333;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice,.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder{float:right;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto;}.select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto;}.select2-container--default.select2-container--focus .select2-selection--multiple{border:solid black 1px;outline:0;}.select2-container--default.select2-container--disabled .select2-selection--multiple{background-color:#eee;cursor:default;}.select2-container--default.select2-container--disabled .select2-selection__choice__remove{display:none;}.select2-container--default.select2-container--open.select2-container--above .select2-selection--single,.select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple{border-top-left-radius:0;border-top-right-radius:0;}.select2-container--default.select2-container--open.select2-container--below .select2-selection--single,.select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--default .select2-search--dropdown .select2-search__field{border:1px solid #aaa;}.select2-container--default .select2-search--inline .select2-search__field{background:transparent;border:none;outline:0;}.select2-container--default .select2-results>.select2-results__options{max-height:200px;overflow-y:auto;}.select2-container--default .select2-results__option[role=group]{padding:0;}.select2-container--default .select2-results__option[aria-disabled=true]{color:#999;}.select2-container--default .select2-results__option[aria-selected=true]{background-color:#ddd;}.select2-container--default .select2-results__option .select2-results__option{padding-left:1em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__group{padding-left:0;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option{margin-left:-1em;padding-left:2em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-2em;padding-left:3em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-3em;padding-left:4em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-4em;padding-left:5em;}.select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option{margin-left:-5em;padding-left:6em;}.select2-container--default .select2-results__option--highlighted[aria-selected]{background-color:#5897fb;color:white;}.select2-container--default .select2-results__group{cursor:default;display:block;padding:6px;}.select2-container--classic .select2-selection--single{background-color:#f6f6f6;border:1px solid #aaa;border-radius:4px;outline:0;background-image:-webkit-linear-gradient(top, #ffffff 50%, #eeeeee 100%);background-image:-o-linear-gradient(top, #ffffff 50%, #eeeeee 100%);background-image:linear-gradient(to bottom, #ffffff 50%, #eeeeee 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);}.select2-container--classic .select2-selection--single:focus{border:1px solid #5897fb;}.select2-container--classic .select2-selection--single .select2-selection__rendered{color:#444;line-height:28px;}.select2-container--classic .select2-selection--single .select2-selection__clear{cursor:pointer;float:right;font-weight:bold;margin-right:10px;}.select2-container--classic .select2-selection--single .select2-selection__placeholder{color:#999;}.select2-container--classic .select2-selection--single .select2-selection__arrow{background-color:#ddd;border:none;border-left:1px solid #aaa;border-top-right-radius:4px;border-bottom-right-radius:4px;height:26px;position:absolute;top:1px;right:1px;width:20px;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #cccccc 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);}.select2-container--classic .select2-selection--single .select2-selection__arrow b{border-color:#888 transparent transparent transparent;border-style:solid;border-width:5px 4px 0 4px;height:0;left:50%;margin-left:-4px;margin-top:-2px;position:absolute;top:50%;width:0;}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear{float:left;}.select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow{border:none;border-right:1px solid #aaa;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px;left:1px;right:auto;}.select2-container--classic.select2-container--open .select2-selection--single{border:1px solid #5897fb;}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow{background:transparent;border:none;}.select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b{border-color:transparent transparent #888 transparent;border-width:0 4px 5px 4px;}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--single{border-top:none;border-top-left-radius:0;border-top-right-radius:0;background-image:-webkit-linear-gradient(top, #ffffff 0%, #eeeeee 50%);background-image:-o-linear-gradient(top, #ffffff 0%, #eeeeee 50%);background-image:linear-gradient(to bottom, #ffffff 0%, #eeeeee 50%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--single{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;background-image:-webkit-linear-gradient(top, #eeeeee 50%, #ffffff 100%);background-image:-o-linear-gradient(top, #eeeeee 50%, #ffffff 100%);background-image:linear-gradient(to bottom, #eeeeee 50%, #ffffff 100%);background-repeat:repeat-x;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);}.select2-container--classic .select2-selection--multiple{background-color:white;border:1px solid #aaa;border-radius:4px;cursor:text;outline:0;}.select2-container--classic .select2-selection--multiple:focus{border:1px solid #5897fb;}.select2-container--classic .select2-selection--multiple .select2-selection__rendered{list-style:none;margin:0;padding:0 5px;}.select2-container--classic .select2-selection--multiple .select2-selection__clear{display:none;}.select2-container--classic .select2-selection--multiple .select2-selection__choice{background-color:#e4e4e4;border:1px solid #aaa;border-radius:4px;cursor:default;float:left;margin-right:5px;margin-top:5px;padding:0 5px;}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove{color:#888;cursor:pointer;display:inline-block;font-weight:bold;margin-right:2px;}.select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover{color:#555;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{float:right;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice{margin-left:5px;margin-right:auto;}.select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove{margin-left:2px;margin-right:auto;}.select2-container--classic.select2-container--open .select2-selection--multiple{border:1px solid #5897fb;}.select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple{border-top:none;border-top-left-radius:0;border-top-right-radius:0;}.select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple{border-bottom:none;border-bottom-left-radius:0;border-bottom-right-radius:0;}.select2-container--classic .select2-search--dropdown .select2-search__field{border:1px solid #aaa;outline:0;}.select2-container--classic .select2-search--inline .select2-search__field{outline:0;}.select2-container--classic .select2-dropdown{background-color:white;border:1px solid transparent;}.select2-container--classic .select2-dropdown--above{border-bottom:none;}.select2-container--classic .select2-dropdown--below{border-top:none;}.select2-container--classic .select2-results>.select2-results__options{max-height:200px;overflow-y:auto;}.select2-container--classic .select2-results__option[role=group]{padding:0;}.select2-container--classic .select2-results__option[aria-disabled=true]{color:grey;}.select2-container--classic .select2-results__option--highlighted[aria-selected]{background-color:#3875d7;color:white;}.select2-container--classic .select2-results__group{cursor:default;display:block;padding:6px;}.select2-container--classic.select2-container--open .select2-dropdown{border-color:#5897fb;}
@@ -0,0 +1,9 @@
1
+ # UKRDC Schema
2
+
3
+ ## Documentation
4
+
5
+ Schema Documentation (https://htmlpreview.github.io/?https://github.com/renalreg/ukrdc/blob/master/HTML/UKRDC.html)
6
+
7
+ Instructions (https://github.com/renalreg/ukrdc/raw/master/Documentation/UKRDC.docx)
8
+
9
+ Annotated UKRR v4.2 Dataset (https://github.com/renalreg/ukrdc/raw/master/Documentation/RR%20Dataset%20v4.2_UKRDC.xls)
@@ -0,0 +1,69 @@
1
+ <!-- edited with XMLSpy v2015 rel. 4 (x64) (http://www.altova.com) by Nick Jones (Agiloak Limited) -->
2
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
3
+ <xs:include schemaLocation="../Types/CF_HL7_00204.xsd"/>
4
+ <xs:include schemaLocation="../Types/CF_HL7_00206.xsd"/>
5
+ <xs:include schemaLocation="../Types/CF_SNOMED.xsd"/>
6
+ <xs:include schemaLocation="../Types/Clinician.xsd"/>
7
+ <xs:include schemaLocation="../Types/CommonMetadata.xsd"/>
8
+ <xs:complexType name="Allergy">
9
+ <xs:sequence>
10
+ <xs:element name="Allergy" type="CF_SNOMED">
11
+ <xs:annotation>
12
+ <xs:documentation>Substance to which the patient is allergic. (SNOMED)</xs:documentation>
13
+ </xs:annotation>
14
+ </xs:element>
15
+ <xs:element name="AllergyCategory" type="CF_HL7_00204" minOccurs="0">
16
+ <xs:annotation>
17
+ <xs:documentation>Type of Allergy (HL7 00204)</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:element>
20
+ <xs:element name="Severity" type="CF_HL7_00206" minOccurs="0">
21
+ <xs:annotation>
22
+ <xs:documentation>Severity (HL7 00206)</xs:documentation>
23
+ </xs:annotation>
24
+ </xs:element>
25
+ <xs:element name="Clinician" type="Clinician" minOccurs="0">
26
+ <xs:annotation>
27
+ <xs:documentation>Diagnosing Clinician</xs:documentation>
28
+ </xs:annotation>
29
+ </xs:element>
30
+ <xs:element name="DiscoveryTime" type="xs:dateTime" minOccurs="0">
31
+ <xs:annotation>
32
+ <xs:documentation>Reported Date</xs:documentation>
33
+ </xs:annotation>
34
+ </xs:element>
35
+ <xs:element name="ConfirmedTime" type="xs:dateTime" minOccurs="0"/>
36
+ <xs:element name="Comments" type="xs:string" minOccurs="0">
37
+ <xs:annotation>
38
+ <xs:documentation>Advice given to the patient</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:element>
41
+ <xs:element name="InactiveTime" type="xs:dateTime" minOccurs="0">
42
+ <xs:annotation>
43
+ <xs:documentation>Resolved Time</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:element>
46
+ <xs:element name="FreeTextAllergy" minOccurs="0">
47
+ <xs:annotation>
48
+ <xs:documentation>AL1-5 Free text definition of what happened</xs:documentation>
49
+ </xs:annotation>
50
+ <xs:simpleType>
51
+ <xs:restriction base="xs:string">
52
+ <xs:maxLength value="5000"/>
53
+ </xs:restriction>
54
+ </xs:simpleType>
55
+ </xs:element>
56
+ <xs:element name="QualifyingDetails" minOccurs="0">
57
+ <xs:annotation>
58
+ <xs:documentation>Details if patient or family reported</xs:documentation>
59
+ </xs:annotation>
60
+ <xs:simpleType>
61
+ <xs:restriction base="xs:string">
62
+ <xs:maxLength value="32000"/>
63
+ </xs:restriction>
64
+ </xs:simpleType>
65
+ </xs:element>
66
+ <xs:group ref="CommonMetadata"/>
67
+ </xs:sequence>
68
+ </xs:complexType>
69
+ </xs:schema>
@@ -0,0 +1,27 @@
1
+ <!-- edited with XMLSpy v2015 rel. 4 (x64) (http://www.altova.com) by Nick Jones (Agiloak Limited) -->
2
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
3
+ <xs:include schemaLocation="../Types/Clinician.xsd"/>
4
+ <xs:include schemaLocation="../Types/Location.xsd"/>
5
+ <xs:include schemaLocation="../Types/CommonMetadata.xsd"/>
6
+ <xs:complexType name="ClinicalRelationship">
7
+ <xs:sequence>
8
+ <xs:element name="FromTime" type="xs:dateTime">
9
+ <xs:annotation>
10
+ <xs:documentation>Start of the relationship</xs:documentation>
11
+ </xs:annotation>
12
+ </xs:element>
13
+ <xs:element name="ToTime" type="xs:dateTime" minOccurs="0">
14
+ <xs:annotation>
15
+ <xs:documentation>End of the relationship</xs:documentation>
16
+ </xs:annotation>
17
+ </xs:element>
18
+ <xs:element name="Clinician" type="Clinician">
19
+ <xs:annotation/>
20
+ </xs:element>
21
+ <xs:element name="FacilityCode" type="Location">
22
+ <xs:annotation/>
23
+ </xs:element>
24
+ <xs:group ref="CommonMetadata"/>
25
+ </xs:sequence>
26
+ </xs:complexType>
27
+ </xs:schema>
@@ -0,0 +1,32 @@
1
+ <!-- edited with XMLSpy v2015 rel. 4 (x64) (http://www.altova.com) by Nick Jones (Agiloak Limited) -->
2
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
3
+ <xs:include schemaLocation="../Types/Clinician.xsd"/>
4
+ <xs:include schemaLocation="../Types/CF_EDTA_COD.xsd"/>
5
+ <xs:include schemaLocation="../Types/CommonMetadata.xsd"/>
6
+ <!-- SDA: Diagnosis -->
7
+ <xs:complexType name="CauseOfDeath">
8
+ <xs:sequence>
9
+ <xs:element name="DiagnosisType" type="xs:string" minOccurs="0">
10
+ <xs:annotation>
11
+ <xs:documentation>The type of diagnosis: admitting, working, final, discharge</xs:documentation>
12
+ </xs:annotation>
13
+ </xs:element>
14
+ <xs:element name="DiagnosingClinician" type="Clinician" minOccurs="0">
15
+ <xs:annotation>
16
+ <xs:documentation>Clinician Coding Death</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:element name="Diagnosis" type="CF_EDTA_COD">
20
+ <xs:annotation>
21
+ <xs:documentation>Coded Caused of Death (EDTA)</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:element>
24
+ <xs:element name="EnteredOn" type="xs:dateTime">
25
+ <xs:annotation>
26
+ <xs:documentation>The date the COD was recorded in the medical record.</xs:documentation>
27
+ </xs:annotation>
28
+ </xs:element>
29
+ <xs:group ref="CommonMetadata"/>
30
+ </xs:sequence>
31
+ </xs:complexType>
32
+ </xs:schema>
@@ -0,0 +1,41 @@
1
+ <!-- edited with XMLSpy v2015 rel. 4 (x64) (http://www.altova.com) by Nick Jones (Agiloak Limited) -->
2
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
3
+ <xs:include schemaLocation="../Types/Clinician.xsd"/>
4
+ <xs:include schemaLocation="../Types/CF_SNOMED.xsd"/>
5
+ <xs:include schemaLocation="../Types/CommonMetadata.xsd"/>
6
+ <xs:complexType name="Diagnosis">
7
+ <xs:sequence>
8
+ <xs:element name="DiagnosisType" type="xs:string" minOccurs="0">
9
+ <xs:annotation>
10
+ <xs:documentation>The type of diagnosis: admitting, working, final, discharge</xs:documentation>
11
+ </xs:annotation>
12
+ </xs:element>
13
+ <xs:element name="DiagnosingClinician" type="Clinician" minOccurs="0">
14
+ <xs:annotation>
15
+ <xs:documentation>National Clinicial code where possible or other local code if not.</xs:documentation>
16
+ </xs:annotation>
17
+ </xs:element>
18
+ <xs:element name="Diagnosis" type="CF_SNOMED">
19
+ <xs:annotation>
20
+ <xs:documentation>SNOMED CT coded diagnoses. Primary Renal Diagnosis should additionally be included with a EDTA code. PRD will therefore be represented twice (SNOMED and EDTA)</xs:documentation>
21
+ </xs:annotation>
22
+ </xs:element>
23
+ <xs:element name="IdentificationTime" type="xs:dateTime" minOccurs="0">
24
+ <xs:annotation>
25
+ <xs:documentation>Date of initial diagnosis</xs:documentation>
26
+ </xs:annotation>
27
+ </xs:element>
28
+ <xs:element name="OnsetTime" type="xs:dateTime" minOccurs="0">
29
+ <xs:annotation>
30
+ <xs:documentation>Date condition began. Can use approximate dates through truncation. CCYYMMDD or CCYYMM or CCYY</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:element>
33
+ <xs:element name="EnteredOn" type="xs:dateTime">
34
+ <xs:annotation>
35
+ <xs:documentation>The date the diagnosis was recorded in the medical record.</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:element>
38
+ <xs:group ref="CommonMetadata"/>
39
+ </xs:sequence>
40
+ </xs:complexType>
41
+ </xs:schema>
@@ -0,0 +1,41 @@
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:include schemaLocation="../Types/Clinician.xsd"/>
3
+ <xs:include schemaLocation="../Types/CF_EDTA_PRD.xsd"/>
4
+ <xs:include schemaLocation="../Types/CommonMetadata.xsd"/>
5
+ <!-- SDA: Diagnosis -->
6
+ <xs:complexType name="RenalDiagnosis">
7
+ <xs:sequence>
8
+ <xs:element name="DiagnosisType" type="xs:string" minOccurs="0">
9
+ <xs:annotation>
10
+ <xs:documentation>The type of diagnosis: admitting, working, final, discharge</xs:documentation>
11
+ </xs:annotation>
12
+ </xs:element>
13
+ <xs:element name="DiagnosingClinician" type="Clinician" minOccurs="0">
14
+ <xs:annotation>
15
+ <xs:documentation>Clinician Coding Death</xs:documentation>
16
+ </xs:annotation>
17
+ </xs:element>
18
+ <xs:element name="Diagnosis" type="CF_EDTA_PRD">
19
+ <xs:annotation>
20
+ <xs:documentation>Coded Caused of Death (EDTA)</xs:documentation>
21
+ </xs:annotation>
22
+ </xs:element>
23
+ <xs:element name="IdentificationTime" type="xs:dateTime" minOccurs="0">
24
+ <xs:annotation>
25
+ <xs:documentation>Date of initial diagnosis</xs:documentation>
26
+ </xs:annotation>
27
+ </xs:element>
28
+ <xs:element name="OnsetTime" type="xs:dateTime" minOccurs="0">
29
+ <xs:annotation>
30
+ <xs:documentation>Date condition began. Can use approximate dates through truncation. CCYYMMDD or CCYYMM or CCYY</xs:documentation>
31
+ </xs:annotation>
32
+ </xs:element>
33
+ <xs:element name="EnteredOn" type="xs:dateTime">
34
+ <xs:annotation>
35
+ <xs:documentation>The date the diagnosis was recorded in the medical record.</xs:documentation>
36
+ </xs:annotation>
37
+ </xs:element>
38
+ <xs:group ref="CommonMetadata"/>
39
+ </xs:sequence>
40
+ </xs:complexType>
41
+ </xs:schema>
@@ -0,0 +1,72 @@
1
+ <!-- edited with XMLSpy v2015 rel. 4 (x64) (http://www.altova.com) by Nick Jones (Agiloak Limited) -->
2
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
3
+ <xs:include schemaLocation="../Types/Clinician.xsd"/>
4
+ <xs:include schemaLocation="../Types/Location.xsd"/>
5
+ <xs:include schemaLocation="../Types/CodedField.xsd"/>
6
+ <xs:include schemaLocation="../Types/CommonMetadata.xsd"/>
7
+ <xs:complexType name="Document">
8
+ <xs:sequence>
9
+ <xs:element name="DocumentTime" type="xs:dateTime" minOccurs="0">
10
+ <xs:annotation>
11
+ <xs:documentation>Document Creation as CCYYMMDDhhmm</xs:documentation>
12
+ </xs:annotation>
13
+ </xs:element>
14
+ <xs:element name="NoteText" type="xs:string" minOccurs="0">
15
+ <xs:annotation>
16
+ <xs:documentation>The body of the document as free text,</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:element name="DocumentType" type="CodedField" minOccurs="0">
20
+ <xs:annotation>
21
+ <xs:documentation>Always TEXT for now. For future use.</xs:documentation>
22
+ </xs:annotation>
23
+ </xs:element>
24
+ <xs:element name="Clinician" type="Clinician" minOccurs="0">
25
+ <xs:annotation>
26
+ <xs:documentation>The person responsibile for the content of the document</xs:documentation>
27
+ </xs:annotation>
28
+ </xs:element>
29
+ <xs:element name="DocumentName" minOccurs="0">
30
+ <xs:annotation>
31
+ <xs:documentation>Document title</xs:documentation>
32
+ </xs:annotation>
33
+ <xs:simpleType>
34
+ <xs:restriction base="xs:string">
35
+ <xs:maxLength value="220"/>
36
+ </xs:restriction>
37
+ </xs:simpleType>
38
+ </xs:element>
39
+ <xs:element name="Status" type="CodedField" minOccurs="0">
40
+ <xs:annotation>
41
+ <xs:documentation>ACTIVE or INACTIVE</xs:documentation>
42
+ </xs:annotation>
43
+ </xs:element>
44
+ <xs:element name="EnteredBy" type="Clinician" minOccurs="0">
45
+ <xs:annotation>
46
+ <xs:documentation>Person entering the document as a National Clinicial code where possible or other local code if not.</xs:documentation>
47
+ </xs:annotation>
48
+ </xs:element>
49
+ <xs:element name="EnteredAt" type="Location" minOccurs="0">
50
+ <xs:annotation>
51
+ <xs:documentation>Location the procedure was performed at. Use National coding e.g. RXF01</xs:documentation>
52
+ </xs:annotation>
53
+ </xs:element>
54
+ <xs:element name="FileType" type="CodedField" minOccurs="0">
55
+ <xs:annotation>
56
+ <xs:documentation>The type of data e.g PDF, DOC, RTF, TXT</xs:documentation>
57
+ </xs:annotation>
58
+ </xs:element>
59
+ <xs:element name="Stream" type="xs:base64Binary" minOccurs="0">
60
+ <xs:annotation>
61
+ <xs:documentation>This property is used when the Note is binary data, e.g DOC, PDF, JPG</xs:documentation>
62
+ </xs:annotation>
63
+ </xs:element>
64
+ <xs:element name="DocumentURL" type="xs:string" minOccurs="0">
65
+ <xs:annotation>
66
+ <xs:documentation>The full URL where the document can be accessed.</xs:documentation>
67
+ </xs:annotation>
68
+ </xs:element>
69
+ <xs:group ref="CommonMetadata"/>
70
+ </xs:sequence>
71
+ </xs:complexType>
72
+ </xs:schema>
@@ -0,0 +1,121 @@
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:include schemaLocation="../Types/Clinician.xsd"/>
3
+ <xs:include schemaLocation="../Types/Location.xsd"/>
4
+ <xs:include schemaLocation="../Types/CodedField.xsd"/>
5
+ <xs:include schemaLocation="../Types/CommonMetadata.xsd"/>
6
+ <xs:complexType name="Encounter">
7
+ <xs:sequence>
8
+ <xs:element name="EncounterNumber" type="xs:string"/>
9
+ <xs:element name="EncounterType">
10
+ <xs:annotation>
11
+ <xs:documentation>General Encounter Type (PV1-2)</xs:documentation>
12
+ </xs:annotation>
13
+ <xs:simpleType>
14
+ <xs:restriction base="xs:string">
15
+ <xs:enumeration value="E">
16
+ <xs:annotation>
17
+ <xs:documentation>Emergency</xs:documentation>
18
+ </xs:annotation>
19
+ </xs:enumeration>
20
+ <xs:enumeration value="I">
21
+ <xs:annotation>
22
+ <xs:documentation>Inpatient</xs:documentation>
23
+ </xs:annotation>
24
+ </xs:enumeration>
25
+ <xs:enumeration value="N">
26
+ <xs:annotation>
27
+ <xs:documentation>N/A</xs:documentation>
28
+ </xs:annotation>
29
+ </xs:enumeration>
30
+ <xs:enumeration value="G">
31
+ <xs:annotation>
32
+ <xs:documentation>?</xs:documentation>
33
+ </xs:annotation>
34
+ </xs:enumeration>
35
+ <xs:enumeration value="P">
36
+ <xs:annotation>
37
+ <xs:documentation>Pre-Admit</xs:documentation>
38
+ </xs:annotation>
39
+ </xs:enumeration>
40
+ <xs:enumeration value="S">
41
+ <xs:annotation>
42
+ <xs:documentation>?</xs:documentation>
43
+ </xs:annotation>
44
+ </xs:enumeration>
45
+ <xs:enumeration value="R">
46
+ <xs:annotation>
47
+ <xs:documentation>Reoccuring Patient</xs:documentation>
48
+ </xs:annotation>
49
+ </xs:enumeration>
50
+ <xs:enumeration value="B">
51
+ <xs:annotation>
52
+ <xs:documentation>Obstetrics</xs:documentation>
53
+ </xs:annotation>
54
+ </xs:enumeration>
55
+ <xs:enumeration value="C">
56
+ <xs:annotation>
57
+ <xs:documentation>Commercial Account</xs:documentation>
58
+ </xs:annotation>
59
+ </xs:enumeration>
60
+ <xs:enumeration value="U">
61
+ <xs:annotation>
62
+ <xs:documentation>Unknown</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:enumeration>
65
+ </xs:restriction>
66
+ </xs:simpleType>
67
+ </xs:element>
68
+ <xs:element name="FromTime" type="xs:dateTime">
69
+ <xs:annotation>
70
+ <xs:documentation>Time that encounter starts as CCYYMMDD</xs:documentation>
71
+ </xs:annotation>
72
+ </xs:element>
73
+ <xs:element name="ToTime" type="xs:dateTime">
74
+ <xs:annotation>
75
+ <xs:documentation>Time that encounter ends as CCYYMMDD</xs:documentation>
76
+ </xs:annotation>
77
+ </xs:element>
78
+ <xs:element name="AdmittingClinician" type="Clinician" minOccurs="0">
79
+ <xs:annotation>
80
+ <xs:documentation>Responsible Clinician as a National Clinicial code where possible or other local code if not.</xs:documentation>
81
+ </xs:annotation>
82
+ </xs:element>
83
+ <xs:element name="HealthCareFacility" type="Location" minOccurs="0">
84
+ <xs:annotation>
85
+ <xs:documentation>Parent renal unit as national ODS code (e.g. RXF01)</xs:documentation>
86
+ </xs:annotation>
87
+ </xs:element>
88
+ <xs:element name="AdmitReason" type="CodedField" minOccurs="0">
89
+ <xs:annotation>
90
+ <xs:documentation>Reason for change of care</xs:documentation>
91
+ </xs:annotation>
92
+ </xs:element>
93
+ <xs:element name="AdmissionSource" type="Location" minOccurs="0">
94
+ <xs:annotation>
95
+ <xs:documentation>Parent renal unit as national ODS code (e.g. RXF01)</xs:documentation>
96
+ </xs:annotation>
97
+ </xs:element>
98
+ <xs:element name="DischargeReason" type="CodedField" minOccurs="0">
99
+ <xs:annotation>
100
+ <xs:documentation>Reason for Discharge (Transplant, Removed from List etc.)</xs:documentation>
101
+ </xs:annotation>
102
+ </xs:element>
103
+ <xs:element name="DischargeLocation" type="Location" minOccurs="0">
104
+ <xs:annotation>
105
+ <xs:documentation>Parent renal unit as national ODS code (e.g. RXF01)</xs:documentation>
106
+ </xs:annotation>
107
+ </xs:element>
108
+ <xs:element name="EnteredAt" type="Location" minOccurs="0">
109
+ <xs:annotation>
110
+ <xs:documentation>National code for the hospital providing care - e.g. RXF01</xs:documentation>
111
+ </xs:annotation>
112
+ </xs:element>
113
+ <xs:element name="VisitDescription" type="xs:string" minOccurs="0">
114
+ <xs:annotation>
115
+ <xs:documentation>Details of validation e.g. Date Done, by whom, who provided the info</xs:documentation>
116
+ </xs:annotation>
117
+ </xs:element>
118
+ <xs:group ref="CommonMetadata"/>
119
+ </xs:sequence>
120
+ </xs:complexType>
121
+ </xs:schema>
@@ -0,0 +1,108 @@
1
+ <!-- edited with XMLSpy v2015 rel. 4 (x64) (http://www.altova.com) by Nick Jones (Agiloak Limited) -->
2
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
3
+ <!-- To be used to record NHS B&T Waiting List periods -->
4
+ <xs:include schemaLocation="../Types/Clinician.xsd"/>
5
+ <xs:include schemaLocation="../Types/Location.xsd"/>
6
+ <xs:include schemaLocation="../Types/CodedField.xsd"/>
7
+ <xs:include schemaLocation="../Types/CommonMetadata.xsd"/>
8
+ <xs:complexType name="TransplantList">
9
+ <xs:sequence>
10
+ <xs:element name="EncounterNumber" type="xs:string"/>
11
+ <xs:element name="EncounterType">
12
+ <xs:annotation>
13
+ <xs:documentation>General Encounter Type (PV1-2)</xs:documentation>
14
+ </xs:annotation>
15
+ <xs:simpleType>
16
+ <xs:restriction base="xs:string">
17
+ <xs:enumeration value="E">
18
+ <xs:annotation>
19
+ <xs:documentation>Emergency</xs:documentation>
20
+ </xs:annotation>
21
+ </xs:enumeration>
22
+ <xs:enumeration value="I">
23
+ <xs:annotation>
24
+ <xs:documentation>Inpatient</xs:documentation>
25
+ </xs:annotation>
26
+ </xs:enumeration>
27
+ <xs:enumeration value="O">
28
+ <xs:annotation>
29
+ <xs:documentation>Outpatient</xs:documentation>
30
+ </xs:annotation>
31
+ </xs:enumeration>
32
+ <xs:enumeration value="N">
33
+ <xs:annotation>
34
+ <xs:documentation>N/A</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:enumeration>
37
+ <xs:enumeration value="G">
38
+ <xs:annotation>
39
+ <xs:documentation>?</xs:documentation>
40
+ </xs:annotation>
41
+ </xs:enumeration>
42
+ <xs:enumeration value="P">
43
+ <xs:annotation>
44
+ <xs:documentation>Pre-Admit</xs:documentation>
45
+ </xs:annotation>
46
+ </xs:enumeration>
47
+ <xs:enumeration value="S">
48
+ <xs:annotation>
49
+ <xs:documentation>?</xs:documentation>
50
+ </xs:annotation>
51
+ </xs:enumeration>
52
+ </xs:restriction>
53
+ </xs:simpleType>
54
+ </xs:element>
55
+ <xs:element name="FromTime" type="xs:dateTime">
56
+ <xs:annotation>
57
+ <xs:documentation>Time that encounter starts as CCYYMMDD</xs:documentation>
58
+ </xs:annotation>
59
+ </xs:element>
60
+ <xs:element name="ToTime" type="xs:dateTime">
61
+ <xs:annotation>
62
+ <xs:documentation>Time that encounter ends as CCYYMMDD</xs:documentation>
63
+ </xs:annotation>
64
+ </xs:element>
65
+ <xs:element name="AdmittingClinician" type="Clinician" minOccurs="0">
66
+ <xs:annotation>
67
+ <xs:documentation>Responsible Clinician as a National Clinicial code where possible or other local code if not.</xs:documentation>
68
+ </xs:annotation>
69
+ </xs:element>
70
+ <xs:element name="HealthCareFacility" type="Location" minOccurs="0">
71
+ <xs:annotation>
72
+ <xs:documentation>Parent renal unit as national ODS code (e.g. RXF01)</xs:documentation>
73
+ </xs:annotation>
74
+ </xs:element>
75
+ <xs:element name="AdmitReason" type="CodedField" minOccurs="0">
76
+ <xs:annotation>
77
+ <xs:documentation>Type of Organ</xs:documentation>
78
+ </xs:annotation>
79
+ </xs:element>
80
+ <xs:element name="AdmissionSource" type="Location" minOccurs="0">
81
+ <xs:annotation>
82
+ <xs:documentation>Parent renal unit as national ODS code (e.g. RXF01)</xs:documentation>
83
+ </xs:annotation>
84
+ </xs:element>
85
+ <xs:element name="DischargeReason" type="CodedField" minOccurs="0">
86
+ <xs:annotation>
87
+ <xs:documentation>Reason for Discharge (Transplant, Removed from List etc.)</xs:documentation>
88
+ </xs:annotation>
89
+ </xs:element>
90
+ <xs:element name="DischargeLocation" type="Location" minOccurs="0">
91
+ <xs:annotation>
92
+ <xs:documentation>Parent renal unit as national ODS code (e.g. RXF01)</xs:documentation>
93
+ </xs:annotation>
94
+ </xs:element>
95
+ <xs:element name="EnteredAt" type="Location" minOccurs="0">
96
+ <xs:annotation>
97
+ <xs:documentation>National code for the hospital providing care - e.g. RXF01</xs:documentation>
98
+ </xs:annotation>
99
+ </xs:element>
100
+ <xs:element name="VisitDescription" type="xs:string" minOccurs="0">
101
+ <xs:annotation>
102
+ <xs:documentation>Details of validation e.g. Date Done, by whom, who provided the info</xs:documentation>
103
+ </xs:annotation>
104
+ </xs:element>
105
+ <xs:group ref="CommonMetadata"/>
106
+ </xs:sequence>
107
+ </xs:complexType>
108
+ </xs:schema>