<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>
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: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>
See August 2016 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.
Diagram
Type
xs:nonNegativeInteger
Properties
content
simple
Source
<xs:element name="DisabilityResponse" type="xs:nonNegativeInteger"><xs:annotation><xs:documentation xml:lang="en">See August 2016 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:annotation></xs:element>
Element disabilities / IndefiniteAndImpairsIndependence
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:TCellCountAvailable) then boolean(hmis:DisabilityType/text()='8') else true()
if (hmis:TCellCountAvailable/text()='1') then boolean(hmis:TCellCount) else (if (not(hmis:TCellCountAvailable/text()='1'))
then (not(boolean(hmis:TCellCount))) else false())
if (hmis:TCellCount) then boolean(hmis:TCellSource) else (if (not(hmis:TCellCount))
then (not(boolean(hmis:TCellSource))) else false())
if (hmis:ViralLoadAvailable) then boolean(hmis:DisabilityType/text()='8') else true()
if (hmis:ViralLoadAvailable/text()='1') then boolean(hmis:ViralLoad) else (if (not(hmis:ViralLoadAvailable/text()='1'))
then (not(boolean(hmis:ViralLoad))) else false())
if (hmis:ViralLoad) then boolean(hmis:ViralLoadSource) else (if (not(hmis:ViralLoad))
then (not(boolean(hmis:ViralLoadSource))) else false())
Source
<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 August 2016 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:annotation></xs:element><xs:element name="IndefiniteAndImpairsIndependence" type="hmis:fiveValDKRefused"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.5-4.10, Response #2A.</xs:documentation></xs:annotation></xs:element><xs:element name="DocumentationOnFile" type="hmis:noYesOnly" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.5-4.10, Response #2B.</xs:documentation></xs:annotation></xs:element><xs:element name="ReceivingServices" type="hmis:fiveValDKRefused"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.5-4.10, Response #2C.</xs:documentation></xs:annotation></xs:element><xs:element name="PATHHowConfirmed" type="hmis:pathHowConfirmed" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.9-4.10, Response #2D.</xs:documentation></xs:annotation></xs:element><xs:element name="PATHSMIInformation" type="hmis:pathSMIInformation" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.9, Response #2E.</xs:documentation></xs:annotation></xs:element><xs:element name="TCellCountAvailable" type="hmis:fiveValDKRefused" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.47 #2.</xs:documentation></xs:annotation></xs:element><xs:element name="TCellCount" type="hmis:tCellCount" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.47 A.</xs:documentation></xs:annotation></xs:element><xs:element name="TCellSource" type="hmis:tCellOrViralLoadSource" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.47.B.</xs:documentation></xs:annotation></xs:element><xs:element name="ViralLoadAvailable" type="hmis:viralLoadAvailable" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.47.3.</xs:documentation></xs:annotation></xs:element><xs:element name="ViralLoad" type="hmis:viralLoad" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.47.C.</xs:documentation></xs:annotation></xs:element><xs:element name="ViralLoadSource" type="hmis:tCellOrViralLoadSource" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.47 D.</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>