Showing:

Annotations
Attributes
Asserts
Diagrams
Facets
Model
Properties
Source
Used by
Element healthInsurance / HealthInsuranceID
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
Reference to the HealthInsurance'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="HealthInsuranceID" type="hmis:string32">
  <xs:annotation>
    <xs:documentation xml:lang="en">Reference to the HealthInsurance's unique ID</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / ProjectEntryID
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/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="ProjectEntryID" type="hmis:string32">
  <xs:annotation>
    <xs:documentation xml:lang="en">Key reference to the Enrollment</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / InsuranceFromAnySource
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.2.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_fiveValDKRefused.tmp#fiveValDKRefused
Type fiveValDKRefused
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="InsuranceFromAnySource" type="hmis:fiveValDKRefused" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.2.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / Medicaid
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.3.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="Medicaid" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.3.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoMedicaidReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.3A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoMedicaidReason" type="reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.3A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / Medicare
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.4.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="Medicare" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.4.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoMedicareReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.4A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoMedicareReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.4A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / SCHIP
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.5.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="SCHIP" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.5.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoSCHIPReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.5A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoSCHIPReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.5A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / VAMedicalServices
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.6.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="VAMedicalServices" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.6.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoVAMedReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.6A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoVAMedReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.6A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / EmployerProvided
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.7.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="EmployerProvided" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.7.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoEmployerProvidedReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.7A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoEmployerProvidedReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.7A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / COBRA
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.8.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="COBRA" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.8.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoCOBRAReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.8A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoCOBRAReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.8A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / PrivatePay
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.9.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="PrivatePay" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.9.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoPrivatePayReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.9A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoPrivatePayReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.9A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / StateHealthIns
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.10.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="StateHealthIns" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.10.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoStateHealthInsReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.10A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoStateHealthInsReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.10A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / IndianHealthServices
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.11.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="IndianHealthServices" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.11.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / NoIndianHealthServicesReason
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.11A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_reasonNotInsuredOrAssisted.tmp#reasonNotInsuredOrAssisted
Type reasonNotInsuredOrAssisted
Properties
content simple
minOccurs 0
Facets
enumeration 1
Applied; decision pending
enumeration 2
Applied; client not eligible
enumeration 3
Client did not apply
enumeration 4
Insurance type not applicable for this client
enumeration 8
Client doesn’t know
enumeration 9
Client refused
enumeration 99
Data not collected
Source
<xs:element name="NoIndianHealthServicesReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.11A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / OtherInsurance
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.12.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesOnly.tmp#noYesOnly
Type noYesOnly
Properties
content simple
minOccurs 0
Facets
enumeration 0
No
enumeration 1
Yes
enumeration 99
Data not collected
Source
<xs:element name="OtherInsurance" type="hmis:noYesOnly" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.12.</xs:documentation>
  </xs:annotation>
</xs:element>
Element healthInsurance / OtherInsuranceIdentify
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/HUD_HMIS.xsd
Annotations
See August 2016 HMIS Data Dictionary, Section 4.4.12A.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_string50.tmp#string50
Type string50
Properties
content simple
minOccurs 0
Facets
maxLength 50
Source
<xs:element name="OtherInsuranceIdentify" type="hmis:string50" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.12A.</xs:documentation>
  </xs:annotation>
