<xs:element name="EntryRHYID" type="hmis:string32"><xs:annotation><xs:documentation xml:lang="en">Reference to the EntryRHY' 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>
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 August 2016 HMIS Data Dictionary, Section 5.7.
Asserts
Test
XPath default namespace
Annotation
if (hmis:WorkPlaceViolenceThreats/text()='1' or hmis:WorkplacePromiseDifference/text()='1')
then boolean(hmis:CoercedToContinueWork) else (if (not(hmis:WorkPlaceViolenceThreats/text()='1'
or hmis:WorkplacePromiseDifference/text()='1')) then (not(boolean(hmis:CoercedToContinueWork)))
else false())
if (hmis:WorkPlaceViolenceThreats/text()='1' or hmis:WorkplacePromiseDifference/text()='1')
then boolean(hmis:LaborExploitPastThreeMonths) else (if (not(hmis:WorkPlaceViolenceThreats/text()='1'
or hmis:WorkplacePromiseDifference/text()='1')) then (not(boolean(hmis:LaborExploitPastThreeMonths)))
else false())
if (hmis:ExchangeForSex/text()='1') then boolean(hmis:ExchangeForSexPastThreeMonths)
else (if (not(hmis:ExchangeForSex/text()='1')) then (not(boolean(hmis:ExchangeForSexPastThreeMonths)))
else false())
if (hmis:ExchangeForSex/text()='1') then boolean(hmis:CountOfExchangeForSex) else
(if (not(hmis:ExchangeForSex/text()='1')) then (not(boolean(hmis:CountOfExchangeForSex)))
else false())
if (hmis:ExchangeForSex/text()='1') then boolean(hmis:AskedOrForcedToExchangeForSex)
else (if (not(hmis:ExchangeForSex/text()='1')) then (not(boolean(hmis:AskedOrForcedToExchangeForSex)))
else false())
if (hmis:AskedOrForcedToExchangeForSex/text()='1') then boolean(hmis:AskedOrForcedToExchangeForSexPastThreeMonths)
else (if (not(hmis:AskedOrForcedToExchangeForSex/text()='1')) then (not(boolean(hmis:AskedOrForcedToExchangeForSexPastThreeMonths)))
else false())
Source
<xs:complexType name="entryRHY"><xs:sequence><xs:element name="EntryRHYID" type="hmis:string32"><xs:annotation><xs:documentation xml:lang="en">Reference to the EntryRHY' 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="HouseholdDynamics" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.1.</xs:documentation></xs:annotation></xs:element><xs:element name="SexualOrientation" type="hmis:sexualOrientation"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.23.1.</xs:documentation></xs:annotation></xs:element><xs:element name="SexualOrientationGenderIDYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.2.</xs:documentation></xs:annotation></xs:element><xs:element name="SexualOrientationGenderIDFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.3.</xs:documentation></xs:annotation></xs:element><xs:element name="HousingIssuesYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.4.</xs:documentation></xs:annotation></xs:element><xs:element name="HousingIssuesFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.5.</xs:documentation></xs:annotation></xs:element><xs:element name="SchoolEducationalIssuesYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.6.</xs:documentation></xs:annotation></xs:element><xs:element name="SchoolEducationalIssuesFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.7.</xs:documentation></xs:annotation></xs:element><xs:element name="UnemploymentYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.8.</xs:documentation></xs:annotation></xs:element><xs:element name="UnemploymentFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.9.</xs:documentation></xs:annotation></xs:element><xs:element name="MentalHealthIssuesYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.10.</xs:documentation></xs:annotation></xs:element><xs:element name="MentalHealthIssuesFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.11.</xs:documentation></xs:annotation></xs:element><xs:element name="HealthIssuesYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.12.</xs:documentation></xs:annotation></xs:element><xs:element name="HealthIssuesFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.13.</xs:documentation></xs:annotation></xs:element><xs:element name="PhysicalDisabilityYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.14.</xs:documentation></xs:annotation></xs:element><xs:element name="PhysicalDisabilityFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.15.</xs:documentation></xs:annotation></xs:element><xs:element name="MentalDisabilityYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.16.</xs:documentation></xs:annotation></xs:element><xs:element name="MentalDisabilityFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.17.</xs:documentation></xs:annotation></xs:element><xs:element name="AbuseAndNeglectYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.18.</xs:documentation></xs:annotation></xs:element><xs:element name="AbuseAndNeglectFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.19.</xs:documentation></xs:annotation></xs:element><xs:element name="AlcoholDrugAbuseYouth" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.20.</xs:documentation></xs:annotation></xs:element><xs:element name="AlcoholDrugAbuseFam" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.21.</xs:documentation></xs:annotation></xs:element><xs:element name="InsufficientIncome" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.22.</xs:documentation></xs:annotation></xs:element><xs:element name="ActiveMilitaryParent" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.23.</xs:documentation></xs:annotation></xs:element><xs:element name="IncarceratedParent" type="hmis:noYesOnly"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.24.</xs:documentation></xs:annotation></xs:element><xs:element name="IncarceratedParentStatus" type="hmis:incarceratedParentStatus" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.33.24A.</xs:documentation></xs:annotation></xs:element><xs:element name="WorkPlaceViolenceThreats" type="hmis:fiveValDKRefused" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35, B1.</xs:documentation></xs:annotation></xs:element><xs:element name="WorkplacePromiseDifference" type="hmis:fiveValDKRefused" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35, B2.</xs:documentation></xs:annotation></xs:element><xs:element name="CoercedToContinueWork" type="hmis:fiveValDKRefused" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35, BA.</xs:documentation></xs:annotation></xs:element><xs:element name="LaborExploitPastThreeMonths" type="hmis:fiveValDKRefused" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35, BB.</xs:documentation></xs:annotation></xs:element><xs:element name="ExchangeForSex" type="hmis:fiveValDKRefused"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35A.1.</xs:documentation></xs:annotation></xs:element><xs:element name="ExchangeForSexPastThreeMonths" type="hmis:fiveValDKRefused"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35A.1A</xs:documentation></xs:annotation></xs:element><xs:element name="CountOfExchangeForSex" type="hmis:countOfExchangeForSex" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35A.1B.</xs:documentation></xs:annotation></xs:element><xs:element name="AskedOrForcedToExchangeForSex" type="hmis:askedOrForcedToExchangeForSex" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35.1C.</xs:documentation></xs:annotation></xs:element><xs:element name="AskedOrForcedToExchangeForSexPastThreeMonths" type="hmis:fiveValDKRefused" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.35.1D.</xs:documentation></xs:annotation></xs:element><xs:element name="FormerWardJuvenileJustice" type="hmis:fiveValDKRefused"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.32.1.</xs:documentation></xs:annotation></xs:element><xs:element name="JuvenileJusticeYears" type="hmis:issuesYears" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.32.1A.</xs:documentation></xs:annotation></xs:element><xs:element name="JuvenileJusticeMonths" type="xs:unsignedInt" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.32.1AB. Values 1-11 permissible.</xs:documentation></xs:annotation></xs:element><xs:element name="FormerWardChildWelfare" type="hmis:fiveValDKRefused"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.31.1.</xs:documentation></xs:annotation></xs:element><xs:element name="ChildWelfareYears" type="hmis:issuesYears" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.31.1B.</xs:documentation></xs:annotation></xs:element><xs:element name="ChildWelfareMonths" type="xs:unsignedInt" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.31.1BA. Values 1-11 permissible.</xs:documentation></xs:annotation></xs:element><xs:element name="ReferralSource" type="hmis:referralSource"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.34.1.</xs:documentation></xs:annotation></xs:element><xs:element name="CountOutreachReferralApproaches" type="xs:unsignedInt" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.34.1A.</xs:documentation></xs:annotation></xs:element></xs:sequence><xs:attributeGroup ref="hmis:baseMetaData"/><!--Testing if WorkPlaceViolenceThreats or WorkplacePromiseDifference is 1, before allowing use of CoercedToContinueWork--><xs:assert test="if (hmis:WorkPlaceViolenceThreats/text()='1' or hmis:WorkplacePromiseDifference/text()='1') then boolean(hmis:CoercedToContinueWork) else (if (not(hmis:WorkPlaceViolenceThreats/text()='1' or hmis:WorkplacePromiseDifference/text()='1')) then (not(boolean(hmis:CoercedToContinueWork))) else false())"/><!--Testing if WorkPlaceViolenceThreats or WorkplacePromiseDifference is 1, before allowing use of LaborExploitPastThreeMonths--><xs:assert test="if (hmis:WorkPlaceViolenceThreats/text()='1' or hmis:WorkplacePromiseDifference/text()='1') then boolean(hmis:LaborExploitPastThreeMonths) else (if (not(hmis:WorkPlaceViolenceThreats/text()='1' or hmis:WorkplacePromiseDifference/text()='1')) then (not(boolean(hmis:LaborExploitPastThreeMonths))) else false())"/><!--Testing if ExchangeForSex is 1, before allowing use of ExchangeForSexPastThreeMonths--><xs:assert test="if (hmis:ExchangeForSex/text()='1') then boolean(hmis:ExchangeForSexPastThreeMonths) else (if (not(hmis:ExchangeForSex/text()='1')) then (not(boolean(hmis:ExchangeForSexPastThreeMonths))) else false())"/><!--Testing if ExchangeForSex is 1, before allowing use of CountOfExchangeForSex--><xs:assert test="if (hmis:ExchangeForSex/text()='1') then boolean(hmis:CountOfExchangeForSex) else (if (not(hmis:ExchangeForSex/text()='1')) then (not(boolean(hmis:CountOfExchangeForSex))) else false())"/><!--Testing if ExchangeForSex is 1, before allowing use of AskedOrForcedToExchangeForSex--><xs:assert test="if (hmis:ExchangeForSex/text()='1') then boolean(hmis:AskedOrForcedToExchangeForSex) else (if (not(hmis:ExchangeForSex/text()='1')) then (not(boolean(hmis:AskedOrForcedToExchangeForSex))) else false())"/><!--Testing if AskedOrForcedToExchangeForSex is 1, before allowing use of AskedOrForcedToExchangeForSex--><xs:assert test="if (hmis:AskedOrForcedToExchangeForSex/text()='1') then boolean(hmis:AskedOrForcedToExchangeForSexPastThreeMonths) else (if (not(hmis:AskedOrForcedToExchangeForSex/text()='1')) then (not(boolean(hmis:AskedOrForcedToExchangeForSexPastThreeMonths))) else false())"/></xs:complexType>