-
Notifications
You must be signed in to change notification settings - Fork 6
/
HUD_HMIS.xsd
6427 lines (6270 loc) · 278 KB
/
HUD_HMIS.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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.1" encoding="UTF-8"?>
<xs:schema
targetNamespace="http://www.hudhdx.info/Resources/Vendors/4_1_8/HUD_HMIS.xsd"
xmlns="http://www.hudhdx.info/Resources/Vendors/4_1_8/HUD_HMIS.xsd"
xmlns:hmis="http://www.hudhdx.info/Resources/Vendors/4_1_8/HUD_HMIS.xsd"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:fn="http://www.w3.org/2005/xpath-functions"
xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning"
vc:minVersion = "1.1"
elementFormDefault="qualified"
attributeFormDefault="qualified"
version="4.1.8">
<xs:defaultOpenContent mode="interleave" appliesToEmpty="true">
<xs:annotation>
<xs:documentation>Allows the schema to be extended with a different namespace. See "Open Content" in http://www.w3.org/TR/xmlschema11-1/#cvc-wildcard
http://www.w3.org/TR/xmlschema11-1/#cvc-wildcard</xs:documentation>
</xs:annotation>
<xs:any notNamespace="##targetNamespace"/>
</xs:defaultOpenContent>
<xs:element name="Sources" type="hmis:sources">
<xs:annotation>
<xs:documentation xml:lang="en">XML Root element. A description of what software provider and organization are sending this XML information. Many sources can be grouped together into one XML file.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:complexType name="affiliation">
<xs:sequence>
<xs:element name="AffiliationID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the Affiliation's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to a Project element</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResProjectID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">See HMIS Data Dictionary (Proposed Amendment), Section 2.4, Project Type, #2AB.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="bedInventory">
<xs:sequence>
<xs:element name="BedInventory" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 2.7, #5.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Project Setup Guidance, Project Descriptor Data Elements (formerly Program Descriptor Data Elements), p. 14.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CHBedInventory" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 2.7, Chronic Homeless Bed Inventory (PSH Only), #5.A.1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Project Setup Guidance, Project Descriptor Data Elements (formerly Program Descriptor Data Elements), p. 14.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VetBedInventory" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 2.7, ,#5.A.2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Project Setup Guidance, Project Descriptor Data Elements (formerly Program Descriptor Data Elements), p. 14.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="YouthBedInventory" type="xs:nonNegativeInteger" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 2.7, #5.A.3.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Project Setup Guidance, Project Descriptor Data Elements (formerly Program Descriptor Data Elements), p. 14.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="YouthAgeGroup" type="youthAgeGroup" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 2.7, #5.B.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Project Setup Guidance, Project Descriptor Data Elements (formerly Program Descriptor Data Elements), p. 14.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="client">
<xs:sequence>
<xs:element name="PersonalID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.13.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.13.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FirstName" type="hmis:nameHashingOption" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.1, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.1.</xs:documentation>
</xs:annotation>
<xs:alternative test="@hmis:hashStatus='1'" type="hmis:nameHashingOptionPlain"/>
<xs:alternative test="@hmis:hashStatus='2'" type="hmis:nameHashingOptionSHA1RHY"/>
<xs:alternative test="@hmis:hashStatus='3'" type="hmis:nameHashingOption"/>
</xs:element>
<xs:element name="MiddleName" type="hmis:nameHashingOption" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.1, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.1.</xs:documentation>
</xs:annotation>
<xs:alternative test="@hmis:hashStatus='1'" type="hmis:nameHashingOptionPlain"/>
<xs:alternative test="@hmis:hashStatus='2'" type="hmis:nameHashingOptionSHA1RHY"/>
<xs:alternative test="@hmis:hashStatus='3'" type="hmis:nameHashingOption"/>
</xs:element>
<xs:element name="LastName" type="hmis:nameHashingOption" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.1, #3.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.1.</xs:documentation>
</xs:annotation>
<xs:alternative test="@hmis:hashStatus='1'" type="hmis:nameHashingOptionPlain"/>
<xs:alternative test="@hmis:hashStatus='2'" type="hmis:nameHashingOptionSHA1RHY"/>
<xs:alternative test="@hmis:hashStatus='3'" type="hmis:nameHashingOption"/>
</xs:element>
<xs:element name="NameSuffix" type="hmis:string50" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.1, #4.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.1.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NameDataQuality" type="hmis:nameDataQuality">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.1, #5.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.1.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SSN" type="hmis:ssnHashingOption" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.2, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.2.</xs:documentation>
<xs:documentation xml:lang="en">Unknown SSN digits should be indicated with a lower case "x".</xs:documentation>
</xs:annotation>
<xs:alternative test="@hmis:hashStatus='1'" type="hmis:ssnHashingOptionPlain"/>
<xs:alternative test="@hmis:hashStatus='2'" type="hmis:ssnHashingOptionSHA1RHY"/>
<xs:alternative test="@hmis:hashStatus='3'" type="hmis:ssnHashingOption"/>
<xs:alternative test="@hmis:hashStatus" type="hmis:ssnHashingOptionPlain"/>
</xs:element>
<xs:element name="SSNDataQuality" type="hmis:ssnDataQuality">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.2, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.2.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DOB" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.3, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.3.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DOBDataQuality" type="hmis:dobDataQuality">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.3, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.3.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Gender" type="hmis:gender">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.6, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.6.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OtherGender" type="hmis:string50" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.6, #1A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.6.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Ethnicity" type="hmis:ethnicity">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.5, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.5.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Race" type="hmis:race" maxOccurs="5">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.4, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.4.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VeteranStatus" type="hmis:fiveValDKRefused">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.7, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.7.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
<!--Testing if Gender is 4, before allowing use of OtherGender-->
<xs:assert test="if (hmis:Gender/text()='4') then boolean(hmis:OtherGender) else (if (not(hmis:Gender/text()='4')) then (not(boolean(hmis:OtherGender))) else false())"/>
</xs:complexType>
<xs:complexType name="coc">
<xs:sequence>
<xs:element name="CoCCode" type="hmis:cocCode">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the CoCCode ID</xs:documentation>
</xs:annotation>
</xs:element>
<!--<xs:element name="ProjectID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Project ID</xs:documentation>
</xs:annotation>
</xs:element> -->
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="contact">
<xs:sequence>
<xs:element name="ContactID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the Contact's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContactDate" type="xs:dateTime">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.12, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.12.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ContactLocation" type="hmis:contactLocation">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.12, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.12.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
<!--Testing if Gender is 4, before allowing use of OtherGender-->
<xs:assert test="if (hmis:Gender/text()='4') then boolean(hmis:OtherGender) else (if (not(hmis:Gender/text()='4')) then (not(boolean(hmis:OtherGender))) else false())"/>
</xs:complexType>
<xs:complexType name="dateOfEngagement">
<xs:sequence>
<xs:element name="DateOfEngagementID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the DateOfEngagement's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DateOfEngagement" type="xs:date">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.13, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.13."</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="dateRangeCapped">
<xs:annotation>
<xs:documentation xml:lang="en">A date range, both start and end dates are required.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element name="StartDate" type="xs:dateTime"/>
<xs:element name="EndDate" type="xs:dateTime"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="disabilities">
<xs:sequence>
<xs:element name="DisabilitiesID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the Exit's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DisabilityType" type="hmis:disabilityType">
<xs:annotation>
<xs:documentation xml:lang="en">The permissible values correspond to the decimal values of the corresponding disability types. 4.5 Physical Disability is "5" and 4.10 Substance Abuse is "10". </xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DisabilityResponse" type="xs:nonNegativeInteger">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.5-4.10, Response #2. Permissable values vary depending on which disability type is declared. The values are contined with "Field and Response(s) 2" within 4.5 through 4.10.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.5-4.10."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IndefiniteAndImpairsIndependence" type="hmis:fiveValDKRefused">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.5-4.10, Response #2A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.5-4.10."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DocumentationOnFile" type="hmis:noYesOnly" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.5-4.10, Response #2B.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.5-4.10."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ReceivingServices" type="hmis:fiveValDKRefused">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.5-4.10, Response #2C.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.5-4.10."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PATHHowConfirmed" type="hmis:pathHowConfirmed" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.9-4.10, Response #2D.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.9-4.10."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PATHSMIInformation" type="hmis:pathSMIInformation" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.9, Response #2E.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.9."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TCellCountAvailable" type="hmis:fiveValDKRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.47 #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.47."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TCellCount" type="hmis:tCellCount" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.47 A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.47."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TCellSource" type="hmis:tCellOrViralLoadSource" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.47 B.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.47."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ViralLoadAvailable" type="hmis:fiveValDKRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.47 #3.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.47."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ViralLoad" type="hmis:viralLoad" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.47 C.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.47."</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ViralLoadSource" type="hmis:tCellOrViralLoadSource" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.47 D.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Section 4.47."</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute ref="hmis:dataCollectionStage" use="required"/>
<xs:attribute ref="hmis:informationDate" use="required"/>
<xs:attributeGroup ref="hmis:baseMetaData"/>
<!--Testing if DisabilityType is 8, before allowing use of TCellCountAvailable-->
<xs:assert test="if (hmis:TCellCountAvailable) then boolean(hmis:DisabilityType/text()='8') else true()"/>
<!--Testing if TCellCountAvailable is 1, before allowing use of TCellCount-->
<xs:assert test="if (hmis:TCellCountAvailable/text()='1') then boolean(hmis:TCellCount) else (if (not(hmis:TCellCountAvailable/text()='1')) then (not(boolean(hmis:TCellCount))) else false())"/>
<!--Testing if TCellCount is not null, before allowing use of TCellSource-->
<xs:assert test="if (hmis:TCellCount) then boolean(hmis:TCellSource) else (if (not(hmis:TCellCount)) then (not(boolean(hmis:TCellSource))) else false())"/>
<!--Testing if DisabilityType is 8, before allowing use of ViralLoadAvailable-->
<xs:assert test="if (hmis:ViralLoadAvailable) then boolean(hmis:DisabilityType/text()='8') else true()"/>
<!--Testing if ViralLoadAvailable is 1, before allowing use of ViralLoad-->
<xs:assert test="if (hmis:ViralLoadAvailable/text()='1') then boolean(hmis:ViralLoad) else (if (not(hmis:ViralLoadAvailable/text()='1')) then (not(boolean(hmis:ViralLoad))) else false())"/>
<!--Testing if ViralLoad is not null, before allowing use of ViralLoadSource-->
<xs:assert test="if (hmis:ViralLoad) then boolean(hmis:ViralLoadSource) else (if (not(hmis:ViralLoad)) then (not(boolean(hmis:ViralLoadSource))) else false())"/>
</xs:complexType>
<xs:complexType name="domesticViolence">
<xs:sequence>
<xs:element name="DomesticViolenceID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the DomesticViolence's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DomesticViolenceVictim" type="hmis:fiveValDKRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.11, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "4.11 Domestic Violence Victim/Survivor"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WhenOccurred" type="hmis:whenOccurred" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.11, #A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "4.11 Domestic Violence Victim/Survivor"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CurrentlyFleeing" type="hmis:fiveValDKRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.11, #B.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "4.11 Domestic Violence Victim/Survivor"</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute ref="hmis:dataCollectionStage" use="required"/>
<xs:attribute ref="hmis:informationDate" use="required"/>
<xs:attributeGroup ref="hmis:baseMetaData"/>
<!--Testing if DomesticViolenceVictim is 1, before allowing use of CurrentlyFleeing-->
<xs:assert test="if (hmis:DomesticViolenceVictim/text()='1') then boolean(hmis:CurrentlyFleeing) else (if (not(hmis:DomesticViolenceVictim/text()='1')) then (not(boolean(hmis:CurrentlyFleeing))) else false())"/>
</xs:complexType>
<xs:complexType name="education">
<xs:sequence>
<xs:element name="EducationID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the LastGradeCompletedID's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LastGradeCompleted" type="hmis:lastGradeCompletedSimple" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.24, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "4.24 Last Grade Completed"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SchoolStatus" type="hmis:schoolStatus" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.25, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "4.25 School Status"</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute ref="hmis:dataCollectionStage" use="required"/>
<xs:attribute ref="hmis:informationDate" use="required"/>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="employment">
<xs:sequence>
<xs:element name="EmploymentID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the Employment's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Employed" type="hmis:fiveValDKRefused">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.26, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "4.26 Employment Status, Employed"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EmploymentType" type="hmis:employmentType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.26, #2A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "4.26 Employment Type"</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NotEmployedReason" type="hmis:notEmployedReason" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.26, #2B.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "4.26 Employment Status"</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute ref="hmis:dataCollectionStage" use="required"/>
<xs:attribute ref="hmis:informationDate" use="required"/>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="enrollment">
<xs:sequence>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the Enrollment's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PersonalID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Client's ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the associated Project's ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EntryDate" type="xs:date">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.10.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.10.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HouseholdID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.14.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.14.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RelationshipToHoH" type="hmis:relationshipToHoH">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.15.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.15.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResidencePrior" type="hmis:residencePrior" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.9.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.9.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OtherResidencePrior" type="hmis:string50" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.9.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.9.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResidencePriorLengthOfStay" type="hmis:residencePriorLengthOfStay" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.9.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.9.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EntryFromStreetESSH" type="hmis:fiveValDKRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.17 #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.17, #1.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DateToStreetESSH" type="xs:date" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.17 A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.17 A.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TimesHomelessPastThreeYears" type="hmis:timesHomelessPastThreeYears" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.17, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.17, #2.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MonthsHomelessPastThreeYears
" type="hmis:monthsHomelessPastThreeYears" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See 2015 HMIS Data Dictionary, Section 3.17, #2A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.17, #2A.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="DisablingCondition" type="hmis:fiveValDKRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.8.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 3.8.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HousingStatus" type="hmis:housingStatus" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.1.</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
<!--Testing if ResidencePrior is 17, before allowing use of OtherResidencePrior-->
<xs:assert test="if (hmis:ResidencePrior/text()='17') then boolean(hmis:OtherResidencePrior) else (if (not(hmis:ResidencePrior/text()='17')) then (not(boolean(hmis:OtherResidencePrior))) else false())"/>
<!--Testing if TimesHomelessPastThreeYears is 1-4, before allowing use of MonthsHomelessPastThreeYears-->
<xs:assert test="if (hmis:TimesHomelessPastThreeYears/text()='1' or hmis:TimesHomelessPastThreeYears/text()='2' or hmis:TimesHomelessPastThreeYears/text()='3' or hmis:TimesHomelessPastThreeYears/text()='4') then boolean(hmis:MonthsHomelessPastThreeYears) else (if (not(hmis:TimesHomelessPastThreeYears/text()='1' or hmis:TimesHomelessPastThreeYears/text()='2' or hmis:TimesHomelessPastThreeYears/text()='3' or hmis:TimesHomelessPastThreeYears/text()='4')) then (not(boolean(hmis:MonthsHomelessPastThreeYears))) else false())"/>
<!--Testing if EntryFromStreetESSH is 1, before allowing use of DateToStreetESSH-->
<xs:assert test="if (hmis:EntryFromStreetESSH/text()='1') then boolean(hmis:DateToStreetESSH) else (if (not(hmis:EntryFromStreetESSH/text()='1')) then (not(boolean(hmis:DateToStreetESSH))) else false())"/>
</xs:complexType>
<xs:complexType name="enrollmentCoC">
<xs:sequence>
<xs:element name="EnrollmentCoCID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the EnrollmentCoC's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment's ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CoCCode" type="hmis:cocCode">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the CoC's ID</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute ref="hmis:dataCollectionStage" use="required"/>
<xs:attribute ref="hmis:informationDate" use="required"/>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="entrySSVF">
<xs:sequence>
<xs:element name="EntrySSVFID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the EntrySSVFID's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PercentAMI" type="hmis:percentAMISimple" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.42, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.42 Percent of AMI (SSVF Eligibility)".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HPScreeningScore" type="hmis:hpScreeningScore" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.44 #1</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.44 HP Screening Score".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="VAMCStation" type="hmis:vamcStation" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.45 #1</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.45 HP Screening Score".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LastPermanentStreet" type="hmis:string100" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.43, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.43 Address Prior to Entry".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LastPermanentCity" type="hmis:string50" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.43, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.43 Address Prior to Entry".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LastPermanentState" type="hmis:state" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.43, #3.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.43 Address Prior to Entry".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="LastPermanentZIP" type="hmis:zipCode" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.43, #4.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.43 Address Prior to Entry".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AddressDataQuality" type="hmis:addressDataQuality" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.43, #5.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.43 Address Prior to Entry".</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="exit">
<xs:sequence>
<xs:element name="ExitID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the Exit's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectEntryID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExitDate" type="xs:date">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.11, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "3.11 Project Exit Date".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Destination" type="hmis:destination" minOccurs="1">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.12, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "3.12 Destination".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OtherDestination" type="hmis:string50" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 3.12, #1A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "3.12 Destination".</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
<!--Testing if Destination is 17, before allowing use of OtherDestination-->
<xs:assert test="if (hmis:Destination/text()='17') then boolean(hmis:OtherDestination) else (if (not(hmis:Destination/text()='17')) then (not(boolean(hmis:OtherDestination))) else false())"/>
</xs:complexType>
<xs:complexType name="exitPATH">
<xs:sequence>
<xs:element name="ExitPATHID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the ExitPATHID's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExitID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Exit ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ConnectionWithSOAR" type="hmis:fiveValDKRefused">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.21, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.21 Connection with SOAR".</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="exitHousingAssessment">
<xs:sequence>
<xs:element name="ExitHousingAssessmentID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the ExitHousingAssessment's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExitID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HousingAssessment" type="hmis:housingAssessmentAtExit">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.19, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.19 Housing Assessment at Exit".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="SubsidyInformation" type="hmis:subsidyInformation" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.19, #1A.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.19 Housing Assessment at Exit".</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="exitRHY">
<xs:sequence>
<xs:element name="ExitRHYID" type="hmis:string32" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the ExitRHY' unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExitID" type="hmis:string32" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="WrittenAftercarePlan" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="AssistanceMainstreamBenefits" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="PermanentHousingPlacement" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #3.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TemporaryShelterPlacement" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #4.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExitCounseling" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #5.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FurtherFollowUpServices" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #6.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ScheduledFollowUpContacts" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #7.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResourcePackage" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #8.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="OtherAftercarePlanOrAction" type="hmis:noYesRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.36, #9.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.36 Transitional, Exit-care, or Aftercare Plans and Actions".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="FamilyReunificationAchieved" type="hmis:fiveValDKRefused" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.38, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.38 Family Reunification Achieved".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ProjectCompletionStatus" type="hmis:projectCompletionStatusSimple" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.37, #1.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.37 Project Completion Status".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EarlyExitReason" type="hmis:earlyExitReason" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.37, 1A or 1B, depending on whether 2 (use 1A) or 3 (use 1B) is the response to 4.37.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.37 Project Completion Status".</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attributeGroup ref="hmis:baseMetaData"/>
</xs:complexType>
<xs:complexType name="export">
<xs:sequence>
<xs:element name="ExportID" type="hmis:string32">
<xs:annotation>
<xs:documentation xml:lang="en">Reference to the Export's unique ID</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExportDate" type="xs:dateTime">
<xs:annotation>
<xs:documentation xml:lang="en">Time the export was performed.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExportPeriod" type="hmis:dateRangeCapped" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">The date range bounding the data set being transmitted. Used with ExportPeriodType to clarify what the date range represents.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExportPeriodType" type="hmis:exportPeriodType" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Pick one of the types to specify the definition of export period being used in ExportPeriod.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExportDirective" type="hmis:exportDirective" minOccurs="0">
<xs:annotation>
<xs:documentation xml:lang="en">Select one of the ExportDirective choices to instruct the target as to how the data being transmitted should be handled.</xs:documentation>
</xs:annotation>
</xs:element>
<!--<xs:element name="HashStatus" type="hmis:hashStatus">
<xs:annotation>
<xs:documentation xml:lang="en">Indicates whether and how the data is hashed. In this usage, it is for verifying matching data without actually sending it.</xs:documentation>
</xs:annotation>
</xs:element>-->
<xs:choice maxOccurs="unbounded">
<xs:element name="Affiliation" type="hmis:affiliation"/>
<xs:element name="Client" type="hmis:client"/>
<xs:element name="Contact" type="hmis:contact"/>
<xs:element name="DateOfEngagement" type="hmis:dateOfEngagement"/>
<xs:element name="Disabilities" type="hmis:disabilities"/>
<xs:element name="DomesticViolence" type="hmis:domesticViolence"/>
<xs:element name="Education" type="hmis:education"/>
<xs:element name="Employment" type="hmis:employment">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.26</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.26 "Employment Status".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Enrollment" type="hmis:enrollment"/>
<xs:element name="EnrollmentCoC" type="hmis:enrollmentCoC"/>
<xs:element name="Exit" type="hmis:exit"/>
<xs:element name="ExitHousingAssessment" type="hmis:exitHousingAssessment">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.19</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.19 Housing Assessment at Exit".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ExitPATH" type="hmis:exitPATH"/>
<xs:element name="ExitRHY" type="hmis:exitRHY"/>
<xs:element name="Funder" type="hmis:funder"/>
<xs:element name="HealthInsurance" type="hmis:healthInsurance">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.4</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.4 "Health Insurance".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HealthStatus" type="hmis:healthStatus">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.27</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.27 "General Health Status".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="HousingAssessmentDisposition" type="hmis:housingAssessmentDisposition">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.18</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.18 Housing Assessment Disposition".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="IncomeAndSources" type="hmis:incomeAndSources">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.2</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.2 "Income And Sources".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Inventory" type="hmis:inventory">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 2.7.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Bed and Unit Inventory Information", p. 14.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="MedicalAssistance" type="hmis:medicalAssistance">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.39</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.39.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="NonCashBenefits" type="hmis:nonCashBenefits">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.3</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.3 "Non-Cash Benefits".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Organization" type="hmis:organization"/>
<xs:element name="PATHStatus" type="hmis:pathStatus">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.20</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.20 PATH Status".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="EntrySSVF" type="hmis:entrySSVF"/>
<xs:element name="Project" type="hmis:project">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 2.</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, "Project Setup Guidance", p. 12.</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="CoC" type="hmis:coc">
<xs:annotation>
<xs:documentation xml:lang="en"></xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="ResidentialMoveInDate" type="hmis:residentialMoveInDate">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.17</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section "4.17 Residential Move-In Date".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="RHYBCPStatus" type="hmis:rhyBCPStatus">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.22</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.22 "RHYBCP Status".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Services" type="hmis:services">
<xs:annotation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Dictionary, Section 4.14-4.16</xs:documentation>
<xs:documentation xml:lang="en">See September 2015 HMIS Data Manual, Section 4.14-4.16 "Services Provided".</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="Site" type="hmis:site">
<xs:annotation>