-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Closes #132] Add additional information for the results of the Physi…
…cian search (#135) * include hospital data for each physician * display name of hospital with each physician in form dropdrown * Displays physician followed by hospital name only if it exists * Format selected value * Fixed format issues with Prettier * Fixed bug related to pagination headers * Formatted with Prettier * Modify pagination parameters to avoid conflicts * Update display of dropdown values * Include hospitals in physician query * Restore to previous approach of paginating results * Refactored data mapping to hospital name * Update initial physician input * Modified component with hospital data * Reformatted physician input value * Add nullish operator to prevent accessing undefined properties Without the use of the nullish operator here, the app would crash when a search for physicians is made where some of the fields are null. * Modify string creation logic to remove extra characters * Remove passing initial hospital data prop as it is unused * Display physician name and their hospital if patient has that information stored already * Separate out the pieces for string construction of physician details * Display physician name, hospital, and phone number in combobox drop down * Format files --------- Co-authored-by: Wendy <[email protected]> Co-authored-by: samau3 <[email protected]>
- Loading branch information
1 parent
63bb8e7
commit 1fd9b26
Showing
6 changed files
with
49 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters