Merge branch 'dev' into feat/encounter
This commit is contained in:
No files matched your search
+12
-6
@@ -2,12 +2,13 @@ import { type Base, genBase } from "./_base"
|
||||
import type { PersonAddress } from "./person-address"
|
||||
import type { PersonContact } from "./person-contact"
|
||||
import type { PersonRelative } from "./person-relative"
|
||||
import type { Ethnic } from './ethnic'
|
||||
import type { Language } from './language'
|
||||
import type { Regency } from './regency'
|
||||
|
||||
export interface Person extends Base {
|
||||
// todo: awaiting approve from stake holder: buat field sapaan
|
||||
// todo: adjust field ketika person Balita
|
||||
name: string
|
||||
alias?: string
|
||||
// alias?: string
|
||||
frontTitle?: string
|
||||
endTitle?: string
|
||||
birthDate?: Date | string
|
||||
@@ -29,9 +30,14 @@ export interface Person extends Base {
|
||||
passportFileUrl?: string
|
||||
drivingLicenseFileUrl?: string
|
||||
familyIdentityFileUrl?: string
|
||||
addresses?: PersonAddress[]
|
||||
contacts?: PersonContact[]
|
||||
relatives?: PersonRelative[]
|
||||
|
||||
// preload data for detail patient
|
||||
birthRegency?: Regency | null
|
||||
addresses?: PersonAddress[] | null
|
||||
contacts?: PersonContact[] | null
|
||||
relatives?: PersonRelative[] | null
|
||||
ethnic?: Ethnic | null
|
||||
language?: Language | null
|
||||
}
|
||||
|
||||
export function genPerson(): Person {
|
||||
|
||||
Reference in New Issue
Block a user