Module: core/types
Enumerations
Interfaces
- Activity
- ActivityDoc
- ActorMember
- Annotation
- AnyResource
- Article
- Attachment
- BaseResource
- Bundle
- BundleContext
- BundleState
- CarePlanActivity
- CareTeam
- CareTeamParticipant
- CareTeamParticipantRole
- CareTeamRole
- CodeableConcept
- Communication
- DefaultTheme
- Element
- Extension
- FHIRClient
- FHIRQuestionnaire
- FHIRQuestionnaireQuestion
- FhirResource
- FullMember
- Goal
- HbFile
- LanguageExtensionOptions
- LocalData
- Member
- Observation
- ObservationComponent
- ObservationConstraints
- Occurrence
- OnboardingExtensionOptions
- Patch
- PlanDefinition
- PlanDefinitionAction
- ProjectToken
- PublicProject
- PublicProjectConfig
- QuestionAnswer
- QuestionAnswerOption
- QuestionConfig
- QuestionConfigReply
- Questionnaire
- QuestionnaireQuestion
- QuestionnaireResponse
- QuestionnaireResponseInput
- Reference
- Reminder
- Theme
- ThemeColorVariants
- Token
- User
- UserDoc
- UserDocReminder
Type aliases
ActivityKind
Ƭ ActivityKind: Activity["kind"]
ActorResource
Ƭ ActorResource: Patient | Practitioner | RelatedPerson & { id: string }
AirtableData
Ƭ AirtableData: undefined | string | Image[] | Reply[]
AirtableQuestion
Ƭ AirtableQuestion: Object
Type declaration
| Name | Type |
|---|---|
_id | string |
id | string |
images? | Image[] |
question | string |
replies | string[] |
replyType | string |
AirtableRecord
Ƭ AirtableRecord: Object
Index signature
▪ [key: string]: AirtableData
AirtableReply
Ƭ AirtableReply: Object
Type declaration
| Name | Type |
|---|---|
_id | string |
id | string |
reply | string |
ComposerElement
Ƭ ComposerElement: (props: ComposerProps) => any
Type declaration
▸ (props): any
Parameters
| Name | Type |
|---|---|
props | ComposerProps |
Returns
any
ComposerProps
Ƭ ComposerProps: Object
Type declaration
| Name | Type |
|---|---|
message | Message |
send | SendMethod |
ConversationProps
Ƭ ConversationProps: Object
Type declaration
| Name | Type |
|---|---|
customComponents? | customComponentsMapping |
navigation? | any |
onClose? | Function |
onMessage? | Function |
DecodedJWT
Ƭ DecodedJWT: Object
Index signature
▪ [key: string]: any
Type declaration
| Name | Type |
|---|---|
email? | string |
email_verified | boolean |
name | string |
phone? | string |
phone_verified | boolean |
sub | string |
Image
Ƭ Image: Object
Type declaration
| Name | Type |
|---|---|
doc? | any |
thumbnails | ImageThumbnails |
url | string |
ImageData
Ƭ ImageData: Object
Type declaration
| Name | Type |
|---|---|
height | number |
url | string |
width | number |
ImageThumbnails
Ƭ ImageThumbnails: Object
Type declaration
| Name | Type |
|---|---|
full | ImageData |
large | ImageData |
small | ImageData |
Intake
Ƭ Intake: Object
Type declaration
| Name | Type |
|---|---|
checked_at | string |
count? | number |
datetime | string |
medication | string |
moment | IntakeMoment |
IntakeMoment
Ƭ IntakeMoment: Object
Type declaration
| Name | Type |
|---|---|
count? | number |
name | string |
time | string |
LanguageExtension
Ƭ LanguageExtension: Extension<LanguageExtensionOptions>
LanguageKey
Ƭ LanguageKey: string
MaybeProject
Ƭ MaybeProject: Project | null
Medication
Ƭ Medication: Object
Type declaration
| Name | Type |
|---|---|
count? | number |
days? | number[] |
dose? | number |
id | string |
moments | IntakeMoment[] |
name | string |
period | string |
type | string |
unit? | string |
Message
Ƭ Message: Object
Type declaration
| Name | Type |
|---|---|
body | string |
doc | MessageDoc |
merged? | boolean |
mergedReply? | Message |
mid | string |
observations | MessageObservation[] |
qid | string | null |
sender | string |
sent_at | string |
thread? | Thread |
tid | string |
user | Pick<Profile, "doc"> |
MessageDoc
Ƭ MessageDoc: Object
Index signature
▪ [key: string]: any
Type declaration
| Name | Type | Description |
|---|---|---|
assessment? | any | System messages |
id? | string | deprecated use message.qid instead |
images? | Image[] | - |
replies? | Reply[] | - |
reply? | Reply[] | Replies |
replyTo? | string | - |
replyType? | string | - |
startFlow? | string | - |
startFlows? | string[] | Flows |
stopFlow? | string | - |
MessageObservation
Ƭ MessageObservation: Object
Type declaration
| Name | Type |
|---|---|
fid | string |
valueInteger | number | null |
valueString | string | null |
OnboardingExtension
Ƭ OnboardingExtension: Extension<OnboardingExtensionOptions>
Profile
Ƭ Profile: Object
Type declaration
| Name | Type |
|---|---|
birthDate? | string |
checkouts | { doc: { id: string ; order: any | null ; webUrl: string } ; id: string }[] |
consented_at? | string |
doc | UserDoc |
email? | string |
gender? | string |
group? | string |
language? | string |
name? | string |
notes? | string |
phone? | string |
pid | string |
role | string |
role_title? | string |
timezone? | string |
uid | string |
Project
Ƭ Project: PublicProject
deprecated Use the PublicProject interface instead
PushToken
Ƭ PushToken: Object
Type declaration
| Name | Type |
|---|---|
createdAt | string |
device? | Object |
device.brand | string | null |
device.designName | string | null |
device.deviceName | string | null |
device.deviceYearClass | number | null |
device.manufacturer | string | null |
device.modelId | string | null |
device.modelName | string | null |
device.osName | string | null |
device.osVersion | string | null |
device.productName | string | null |
deviceId? | string |
deviceName? | string |
token | string |
Question
Ƭ Question: Object
Index signature
▪ [key: string]: AirtableData
Type declaration
| Name | Type |
|---|---|
flowIds? | string |
id | string |
images? | Image[] |
question | string |
replies | Reply[] |
replyType | string |
QuestionAnswerInput
Ƭ QuestionAnswerInput: Omit<QuestionAnswer, "question">
Reply
Ƭ Reply: Object
Index signature
▪ [key: string]: AirtableData
Type declaration
| Name | Type |
|---|---|
id | string |
reply | string |
Resource
Ƭ Resource: BaseResource | CarePlanActivity | Communication | Goal | Observation | PlanDefinition | FHIRQuestionnaire
ResourceInput
Ƭ ResourceInput: Omit<CarePlanActivity, "id"> | Omit<Communication, "id"> | Omit<Goal, "id"> | Omit<Observation, "id"> | Omit<BaseResource, "id"> | Omit<FHIRQuestionnaire, "id">
SendMessage
Ƭ SendMessage: Object
Type declaration
| Name | Type | Description |
|---|---|---|
body | string | - |
doc | MessageDoc | - |
fid? | string | - |
qid? | string | null | - |
summary? | any | Deprecated |
tid? | string | - |
value? | string | number | - |
SendMethod
Ƭ SendMethod: (msg: SendMessage) => Promise<void>
Type declaration
▸ (msg): Promise<void>
Parameters
| Name | Type |
|---|---|
msg | SendMessage |
Returns
Promise<void>
SendProps
Ƭ SendProps: Object
Type declaration
| Name | Type |
|---|---|
doc | any |
id | string |
text | string |
Thread
Ƭ Thread: Object
Index signature
▪ [key: string]: any
Type declaration
| Name | Type |
|---|---|
messages | Message[] |
tid | string |
ValueObject
Ƭ ValueObject: { valueString: string } | { valueInteger: number }
deprecated Not really FHIR compatible
ValueObjects
Ƭ ValueObjects: ValueObject | ValueObject[]
deprecated Not really FHIR compatible
customComponentsMapping
Ƭ customComponentsMapping: Object
Index signature
▪ [name: string]: ComposerElement
onSendProps
Ƭ onSendProps: Object
Type declaration
| Name | Type |
|---|---|
activeFlow? | string |
fullProfile? | Object |
messages | Message[] |
send? | SendMethod |
tid | string |
user | any |
useThreadData
Ƭ useThreadData: Object
Type declaration
| Name | Type |
|---|---|
error | any |
fullProfile | Object |
loading | boolean |
messages | Message[] |
send | SendMethod |