renalware-core 2.0.0.pre.beta6 → 2.0.0.pre.beta7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/MIT-LICENSE +20 -0
- data/lib/renalware/version.rb +1 -1
- data/spec/factories/accesses/patients.rb +3 -0
- data/spec/factories/accesses/plans.rb +11 -0
- data/spec/factories/accesses/plans_types.rb +5 -0
- data/spec/factories/accesses/procedures.rb +7 -0
- data/spec/factories/accesses/profiles.rb +14 -0
- data/spec/factories/accesses/sites.rb +6 -0
- data/spec/factories/accesses/types.rb +8 -0
- data/spec/factories/clinical/allergies.rb +7 -0
- data/spec/factories/clinical/body_compositions.rb +23 -0
- data/spec/factories/clinical/dry_weights.rb +11 -0
- data/spec/factories/clinical/patients.rb +3 -0
- data/spec/factories/clinics/appointments.rb +8 -0
- data/spec/factories/clinics/clinic_visits.rb +16 -0
- data/spec/factories/clinics/clinics.rb +6 -0
- data/spec/factories/deaths/cause.rb +6 -0
- data/spec/factories/deaths/modality_descriptions.rb +5 -0
- data/spec/factories/directory/people.rb +9 -0
- data/spec/factories/drugs/drug.rb +5 -0
- data/spec/factories/drugs/drug_types.rb +6 -0
- data/spec/factories/events/events.rb +26 -0
- data/spec/factories/events/events_types.rb +16 -0
- data/spec/factories/hd/cannulation_types.rb +5 -0
- data/spec/factories/hd/dialysers.rb +6 -0
- data/spec/factories/hd/hd_session_document.rb +69 -0
- data/spec/factories/hd/modality_descriptions.rb +5 -0
- data/spec/factories/hd/patient_statistics.rb +8 -0
- data/spec/factories/hd/patients.rb +3 -0
- data/spec/factories/hd/preference_sets.rb +10 -0
- data/spec/factories/hd/profiles.rb +18 -0
- data/spec/factories/hd/sessions.rb +34 -0
- data/spec/factories/hd/stations.rb +5 -0
- data/spec/factories/hospitals/centres.rb +6 -0
- data/spec/factories/hospitals/units.rb +15 -0
- data/spec/factories/letters/archives.rb +5 -0
- data/spec/factories/letters/contact_descriptions.rb +16 -0
- data/spec/factories/letters/contacts.rb +5 -0
- data/spec/factories/letters/descriptions.rb +5 -0
- data/spec/factories/letters/letterheads.rb +10 -0
- data/spec/factories/letters/letters.rb +25 -0
- data/spec/factories/letters/patients.rb +3 -0
- data/spec/factories/letters/primary_care_physicians.rb +5 -0
- data/spec/factories/letters/recipients.rb +11 -0
- data/spec/factories/medications/medication_route.rb +11 -0
- data/spec/factories/medications/prescription.rb +17 -0
- data/spec/factories/medications/prescription_terminations.rb +7 -0
- data/spec/factories/medications/prescription_version.rb +4 -0
- data/spec/factories/messaging/authors.rb +5 -0
- data/spec/factories/messaging/message.rb +11 -0
- data/spec/factories/messaging/patients.rb +5 -0
- data/spec/factories/messaging/receipt.rb +7 -0
- data/spec/factories/messaging/recipients.rb +5 -0
- data/spec/factories/modalities/modalities.rb +27 -0
- data/spec/factories/modalities/modality_descriptions.rb +34 -0
- data/spec/factories/modalities/modality_reasons.rb +20 -0
- data/spec/factories/pathology/consultant.rb +3 -0
- data/spec/factories/pathology/lab.rb +5 -0
- data/spec/factories/pathology/measurement_units.rb +8 -0
- data/spec/factories/pathology/observation_descriptions.rb +7 -0
- data/spec/factories/pathology/observation_requests.rb +8 -0
- data/spec/factories/pathology/observations.rb +8 -0
- data/spec/factories/pathology/patients.rb +3 -0
- data/spec/factories/pathology/request_descriptions.rb +6 -0
- data/spec/factories/pathology/requests/drug_category.rb +6 -0
- data/spec/factories/pathology/requests/global_rule.rb +7 -0
- data/spec/factories/pathology/requests/global_rule_set.rb +6 -0
- data/spec/factories/pathology/requests/patient_rule.rb +13 -0
- data/spec/factories/pathology/requests/request.rb +10 -0
- data/spec/factories/patients/alerts.rb +8 -0
- data/spec/factories/patients/bookmarks.rb +6 -0
- data/spec/factories/patients/ethnicities.rb +6 -0
- data/spec/factories/patients/languages.rb +5 -0
- data/spec/factories/patients/patients.rb +32 -0
- data/spec/factories/patients/practices.rb +17 -0
- data/spec/factories/patients/primary_care_physicians.rb +21 -0
- data/spec/factories/patients/religions.rb +5 -0
- data/spec/factories/patients/users.rb +3 -0
- data/spec/factories/pd/assessments.rb +22 -0
- data/spec/factories/pd/bag_types.rb +17 -0
- data/spec/factories/pd/episode_types.rb +6 -0
- data/spec/factories/pd/exit_site_infections.rb +9 -0
- data/spec/factories/pd/fluid_descriptions.rb +6 -0
- data/spec/factories/pd/infection_organisms.rb +10 -0
- data/spec/factories/pd/modality_descriptions.rb +5 -0
- data/spec/factories/pd/organism_codes.rb +6 -0
- data/spec/factories/pd/patients.rb +3 -0
- data/spec/factories/pd/pd_regimes.rb +36 -0
- data/spec/factories/pd/peritonitis_episode_type_descriptions.rb +8 -0
- data/spec/factories/pd/peritonitis_episodes.rb +20 -0
- data/spec/factories/pd/pet_adequacies.rb +38 -0
- data/spec/factories/pd/regime_bags.rb +44 -0
- data/spec/factories/pd/systems.rb +11 -0
- data/spec/factories/pd/training_sessions.rb +16 -0
- data/spec/factories/pd/training_sites.rb +6 -0
- data/spec/factories/pd/training_types.rb +5 -0
- data/spec/factories/problems/problems.rb +7 -0
- data/spec/factories/renal/patients.rb +3 -0
- data/spec/factories/renal/prd_description.rb +6 -0
- data/spec/factories/renal/profiles.rb +5 -0
- data/spec/factories/reporting/audits.rb +8 -0
- data/spec/factories/snippets/snippets.rb +6 -0
- data/spec/factories/snippets/users.rb +4 -0
- data/spec/factories/system/addresses.rb +11 -0
- data/spec/factories/system/roles.rb +27 -0
- data/spec/factories/system/templates.rb +15 -0
- data/spec/factories/system/users.rb +58 -0
- data/spec/factories/transplants/donations.rb +8 -0
- data/spec/factories/transplants/donor_stage.rb +12 -0
- data/spec/factories/transplants/donor_stage_position.rb +5 -0
- data/spec/factories/transplants/donor_stage_status.rb +5 -0
- data/spec/factories/transplants/live_donor_modality_description.rb +6 -0
- data/spec/factories/transplants/modality_descriptions.rb +10 -0
- data/spec/factories/transplants/patients.rb +3 -0
- data/spec/factories/transplants/recipient_followups.rb +4 -0
- data/spec/factories/transplants/recipient_operations.rb +15 -0
- data/spec/factories/transplants/registration_status_descriptions.rb +7 -0
- data/spec/factories/transplants/registration_statuses.rb +9 -0
- data/spec/factories/transplants/registrations.rb +46 -0
- data/spec/support/capybara_helper.rb +9 -0
- data/spec/support/database_cleaner.rb +18 -0
- data/spec/support/date_helpers.rb +9 -0
- data/spec/support/devise_spec_helper.rb +29 -0
- data/spec/support/drugs_spec_helper.rb +49 -0
- data/spec/support/factory_girl.rb +29 -0
- data/spec/support/json_helpers.rb +5 -0
- data/spec/support/letters_spec_helper.rb +36 -0
- data/spec/support/login_macros.rb +26 -0
- data/spec/support/matchers/document.rb +5 -0
- data/spec/support/matchers/validate_timeliness_of.rb +16 -0
- data/spec/support/pathology_spec_helper.rb +37 -0
- data/spec/support/patients_spec_helper.rb +16 -0
- data/spec/support/poltergeist.rb +2 -0
- data/spec/support/pundit_matcher.rb +13 -0
- data/spec/support/roles_spec_helper.rb +7 -0
- data/spec/support/select2_spec_helper.rb +13 -0
- data/spec/support/select_date_spec_helper.rb +11 -0
- data/spec/support/shared_contexts/a_global_rule_set.rb +19 -0
- data/spec/support/translations.rb +12 -0
- data/spec/support/travel.rb +7 -0
- data/spec/support/webmock.rb +3 -0
- metadata +142 -58
- data/vendor/xsd/ukrdc/README.md +0 -9
- data/vendor/xsd/ukrdc/Schema/Allergies/Allergy.xsd +0 -69
- data/vendor/xsd/ukrdc/Schema/ClinicalRelationships/ClinicalRelationship.xsd +0 -27
- data/vendor/xsd/ukrdc/Schema/Diagnoses/CauseOfDeath.xsd +0 -32
- data/vendor/xsd/ukrdc/Schema/Diagnoses/Diagnosis.xsd +0 -41
- data/vendor/xsd/ukrdc/Schema/Diagnoses/RenalDiagnosis.xsd +0 -41
- data/vendor/xsd/ukrdc/Schema/Documents/Document.xsd +0 -72
- data/vendor/xsd/ukrdc/Schema/Encounters/Encounter.xsd +0 -121
- data/vendor/xsd/ukrdc/Schema/Encounters/TransplantList.xsd +0 -108
- data/vendor/xsd/ukrdc/Schema/Encounters/Treatment.xsd +0 -207
- data/vendor/xsd/ukrdc/Schema/FamilyHistories/FamilyHistory.xsd +0 -42
- data/vendor/xsd/ukrdc/Schema/LabOrders/LabOrder.xsd +0 -181
- data/vendor/xsd/ukrdc/Schema/Medications/Medication.xsd +0 -88
- data/vendor/xsd/ukrdc/Schema/Observations/Observation.xsd +0 -65
- data/vendor/xsd/ukrdc/Schema/Patient.xsd +0 -87
- data/vendor/xsd/ukrdc/Schema/Procedures/DialysisSession.xsd +0 -61
- data/vendor/xsd/ukrdc/Schema/Procedures/Procedure.xsd +0 -38
- data/vendor/xsd/ukrdc/Schema/Procedures/Transplant.xsd +0 -160
- data/vendor/xsd/ukrdc/Schema/Procedures/VascularAccess.xsd +0 -49
- data/vendor/xsd/ukrdc/Schema/ProgramMemberships/ProgramMembership.xsd +0 -46
- data/vendor/xsd/ukrdc/Schema/README.md +0 -1
- data/vendor/xsd/ukrdc/Schema/SocialHistories/SocialHistory.xsd +0 -15
- data/vendor/xsd/ukrdc/Schema/Surveys/Survey.xsd +0 -143
- data/vendor/xsd/ukrdc/Schema/Types/ActionCode.xsd +0 -37
- data/vendor/xsd/ukrdc/Schema/Types/Address.xsd +0 -67
- data/vendor/xsd/ukrdc/Schema/Types/CF_DMD.xsd +0 -27
- data/vendor/xsd/ukrdc/Schema/Types/CF_EDTA_COD.xsd +0 -343
- data/vendor/xsd/ukrdc/Schema/Types/CF_EDTA_PRD.xsd +0 -356
- data/vendor/xsd/ukrdc/Schema/Types/CF_HL7_0004.xsd +0 -76
- data/vendor/xsd/ukrdc/Schema/Types/CF_HL7_00204.xsd +0 -46
- data/vendor/xsd/ukrdc/Schema/Types/CF_HL7_00206.xsd +0 -41
- data/vendor/xsd/ukrdc/Schema/Types/CF_RR1.xsd +0 -567
- data/vendor/xsd/ukrdc/Schema/Types/CF_RR23.xsd +0 -82
- data/vendor/xsd/ukrdc/Schema/Types/CF_RR7_Discharge.xsd +0 -80
- data/vendor/xsd/ukrdc/Schema/Types/CF_RR7_Treatment.xsd +0 -241
- data/vendor/xsd/ukrdc/Schema/Types/CF_SNOMED.xsd +0 -27
- data/vendor/xsd/ukrdc/Schema/Types/Clinician.xsd +0 -27
- data/vendor/xsd/ukrdc/Schema/Types/CodeTableDetail.xsd +0 -27
- data/vendor/xsd/ukrdc/Schema/Types/CodedField.xsd +0 -27
- data/vendor/xsd/ukrdc/Schema/Types/CommonMetadata.xsd +0 -23
- data/vendor/xsd/ukrdc/Schema/Types/ContactDetail.xsd +0 -55
- data/vendor/xsd/ukrdc/Schema/Types/DrugProduct.xsd +0 -41
- data/vendor/xsd/ukrdc/Schema/Types/EthnicGroup.xsd +0 -114
- data/vendor/xsd/ukrdc/Schema/Types/FamilyDoctor.xsd +0 -21
- data/vendor/xsd/ukrdc/Schema/Types/LabResultItem.xsd +0 -160
- data/vendor/xsd/ukrdc/Schema/Types/LabTestItem.xsd +0 -24
- data/vendor/xsd/ukrdc/Schema/Types/Language.xsd +0 -981
- data/vendor/xsd/ukrdc/Schema/Types/Location.xsd +0 -27
- data/vendor/xsd/ukrdc/Schema/Types/NV_RR14.xsd +0 -39
- data/vendor/xsd/ukrdc/Schema/Types/Name.xsd +0 -51
- data/vendor/xsd/ukrdc/Schema/Types/Occupation.xsd +0 -75
- data/vendor/xsd/ukrdc/Schema/Types/Order.xsd +0 -48
- data/vendor/xsd/ukrdc/Schema/Types/PatientNumber.xsd +0 -90
- data/vendor/xsd/ukrdc/Schema/Types/PersonalContactType.xsd +0 -11
- data/vendor/xsd/ukrdc/Schema/Types/Result.xsd +0 -178
- data/vendor/xsd/ukrdc/Schema/UKRDC.xsd +0 -148
@@ -1,27 +0,0 @@
|
|
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>
|
@@ -1,27 +0,0 @@
|
|
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>
|
@@ -1,23 +0,0 @@
|
|
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>
|
@@ -1,55 +0,0 @@
|
|
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>
|
@@ -1,41 +0,0 @@
|
|
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>
|
@@ -1,114 +0,0 @@
|
|
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>
|
@@ -1,21 +0,0 @@
|
|
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>
|
@@ -1,160 +0,0 @@
|
|
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>
|