Showing:

Annotations
Attributes
Asserts
Diagrams
Facets
Model
Properties
Source
Used by
Element medicalAssistance / MedicalAssistanceID
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
Reference to the MedicalAssistance'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="MedicalAssistanceID" type="hmis:string32">
  <xs:annotation>
    <xs:documentation xml:lang="en">Reference to the MedicalAssistance's unique ID</xs:documentation>
  </xs:annotation>
</xs:element>
Element medicalAssistance / 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 medicalAssistance / HIVAIDSAssistance
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
See June 2017 HMIS Data Dictionary v1.2, Section 4.39.2.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesDoesntKnowRefused.tmp#noYesDoesntKnowRefused
Type noYesDoesntKnowRefused
Properties
content simple
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="HIVAIDSAssistance" type="hmis:noYesDoesntKnowRefused">
  <xs:annotation>
    <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.39.2.</xs:documentation>
  </xs:annotation>
</xs:element>
Element medicalAssistance / NoHIVAIDSAssistanceReason
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
See June 2017 HMIS Data Dictionary v1.2, Section 4.39.2A.
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="NoHIVAIDSAssistanceReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.39.2A.</xs:documentation>
  </xs:annotation>
</xs:element>
Element medicalAssistance / ADAP
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
See June 2017 HMIS Data Dictionary v1.2, Section 4.39.3.
Diagram
Diagram HUD_HMIS_xsd_Simple_Type_noYesDoesntKnowRefused.tmp#noYesDoesntKnowRefused
Type noYesDoesntKnowRefused
Properties
content simple
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="ADAP" type="hmis:noYesDoesntKnowRefused">
  <xs:annotation>
    <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.39.3.</xs:documentation>
  </xs:annotation>
</xs:element>
Element medicalAssistance / NoADAPReason
Namespace http://www.hudhdx.info/Resources/Vendors/6_1_1/HUD_HMIS.xsd
Annotations
See June 2017 HMIS Data Dictionary v1.2, Section 4.39.3B.
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="NoADAPReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
  <xs:annotation>
    <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.39.3B.</xs:documentation>
  </xs:annotation>
</xs:element>
Complex Type medicalAssistance
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_medicalAssistance.tmp#medicalAssistance_MedicalAssistanceID HUD_HMIS_xsd_Complex_Type_medicalAssistance.tmp#medicalAssistance_EnrollmentID HUD_HMIS_xsd_Complex_Type_medicalAssistance.tmp#medicalAssistance_HIVAIDSAssistance HUD_HMIS_xsd_Complex_Type_medicalAssistance.tmp#medicalAssistance_NoHIVAIDSAssistanceReason HUD_HMIS_xsd_Complex_Type_medicalAssistance.tmp#medicalAssistance_ADAP HUD_HMIS_xsd_Complex_Type_medicalAssistance.tmp#medicalAssistance_NoADAPReason
Used by
Model
Children ADAP, EnrollmentID, HIVAIDSAssistance, MedicalAssistanceID, NoADAPReason, NoHIVAIDSAssistanceReason
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:HIVAIDSAssistance/text()='0') then boolean(hmis:NoHIVAIDSAssistanceReason) else (if (not(hmis:HIVAIDSAssistance/text()='0')) then (not(boolean(hmis:NoHIVAIDSAssistanceReason))) else false())
if (hmis:ADAP/text()='0') then boolean(hmis:NoADAPReason) else (if (not(hmis:ADAP/text()='0')) then (not(boolean(hmis:NoADAPReason))) else false())
Source
<xs:complexType name="medicalAssistance">
  <xs:sequence>
    <xs:element name="MedicalAssistanceID" type="hmis:string32">
      <xs:annotation>
        <xs:documentation xml:lang="en">Reference to the MedicalAssistance'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="HIVAIDSAssistance" type="hmis:noYesDoesntKnowRefused">
      <xs:annotation>
        <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.39.2.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoHIVAIDSAssistanceReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.39.2A.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="ADAP" type="hmis:noYesDoesntKnowRefused">
      <xs:annotation>
        <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.39.3.</xs:documentation>
      </xs:annotation>
    </xs:element>
    <xs:element name="NoADAPReason" type="hmis:reasonNotInsuredOrAssisted" minOccurs="0">
      <xs:annotation>
        <xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section 4.39.3B.</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 HIVAIDSAssistance is 0, before allowing use of NoHIVAIDSAssistanceReason-->
  <xs:assert test="if (hmis:HIVAIDSAssistance/text()='0') then boolean(hmis:NoHIVAIDSAssistanceReason) else (if (not(hmis:HIVAIDSAssistance/text()='0')) then (not(boolean(hmis:NoHIVAIDSAssistanceReason))) else false())"/>
  <!--Testing if ADAP is 0, before allowing use of NoADAPReason-->
  <xs:assert test="if (hmis:ADAP/text()='0') then boolean(hmis:NoADAPReason) else (if (not(hmis:ADAP/text()='0')) then (not(boolean(hmis:NoADAPReason))) else false())"/>
</xs:complexType>