Skip to content

Commit

Permalink
Merge pull request #169 from Vision-2000/branch-DeveloperGuide-2
Browse files Browse the repository at this point in the history
Change link destination
  • Loading branch information
Vision-2000 authored Apr 15, 2024
2 parents 183a7a8 + 3d9223e commit d9bce06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ How the parsing works:

<box type="info" seamless>

**Note:** The diagram omits details of `UniqueVisitList` as that will be shown in [**Visit feature**](#implementation-4).
**Note:** The diagram omits details of `UniqueVisitList` as that will be shown in [**Visit feature**](#visit-feature).

</box>

Expand Down Expand Up @@ -200,7 +200,7 @@ to a less flexible feature.

#### Planned enhancements

In later iterations, we plan to add appointment and the 3 visit fields as optional conditions. The implementation will be identical to the above, as we can exploit the chaining of multiple `Predicate` objects in Java.
In later iterations, we plan to add appointment date and the 3 visit fields as optional conditions. The implementation will be identical to the above, as we can exploit the chaining of multiple `Predicate` objects in Java.

More complex enhancements can be made using the `Flag` subclass of `Prefix`, which is integrated into `ArgumentMultimap` as a zero-argument `Prefix`. This allows us to reuse the same command word `find`, but implement a different set of behaviour that is triggered when one or more optional `Flag` is detected. For example, the command `find-d n/Bob` could be implemented to find and delete all patients with the keyword `Bob` in their name.

Expand Down

0 comments on commit d9bce06

Please sign in to comment.