Skip to content

Commit

Permalink
udpate type definitions
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Aug 29, 2024
1 parent adc927e commit a7da872
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/Components/Facility/models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import { RouteToFacility } from "../Common/RouteToFacilitySelect";
import { InvestigationType } from "../Common/prescription-builder/InvestigationBuilder";
import { ProcedureType } from "../Common/prescription-builder/ProcedureBuilder";
import { ConsultationDiagnosis, CreateDiagnosis } from "../Diagnosis/types";
import { NormalPrescription, PRNPrescription } from "../Medicine/models";
import {
AssignedToObjectModel,
DailyRoundsModel,
Expand Down Expand Up @@ -127,8 +126,6 @@ export interface ConsultationModel {
created_date?: string;
discharge_date?: string;
new_discharge_reason?: (typeof DISCHARGE_REASONS)[number]["id"];
discharge_prescription?: NormalPrescription;
discharge_prn_prescription?: PRNPrescription;
discharge_notes?: string;
examination_details?: string;
history_of_present_illness?: string;
Expand Down
1 change: 0 additions & 1 deletion src/Components/Patient/DailyRoundListDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ export const DailyRoundListDetails = (props: any) => {
if (res && data) {
const tdata: DailyRoundsModel = {
...data,
medication_given: data.medication_given ?? [],
};
setDailyRoundListDetails(tdata);
}
Expand Down
1 change: 0 additions & 1 deletion src/Components/Patient/models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ export interface DailyRoundsModel {
physical_examination_info?: string;
other_details?: string;
consultation?: number;
medication_given?: Array<any>;
action?: string;
review_interval?: number;
id?: string;
Expand Down

0 comments on commit a7da872

Please sign in to comment.