</xs:element>
Complex Type healthInsurance
Namespace http://www.hudhdx.info/Resources/Vendors/5_1_4/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_healthInsurance.tmp#healthInsurance_HealthInsuranceID HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_ProjectEntryID HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_InsuranceFromAnySource HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_Medicaid HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoMedicaidReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_Medicare HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoMedicareReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_SCHIP HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoSCHIPReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_VAMedicalServices HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoVAMedReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_EmployerProvided HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoEmployerProvidedReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_COBRA HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoCOBRAReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_PrivatePay HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoPrivatePayReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_StateHealthIns HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoStateHealthInsReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_IndianHealthServices HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_NoIndianHealthServicesReason HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_OtherInsurance HUD_HMIS_xsd_Complex_Type_healthInsurance.tmp#healthInsurance_OtherInsuranceIdentify
Used by
Model
Children COBRA, EmployerProvided, HealthInsuranceID, IndianHealthServices, InsuranceFromAnySource, Medicaid, Medicare, NoCOBRAReason, NoEmployerProvidedReason, NoIndianHealthServicesReason, NoMedicaidReason, NoMedicareReason, NoPrivatePayReason, NoSCHIPReason, NoStateHealthInsReason, NoVAMedReason, OtherInsurance, OtherInsuranceIdentify, PrivatePay, ProjectEntryID, SCHIP, StateHealthIns, VAMedicalServices
Attributes
QName Type Use Annotation
dataCollectionStage restriction of xs:unsignedInt required
See August 2016 HMIS Data Dictionary, Section 5.3.
dateCreated xs:dateTime required
See August 2016 HMIS Data Dictionary, 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 August 2016 HMIS Data Dictionary, Section 5.2.
informationDate xs:date required
userID string32 required
See August 2016 HMIS Data Dictionary, Section 5.7.
Asserts
Test XPath default namespace Annotation
if (hmis:IndianHealthServices/text()='0') then boolean(hmis:NoIndianHealthServicesReason) else (if (not(hmis:IndianHealthServices/text()='0')) then (not(boolean(hmis:NoIndianHealthServicesReason))) else false())
if (hmis:OtherInsurance/text()='1') then boolean(hmis:OtherInsuranceIdentify) else (if (not(hmis:OtherInsurance/text()='1')) then (not(boolean(hmis:OtherInsuranceIdentify))) else false())
if (hmis:Medicaid/text()='0') then boolean(hmis:NoMedicaidReason) else (if (not(hmis:Medicaid/text()='0')) then (not(boolean(hmis:NoMedicaidReason))) else false())
if (hmis:Medicare/text()='0') then boolean(hmis:NoMedicareReason) else (if (not(hmis:Medicare/text()='0')) then (not(boolean(hmis:NoMedicareReason))) else false())
if (hmis:SCHIP/text()='0') then boolean(hmis:NoSCHIPReason) else (if (not(hmis:SCHIP/text()='0')) then (not(boolean(hmis:NoSCHIPReason))) else false())
if (hmis:VAMedicalServices/text()='0') then boolean(hmis:NoVAMedReason) else (if (not(hmis:VAMedicalServices/text()='0')) then (not(boolean(hmis:NoVAMedReason))) else false())
if (hmis:EmployerProvided/text()='0') then boolean(hmis:NoEmployerProvidedReason) else (if (not(hmis:EmployerProvided/text()='0')) then (not(boolean(hmis:NoEmployerProvidedReason))) else false())
if (hmis:COBRA/text()='0') then boolean(hmis:NoCOBRAReason) else (if (not(hmis:COBRA/text()='0')) then (not(boolean(hmis:NoCOBRAReason))) else false())
if (hmis:PrivatePay/text()='0') then boolean(hmis:NoPrivatePayReason) else (if (not(hmis:PrivatePay/text()='0')) then (not(boolean(hmis:NoPrivatePayReason))) else false())
if (hmis:StateHealthIns/text()='0') then boolean(hmis:NoStateHealthInsReason) else (if (not(hmis:StateHealthIns/text()='0')) then (not(boolean(hmis:NoStateHealthInsReason))) else false())
Source
<xs:complexType name="healthInsurance">
  <xs:sequence>
    <xs:element name="HealthInsuranceID" type="hmis:string32">
      <xs:annotation>
        <xs:documentation xml:lang="en">Reference to the HealthInsurance'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="InsuranceFromAnySource" type="hmis:fiveValDKRefused" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.2.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Medicaid" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.3.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoMedicaidReason" type="reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.3A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="Medicare" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.4.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoMedicareReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.4A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="SCHIP" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.5.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoSCHIPReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.5A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="VAMedicalServices" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.6.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoVAMedReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.6A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="EmployerProvided" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.7.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoEmployerProvidedReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.7A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="COBRA" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.8.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoCOBRAReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.8A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="PrivatePay" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.9.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoPrivatePayReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.9A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="StateHealthIns" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.10.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoStateHealthInsReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.10A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="IndianHealthServices" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.11.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoIndianHealthServicesReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.11A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="OtherInsurance" type="hmis:noYesOnly" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.12.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="OtherInsuranceIdentify" type="hmis:string50" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See August 2016 HMIS Data Dictionary, Section 4.4.12A.</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 IndianHealthServices is 0, before allowing use of NoIndianHealthServicesReason-->
  <xs:assert test="if (hmis:IndianHealthServices/text()='0') then boolean(hmis:NoIndianHealthServicesReason) else (if (not(hmis:IndianHealthServices/text()='0')) then (not(boolean(hmis:NoIndianHealthServicesReason))) else false())"/>
  <!--Testing if OtherInsurance is 1, before allowing use of OtherInsuranceIdentify-->
  <xs:assert test="if (hmis:OtherInsurance/text()='1') then boolean(hmis:OtherInsuranceIdentify) else (if (not(hmis:OtherInsurance/text()='1')) then (not(boolean(hmis:OtherInsuranceIdentify))) else false())"/>
  <!--Testing if Medicaid is 0, before allowing use of NoMedicaidReason-->
  <xs:assert test="if (hmis:Medicaid/text()='0') then boolean(hmis:NoMedicaidReason) else (if (not(hmis:Medicaid/text()='0')) then (not(boolean(hmis:NoMedicaidReason))) else false())"/>
  <!--Testing if Medicare is 0, before allowing use of NoMedicareReason-->
  <xs:assert test="if (hmis:Medicare/text()='0') then boolean(hmis:NoMedicareReason) else (if (not(hmis:Medicare/text()='0')) then (not(boolean(hmis:NoMedicareReason))) else false())"/>
  <!--Testing if SCHIP is 0, before allowing use of NoSCHIPReason-->
  <xs:assert test="if (hmis:SCHIP/text()='0') then boolean(hmis:NoSCHIPReason) else (if (not(hmis:SCHIP/text()='0')) then (not(boolean(hmis:NoSCHIPReason))) else false())"/>
  <!--Testing if VAMedicalServices is 0, before allowing use of NoVAMedReason-->
  <xs:assert test="if (hmis:VAMedicalServices/text()='0') then boolean(hmis:NoVAMedReason) else (if (not(hmis:VAMedicalServices/text()='0')) then (not(boolean(hmis:NoVAMedReason))) else false())"/>
  <!--Testing if EmployerProvided is 0, before allowing use of NoVAMedReason-->
  <xs:assert test="if (hmis:EmployerProvided/text()='0') then boolean(hmis:NoEmployerProvidedReason) else (if (not(hmis:EmployerProvided/text()='0')) then (not(boolean(hmis:NoEmployerProvidedReason))) else false())"/>
  <!--Testing if COBRA is 0, before allowing use of NoCOBRAReason-->
  <xs:assert test="if (hmis:COBRA/text()='0') then boolean(hmis:NoCOBRAReason) else (if (not(hmis:COBRA/text()='0')) then (not(boolean(hmis:NoCOBRAReason))) else false())"/>
  <!--Testing if PrivatePay is 0, before allowing use of NoPrivatePayReason-->
  <xs:assert test="if (hmis:PrivatePay/text()='0') then boolean(hmis:NoPrivatePayReason) else (if (not(hmis:PrivatePay/text()='0')) then (not(boolean(hmis:NoPrivatePayReason))) else false())"/>
  <!--Testing if StateHealthIns is 0, before allowing use of NoStateHealthInsReason-->
  <xs:assert test="if (hmis:StateHealthIns/text()='0') then boolean(hmis:NoStateHealthInsReason) else (if (not(hmis:StateHealthIns/text()='0')) then (not(boolean(hmis:NoStateHealthInsReason))) else false())"/>
</xs:complexType>