June 4, 2026: Improved classification of EHR-sourced encounters
Zus has improved how we classify encounters that arrive from EHR clinical documents (CDAs).
When a document contains both a header-level and a body-level encounter for the same visit, Zus previously treated them as two separate events — sometimes resulting in an Encounter.class of IMP (inpatient) for a visit that was actually outpatient or emergency. This propagated to EpisodeOfCare.extension:encounterClass and could generate phantom inpatient Transitions of Care.
We now consolidate these encounter pairs before classification. Class conflicts are resolved using explicit merge rules: AMB+IMP → AMB, EMER+IMP → EMER. This fix applies to CDA-sourced encounter pairs from the same document; ADT-sourced encounters are unaffected. Affected ToCs will no longer be created, and workflows for genuine inpatient admissions are unaffected. No changes are required on the customer side.
