felicity-lims/webapp/models/patient.ts

46 lines
1,003 B
TypeScript
Raw Normal View History

2023-04-10 09:29:10 +08:00
import { IDistrict, IProvince } from './location';
import { IClient } from './client';
export interface IIdentification {
uid: string;
name: string;
}
export interface IPatientIdentification {
uid: string;
2023-04-10 09:29:10 +08:00
identificationUid: string;
identification: IIdentification;
patientUid: string;
value: string;
}
2021-11-12 05:30:10 +08:00
export interface IPatient {
2023-04-08 17:16:11 +08:00
uid: string;
2021-11-28 18:42:56 +08:00
clientPatientId: string;
patientId: string;
firstName: string;
middleName: string;
lastName: string;
client: IClient;
2023-04-08 17:16:11 +08:00
clientUid: string;
gender: string;
2021-11-28 18:42:56 +08:00
age: number;
dateOfBirth: Date;
ageDobEstimated: boolean;
phoneHome: string;
phoneMobile: string;
consentSms: boolean;
district: IDistrict;
2023-04-08 17:16:11 +08:00
districtUid: string;
2021-11-28 18:42:56 +08:00
province: IProvince;
2023-04-08 17:16:11 +08:00
provinceUid: string;
2021-12-23 16:56:49 +08:00
country: IDistrict;
2023-04-08 17:16:11 +08:00
countryUid: string;
identifications: IPatientIdentification[];
}
export interface IPatientIdentificationForm {
2023-04-10 09:29:10 +08:00
identificationUid: string;
value: string;
}