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,27 @@
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="CodeTableDetail">
3
+ <xs:sequence>
4
+ <xs:element name="CodingStandard" minOccurs="0">
5
+ <xs:simpleType>
6
+ <xs:restriction base="xs:string">
7
+ <xs:maxLength value="32000"/>
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:maxLength value="32000"/>
15
+ </xs:restriction>
16
+ </xs:simpleType>
17
+ </xs:element>
18
+ <xs:element name="Description" minOccurs="0">
19
+ <xs:simpleType>
20
+ <xs:restriction base="xs:string">
21
+ <xs:maxLength value="32000"/>
22
+ </xs:restriction>
23
+ </xs:simpleType>
24
+ </xs:element>
25
+ </xs:sequence>
26
+ </xs:complexType>
27
+ </xs:schema>
@@ -0,0 +1,27 @@
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="CodedField">
3
+ <xs:sequence>
4
+ <xs:element name="CodingStandard" minOccurs="0">
5
+ <xs:simpleType>
6
+ <xs:restriction base="xs:string">
7
+ <xs:maxLength value="32000"/>
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:maxLength value="32000"/>
15
+ </xs:restriction>
16
+ </xs:simpleType>
17
+ </xs:element>
18
+ <xs:element name="Description" minOccurs="0">
19
+ <xs:simpleType>
20
+ <xs:restriction base="xs:string">
21
+ <xs:maxLength value="32000"/>
22
+ </xs:restriction>
23
+ </xs:simpleType>
24
+ </xs:element>
25
+ </xs:sequence>
26
+ </xs:complexType>
27
+ </xs:schema>
@@ -0,0 +1,23 @@
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/ActionCode.xsd"/>
4
+ <xs:group name="CommonMetadata">
5
+ <xs:sequence>
6
+ <xs:element name="UpdatedOn" type="xs:dateTime" minOccurs="0">
7
+ <xs:annotation>
8
+ <xs:documentation>Last Modified Date</xs:documentation>
9
+ </xs:annotation>
10
+ </xs:element>
11
+ <xs:element name="ActionCode" type="ActionCode" minOccurs="0">
12
+ <xs:annotation>
13
+ <xs:documentation>A/U/D for Add/Update/Delete</xs:documentation>
14
+ </xs:annotation>
15
+ </xs:element>
16
+ <xs:element name="ExternalId" type="xs:string" minOccurs="0">
17
+ <xs:annotation>
18
+ <xs:documentation>Unique Identifier</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:element>
21
+ </xs:sequence>
22
+ </xs:group>
23
+ </xs:schema>
@@ -0,0 +1,55 @@
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="ContactDetail">
3
+ <xs:sequence>
4
+ <xs:element name="Value" minOccurs="0">
5
+ <xs:annotation>
6
+ <xs:documentation>The contact detail = phome number or email id</xs:documentation>
7
+ </xs:annotation>
8
+ <xs:simpleType>
9
+ <xs:restriction base="xs:string">
10
+ <xs:maxLength value="80"/>
11
+ </xs:restriction>
12
+ </xs:simpleType>
13
+ </xs:element>
14
+ <xs:element name="Comments" minOccurs="0">
15
+ <xs:annotation>
16
+ <xs:documentation></xs:documentation>
17
+ </xs:annotation>
18
+ <xs:simpleType>
19
+ <xs:restriction base="xs:string">
20
+ <xs:maxLength value="70"/>
21
+ </xs:restriction>
22
+ </xs:simpleType>
23
+ </xs:element>
24
+ </xs:sequence>
25
+ <xs:attribute name="use">
26
+ <xs:annotation>
27
+ <xs:documentation>Based on HL7 table 201</xs:documentation>
28
+ </xs:annotation>
29
+ <xs:simpleType>
30
+ <xs:restriction base="xs:string">
31
+ <xs:enumeration value="PRN">
32
+ <xs:annotation>
33
+ <xs:documentation>Home Phone</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:enumeration>
36
+ <xs:enumeration value="WPN">
37
+ <xs:annotation>
38
+ <xs:documentation>Work Phone</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:enumeration>
41
+ <xs:enumeration value="PRS">
42
+ <xs:annotation>
43
+ <xs:documentation>Mobile Number</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:enumeration>
46
+ <xs:enumeration value="NET">
47
+ <xs:annotation>
48
+ <xs:documentation>Email</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:enumeration>
51
+ </xs:restriction>
52
+ </xs:simpleType>
53
+ </xs:attribute>
54
+ </xs:complexType>
55
+ </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
+
3
+ <xs:include schemaLocation="CF_DMD.xsd"/>
4
+ <xs:include schemaLocation="CF_SNOMED.xsd"/>
5
+ <xs:include schemaLocation="CF_RR23.xsd"/>
6
+
7
+ <xs:complexType name="DrugProduct">
8
+ <xs:sequence>
9
+ <xs:element name="Id" type="CF_DMD">
10
+ <xs:annotation>
11
+ <xs:documentation>dm + d code for the drug</xs:documentation>
12
+ </xs:annotation>
13
+ </xs:element>
14
+ <xs:element name="Generic" type="xs:string" minOccurs="0">
15
+ <xs:annotation>
16
+ <xs:documentation>Generic name</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ <xs:element name="LabelName" minOccurs="0">
20
+ <xs:annotation>
21
+ <xs:documentation>Brand Name</xs:documentation>
22
+ </xs:annotation>
23
+ <xs:simpleType>
24
+ <xs:restriction base="xs:string">
25
+ <xs:maxLength value="220"/>
26
+ </xs:restriction>
27
+ </xs:simpleType>
28
+ </xs:element>
29
+ <xs:element name="Form" minOccurs="0" type="CF_SNOMED">
30
+ <xs:annotation>
31
+ <xs:documentation>SNOMED Code and description</xs:documentation>
32
+ </xs:annotation>
33
+ </xs:element>
34
+ <xs:element name="StrengthUnits" type="CF_RR23" minOccurs="0">
35
+ <xs:annotation>
36
+ <xs:documentation>Units</xs:documentation>
37
+ </xs:annotation>
38
+ </xs:element>
39
+ </xs:sequence>
40
+ </xs:complexType>
41
+ </xs:schema>
@@ -0,0 +1,114 @@
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="EthnicGroup">
3
+ <xs:sequence>
4
+ <xs:element name="CodingStandard" minOccurs="0">
5
+ <xs:simpleType>
6
+ <xs:restriction base="xs:string">
7
+ <xs:enumeration value="NHS_DATA_DICTIONARY"/>
8
+ <!-- TODO: Use OID? -->
9
+ </xs:restriction>
10
+ </xs:simpleType>
11
+ </xs:element>
12
+
13
+ <xs:element name="Code" minOccurs="0">
14
+ <xs:simpleType>
15
+ <xs:restriction base="xs:string">
16
+ <xs:enumeration value="A">
17
+ <xs:annotation>
18
+ <xs:documentation>British</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:enumeration>
21
+ <xs:enumeration value="B">
22
+ <xs:annotation>
23
+ <xs:documentation>Irish</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:enumeration>
26
+ <xs:enumeration value="C">
27
+ <xs:annotation>
28
+ <xs:documentation>Any other White background</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:enumeration>
31
+ <xs:enumeration value="D">
32
+ <xs:annotation>
33
+ <xs:documentation>White and Black Caribbean</xs:documentation>
34
+ </xs:annotation>
35
+ </xs:enumeration>
36
+ <xs:enumeration value="E">
37
+ <xs:annotation>
38
+ <xs:documentation>White and Black African</xs:documentation>
39
+ </xs:annotation>
40
+ </xs:enumeration>
41
+ <xs:enumeration value="F">
42
+ <xs:annotation>
43
+ <xs:documentation>White and Asian</xs:documentation>
44
+ </xs:annotation>
45
+ </xs:enumeration>
46
+ <xs:enumeration value="G">
47
+ <xs:annotation>
48
+ <xs:documentation>Any other mixed background</xs:documentation>
49
+ </xs:annotation>
50
+ </xs:enumeration>
51
+ <xs:enumeration value="H">
52
+ <xs:annotation>
53
+ <xs:documentation>Indian</xs:documentation>
54
+ </xs:annotation>
55
+ </xs:enumeration>
56
+ <xs:enumeration value="J">
57
+ <xs:annotation>
58
+ <xs:documentation>Pakistani</xs:documentation>
59
+ </xs:annotation>
60
+ </xs:enumeration>
61
+ <xs:enumeration value="K">
62
+ <xs:annotation>
63
+ <xs:documentation>Bangladeshi</xs:documentation>
64
+ </xs:annotation>
65
+ </xs:enumeration>
66
+ <xs:enumeration value="L">
67
+ <xs:annotation>
68
+ <xs:documentation>Any other Asian background</xs:documentation>
69
+ </xs:annotation>
70
+ </xs:enumeration>
71
+ <xs:enumeration value="M">
72
+ <xs:annotation>
73
+ <xs:documentation>Caribbean</xs:documentation>
74
+ </xs:annotation>
75
+ </xs:enumeration>
76
+ <xs:enumeration value="N">
77
+ <xs:annotation>
78
+ <xs:documentation>African</xs:documentation>
79
+ </xs:annotation>
80
+ </xs:enumeration>
81
+ <xs:enumeration value="P">
82
+ <xs:annotation>
83
+ <xs:documentation>Any other Black background</xs:documentation>
84
+ </xs:annotation>
85
+ </xs:enumeration>
86
+ <xs:enumeration value="R">
87
+ <xs:annotation>
88
+ <xs:documentation>Chinese</xs:documentation>
89
+ </xs:annotation>
90
+ </xs:enumeration>
91
+ <xs:enumeration value="S">
92
+ <xs:annotation>
93
+ <xs:documentation>Any other ethnic group</xs:documentation>
94
+ </xs:annotation>
95
+ </xs:enumeration>
96
+ <xs:enumeration value="Z">
97
+ <xs:annotation>
98
+ <xs:documentation>Not stated</xs:documentation>
99
+ </xs:annotation>
100
+ </xs:enumeration>
101
+ </xs:restriction>
102
+ </xs:simpleType>
103
+ </xs:element>
104
+
105
+ <xs:element name="Description" minOccurs="0">
106
+ <xs:simpleType>
107
+ <xs:restriction base="xs:string">
108
+ <xs:maxLength value="32000"/>
109
+ </xs:restriction>
110
+ </xs:simpleType>
111
+ </xs:element>
112
+ </xs:sequence>
113
+ </xs:complexType>
114
+ </xs:schema>
@@ -0,0 +1,21 @@
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="FamilyDoctor">
3
+ <xs:sequence>
4
+ <xs:element name="GPPracticeId">
5
+ <xs:annotation>
6
+ <xs:documentation>National GP Practice Code</xs:documentation>
7
+ </xs:annotation>
8
+ <xs:simpleType>
9
+ <xs:restriction base="xs:string">
10
+ <xs:maxLength value="32000"/>
11
+ </xs:restriction>
12
+ </xs:simpleType>
13
+ </xs:element>
14
+ <xs:element name="GPId" type="xs:string" minOccurs="0">
15
+ <xs:annotation>
16
+ <xs:documentation>National GP Code</xs:documentation>
17
+ </xs:annotation>
18
+ </xs:element>
19
+ </xs:sequence>
20
+ </xs:complexType>
21
+ </xs:schema>
@@ -0,0 +1,160 @@
1
+ <xs:schema xmlns="http://www.rixg.org.uk/" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.rixg.org.uk/">
2
+
3
+ <xs:complexType name="LabResultItem">
4
+ <xs:annotation>
5
+ <xs:documentation>This class contains the details of the LabTestItems included in a Lab (Atomic) Result.
6
+ Generally there is one record per LabTestItem.
7
+ But for Antiobiotic Sensitivity tests we store one record for the 'header'
8
+ item and one for each of the sensitivities (with the same SubId)</xs:documentation>
9
+ </xs:annotation>
10
+ <xs:sequence>
11
+ <xs:element minOccurs="0" name="EnteredAt" type="Organization">
12
+ <xs:annotation>
13
+ <xs:documentation>Source System name</xs:documentation>
14
+ </xs:annotation>
15
+ </xs:element>
16
+ <xs:element minOccurs="0" name="EnteredOn" type="TimeStamp">
17
+ <xs:annotation>
18
+ <xs:documentation>date/time updated or entered. For labs, this represents when the order was placed.</xs:documentation>
19
+ </xs:annotation>
20
+ </xs:element>
21
+ <xs:element minOccurs="0" name="CustomPairs" type="ArrayOfNVPairNVPair">
22
+ <xs:annotation>
23
+ <xs:documentation>The generic container to hold all sorts of data about this object</xs:documentation>
24
+ </xs:annotation>
25
+ </xs:element>
26
+ <!-- <xs:element minOccurs="0" name="TestItemCode" type="LabTestItem">
27
+ <xs:annotation>
28
+ <xs:documentation>Code for test item</xs:documentation>
29
+ </xs:annotation>
30
+ </xs:element>
31
+ -->
32
+ <xs:element minOccurs="0" name="ResultValue" type="xs:string">
33
+ <xs:annotation>
34
+ <xs:documentation>Result's value</xs:documentation>
35
+ </xs:annotation>
36
+ </xs:element>
37
+ <xs:element minOccurs="0" name="SubId">
38
+ <xs:annotation>
39
+ <xs:documentation>An id that ties together different parts of a result</xs:documentation>
40
+ </xs:annotation>
41
+ <xs:simpleType>
42
+ <xs:restriction base="xs:string">
43
+ <xs:maxLength value="30"/>
44
+ </xs:restriction>
45
+ </xs:simpleType>
46
+ </xs:element>
47
+ <xs:element minOccurs="0" name="ResultValueUnits">
48
+ <xs:annotation>
49
+ <xs:documentation>Units of result value</xs:documentation>
50
+ </xs:annotation>
51
+ <xs:simpleType>
52
+ <xs:restriction base="xs:string">
53
+ <xs:maxLength value="30"/>
54
+ </xs:restriction>
55
+ </xs:simpleType>
56
+ </xs:element>
57
+ <xs:element minOccurs="0" name="ResultNormalRange">
58
+ <xs:annotation>
59
+ <xs:documentation></xs:documentation>
60
+ </xs:annotation>
61
+ <xs:simpleType>
62
+ <xs:restriction base="xs:string">
63
+ <xs:maxLength value="220"/>
64
+ </xs:restriction>
65
+ </xs:simpleType>
66
+ </xs:element>
67
+ <xs:element minOccurs="0" name="ResultInterpretation">
68
+ <xs:annotation>
69
+ <xs:documentation></xs:documentation>
70
+ </xs:annotation>
71
+ <xs:simpleType>
72
+ <xs:restriction base="xs:string">
73
+ <xs:maxLength value="100"/>
74
+ </xs:restriction>
75
+ </xs:simpleType>
76
+ </xs:element>
77
+ <xs:element minOccurs="0" name="TestItemStatus">
78
+ <xs:annotation>
79
+ <xs:documentation></xs:documentation>
80
+ </xs:annotation>
81
+ <xs:simpleType>
82
+ <xs:restriction base="xs:string">
83
+ <xs:maxLength value="100"/>
84
+ </xs:restriction>
85
+ </xs:simpleType>
86
+ </xs:element>
87
+ <xs:element minOccurs="0" name="Comments" type="xs:string">
88
+ <xs:annotation>
89
+ <xs:documentation></xs:documentation>
90
+ </xs:annotation>
91
+ </xs:element>
92
+ <xs:element minOccurs="0" name="ReferenceComment">
93
+ <xs:annotation>
94
+ <xs:documentation>Reference Comment</xs:documentation>
95
+ </xs:annotation>
96
+ <xs:simpleType>
97
+ <xs:restriction base="xs:string">
98
+ <xs:maxLength value="1000"/>
99
+ </xs:restriction>
100
+ </xs:simpleType>
101
+ </xs:element>
102
+ <xs:element minOccurs="0" name="PerformedAt" type="Organization">
103
+ <xs:annotation>
104
+ <xs:documentation>PerformedAt / ProducersID</xs:documentation>
105
+ </xs:annotation>
106
+ </xs:element>
107
+ <xs:element minOccurs="0" name="EnteredBy" type="User">
108
+ <xs:annotation>
109
+ <xs:documentation></xs:documentation>
110
+ </xs:annotation>
111
+ </xs:element>
112
+ <xs:element minOccurs="0" name="ActionCode" type="xs:string">
113
+ <xs:annotation>
114
+ <xs:documentation>Not used.</xs:documentation>
115
+ </xs:annotation>
116
+ </xs:element>
117
+ <xs:element minOccurs="0" name="ActionScope" type="xs:string">
118
+ <xs:annotation>
119
+ <xs:documentation>Not used.</xs:documentation>
120
+ </xs:annotation>
121
+ </xs:element>
122
+ <xs:element minOccurs="0" name="UpdatedOn" type="TimeStamp">
123
+ <xs:annotation>
124
+ <xs:documentation>Not used.</xs:documentation>
125
+ </xs:annotation>
126
+ </xs:element>
127
+ <xs:element minOccurs="0" name="ExternalId">
128
+ <xs:annotation>
129
+ <xs:documentation>Not used.</xs:documentation>
130
+ </xs:annotation>
131
+ <xs:simpleType>
132
+ <xs:restriction base="xs:string">
133
+ <xs:maxLength value="220"/>
134
+ </xs:restriction>
135
+ </xs:simpleType>
136
+ </xs:element>
137
+ <xs:element minOccurs="0" name="EncounterNumber">
138
+ <xs:annotation>
139
+ <xs:documentation>Not used.</xs:documentation>
140
+ </xs:annotation>
141
+ <xs:simpleType>
142
+ <xs:restriction base="xs:string">
143
+ <xs:maxLength value="220"/>
144
+ </xs:restriction>
145
+ </xs:simpleType>
146
+ </xs:element>
147
+ <xs:element minOccurs="0" name="FromTime" type="TimeStamp">
148
+ <xs:annotation>
149
+ <xs:documentation>Not used.</xs:documentation>
150
+ </xs:annotation>
151
+ </xs:element>
152
+ <xs:element minOccurs="0" name="ToTime" type="TimeStamp">
153
+ <xs:annotation>
154
+ <xs:documentation>Not used.</xs:documentation>
155
+ </xs:annotation>
156
+ </xs:element>
157
+ </xs:sequence>
158
+ </xs:complexType>
159
+
160
+ </xs:schema>