Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hiv cs tx continuity #451

Open
wants to merge 10 commits into
base: dev
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ BEGIN
,YEAR(TRY_CAST(DateConfirmedHIVPositiveKey AS DATETIME2)) As CohortYear
,TRY_CAST(DateConfirmedHIVPositiveKey AS DATETIME2) As CohortYearMonth
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure the CohortYearMonth is set to EndofMonth for ease of filtering

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Marymary-dev this has since been addressed.

,COUNT(1) AS NoOfClients
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@DennisGibz, do we need this column here since this is a patient level dataset ?

--INTO [HIVCaseSurveillance].[dbo].[CsTxContinuity]
INTO [HIVCaseSurveillance].[dbo].[CsTxContinuity]
FROM [NDWH].[dbo].[FactARTHistory] FactARTHistory
LEFT OUTER JOIN [NDWH].[dbo].[DimFacility] Facility
ON FactARTHistory.FacilityKey = Facility.FacilityKey
Expand Down