@tellescope/types-models 1.161.0 → 1.163.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/src/index.ts CHANGED
@@ -329,6 +329,7 @@ export interface Organization extends Organization_readonly, Organization_requir
329
329
  hasConnectedActiveCampaign?: boolean,
330
330
  hasConnectedDocsumo?: boolean,
331
331
  hasConnectedEmotii?: boolean,
332
+ hasConnectedDevelopHealth?: boolean,
332
333
  hasConfiguredZoom?: boolean,
333
334
  hasTicketQueues?: boolean,
334
335
  vitalTeamId?: string,
@@ -693,6 +694,7 @@ export type EnduserInsurance = {
693
694
 
694
695
  export type EnduserDiagnosis = {
695
696
  id?: string, // if created in Tellescope
697
+ createdAt?: Date,
696
698
  externalId?: string,
697
699
  active?: boolean,
698
700
  start?: string,
@@ -1711,6 +1713,7 @@ export interface Integration extends Integration_readonly, Integration_required,
1711
1713
  enduserFieldMapping?: FieldMapping[],
1712
1714
  default_dietitian_id?: string,
1713
1715
  dontPushCalendarEvent?: boolean,
1716
+ dontPullCalendarEvent?: boolean,
1714
1717
  }
1715
1718
 
1716
1719
  export type BuildDatabaseRecordField <K extends string, V, O> = { type: K, value: V, options: O & { width?: string } }
@@ -2948,6 +2951,7 @@ export interface PortalCustomization extends PortalCustomization_readonly, Porta
2948
2951
  showStripePortalLink?: boolean,
2949
2952
  hideCancellatation?: boolean,
2950
2953
  hiddenEventTitles?: string[],
2954
+ hiddenFormIds?: string[],
2951
2955
  }
2952
2956
  export const MOBILE_BOTTOM_NAVIGATION_DISABLED_POSITION = 1000
2953
2957
  export const DEFAULT_PATIENT_PORTAL_BOTTOM_NAVIGATION_POSITIONS: { [K in PortalPage]: number } = {
@@ -3574,6 +3578,7 @@ export type EnduserProfileViewBlocks = {
3574
3578
  "Medications": EnduserProfileViewBlockBuilder<"Medications", { title: string }>,
3575
3579
  "Diagnoses": EnduserProfileViewBlockBuilder<"Diagnoses", { title: string }>,
3576
3580
  "Timeline": EnduserProfileViewBlockBuilder<"Timeline", { title: string }>,
3581
+ "Shared Content": EnduserProfileViewBlockBuilder<"Shared Content", { title: string }>,
3577
3582
  }
3578
3583
  export type EnduserProfileViewBlockType = keyof EnduserProfileViewBlocks
3579
3584
  export type EnduserProfileViewBlock = EnduserProfileViewBlocks[EnduserProfileViewBlockType]
@@ -4221,7 +4226,30 @@ export interface IntegrationLog_required {}
4221
4226
  export interface IntegrationLog_updatesDisabled {}
4222
4227
  export interface IntegrationLog extends IntegrationLog_readonly, IntegrationLog_required, IntegrationLog_updatesDisabled {}
4223
4228
 
4229
+
4230
+ export interface EnduserEligibilityResult_readonly extends ClientRecord {}
4231
+ export interface EnduserEligibilityResult_updatesDisabled {}
4232
+ export interface EnduserEligibilityResult_required {
4233
+ title: string,
4234
+ type: string,
4235
+ status: string,
4236
+ externalId: string,
4237
+ source: string,
4238
+ enduserId: string,
4239
+ }
4240
+ export interface EnduserEligibilityResult extends EnduserEligibilityResult_readonly, EnduserEligibilityResult_required, EnduserEligibilityResult_updatesDisabled {
4241
+ statusText?: string,
4242
+ results?: {
4243
+ title: string,
4244
+ is_covered: boolean,
4245
+ requires_prior_authorization: boolean,
4246
+ copay: string,
4247
+ copayDescription: string,
4248
+ }[]
4249
+ }
4250
+
4224
4251
  export type ModelForName_required = {
4252
+ enduser_eligibility_results: EnduserEligibilityResult_required,
4225
4253
  integration_logs: IntegrationLog_required,
4226
4254
  allergy_codes: AllergyCode_required,
4227
4255
  diagnosis_codes: DiagnosisCode_required,
@@ -4309,6 +4337,7 @@ export type ModelForName_required = {
4309
4337
  export type ClientModel_required = ModelForName_required[keyof ModelForName_required]
4310
4338
 
4311
4339
  export interface ModelForName_readonly {
4340
+ enduser_eligibility_results: EnduserEligibilityResult_readonly,
4312
4341
  integration_logs: IntegrationLog_readonly,
4313
4342
  allergy_codes: AllergyCode_readonly,
4314
4343
  diagnosis_codes: DiagnosisCode_readonly,
@@ -4396,6 +4425,7 @@ export interface ModelForName_readonly {
4396
4425
  export type ClientModel_readonly = ModelForName_readonly[keyof ModelForName_readonly]
4397
4426
 
4398
4427
  export interface ModelForName_updatesDisabled {
4428
+ enduser_eligibility_results: EnduserEligibilityResult_updatesDisabled,
4399
4429
  integration_logs: IntegrationLog_updatesDisabled,
4400
4430
  allergy_codes: AllergyCode_updatesDisabled,
4401
4431
  diagnosis_codes: DiagnosisCode_updatesDisabled,
@@ -4483,6 +4513,7 @@ export interface ModelForName_updatesDisabled {
4483
4513
  export type ClientModel_updatesDisabled = ModelForName_updatesDisabled[keyof ModelForName_updatesDisabled]
4484
4514
 
4485
4515
  export interface ModelForName extends ModelForName_required, ModelForName_readonly {
4516
+ enduser_eligibility_results: EnduserEligibilityResult,
4486
4517
  integration_logs: IntegrationLog,
4487
4518
  allergy_codes: AllergyCode,
4488
4519
  diagnosis_codes: DiagnosisCode,
@@ -4580,6 +4611,7 @@ export interface UserActivityInfo {
4580
4611
  export type UserActivityStatus = 'Active' | 'Away' | 'Unavailable'
4581
4612
 
4582
4613
  export const modelNameChecker: { [K in ModelName] : true } = {
4614
+ enduser_eligibility_results: true,
4583
4615
  integration_logs: true,
4584
4616
  allergy_codes: true,
4585
4617
  diagnosis_codes: true,
@@ -5438,4 +5470,28 @@ export type TwilioQueue = {
5438
5470
  currentSize: number,
5439
5471
  friendlyName: string,
5440
5472
  averageWaitTime: number,
5473
+ }
5474
+
5475
+ export type DevelopHealthRunBenefitVerificationBaseArguments = {
5476
+ drugs: {
5477
+ name: string,
5478
+ dosage: string,
5479
+ quantity: number,
5480
+ }[],
5481
+ drug_history: {
5482
+ currently_taking_drugs: {
5483
+ name: string,
5484
+ }[],
5485
+ previously_taken_drugs: {
5486
+ name: string,
5487
+ }[],
5488
+ },
5489
+ diagnoses: {
5490
+ code: string, // ICD-10
5491
+ }[],
5492
+ mock_result?: {
5493
+ status: string, // e.g. "completed",
5494
+ case: string, // e.g. "drugs_covered__prior_auth_required__has_copay"
5495
+ },
5496
+ use_patient_plan_fund_source_check?: boolean,
5441
5497
  }