Linking Programs to Encounters

What is the purpose is of explicitly marking an encounter as belonging to a program? What are some specific problems this is going to solve? Are they clinical? Or for reporting purposes?

Having a weak link via encounter type could be more correct.

My initial reaction is that it’s not clinically correct to say that a generic encounter (like vitals or consultation) “belongs to” a program enrollment. I know that programmatically a patient may be seen as part of a program-based appointment, but a patient could be diagnosed with diabetes even if they are nominally there for a TB enrollment appointment.