<xs:element name="EnrollmentID" 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="DisablingCondition" type="hmis:noYesDoesntKnowRefused"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.8.</xs:documentation><xs:documentation xml:lang="en">Export 99 (Data not collected) for any project entry where there is no response.</xs:documentation></xs:annotation></xs:element>
If the intended record is to be deleted, this metadata allows you to both indicate the record should be deleted within the target system, as well as indicate the specific time it was deleted.
See June 2017 HMIS Data Dictionary v1.2, Section 5.7.
Asserts
Test
XPath default namespace
Annotation
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())
Source
<xs:complexType name="enrollment"><xs:sequence><xs:element name="EnrollmentID" 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 June 2017 HMIS Data Dictionary v1.2, Section 3.10.1</xs:documentation></xs:annotation></xs:element><xs:element name="HouseholdID" type="hmis:string32"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 5.9.1</xs:documentation></xs:annotation></xs:element><xs:element name="RelationshipToHoH" type="hmis:relationshipToHoH"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.15.1.</xs:documentation></xs:annotation></xs:element><xs:element name="LivingSituation" type="hmis:livingSituation" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.917.1.</xs:documentation></xs:annotation></xs:element><xs:element name="LengthOfStay" type="hmis:lengthOfStay" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.917.2.</xs:documentation></xs:annotation></xs:element><xs:element name="LOSUnderThreshold" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.917.2A/2B.</xs:documentation></xs:annotation></xs:element><xs:element name="PreviousStreetESSH" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.917.2C.</xs:documentation></xs:annotation></xs:element><xs:element name="DateToStreetESSH" type="xs:date" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.917.3.</xs:documentation></xs:annotation></xs:element><xs:element name="TimesHomelessPastThreeYears" type="hmis:timesHomelessPastThreeYears" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.917.4.</xs:documentation></xs:annotation></xs:element><xs:element name="MonthsHomelessPastThreeYears" type="hmis:monthsHomelessPastThreeYears" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.917.5.</xs:documentation></xs:annotation></xs:element><xs:element name="DisablingCondition" type="hmis:noYesDoesntKnowRefused"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 3.8.</xs:documentation><xs:documentation xml:lang="en">Export 99 (Data not collected) for any project entry where there is no response.</xs:documentation></xs:annotation></xs:element></xs:sequence><xs:attributeGroup ref="hmis:baseMetaData"/><!--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())"/></xs:complexType>