68 lines
1.6 KiB
Plaintext
68 lines
1.6 KiB
Plaintext
// model Practitioner {
|
|
// id String @id @default(auto()) @map("_id") @db.ObjectId
|
|
// active Boolean @default(true)
|
|
// identifier Identifier[]
|
|
// // name HumanName[]
|
|
// // telecom ContactPoint[]
|
|
// birthDate DateTime?
|
|
// birthPlace String?
|
|
// // deceased Deceased?
|
|
// // address AddressType[]
|
|
// // communication BackboneElementCommunication[]
|
|
// }
|
|
|
|
// type Identifier {
|
|
// name String
|
|
// value String
|
|
// }
|
|
|
|
// type HumanName {
|
|
// use String @default("usual")
|
|
// text String?
|
|
// family String?
|
|
// given String[]
|
|
// prefix String[]
|
|
// suffix String[]
|
|
// period Period
|
|
// }
|
|
|
|
// type Period {
|
|
// start DateTime @default(now())
|
|
// end DateTime?
|
|
// }
|
|
|
|
// type ContactPoint {
|
|
// system String @default("phone")
|
|
// use String @default("home")
|
|
// value String
|
|
// period Period
|
|
// }
|
|
|
|
// type Deceased {
|
|
// deceasedBoolean Boolean?
|
|
// deceasedDateTime DateTime?
|
|
// }
|
|
|
|
// type AddressType {
|
|
// use String @default("home")
|
|
// type String @default("physical")
|
|
// text String?
|
|
// line String[]
|
|
// village String?
|
|
// district String?
|
|
// city String?
|
|
// state String?
|
|
// country String?
|
|
// postalCode String
|
|
// period Period
|
|
// }
|
|
|
|
// type BackboneElementCommunication {
|
|
// language CodeableConceptLanguage
|
|
// preferred Boolean?
|
|
// }
|
|
|
|
// type CodeableConceptLanguage {
|
|
// text String
|
|
// }
|