Exclude ADTPatientStatusDSC = 'Hospital Outpatient Visit' from EncounterInpatientEncounters
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.