In the Denominator section
First: "Occurrence A of Diagnostic Study, Performed: VTE Diagnostic Test (result: VTE Confirmed)" starts during Occurrence A of $EncounterInpatient
"FIRST" would be referring to the First Diagnostic Study, Performed or the "FIRST" result of the Diagnostic Study, Performed