Skip to content

Commit

Permalink
OHRI-2259 Refactor redundant covid package api calls to commons lib
Browse files Browse the repository at this point in the history
  • Loading branch information
CynthiaKamau committed Jul 2, 2024
1 parent b09063b commit 8e84ad4
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 332 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import relativeTime from 'dayjs/plugin/relativeTime';
import { AddPatientToListOverflowMenuItem } from '../modals/add-patient-to-list-modal.component';
import { fetchPatientLastEncounter } from '../../api.resource';
import { launchForm } from '../../utils/ohri-forms-commons';
import { navigate, WorkspaceWindow } from '@openmrs/esm-framework';
import { WorkspaceContainer, navigate } from '@openmrs/esm-framework';

interface PatientMetaConfig {
location: { name: string };
Expand Down Expand Up @@ -69,7 +69,7 @@ export const LaunchableFormMenuItem = ({
navigate({ to: patientUrl });
}}
/>
<WorkspaceWindow contextKey={`patient/${patientUuid}`} />
<WorkspaceContainer showSiderailAndBottomNav contextKey={`patient/${patientUuid}`} />
</>
)}
</>
Expand Down
22 changes: 0 additions & 22 deletions packages/esm-covid-app/src/covid.resource.ts

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 8e84ad4

Please sign in to comment.