HMIS / LSASampleCode

Longitudinal System Analysis (LSA) Sample Code and Documentation
22 stars 10 forks source link

LSA Sample Code Repository

The Longitudinal System Analysis (LSA) is:

This repository is provided as a supplement to the LSA Report Specifications for the benefit of HMIS vendors. Its purpose is to provide a space for reconciling the LSA specifications to the HMIS Data Standards as required to maintain a compliant HMIS product. The LSA Report Specifications remain the central reference for vendors in regards to creating and maintaining LSA reporting.

Documentation

The final versions of these documents are available on the HUD Exchange. The documents here are working versions that change more frequently and prior to release on the HUD Exchange.

Code

The sample code is SQL, and written in SQL Server. Originally, it was not intended for public release -- it was written concurrent with the first version of the specs (FY2018) as a check to make sure the specs were specific enough. It was released on GitHub as a reference.

Sample Data

The Sample Data file above includes five ZIP files:

Dependencies

In order to run the code as is, a user must have access to a SQL Server (or SQL Server Express) database with:

Specifically, the LSA sample code requires the tables listed below. Only records where DateDeleted is NULL are relevant.