2023-04-10 09:29:10 +08:00
|
|
|
import { IDistrict, IProvince } from './location';
|
|
|
|
import { IClient } from './client';
|
2023-04-09 21:13:46 +08:00
|
|
|
|
|
|
|
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;
|
2023-04-09 21:13:46 +08:00
|
|
|
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;
|
2022-04-24 14:05:10 +08:00
|
|
|
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;
|
2023-04-09 21:13:46 +08:00
|
|
|
identifications: IPatientIdentification[];
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface IPatientIdentificationForm {
|
2023-04-10 09:29:10 +08:00
|
|
|
identificationUid: string;
|
2023-04-09 21:13:46 +08:00
|
|
|
value: string;
|
|
|
|
}
|