Merged PatientModule
This commit is contained in:
parent
b5ef24a736
commit
91bfc622d1
@ -3,7 +3,6 @@ import { Injectable } from '@angular/core';
|
||||
import type { PagedResultDto } from '../abp/application/services/dto/models';
|
||||
import type { AppointmentDto, CreateOrUpdateAppointmentDto } from '../appoinments/dto/models';
|
||||
import type { PagingSortResultDto } from '../dto/models';
|
||||
import type { PatientRecordDto } from '../patients/dto/models';
|
||||
|
||||
@Injectable({
|
||||
providedIn: 'root',
|
||||
@ -56,7 +55,7 @@ export class AppointmentService {
|
||||
|
||||
|
||||
updateAppointment = (input: CreateOrUpdateAppointmentDto, config?: Partial<Rest.Config>) =>
|
||||
this.restService.request<any, PatientRecordDto>({
|
||||
this.restService.request<any, AppointmentDto>({
|
||||
method: 'PUT',
|
||||
url: '/api/app/appointment/appointment',
|
||||
body: input,
|
||||
|
@ -1090,8 +1090,8 @@
|
||||
}
|
||||
],
|
||||
"returnValue": {
|
||||
"type": "HospitalManagementSystem.Patients.Dto.PatientRecordDto",
|
||||
"typeSimple": "HospitalManagementSystem.Patients.Dto.PatientRecordDto"
|
||||
"type": "HospitalManagementSystem.Appoinments.Dto.AppointmentDto",
|
||||
"typeSimple": "HospitalManagementSystem.Appoinments.Dto.AppointmentDto"
|
||||
},
|
||||
"allowAnonymous": null,
|
||||
"implementFrom": "HospitalManagementSystem.Appointments.AppointmentAppService"
|
||||
|
@ -1,6 +1,38 @@
|
||||
import type { Gender } from '../../global-enum/gender.enum';
|
||||
import type { Status } from '../../global-enum/status.enum';
|
||||
|
||||
export interface CreateUpdatePatientDto {
|
||||
id?: string;
|
||||
name?: string;
|
||||
gender: Gender;
|
||||
mobile?: string;
|
||||
email?: string;
|
||||
age: number;
|
||||
treatment?: string;
|
||||
doctorAssigned?: string;
|
||||
address?: string;
|
||||
bloodGroup?: string;
|
||||
admissionDate?: string;
|
||||
dischargeDate?: string;
|
||||
status: Status;
|
||||
imageID?: string;
|
||||
}
|
||||
|
||||
export interface CreateUpdatePatientRecordDto {
|
||||
id?: string;
|
||||
patientId?: string;
|
||||
dateOfAdmission?: string;
|
||||
labReportUrlID?: string;
|
||||
medicationUrlID?: string;
|
||||
medicationHistoryUrlID?: string;
|
||||
nextFollowUp?: string;
|
||||
diagnosis?: string;
|
||||
treatmentPlan?: string;
|
||||
doctorNotes?: string;
|
||||
insuranceProvider?: string;
|
||||
status: Status;
|
||||
}
|
||||
|
||||
export interface PatientDto {
|
||||
id?: string;
|
||||
name?: string;
|
||||
@ -33,35 +65,3 @@ export interface PatientRecordDto {
|
||||
insuranceProvider?: string;
|
||||
status: Status;
|
||||
}
|
||||
|
||||
export interface CreateUpdatePatientDto {
|
||||
id?: string;
|
||||
name?: string;
|
||||
gender: Gender;
|
||||
mobile?: string;
|
||||
email?: string;
|
||||
age: number;
|
||||
treatment?: string;
|
||||
doctorAssigned?: string;
|
||||
address?: string;
|
||||
bloodGroup?: string;
|
||||
admissionDate?: string;
|
||||
dischargeDate?: string;
|
||||
status: Status;
|
||||
imageID?: string;
|
||||
}
|
||||
|
||||
export interface CreateUpdatePatientRecordDto {
|
||||
id?: string;
|
||||
patientId?: string;
|
||||
dateOfAdmission?: string;
|
||||
labReportUrlID?: string;
|
||||
medicationUrlID?: string;
|
||||
medicationHistoryUrlID?: string;
|
||||
nextFollowUp?: string;
|
||||
diagnosis?: string;
|
||||
treatmentPlan?: string;
|
||||
doctorNotes?: string;
|
||||
insuranceProvider?: string;
|
||||
status: Status;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user