From 8eebb62874fe7e3f9578fbcc52f3e06701428ec8 Mon Sep 17 00:00:00 2001 From: Josh Mandel Date: Tue, 31 Oct 2023 22:50:01 -0500 Subject: [PATCH] Update StructureDefinition-ViewDefinition-notes.md --- input/pagecontent/StructureDefinition-ViewDefinition-notes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/input/pagecontent/StructureDefinition-ViewDefinition-notes.md b/input/pagecontent/StructureDefinition-ViewDefinition-notes.md index b469a42..65ae519 100644 --- a/input/pagecontent/StructureDefinition-ViewDefinition-notes.md +++ b/input/pagecontent/StructureDefinition-ViewDefinition-notes.md @@ -486,7 +486,7 @@ that any `unionAll` branches produce the same columns. **Emits:** one output row at a time 1. If `V.where` is defined - * Evaluate `fhirpath(V.where, R)` to determine whether `R` is a candidate for `V` + * Evaluate `fhirpath(V.where.path, R)` to determine whether `R` is a candidate for `V` * If `R` is not a candidate for `V`, return immediately without emitting any rows * Otherwise, continue 2. Emit all rows from `Process(S, V)` @@ -535,7 +535,7 @@ Then the Cartesian product of these sets consists of four complete rows: 4. Process UnionAlls: 1. Initialize `urows` as an empty list of rows 2. For each selection structure `u` of `S.unionAll` - * For each row `r` in `fhirpath(u, f)` + * For each row `r` in `Process(u, f)` * Append `r` to `urows` 3. Append `urows` to `parts` * (Note: do not append the elements but the whole list, so the final element of `parts` is now the list `urows`)