---
# System prepended metadata

title: HumanHealth Requirement

---

# HumanHealth Requirement
## Function List

- [x] Automatic Exam Date Selection (Default would be study date)
- [x] Doctor in Charge and Endoscopist Name Automatic Mapping for New Report (都放同個欄位同個值):
   - [x] Doctor in Charge map auto map to User login id 
   - [x] Endoscopist1 auto map to User login id 
- [x] Bowel Prep Change to `Good` `Fair` `Poor` (default would be `Good`)
- [x] Medication "Fentanyl" Unit Map to `mcg`, All Others Map to `mg`.
   - [x] Select Fentanyl auto map to `mcg`
   - [x] Others auto map to `mg`
- [x] Every Doctor Can Only View/Modify Their Own Report
    - [x] Add a function `Access All Studies` to grant role has all studies accessbility
        - If someone accidentally saves a report that they don't own, account with this permission can reassign the report
    - [x] Add flexible filter criteria to query studies
        - HumanHealth
            1. Endoscopist_1 == Login UserId
            2. ReportStatus == New

## Victor Suggestion
- [x] Change `Incomplete` Report Status to `New`

## Stephen Suggestion
To Prevent Home Page Long Loading Time, do the following optimizations:
- [x] Configurable showing number of rows in one page
- [x] Default showing case in reverse date order, so that today's case is shown first. (未打報告、日期篩選)

## Bug
- [x] User's signature insert errror
- [x] 日期篩選無效

## Additional Issues that need to follow-up after todays' meeting with HumanHealth Edward:

- [x] To resolve manual "reload" needed after adding Doctor/Anest, etc.
- [x] Auto-save to prevent user report working data lost in case of abnormal browser error.
    - 每5秒存一次在Browser上
    - 只有在`New`報告會套用報告資料
- [x] 每一個刪除的動作都做一個防呆保護機制