Skip to content

Commit

Permalink
Rename procedure Tracheostomy Tube Change and fix oral issue not ge…
Browse files Browse the repository at this point in the history
…tting unselected (#8576)
  • Loading branch information
rithviknishad authored Sep 20, 2024
1 parent 4337752 commit 5027d5b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Common/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ export const NURSING_CARE_PROCEDURES = [
"restrain",
"chest_tube_care",
"tracheostomy_care",
"tracheostomy_change",
"tracheostomy_tube_change",
"stoma_care",
"catheter_care",
"catheter_change",
Expand Down
4 changes: 4 additions & 0 deletions src/Components/Patient/DailyRounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -444,6 +444,10 @@ export const DailyRounds = (props: any) => {
form["investigations_dirty"] = true;
}

if (event.name === "nutrition_route" && event.value !== "ORAL") {
form["oral_issue"] = undefined;
}

dispatch({ type: "set_form", form });
};

Expand Down
2 changes: 1 addition & 1 deletion src/Locale/en/LogUpdate.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@
"NURSING_CARE_PROCEDURE__restrain": "Restrain",
"NURSING_CARE_PROCEDURE__chest_tube_care": "Chest Tube Care",
"NURSING_CARE_PROCEDURE__tracheostomy_care": "Tracheostomy Care",
"NURSING_CARE_PROCEDURE__tracheostomy_change": "Tracheostomy change ",
"NURSING_CARE_PROCEDURE__tracheostomy_tube_change": "Tracheostomy Tube Change",
"NURSING_CARE_PROCEDURE__stoma_care": "Stoma Care",
"NURSING_CARE_PROCEDURE__catheter_care": "Catheter Care",
"NURSING_CARE_PROCEDURE__catheter_change": "Catheter Change",
Expand Down

0 comments on commit 5027d5b

Please sign in to comment.