Skip to content

Exclude ADTPatientStatusDSC = 'Hospital Outpatient Visit' from EncounterInpatientEncounters

Hubbell, Harrison Taylor requested to merge hh_inpatient_outpatient into master

Closes #9 (closed). Closes #13 (closed).

This commit resolves two outstanding issues where non-inpatient events were being included in the EncounterInpatientEncounters view. We believe this occurs because certain types of contacts happen during the encounter, such as surgeries and imaging. These contacts would spawn a new PatientEncounterID.

To resolve both of these issues, we will exclude ADTPatientStatusDSC = 'Hospital Outpatient Visit'.

@jcd71 Please sign off on this merge request.

Merge request reports