Showing:

Annotations
Attributes
Asserts
Diagrams
Facets
Model
Properties
Source
Used by
Element domesticViolence / DomesticViolenceID
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
Reference to the DomesticViolence's unique ID
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_string32.tmp#string32
Type string32
Properties
content simple
Facets
maxLength 32
Source
<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>
Element domesticViolence / EnrollmentID
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
Key reference to the Enrollment
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_string32.tmp#string32
Type string32
Properties
content simple
Facets
maxLength 32
Source
<xs:element name="EnrollmentID" type="hmis:string32">
  <xs:annotation>
    <xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
  </xs:annotation>
</xs:element>
Element domesticViolence / DomesticViolenceVictim
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
See June 2017 HMIS Data Dictionary v1.2, Section 4.11.2.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesDoesntKnowRefused.tmp#noYesDoesntKnowRefused
Type noYesDoesntKnowRefused
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 8
Client doesn't know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="DomesticViolenceVictim" type="hmis:noYesDoesntKnowRefused" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.11.2.</xs:documentation>
  </xs:annotation>
</xs:element>
Element domesticViolence / WhenOccurred
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
See June 2017 HMIS Data Dictionary v1.2, Section 4.11.A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_whenOccurred.tmp#whenOccurred
Type whenOccurred
Properties
content simple
minOccurs 0
Facets
enumeration 1
Within the past three months
enumeration 2
Three to six months ago (excluding six months exactly)
enumeration 3
Six months to one year ago (excluding one year exactly)
enumeration 4
One year ago or more
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="WhenOccurred" type="hmis:whenOccurred" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.11.A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element domesticViolence / CurrentlyFleeing
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
See June 2017 HMIS Data Dictionary v1.2, Section 4.11.B.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesDoesntKnowRefused.tmp#noYesDoesntKnowRefused
Type noYesDoesntKnowRefused
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 8
Client doesn't know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="CurrentlyFleeing" type="hmis:noYesDoesntKnowRefused" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.11.B.</xs:documentation>
  </xs:annotation>
</xs:element>
Complex Type domesticViolence
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Diagram
Diagram HUD_HMIS_xsd_Attribute_dataCollectionStage.tmp#dataCollectionStage HUD_HMIS_xsd_Attribute_informationDate.tmp#informationDate HUD_HMIS_xsd_Attribute_Group_baseMetaData.tmp#baseMetaData HUD_HMIS_xsd_Complex_Type_domesticViolence.tmp#domesticViolence_DomesticViolenceID HUD_HMIS_xsd_Complex_Type_domesticViolence.tmp#domesticViolence_EnrollmentID HUD_HMIS_xsd_Complex_Type_domesticViolence.tmp#domesticViolence_DomesticViolenceVictim HUD_HMIS_xsd_Complex_Type_domesticViolence.tmp#domesticViolence_WhenOccurred HUD_HMIS_xsd_Complex_Type_domesticViolence.tmp#domesticViolence_CurrentlyFleeing
Used by
Model
Children CurrentlyFleeing, DomesticViolenceID, DomesticViolenceVictim, EnrollmentID, WhenOccurred
Attributes
QName Type Use Annotation
dataCollectionStage restriction of xs:unsignedInt required
See June 2017 HMIS Data Dictionary v1.2, Section 5.3.
dateCreated xs:dateTime required
See June 2017 HMIS Data Dictionary v1.2, Section 5.1.
dateDeleted xs:dateTime optional
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.
dateUpdated xs:dateTime required
See June 2017 HMIS Data Dictionary v1.2, Section 5.2.
informationDate xs:date required
See June 2017 HMIS Data Dictionary v1.2, Section 5.4.
userID string32 required
See June 2017 HMIS Data Dictionary v1.2, Section 5.7.
Asserts
Test XPath default namespace Annotation
if (hmis:DomesticViolenceVictim/text()='1') then boolean(hmis:CurrentlyFleeing) else (if (not(hmis:DomesticViolenceVictim/text()='1')) then (not(boolean(hmis:CurrentlyFleeing))) else false())
Source
<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="EnrollmentID" 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:noYesDoesntKnowRefused" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.11.2.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="WhenOccurred" type="hmis:whenOccurred" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.11.A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="CurrentlyFleeing" type="hmis:noYesDoesntKnowRefused" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.11.B.</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>