Skip to content

Commit

Permalink
Renamed "Verified By" to "Treating Physician" (ohcnetwork#6300)
Browse files Browse the repository at this point in the history
Co-authored-by: Mohammed Nihal <[email protected]>
  • Loading branch information
thtauhid and nihal467 authored Sep 19, 2023
1 parent 8946529 commit 90c0310
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Components/Facility/ConsultationDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ export const ConsultationDetails = (props: any) => {
consultationData.deprecated_verified_by) && (
<div className="mt-2 text-sm">
<span className="font-semibold leading-relaxed">
Verified By:{" "}
Treating Physician:{" "}
</span>
{consultationData.verified_by_object
? `${consultationData.verified_by_object.first_name} ${consultationData.verified_by_object.last_name}`
Expand Down
4 changes: 2 additions & 2 deletions src/Components/Facility/ConsultationForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -539,7 +539,7 @@ export const ConsultationForm = (props: any) => {

case "verified_by": {
if (state.form.suggestion !== "DD" && !state.form[field]) {
errors[field] = "Please fill verified by";
errors[field] = "Please fill treating physician";
invalidForm = true;
break;
}
Expand Down Expand Up @@ -1321,7 +1321,7 @@ export const ConsultationForm = (props: any) => {
>
<UserAutocompleteFormField
name={"verified_by"}
label="Verified by"
label="Treating Physician"
placeholder="Attending Doctors Name and Designation"
required
value={state.form.verified_by_object ?? undefined}
Expand Down

0 comments on commit 90c0310

Please sign in to comment.