@welshare/sdk
Preparing search index...
PatientSchema
dbDocToUserProfile
Function dbDocToUserProfile
dbDocToUserProfile
(
dbDoc
:
any
,
)
:
{
_id
:
string
;
birthDate
?:
string
;
controllerDID
:
string
;
extensions
?:
Record
<
string
,
any
>
;
gender
:
"other"
|
"male"
|
"female"
|
"unknown"
;
id
:
string
;
meta
?:
{
lastUpdated
?:
string
;
profile
?:
string
[]
;
versionId
?:
string
}
;
name
?:
{
family
?:
string
;
given
?:
string
[]
;
prefix
?:
string
[]
;
suffix
?:
string
[]
;
}
[]
;
resourceType
:
"Patient"
;
telecom
?:
{
rank
?:
number
;
system
?:
"url"
|
"phone"
|
"fax"
|
"email"
|
"sms"
|
"other"
;
use
?:
"home"
|
"work"
|
"temp"
|
"old"
|
"mobile"
;
value
?:
string
;
}
[]
;
}
Parameters
dbDoc
:
any
Returns
{
_id
:
string
;
birthDate
?:
string
;
controllerDID
:
string
;
extensions
?:
Record
<
string
,
any
>
;
gender
:
"other"
|
"male"
|
"female"
|
"unknown"
;
id
:
string
;
meta
?:
{
lastUpdated
?:
string
;
profile
?:
string
[]
;
versionId
?:
string
}
;
name
?:
{
family
?:
string
;
given
?:
string
[]
;
prefix
?:
string
[]
;
suffix
?:
string
[]
;
}
[]
;
resourceType
:
"Patient"
;
telecom
?:
{
rank
?:
number
;
system
?:
"url"
|
"phone"
|
"fax"
|
"email"
|
"sms"
|
"other"
;
use
?:
"home"
|
"work"
|
"temp"
|
"old"
|
"mobile"
;
value
?:
string
;
}
[]
;
}
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
@welshare/sdk
Loading...