-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPRAPAREschema.xsd
81 lines (79 loc) · 3.18 KB
/
PRAPAREschema.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
<xs:element name="PRAPARE_Assessment">
<xs:complexType>
<xs:sequence>
<xs:element name="patient_id" type="xs:string"/>
<xs:element name="assessment_date" type="xs:date"/>
<xs:element name="housing_status">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Stable"/>
<xs:enumeration value="Temporary"/>
<xs:enumeration value="Unstable"/>
<xs:enumeration value="Homeless"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="household_composition">
<xs:complexType>
<xs:sequence>
<xs:element name="adults" type="xs:integer"/>
<xs:element name="children" type="xs:integer"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="education_level">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Less than high school"/>
<xs:enumeration value="High school graduate or GED"/>
<xs:enumeration value="Some college or technical school"/>
<xs:enumeration value="College graduate"/>
<xs:enumeration value="Postgraduate"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="employment_status">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Employed"/>
<xs:enumeration value="Unemployed"/>
<xs:enumeration value="Student"/>
<xs:enumeration value="Retired"/>
<xs:enumeration value="Unable to work"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="insurance_status">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="Insured"/>
<xs:enumeration value="Uninsured"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="race_ethnicity">
<xs:complexType>
<xs:sequence>
<xs:element name="race" maxOccurs="unbounded">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="American Indian/Alaskan Native"/>
<xs:enumeration value="Asian"/>
<xs:enumeration value="Black/African American"/>
<xs:enumeration value="Hispanic/Latino"/>
<xs:enumeration value="Native Hawaiian/Other Pacific Islander"/>
<xs:enumeration value="White"/>
<xs:enumeration value="Other"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="language" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:schema>