Open juliangruendner opened 1 month ago
note that the patient ref extraction can be build analogous to flare:
public Optional<String> patientId() {
return patient != null ? patient.id() : subject != null ? subject.id() : Optional.ofNullable(id);
}
It should be possible to not only count initial populations, but also patient populations.
when counting patient population the number of unique patient ids should be counted instead of the number of unique entries for the stratifier.
Example: If there are three resources with the code C50.0 icd10, two of which reference the same patient. and a stratifier counts the icd 10 codes.
the initial population for the sample would be 3 and the patient population would be 2
=> Patient Population = Number of Patients a stratifier exists for.
Example Measure Input:
Example MeasureReport Output: