Skip to content

Commit

Permalink
Change pharmacy status to medication status
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariel Virgulto committed Feb 12, 2024
1 parent e5146e8 commit 8a2c93f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const PharmacyStatus = (props: PharmacyStatusProps) => {

return (
<div>
<h1>Pharmacy Status</h1>
<h1>Medication Status</h1>
<div className="status-icon" style={{ backgroundColor: color }}></div>
<Grid container columns={12}>
<Grid item xs={10}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('Test the PharmacyStatus Component', () => {
render(<PharmacyStatus update={update} callback={() => {}} testEhrResponse={null} />);

// test the status fields and headings are present
expectContains('Pharmacy Status');
expectContains('Medication Status');
expectContains('ID: N/A');
expectContains('Status: N/A');

Expand Down Expand Up @@ -80,7 +80,7 @@ describe('Test the PharmacyStatus Component', () => {
};
// render the module
render(<PharmacyStatus update={update} callback={callback} testEhrResponse={null} />);
// verify that the values are updated from the call to get the Pharmacy Status
// verify that the values are updated from the call to get the Medication Status
expect(pimsResponse).toBeTruthy();
});

Expand All @@ -97,7 +97,7 @@ describe('Test the PharmacyStatus Component', () => {
const refreshButton = screen.getByTestId('refresh');
fireEvent.click(refreshButton);

// verify that the values are updated from the call to get the Pharmacy Status
// verify that the values are updated from the call to get the Medication Status
expect(called).toBe(true);
});

Expand All @@ -110,7 +110,7 @@ describe('Test the PharmacyStatus Component', () => {
const refreshButton = screen.getByTestId('refresh');
fireEvent.click(refreshButton);

// verify that the values are updated from the call to get the Pharmacy Status
// verify that the values are updated from the call to get the Medication Status
expect(await screen.findByText('ID: N/A')).toBeInTheDocument();
expect(await screen.findByText('Status: N/A')).toBeInTheDocument();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export default function RemsInterface(props: RemsInterfaceProps) {
</div>

<div className="right-form">
<h1>Pharmacy Status</h1>
<h1>Medication Status</h1>
<Paper style={{ paddingBottom: '5px' }}>
<div className="status-icon" style={{ backgroundColor: colorPis }}></div>
<div className="bundle-entry">ID : {response?.resource?.id || 'N/A'}</div>
Expand Down

0 comments on commit 8a2c93f

Please sign in to comment.