Skip to content

Commit

Permalink
Update StructureDefinition-ViewDefinition-notes.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jmandel authored Nov 1, 2023
1 parent 9badbd9 commit 8eebb62
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions input/pagecontent/StructureDefinition-ViewDefinition-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down Expand Up @@ -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`)
Expand Down

0 comments on commit 8eebb62

Please sign in to comment.