Skip to content

Commit 589b102

Browse files
committed
replace patient(s) w/ participant(s)
1 parent d9174ef commit 589b102

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

src/ui-client/src/components/Admin/ConceptEditor/Sections/Display.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export class Display extends React.PureComponent<Props> {
3939
/>
4040
<Input
4141
changeHandler={changeHandler} propName={'uiDisplayPatientCount'} value={adminConcept!.uiDisplayPatientCount}
42-
label='Patient Count' type='number' subLabel='Total patient count displayed next to name'
42+
label='Participant Count' type='number' subLabel='Total participant count displayed next to name'
4343
/>
4444
<Input
4545
changeHandler={changeHandler} propName={'uiDisplayUnits'} value={adminConcept!.uiDisplayUnits}

src/ui-client/src/components/FindPatients/Panels/InclusionDropdown.tsx

+4-4
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ export default class InclusionDropdown extends React.PureComponent<Props, State>
4848
// Set the text and options to display, depending on inclusion state and
4949
// whether it is the first panel or not
5050
if (isFirst) {
51-
opts = [ 'Patients Who', 'Not Patients Who' ];
52-
displayText = isInclusionCriteria ? 'Patients Who' : 'Not Patients Who';
51+
opts = [ 'Participants Who', 'Not Participants Who' ];
52+
displayText = isInclusionCriteria ? 'Participants Who' : 'Not Participants Who';
5353
}
5454
else {
5555
opts = [ 'And', 'And Not' ];
@@ -83,7 +83,7 @@ export default class InclusionDropdown extends React.PureComponent<Props, State>
8383
private selectItem = (item: any) => {
8484
const { index, inclusionDropdownType, panel, handlers } = this.props;
8585
const text = item.target.innerText;
86-
const include = text === 'Patients Who' || text === 'And' ? true : false;
86+
const include = text === 'Participants Who' || text === 'And' ? true : false;
8787

8888
// Update state
8989
if (inclusionDropdownType === INCLUSION_DROPDOWN_TYPE.PANEL) {
@@ -92,4 +92,4 @@ export default class InclusionDropdown extends React.PureComponent<Props, State>
9292
handlers.handleSubPanelInclusion(panel.index, index, include);
9393
}
9494
}
95-
}
95+
}

src/ui-client/src/config/routes.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const timelines = (): RouteConfig => {
7676
};
7777
const patientList = (): RouteConfig => {
7878
return {
79-
display: 'Patient List',
79+
display: 'Participant List',
8080
icon: <MdPerson />,
8181
index: Routes.PatientList,
8282
path: '/patientList',

0 commit comments

Comments
 (0)