hmis-interop / xml

Repository for Homeless Management Information Exchange (HMIS) XML Schema development
https://hudhdx.info/VendorResources.aspx
The Unlicense
5 stars 6 forks source link

IncomeAndSources: list of mandatory fields is different between XML and CSV #186

Closed nataliesus closed 3 years ago

nataliesus commented 3 years ago

Hi @eric-jahn ,

IncomeAndSources has many mandatory fields that are optional in CSV. Shouldn't they be consistent with CSV? Please advise.

XML image

CSV image

Maybe IncomeFromAnySource should be mandatory but other fields should be optional?

Best regards, Natalie

eric-jahn commented 3 years ago

I'm realizing I shouldn't have made this change. IncomeFromAnySource and related fields are required to have a values, per the FY2020 HMIS Data Standard. The CSV format can not require it, because the table is denormalized with the other benefits, so they need to be nillable to skip them. But with the XML, the whole IncomeAndSources data element can be independently skipped. "If there is a "no" response to 'Income from Any Source' then the HMIS must automatically record all sources as "no" and leave dollar amounts null of $0.00."

nataliesus commented 3 years ago

Hi @eric-jahn , But if 'Income from Any Source' = Data not collected, or Rejected, then other fields are not asked so they must be optional, correct?

eric-jahn commented 3 years ago

Oh right, for 8/9/99 values, they would be optional. Oh, good, I can keep this change. Thank you! :)

On Wed, Sep 8, 2021 at 9:48 AM Natalie Sus @.***> wrote:

Hi @eric-jahn https://github.com/eric-jahn , But if 'Income from Any Source' = Data not collected, or Rejected, then other fields are not asked so they must be optional, correct?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hmis-interop/xml/issues/186#issuecomment-915255403, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA7MVB7UYDPOFKLOBILH2L3UA5SSLANCNFSM5DSL2S5Q . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

eric-jahn commented 3 years ago

Except IncomeFromAnySource still needs to be made mandatory, like you originally suggested in the first comment, lol. :)