State Diagram for Creating Person
- Add new person line: call speculation/person with a "put", returns speculation with key
- Enter a person search string to person/autocomplete, returns list of people with pkeys
- Choose a person: call appointments/:pkey, returns a list of appointments
- Choose a specific appointment, call speculation/person/ with a "post" with specKey, pKey, and appointmentKey, get back speculation with data
State for Creating TBH
- First, do PUT call to rest/v2/speculation/person/tbh, returns tbhid (essentially a person id) and returns a full speculation
- Click on a TBH, call rest/v2/speculation/person/tbh/:tbhid,
- If update, do POST call rest/v2/speculation/person/:pid (where pid == tbhid) to change TBH
- Not doing TBH-Named Person for initial rollout.
State for Creating Expenses
- Add line calls speculation/expense with Block GL Cat, return speculation
- Update expense line with call to speculation/expense/:specID with a post