<xs:element name="RhyAfterCareID" type="hmis:string32"><xs:annotation><xs:documentation xml:lang="en">Reference to the rhyAftercare's unique ID</xs:documentation></xs:annotation></xs:element>
<xs:element name="ExitID" type="hmis:string32"><xs:annotation><xs:documentation xml:lang="en">Key reference to the Exit</xs:documentation></xs:annotation></xs:element>
See June 2017 HMIS Data Dictionary v1.2, Section R20.1. Renamed to match CSV's name for this element, which was made specific, since this section is merged into Exit.csv for normalization reasons.
Must be between ExitDate and ExitDate + 180 days AND AftercareProvided is not null
Diagram
Type
xs:date
Properties
content
simple
Source
<xs:element name="AfterCareDate" type="xs:date"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.1. Renamed to match CSV's name for this element, which was made specific, since this section is merged into Exit.csv for normalization reasons.</xs:documentation><xs:documentation xml:lang="en">Must be between ExitDate and ExitDate + 180 days AND AftercareProvided is not null</xs:documentation></xs:annotation></xs:element>
<xs:element name="Telephone" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.A: via telephone</xs:documentation></xs:annotation></xs:element>
<xs:element name="InPersonIndividual" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.A: via in person: one-on-one.</xs:documentation></xs:annotation></xs:element>
<xs:element name="InPersonGroup" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.A: via in person: group.</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 June 2017 HMIS Data Dictionary v1.2, Section 5.7.
Asserts
Test
XPath default namespace
Annotation
if (hmis:AfterCareProvided/text()='1') then boolean(hmis:EmailSocialMedia) else (if
(not(hmis:AfterCareProvided/text()='1')) then (not(boolean(hmis:EmailSocialMedia)))
else false())
if (hmis:AfterCareProvided/text()='1') then boolean(hmis:Telephone) else (if (not(hmis:AfterCareProvided/text()='1'))
then (not(boolean(hmis:Telephone))) else false())
if (hmis:AfterCareProvided/text()='1') then boolean(hmis:InPersonIndividual) else
(if (not(hmis:AfterCareProvided/text()='1')) then (not(boolean(hmis:InPersonIndividual)))
else false())
if (hmis:AfterCareProvided/text()='1') then boolean(hmis:InPersonGroup) else (if (not(hmis:AfterCareProvided/text()='1'))
then (not(boolean(hmis:InPersonGroup))) else false())
Source
<xs:complexType name="rhyAftercare"><xs:sequence><xs:element name="RhyAfterCareID" type="hmis:string32"><xs:annotation><xs:documentation xml:lang="en">Reference to the rhyAftercare's unique ID</xs:documentation></xs:annotation></xs:element><xs:element name="ExitID" type="hmis:string32"><xs:annotation><xs:documentation xml:lang="en">Key reference to the Exit</xs:documentation></xs:annotation></xs:element><xs:element name="AfterCareDate" type="xs:date"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.1. Renamed to match CSV's name for this element, which was made specific, since this section is merged into Exit.csv for normalization reasons.</xs:documentation><xs:documentation xml:lang="en">Must be between ExitDate and ExitDate + 180 days AND AftercareProvided is not null</xs:documentation></xs:annotation></xs:element><xs:element name="AfterCareProvided" type="hmis:noYesRefused"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.2.</xs:documentation></xs:annotation></xs:element><xs:element name="EmailSocialMedia" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.A: via email/social media.</xs:documentation></xs:annotation></xs:element><xs:element name="Telephone" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.A: via telephone</xs:documentation></xs:annotation></xs:element><xs:element name="InPersonIndividual" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.A: via in person: one-on-one.</xs:documentation></xs:annotation></xs:element><xs:element name="InPersonGroup" type="hmis:noYes" minOccurs="0"><xs:annotation><xs:documentation xml:lang="en">See June 2017 HMIS Data Dictionary v1.2, Section R20.A: via in person: group.</xs:documentation></xs:annotation></xs:element></xs:sequence><xs:attributeGroup ref="hmis:baseMetaData"/><!--Testing if AfterCareProvided is 1, before allowing use of EmailSocialMedia--><xs:assert test="if (hmis:AfterCareProvided/text()='1') then boolean(hmis:EmailSocialMedia) else (if (not(hmis:AfterCareProvided/text()='1')) then (not(boolean(hmis:EmailSocialMedia))) else false())"/><!--Testing if AfterCareProvided is 1, before allowing use of Telephone--><xs:assert test="if (hmis:AfterCareProvided/text()='1') then boolean(hmis:Telephone) else (if (not(hmis:AfterCareProvided/text()='1')) then (not(boolean(hmis:Telephone))) else false())"/><!--Testing if AfterCareProvided is 1, before allowing use of InPersonIndividual--><xs:assert test="if (hmis:AfterCareProvided/text()='1') then boolean(hmis:InPersonIndividual) else (if (not(hmis:AfterCareProvided/text()='1')) then (not(boolean(hmis:InPersonIndividual))) else false())"/><!--Testing if AfterCareProvided is 1, before allowing use of InPersonGroup--><xs:assert test="if (hmis:AfterCareProvided/text()='1') then boolean(hmis:InPersonGroup) else (if (not(hmis:AfterCareProvided/text()='1')) then (not(boolean(hmis:InPersonGroup))) else false())"/></xs:complexType>