Skip to content

Commit

Permalink
fixes not found errors in investigation and other type errors (#6948)
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad authored Dec 29, 2023
1 parent 8197f29 commit 096905d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/Components/Facility/ConsultationDetails/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ const symptomChoices = [...SYMPTOM_CHOICES];

export interface ConsultationTabProps {
consultationId: string;
facilityId: string;
patientId: string;
consultationData: ConsultationModel;
patientData: PatientModel;
}
Expand Down Expand Up @@ -189,6 +191,8 @@ export const ConsultationDetails = (props: any) => {
const consultationTabProps: ConsultationTabProps = {
consultationId,
consultationData,
patientId: consultationData.patient,
facilityId: consultationData.facility,
patientData,
};

Expand Down
4 changes: 2 additions & 2 deletions src/Components/Facility/models.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,12 @@ export interface ConsultationModel {
discharge_notes?: string;
examination_details?: string;
history_of_present_illness?: string;
facility?: number;
facility: string;
facility_name?: string;
id: string;
modified_date?: string;
other_symptoms?: string;
patient?: string;
patient: string;
treatment_plan?: string;
referred_to?: FacilityModel["id"];
referred_to_object?: FacilityModel;
Expand Down

0 comments on commit 096905d

Please sign in to comment.