@headspace/protos-events 1.840.0 → 1.842.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +409 -3
  2. package/lib/index.js +1228 -3
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -90139,6 +90139,397 @@ export namespace ClinicalNoteEncounter {
90139
90139
  type $Shape = ClinicalNoteEncounter.$Properties;
90140
90140
  }
90141
90141
 
90142
+ /** ClinicalNoteAllergyClinicalStatus enum. */
90143
+ export enum ClinicalNoteAllergyClinicalStatus {
90144
+
90145
+ /** CLINICAL_NOTE_ALLERGY_CLINICAL_STATUS_UNKNOWN value */
90146
+ CLINICAL_NOTE_ALLERGY_CLINICAL_STATUS_UNKNOWN = 0,
90147
+
90148
+ /** CLINICAL_NOTE_ALLERGY_CLINICAL_STATUS_ACTIVE value */
90149
+ CLINICAL_NOTE_ALLERGY_CLINICAL_STATUS_ACTIVE = 1,
90150
+
90151
+ /** CLINICAL_NOTE_ALLERGY_CLINICAL_STATUS_INACTIVE value */
90152
+ CLINICAL_NOTE_ALLERGY_CLINICAL_STATUS_INACTIVE = 2,
90153
+
90154
+ /** CLINICAL_NOTE_ALLERGY_CLINICAL_STATUS_RESOLVED value */
90155
+ CLINICAL_NOTE_ALLERGY_CLINICAL_STATUS_RESOLVED = 3
90156
+ }
90157
+
90158
+ /** ClinicalNoteAllergyVerificationStatus enum. */
90159
+ export enum ClinicalNoteAllergyVerificationStatus {
90160
+
90161
+ /** CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_UNKNOWN value */
90162
+ CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_UNKNOWN = 0,
90163
+
90164
+ /** CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_CONFIRMED value */
90165
+ CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_CONFIRMED = 1,
90166
+
90167
+ /** CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_UNCONFIRMED value */
90168
+ CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_UNCONFIRMED = 2,
90169
+
90170
+ /** CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_REFUTED value */
90171
+ CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_REFUTED = 3,
90172
+
90173
+ /** CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_ENTERED_IN_ERROR value */
90174
+ CLINICAL_NOTE_ALLERGY_VERIFICATION_STATUS_ENTERED_IN_ERROR = 4
90175
+ }
90176
+
90177
+ /** ClinicalNoteMedicationStatus enum. */
90178
+ export enum ClinicalNoteMedicationStatus {
90179
+
90180
+ /** CLINICAL_NOTE_MEDICATION_STATUS_UNKNOWN value */
90181
+ CLINICAL_NOTE_MEDICATION_STATUS_UNKNOWN = 0,
90182
+
90183
+ /** CLINICAL_NOTE_MEDICATION_STATUS_ACTIVE value */
90184
+ CLINICAL_NOTE_MEDICATION_STATUS_ACTIVE = 1,
90185
+
90186
+ /** CLINICAL_NOTE_MEDICATION_STATUS_ON_HOLD value */
90187
+ CLINICAL_NOTE_MEDICATION_STATUS_ON_HOLD = 2,
90188
+
90189
+ /** CLINICAL_NOTE_MEDICATION_STATUS_CANCELLED value */
90190
+ CLINICAL_NOTE_MEDICATION_STATUS_CANCELLED = 3,
90191
+
90192
+ /** CLINICAL_NOTE_MEDICATION_STATUS_COMPLETED value */
90193
+ CLINICAL_NOTE_MEDICATION_STATUS_COMPLETED = 4,
90194
+
90195
+ /** CLINICAL_NOTE_MEDICATION_STATUS_ENTERED_IN_ERROR value */
90196
+ CLINICAL_NOTE_MEDICATION_STATUS_ENTERED_IN_ERROR = 5,
90197
+
90198
+ /** CLINICAL_NOTE_MEDICATION_STATUS_STOPPED value */
90199
+ CLINICAL_NOTE_MEDICATION_STATUS_STOPPED = 6,
90200
+
90201
+ /** CLINICAL_NOTE_MEDICATION_STATUS_DRAFT value */
90202
+ CLINICAL_NOTE_MEDICATION_STATUS_DRAFT = 7
90203
+ }
90204
+
90205
+ /** ClinicalNoteMedicationIntent enum. */
90206
+ export enum ClinicalNoteMedicationIntent {
90207
+
90208
+ /** CLINICAL_NOTE_MEDICATION_INTENT_UNKNOWN value */
90209
+ CLINICAL_NOTE_MEDICATION_INTENT_UNKNOWN = 0,
90210
+
90211
+ /** CLINICAL_NOTE_MEDICATION_INTENT_PLAN value */
90212
+ CLINICAL_NOTE_MEDICATION_INTENT_PLAN = 1,
90213
+
90214
+ /** CLINICAL_NOTE_MEDICATION_INTENT_ORDER value */
90215
+ CLINICAL_NOTE_MEDICATION_INTENT_ORDER = 2,
90216
+
90217
+ /** CLINICAL_NOTE_MEDICATION_INTENT_PROPOSAL value */
90218
+ CLINICAL_NOTE_MEDICATION_INTENT_PROPOSAL = 3,
90219
+
90220
+ /** CLINICAL_NOTE_MEDICATION_INTENT_ORIGINAL_ORDER value */
90221
+ CLINICAL_NOTE_MEDICATION_INTENT_ORIGINAL_ORDER = 4,
90222
+
90223
+ /** CLINICAL_NOTE_MEDICATION_INTENT_OPTION value */
90224
+ CLINICAL_NOTE_MEDICATION_INTENT_OPTION = 5
90225
+ }
90226
+
90227
+ /**
90228
+ * Properties of a ClinicalNoteAllergy.
90229
+ * @deprecated Use ClinicalNoteAllergy.$Properties instead.
90230
+ */
90231
+ export interface IClinicalNoteAllergy extends ClinicalNoteAllergy.$Properties {
90232
+ }
90233
+
90234
+ /** Represents a ClinicalNoteAllergy. */
90235
+ export class ClinicalNoteAllergy {
90236
+
90237
+ /**
90238
+ * Constructs a new ClinicalNoteAllergy.
90239
+ * @param [properties] Properties to set
90240
+ */
90241
+ constructor(properties?: ClinicalNoteAllergy.$Properties);
90242
+
90243
+ /** Unknown fields preserved while decoding */
90244
+ $unknowns?: Uint8Array[];
90245
+
90246
+ /** ClinicalNoteAllergy substance. */
90247
+ substance: string;
90248
+
90249
+ /** ClinicalNoteAllergy reaction. */
90250
+ reaction: string;
90251
+
90252
+ /** ClinicalNoteAllergy comments. */
90253
+ comments: string;
90254
+
90255
+ /** ClinicalNoteAllergy code. */
90256
+ code: string;
90257
+
90258
+ /** ClinicalNoteAllergy codeSystem. */
90259
+ codeSystem: string;
90260
+
90261
+ /** ClinicalNoteAllergy clinicalStatus. */
90262
+ clinicalStatus?: (ClinicalNoteAllergyClinicalStatus|null);
90263
+
90264
+ /** ClinicalNoteAllergy verificationStatus. */
90265
+ verificationStatus?: (ClinicalNoteAllergyVerificationStatus|null);
90266
+
90267
+ /**
90268
+ * Creates a new ClinicalNoteAllergy instance using the specified properties.
90269
+ * @param [properties] Properties to set
90270
+ * @returns ClinicalNoteAllergy instance
90271
+ */
90272
+ static create(properties: ClinicalNoteAllergy.$Shape): ClinicalNoteAllergy & ClinicalNoteAllergy.$Shape;
90273
+ static create(properties?: ClinicalNoteAllergy.$Properties): ClinicalNoteAllergy;
90274
+
90275
+ /**
90276
+ * Encodes the specified ClinicalNoteAllergy message. Does not implicitly {@link ClinicalNoteAllergy.verify|verify} messages.
90277
+ * @param message ClinicalNoteAllergy message or plain object to encode
90278
+ * @param [writer] Writer to encode to
90279
+ * @returns Writer
90280
+ */
90281
+ static encode(message: ClinicalNoteAllergy.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
90282
+
90283
+ /**
90284
+ * Encodes the specified ClinicalNoteAllergy message, length delimited. Does not implicitly {@link ClinicalNoteAllergy.verify|verify} messages.
90285
+ * @param message ClinicalNoteAllergy message or plain object to encode
90286
+ * @param [writer] Writer to encode to
90287
+ * @returns Writer
90288
+ */
90289
+ static encodeDelimited(message: ClinicalNoteAllergy.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
90290
+
90291
+ /**
90292
+ * Decodes a ClinicalNoteAllergy message from the specified reader or buffer.
90293
+ * @param reader Reader or buffer to decode from
90294
+ * @param [length] Message length if known beforehand
90295
+ * @returns {ClinicalNoteAllergy & ClinicalNoteAllergy.$Shape} ClinicalNoteAllergy
90296
+ * @throws {Error} If the payload is not a reader or valid buffer
90297
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90298
+ */
90299
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalNoteAllergy & ClinicalNoteAllergy.$Shape;
90300
+
90301
+ /**
90302
+ * Decodes a ClinicalNoteAllergy message from the specified reader or buffer, length delimited.
90303
+ * @param reader Reader or buffer to decode from
90304
+ * @returns {ClinicalNoteAllergy & ClinicalNoteAllergy.$Shape} ClinicalNoteAllergy
90305
+ * @throws {Error} If the payload is not a reader or valid buffer
90306
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90307
+ */
90308
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalNoteAllergy & ClinicalNoteAllergy.$Shape;
90309
+
90310
+ /**
90311
+ * Verifies a ClinicalNoteAllergy message.
90312
+ * @param message Plain object to verify
90313
+ * @returns `null` if valid, otherwise the reason why it is not
90314
+ */
90315
+ static verify(message: { [k: string]: any }): (string|null);
90316
+
90317
+ /**
90318
+ * Creates a ClinicalNoteAllergy message from a plain object. Also converts values to their respective internal types.
90319
+ * @param object Plain object
90320
+ * @returns ClinicalNoteAllergy
90321
+ */
90322
+ static fromObject(object: { [k: string]: any }): ClinicalNoteAllergy;
90323
+
90324
+ /**
90325
+ * Creates a plain object from a ClinicalNoteAllergy message. Also converts values to other types if specified.
90326
+ * @param message ClinicalNoteAllergy
90327
+ * @param [options] Conversion options
90328
+ * @returns Plain object
90329
+ */
90330
+ static toObject(message: ClinicalNoteAllergy, options?: $protobuf.IConversionOptions): { [k: string]: any };
90331
+
90332
+ /**
90333
+ * Converts this ClinicalNoteAllergy to JSON.
90334
+ * @returns JSON object
90335
+ */
90336
+ toJSON(): { [k: string]: any };
90337
+
90338
+ /**
90339
+ * Gets the type url for ClinicalNoteAllergy
90340
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
90341
+ * @returns The type url
90342
+ */
90343
+ static getTypeUrl(prefix?: string): string;
90344
+ }
90345
+
90346
+ export namespace ClinicalNoteAllergy {
90347
+
90348
+ /** Properties of a ClinicalNoteAllergy. */
90349
+ interface $Properties {
90350
+
90351
+ /** ClinicalNoteAllergy substance */
90352
+ substance?: (string|null);
90353
+
90354
+ /** ClinicalNoteAllergy reaction */
90355
+ reaction?: (string|null);
90356
+
90357
+ /** ClinicalNoteAllergy comments */
90358
+ comments?: (string|null);
90359
+
90360
+ /** ClinicalNoteAllergy code */
90361
+ code?: (string|null);
90362
+
90363
+ /** ClinicalNoteAllergy codeSystem */
90364
+ codeSystem?: (string|null);
90365
+
90366
+ /** ClinicalNoteAllergy clinicalStatus */
90367
+ clinicalStatus?: (ClinicalNoteAllergyClinicalStatus|null);
90368
+
90369
+ /** ClinicalNoteAllergy verificationStatus */
90370
+ verificationStatus?: (ClinicalNoteAllergyVerificationStatus|null);
90371
+
90372
+ /** Unknown fields preserved while decoding */
90373
+ $unknowns?: Uint8Array[];
90374
+ }
90375
+
90376
+ /** Shape of a ClinicalNoteAllergy. */
90377
+ type $Shape = ClinicalNoteAllergy.$Properties;
90378
+ }
90379
+
90380
+ /**
90381
+ * Properties of a ClinicalNoteMedication.
90382
+ * @deprecated Use ClinicalNoteMedication.$Properties instead.
90383
+ */
90384
+ export interface IClinicalNoteMedication extends ClinicalNoteMedication.$Properties {
90385
+ }
90386
+
90387
+ /** Represents a ClinicalNoteMedication. */
90388
+ export class ClinicalNoteMedication {
90389
+
90390
+ /**
90391
+ * Constructs a new ClinicalNoteMedication.
90392
+ * @param [properties] Properties to set
90393
+ */
90394
+ constructor(properties?: ClinicalNoteMedication.$Properties);
90395
+
90396
+ /** Unknown fields preserved while decoding */
90397
+ $unknowns?: Uint8Array[];
90398
+
90399
+ /** ClinicalNoteMedication name. */
90400
+ name: string;
90401
+
90402
+ /** ClinicalNoteMedication dosage. */
90403
+ dosage: string;
90404
+
90405
+ /** ClinicalNoteMedication duration. */
90406
+ duration: string;
90407
+
90408
+ /** ClinicalNoteMedication rxNormCode. */
90409
+ rxNormCode: string;
90410
+
90411
+ /** ClinicalNoteMedication status. */
90412
+ status?: (ClinicalNoteMedicationStatus|null);
90413
+
90414
+ /** ClinicalNoteMedication intent. */
90415
+ intent?: (ClinicalNoteMedicationIntent|null);
90416
+
90417
+ /** ClinicalNoteMedication reported. */
90418
+ reported?: (boolean|null);
90419
+
90420
+ /**
90421
+ * Creates a new ClinicalNoteMedication instance using the specified properties.
90422
+ * @param [properties] Properties to set
90423
+ * @returns ClinicalNoteMedication instance
90424
+ */
90425
+ static create(properties: ClinicalNoteMedication.$Shape): ClinicalNoteMedication & ClinicalNoteMedication.$Shape;
90426
+ static create(properties?: ClinicalNoteMedication.$Properties): ClinicalNoteMedication;
90427
+
90428
+ /**
90429
+ * Encodes the specified ClinicalNoteMedication message. Does not implicitly {@link ClinicalNoteMedication.verify|verify} messages.
90430
+ * @param message ClinicalNoteMedication message or plain object to encode
90431
+ * @param [writer] Writer to encode to
90432
+ * @returns Writer
90433
+ */
90434
+ static encode(message: ClinicalNoteMedication.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
90435
+
90436
+ /**
90437
+ * Encodes the specified ClinicalNoteMedication message, length delimited. Does not implicitly {@link ClinicalNoteMedication.verify|verify} messages.
90438
+ * @param message ClinicalNoteMedication message or plain object to encode
90439
+ * @param [writer] Writer to encode to
90440
+ * @returns Writer
90441
+ */
90442
+ static encodeDelimited(message: ClinicalNoteMedication.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
90443
+
90444
+ /**
90445
+ * Decodes a ClinicalNoteMedication message from the specified reader or buffer.
90446
+ * @param reader Reader or buffer to decode from
90447
+ * @param [length] Message length if known beforehand
90448
+ * @returns {ClinicalNoteMedication & ClinicalNoteMedication.$Shape} ClinicalNoteMedication
90449
+ * @throws {Error} If the payload is not a reader or valid buffer
90450
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90451
+ */
90452
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalNoteMedication & ClinicalNoteMedication.$Shape;
90453
+
90454
+ /**
90455
+ * Decodes a ClinicalNoteMedication message from the specified reader or buffer, length delimited.
90456
+ * @param reader Reader or buffer to decode from
90457
+ * @returns {ClinicalNoteMedication & ClinicalNoteMedication.$Shape} ClinicalNoteMedication
90458
+ * @throws {Error} If the payload is not a reader or valid buffer
90459
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
90460
+ */
90461
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalNoteMedication & ClinicalNoteMedication.$Shape;
90462
+
90463
+ /**
90464
+ * Verifies a ClinicalNoteMedication message.
90465
+ * @param message Plain object to verify
90466
+ * @returns `null` if valid, otherwise the reason why it is not
90467
+ */
90468
+ static verify(message: { [k: string]: any }): (string|null);
90469
+
90470
+ /**
90471
+ * Creates a ClinicalNoteMedication message from a plain object. Also converts values to their respective internal types.
90472
+ * @param object Plain object
90473
+ * @returns ClinicalNoteMedication
90474
+ */
90475
+ static fromObject(object: { [k: string]: any }): ClinicalNoteMedication;
90476
+
90477
+ /**
90478
+ * Creates a plain object from a ClinicalNoteMedication message. Also converts values to other types if specified.
90479
+ * @param message ClinicalNoteMedication
90480
+ * @param [options] Conversion options
90481
+ * @returns Plain object
90482
+ */
90483
+ static toObject(message: ClinicalNoteMedication, options?: $protobuf.IConversionOptions): { [k: string]: any };
90484
+
90485
+ /**
90486
+ * Converts this ClinicalNoteMedication to JSON.
90487
+ * @returns JSON object
90488
+ */
90489
+ toJSON(): { [k: string]: any };
90490
+
90491
+ /**
90492
+ * Gets the type url for ClinicalNoteMedication
90493
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
90494
+ * @returns The type url
90495
+ */
90496
+ static getTypeUrl(prefix?: string): string;
90497
+ }
90498
+
90499
+ export namespace ClinicalNoteMedication {
90500
+
90501
+ /** Properties of a ClinicalNoteMedication. */
90502
+ interface $Properties {
90503
+
90504
+ /** ClinicalNoteMedication name */
90505
+ name?: (string|null);
90506
+
90507
+ /** ClinicalNoteMedication dosage */
90508
+ dosage?: (string|null);
90509
+
90510
+ /** ClinicalNoteMedication duration */
90511
+ duration?: (string|null);
90512
+
90513
+ /** ClinicalNoteMedication rxNormCode */
90514
+ rxNormCode?: (string|null);
90515
+
90516
+ /** ClinicalNoteMedication status */
90517
+ status?: (ClinicalNoteMedicationStatus|null);
90518
+
90519
+ /** ClinicalNoteMedication intent */
90520
+ intent?: (ClinicalNoteMedicationIntent|null);
90521
+
90522
+ /** ClinicalNoteMedication reported */
90523
+ reported?: (boolean|null);
90524
+
90525
+ /** Unknown fields preserved while decoding */
90526
+ $unknowns?: Uint8Array[];
90527
+ }
90528
+
90529
+ /** Shape of a ClinicalNoteMedication. */
90530
+ type $Shape = ClinicalNoteMedication.$Properties;
90531
+ }
90532
+
90142
90533
  /**
90143
90534
  * Properties of a GingerClinicalNotePayload.
90144
90535
  * @deprecated Use GingerClinicalNotePayload.$Properties instead.
@@ -90188,6 +90579,12 @@ export class GingerClinicalNotePayload {
90188
90579
  /** GingerClinicalNotePayload ds4pCodes. */
90189
90580
  ds4pCodes: string[];
90190
90581
 
90582
+ /** GingerClinicalNotePayload allergies. */
90583
+ allergies: ClinicalNoteAllergy.$Properties[];
90584
+
90585
+ /** GingerClinicalNotePayload medications. */
90586
+ medications: ClinicalNoteMedication.$Properties[];
90587
+
90191
90588
  /**
90192
90589
  * Creates a new GingerClinicalNotePayload instance using the specified properties.
90193
90590
  * @param [properties] Properties to set
@@ -90302,6 +90699,12 @@ export namespace GingerClinicalNotePayload {
90302
90699
  /** GingerClinicalNotePayload ds4pCodes */
90303
90700
  ds4pCodes?: (string[]|null);
90304
90701
 
90702
+ /** GingerClinicalNotePayload allergies */
90703
+ allergies?: (ClinicalNoteAllergy.$Properties[]|null);
90704
+
90705
+ /** GingerClinicalNotePayload medications */
90706
+ medications?: (ClinicalNoteMedication.$Properties[]|null);
90707
+
90305
90708
  /** Unknown fields preserved while decoding */
90306
90709
  $unknowns?: Uint8Array[];
90307
90710
  }
@@ -93353,8 +93756,8 @@ export enum OnboardingDifficultyImpact {
93353
93756
  /** ONBOARDING_DIFFICULTY_IMPACT_UNKNOWN value */
93354
93757
  ONBOARDING_DIFFICULTY_IMPACT_UNKNOWN = 0,
93355
93758
 
93356
- /** ONBOARDING_DIFFICULTY_IMPACT_NOT_AT_ALL value */
93357
- ONBOARDING_DIFFICULTY_IMPACT_NOT_AT_ALL = 1,
93759
+ /** ONBOARDING_DIFFICULTY_IMPACT_NOT_VERY_DIFFICULT value */
93760
+ ONBOARDING_DIFFICULTY_IMPACT_NOT_VERY_DIFFICULT = 1,
93358
93761
 
93359
93762
  /** ONBOARDING_DIFFICULTY_IMPACT_SOMEWHAT_DIFFICULT value */
93360
93763
  ONBOARDING_DIFFICULTY_IMPACT_SOMEWHAT_DIFFICULT = 2,
@@ -93363,7 +93766,10 @@ export enum OnboardingDifficultyImpact {
93363
93766
  ONBOARDING_DIFFICULTY_IMPACT_VERY_DIFFICULT = 3,
93364
93767
 
93365
93768
  /** ONBOARDING_DIFFICULTY_IMPACT_EXTREMELY_DIFFICULT value */
93366
- ONBOARDING_DIFFICULTY_IMPACT_EXTREMELY_DIFFICULT = 4
93769
+ ONBOARDING_DIFFICULTY_IMPACT_EXTREMELY_DIFFICULT = 4,
93770
+
93771
+ /** ONBOARDING_DIFFICULTY_IMPACT_A_LITTLE_DIFFICULT value */
93772
+ ONBOARDING_DIFFICULTY_IMPACT_A_LITTLE_DIFFICULT = 5
93367
93773
  }
93368
93774
 
93369
93775
  /**