@headspace/protos-events 1.595.0 → 1.597.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/lib/index.d.ts CHANGED
@@ -32426,10 +32426,18 @@ export namespace ClinicalAppointment {
32426
32426
  /** Properties of a ClinicalAppointmentNote. */
32427
32427
  interface IClinicalAppointmentNote {
32428
32428
 
32429
- /** ClinicalAppointmentNote location */
32429
+ /**
32430
+ * Where the clinical note is stored. In practice, DrChrono notes are deprecated.
32431
+ * VAULT = "Vault"
32432
+ * DR_CHRONO = "Dr Chrono"
32433
+ */
32430
32434
  location?: (ClinicalAppointmentNoteLocation|null);
32431
32435
 
32432
- /** ClinicalAppointmentNote status */
32436
+ /**
32437
+ * The status of the clinical note. If the note is signed and locked, it cannot be edited.
32438
+ * DRAFT = "Draft"
32439
+ * SIGNED_AND_LOCKED = "Signed & Locked"
32440
+ */
32433
32441
  status?: (ClinicalAppointmentNoteStatus|null);
32434
32442
 
32435
32443
  /** ClinicalAppointmentNote statusUpdatedAt */
@@ -32441,6 +32449,9 @@ export namespace ClinicalAppointment {
32441
32449
  /** ClinicalAppointmentNote cptCode */
32442
32450
  cptCode?: (string|null);
32443
32451
 
32452
+ /** ClinicalAppointmentNote cptCodes */
32453
+ cptCodes?: (string[]|null);
32454
+
32444
32455
  /** ClinicalAppointmentNote anticipatedNumberOfSessions */
32445
32456
  anticipatedNumberOfSessions?: (number|null);
32446
32457
 
@@ -32472,10 +32483,18 @@ export namespace ClinicalAppointment {
32472
32483
  */
32473
32484
  constructor(properties?: ClinicalAppointment.IClinicalAppointmentNote);
32474
32485
 
32475
- /** ClinicalAppointmentNote location. */
32486
+ /**
32487
+ * Where the clinical note is stored. In practice, DrChrono notes are deprecated.
32488
+ * VAULT = "Vault"
32489
+ * DR_CHRONO = "Dr Chrono"
32490
+ */
32476
32491
  public location: ClinicalAppointmentNoteLocation;
32477
32492
 
32478
- /** ClinicalAppointmentNote status. */
32493
+ /**
32494
+ * The status of the clinical note. If the note is signed and locked, it cannot be edited.
32495
+ * DRAFT = "Draft"
32496
+ * SIGNED_AND_LOCKED = "Signed & Locked"
32497
+ */
32479
32498
  public status: ClinicalAppointmentNoteStatus;
32480
32499
 
32481
32500
  /** ClinicalAppointmentNote statusUpdatedAt. */
@@ -32487,6 +32506,9 @@ export namespace ClinicalAppointment {
32487
32506
  /** ClinicalAppointmentNote cptCode. */
32488
32507
  public cptCode: string;
32489
32508
 
32509
+ /** ClinicalAppointmentNote cptCodes. */
32510
+ public cptCodes: string[];
32511
+
32490
32512
  /** ClinicalAppointmentNote anticipatedNumberOfSessions. */
32491
32513
  public anticipatedNumberOfSessions: number;
32492
32514
 
@@ -50993,6 +51015,9 @@ export interface IEnterpriseUserEnrollmentCreated {
50993
51015
 
50994
51016
  /** EnterpriseUserEnrollmentCreated subscriptionOrgId */
50995
51017
  subscriptionOrgId?: (number|null);
51018
+
51019
+ /** EnterpriseUserEnrollmentCreated healthHubName */
51020
+ healthHubName?: (string|null);
50996
51021
  }
50997
51022
 
50998
51023
  /** Represents an EnterpriseUserEnrollmentCreated. */
@@ -51118,6 +51143,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
51118
51143
  /** EnterpriseUserEnrollmentCreated subscriptionOrgId. */
51119
51144
  public subscriptionOrgId: number;
51120
51145
 
51146
+ /** EnterpriseUserEnrollmentCreated healthHubName. */
51147
+ public healthHubName: string;
51148
+
51121
51149
  /**
51122
51150
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
51123
51151
  * @param [properties] Properties to set
@@ -51590,6 +51618,9 @@ export interface IEnterpriseUserEnrollmentAmended {
51590
51618
 
51591
51619
  /** EnterpriseUserEnrollmentAmended subscriptionOrgId */
51592
51620
  subscriptionOrgId?: (number|null);
51621
+
51622
+ /** EnterpriseUserEnrollmentAmended healthHubName */
51623
+ healthHubName?: (string|null);
51593
51624
  }
51594
51625
 
51595
51626
  /** Represents an EnterpriseUserEnrollmentAmended. */
@@ -51712,6 +51743,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
51712
51743
  /** EnterpriseUserEnrollmentAmended subscriptionOrgId. */
51713
51744
  public subscriptionOrgId: number;
51714
51745
 
51746
+ /** EnterpriseUserEnrollmentAmended healthHubName. */
51747
+ public healthHubName: string;
51748
+
51715
51749
  /**
51716
51750
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
51717
51751
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -92891,11 +92891,16 @@ $root.ClinicalAppointment = (function() {
92891
92891
  * Properties of a ClinicalAppointmentNote.
92892
92892
  * @memberof ClinicalAppointment
92893
92893
  * @interface IClinicalAppointmentNote
92894
- * @property {ClinicalAppointmentNoteLocation|null} [location] ClinicalAppointmentNote location
92895
- * @property {ClinicalAppointmentNoteStatus|null} [status] ClinicalAppointmentNote status
92894
+ * @property {ClinicalAppointmentNoteLocation|null} [location] Where the clinical note is stored. In practice, DrChrono notes are deprecated.
92895
+ * VAULT = "Vault"
92896
+ * DR_CHRONO = "Dr Chrono"
92897
+ * @property {ClinicalAppointmentNoteStatus|null} [status] The status of the clinical note. If the note is signed and locked, it cannot be edited.
92898
+ * DRAFT = "Draft"
92899
+ * SIGNED_AND_LOCKED = "Signed & Locked"
92896
92900
  * @property {number|Long|null} [statusUpdatedAt] ClinicalAppointmentNote statusUpdatedAt
92897
92901
  * @property {ClinicalAppointmentNoteType|null} [noteType] ClinicalAppointmentNote noteType
92898
92902
  * @property {string|null} [cptCode] ClinicalAppointmentNote cptCode
92903
+ * @property {Array.<string>|null} [cptCodes] ClinicalAppointmentNote cptCodes
92899
92904
  * @property {number|null} [anticipatedNumberOfSessions] ClinicalAppointmentNote anticipatedNumberOfSessions
92900
92905
  * @property {string|null} [vaultMetadataId] ClinicalAppointmentNote vaultMetadataId
92901
92906
  * @property {number|null} [frequency] ClinicalAppointmentNote frequency
@@ -92914,6 +92919,7 @@ $root.ClinicalAppointment = (function() {
92914
92919
  * @param {ClinicalAppointment.IClinicalAppointmentNote=} [properties] Properties to set
92915
92920
  */
92916
92921
  function ClinicalAppointmentNote(properties) {
92922
+ this.cptCodes = [];
92917
92923
  if (properties)
92918
92924
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
92919
92925
  if (properties[keys[i]] != null)
@@ -92921,7 +92927,9 @@ $root.ClinicalAppointment = (function() {
92921
92927
  }
92922
92928
 
92923
92929
  /**
92924
- * ClinicalAppointmentNote location.
92930
+ * Where the clinical note is stored. In practice, DrChrono notes are deprecated.
92931
+ * VAULT = "Vault"
92932
+ * DR_CHRONO = "Dr Chrono"
92925
92933
  * @member {ClinicalAppointmentNoteLocation} location
92926
92934
  * @memberof ClinicalAppointment.ClinicalAppointmentNote
92927
92935
  * @instance
@@ -92929,7 +92937,9 @@ $root.ClinicalAppointment = (function() {
92929
92937
  ClinicalAppointmentNote.prototype.location = 0;
92930
92938
 
92931
92939
  /**
92932
- * ClinicalAppointmentNote status.
92940
+ * The status of the clinical note. If the note is signed and locked, it cannot be edited.
92941
+ * DRAFT = "Draft"
92942
+ * SIGNED_AND_LOCKED = "Signed & Locked"
92933
92943
  * @member {ClinicalAppointmentNoteStatus} status
92934
92944
  * @memberof ClinicalAppointment.ClinicalAppointmentNote
92935
92945
  * @instance
@@ -92960,6 +92970,14 @@ $root.ClinicalAppointment = (function() {
92960
92970
  */
92961
92971
  ClinicalAppointmentNote.prototype.cptCode = "";
92962
92972
 
92973
+ /**
92974
+ * ClinicalAppointmentNote cptCodes.
92975
+ * @member {Array.<string>} cptCodes
92976
+ * @memberof ClinicalAppointment.ClinicalAppointmentNote
92977
+ * @instance
92978
+ */
92979
+ ClinicalAppointmentNote.prototype.cptCodes = $util.emptyArray;
92980
+
92963
92981
  /**
92964
92982
  * ClinicalAppointmentNote anticipatedNumberOfSessions.
92965
92983
  * @member {number} anticipatedNumberOfSessions
@@ -93064,6 +93082,9 @@ $root.ClinicalAppointment = (function() {
93064
93082
  writer.uint32(/* id 11, wireType 0 =*/88).bool(message.offeredAppointmentAccepted);
93065
93083
  if (message.referralsToCareOutsideGingerNecessary != null && message.hasOwnProperty("referralsToCareOutsideGingerNecessary"))
93066
93084
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.referralsToCareOutsideGingerNecessary);
93085
+ if (message.cptCodes != null && message.cptCodes.length)
93086
+ for (var i = 0; i < message.cptCodes.length; ++i)
93087
+ writer.uint32(/* id 13, wireType 2 =*/106).string(message.cptCodes[i]);
93067
93088
  return writer;
93068
93089
  };
93069
93090
 
@@ -93113,6 +93134,11 @@ $root.ClinicalAppointment = (function() {
93113
93134
  case 5:
93114
93135
  message.cptCode = reader.string();
93115
93136
  break;
93137
+ case 13:
93138
+ if (!(message.cptCodes && message.cptCodes.length))
93139
+ message.cptCodes = [];
93140
+ message.cptCodes.push(reader.string());
93141
+ break;
93116
93142
  case 6:
93117
93143
  message.anticipatedNumberOfSessions = reader.int32();
93118
93144
  break;
@@ -93204,6 +93230,13 @@ $root.ClinicalAppointment = (function() {
93204
93230
  if (message.cptCode != null && message.hasOwnProperty("cptCode"))
93205
93231
  if (!$util.isString(message.cptCode))
93206
93232
  return "cptCode: string expected";
93233
+ if (message.cptCodes != null && message.hasOwnProperty("cptCodes")) {
93234
+ if (!Array.isArray(message.cptCodes))
93235
+ return "cptCodes: array expected";
93236
+ for (var i = 0; i < message.cptCodes.length; ++i)
93237
+ if (!$util.isString(message.cptCodes[i]))
93238
+ return "cptCodes: string[] expected";
93239
+ }
93207
93240
  if (message.anticipatedNumberOfSessions != null && message.hasOwnProperty("anticipatedNumberOfSessions"))
93208
93241
  if (!$util.isInteger(message.anticipatedNumberOfSessions))
93209
93242
  return "anticipatedNumberOfSessions: integer expected";
@@ -93301,6 +93334,13 @@ $root.ClinicalAppointment = (function() {
93301
93334
  }
93302
93335
  if (object.cptCode != null)
93303
93336
  message.cptCode = String(object.cptCode);
93337
+ if (object.cptCodes) {
93338
+ if (!Array.isArray(object.cptCodes))
93339
+ throw TypeError(".ClinicalAppointment.ClinicalAppointmentNote.cptCodes: array expected");
93340
+ message.cptCodes = [];
93341
+ for (var i = 0; i < object.cptCodes.length; ++i)
93342
+ message.cptCodes[i] = String(object.cptCodes[i]);
93343
+ }
93304
93344
  if (object.anticipatedNumberOfSessions != null)
93305
93345
  message.anticipatedNumberOfSessions = object.anticipatedNumberOfSessions | 0;
93306
93346
  if (object.vaultMetadataId != null)
@@ -93331,6 +93371,8 @@ $root.ClinicalAppointment = (function() {
93331
93371
  if (!options)
93332
93372
  options = {};
93333
93373
  var object = {};
93374
+ if (options.arrays || options.defaults)
93375
+ object.cptCodes = [];
93334
93376
  if (options.defaults) {
93335
93377
  object.location = options.enums === String ? "CLINICAL_APPOINTMENT_NOTE_LOCATION_UNKNOWN" : 0;
93336
93378
  object.status = options.enums === String ? "CLINICAL_APPOINTMENT_NOTE_STATUS_UNKNOWN" : 0;
@@ -93376,6 +93418,11 @@ $root.ClinicalAppointment = (function() {
93376
93418
  object.offeredAppointmentAccepted = message.offeredAppointmentAccepted;
93377
93419
  if (message.referralsToCareOutsideGingerNecessary != null && message.hasOwnProperty("referralsToCareOutsideGingerNecessary"))
93378
93420
  object.referralsToCareOutsideGingerNecessary = message.referralsToCareOutsideGingerNecessary;
93421
+ if (message.cptCodes && message.cptCodes.length) {
93422
+ object.cptCodes = [];
93423
+ for (var j = 0; j < message.cptCodes.length; ++j)
93424
+ object.cptCodes[j] = message.cptCodes[j];
93425
+ }
93379
93426
  return object;
93380
93427
  };
93381
93428
 
@@ -140400,6 +140447,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
140400
140447
  * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentCreated eapServiceType
140401
140448
  * @property {string|null} [healthHub] EnterpriseUserEnrollmentCreated healthHub
140402
140449
  * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentCreated subscriptionOrgId
140450
+ * @property {string|null} [healthHubName] EnterpriseUserEnrollmentCreated healthHubName
140403
140451
  */
140404
140452
 
140405
140453
  /**
@@ -140721,6 +140769,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
140721
140769
  */
140722
140770
  EnterpriseUserEnrollmentCreated.prototype.subscriptionOrgId = 0;
140723
140771
 
140772
+ /**
140773
+ * EnterpriseUserEnrollmentCreated healthHubName.
140774
+ * @member {string} healthHubName
140775
+ * @memberof EnterpriseUserEnrollmentCreated
140776
+ * @instance
140777
+ */
140778
+ EnterpriseUserEnrollmentCreated.prototype.healthHubName = "";
140779
+
140724
140780
  /**
140725
140781
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
140726
140782
  * @function create
@@ -140821,6 +140877,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
140821
140877
  writer.uint32(/* id 42, wireType 2 =*/338).string(message.healthHub);
140822
140878
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
140823
140879
  writer.uint32(/* id 43, wireType 0 =*/344).uint32(message.subscriptionOrgId);
140880
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
140881
+ writer.uint32(/* id 44, wireType 2 =*/354).string(message.healthHubName);
140824
140882
  return writer;
140825
140883
  };
140826
140884
 
@@ -140969,6 +141027,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
140969
141027
  case 43:
140970
141028
  message.subscriptionOrgId = reader.uint32();
140971
141029
  break;
141030
+ case 44:
141031
+ message.healthHubName = reader.string();
141032
+ break;
140972
141033
  default:
140973
141034
  reader.skipType(tag & 7);
140974
141035
  break;
@@ -141163,6 +141224,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141163
141224
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
141164
141225
  if (!$util.isInteger(message.subscriptionOrgId))
141165
141226
  return "subscriptionOrgId: integer expected";
141227
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
141228
+ if (!$util.isString(message.healthHubName))
141229
+ return "healthHubName: string expected";
141166
141230
  return null;
141167
141231
  };
141168
141232
 
@@ -141397,6 +141461,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141397
141461
  message.healthHub = String(object.healthHub);
141398
141462
  if (object.subscriptionOrgId != null)
141399
141463
  message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
141464
+ if (object.healthHubName != null)
141465
+ message.healthHubName = String(object.healthHubName);
141400
141466
  return message;
141401
141467
  };
141402
141468
 
@@ -141472,6 +141538,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141472
141538
  object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
141473
141539
  object.healthHub = "";
141474
141540
  object.subscriptionOrgId = 0;
141541
+ object.healthHubName = "";
141475
141542
  }
141476
141543
  if (message.userId != null && message.hasOwnProperty("userId"))
141477
141544
  object.userId = message.userId;
@@ -141564,6 +141631,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
141564
141631
  object.healthHub = message.healthHub;
141565
141632
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
141566
141633
  object.subscriptionOrgId = message.subscriptionOrgId;
141634
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
141635
+ object.healthHubName = message.healthHubName;
141567
141636
  return object;
141568
141637
  };
141569
141638
 
@@ -142824,6 +142893,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
142824
142893
  * @property {b2b.EapServiceType|null} [eapServiceType] EnterpriseUserEnrollmentAmended eapServiceType
142825
142894
  * @property {string|null} [healthHub] EnterpriseUserEnrollmentAmended healthHub
142826
142895
  * @property {number|null} [subscriptionOrgId] EnterpriseUserEnrollmentAmended subscriptionOrgId
142896
+ * @property {string|null} [healthHubName] EnterpriseUserEnrollmentAmended healthHubName
142827
142897
  */
142828
142898
 
142829
142899
  /**
@@ -143137,6 +143207,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143137
143207
  */
143138
143208
  EnterpriseUserEnrollmentAmended.prototype.subscriptionOrgId = 0;
143139
143209
 
143210
+ /**
143211
+ * EnterpriseUserEnrollmentAmended healthHubName.
143212
+ * @member {string} healthHubName
143213
+ * @memberof EnterpriseUserEnrollmentAmended
143214
+ * @instance
143215
+ */
143216
+ EnterpriseUserEnrollmentAmended.prototype.healthHubName = "";
143217
+
143140
143218
  /**
143141
143219
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
143142
143220
  * @function create
@@ -143235,6 +143313,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143235
143313
  writer.uint32(/* id 42, wireType 2 =*/338).string(message.healthHub);
143236
143314
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
143237
143315
  writer.uint32(/* id 43, wireType 0 =*/344).uint32(message.subscriptionOrgId);
143316
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
143317
+ writer.uint32(/* id 44, wireType 2 =*/354).string(message.healthHubName);
143238
143318
  return writer;
143239
143319
  };
143240
143320
 
@@ -143380,6 +143460,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143380
143460
  case 43:
143381
143461
  message.subscriptionOrgId = reader.uint32();
143382
143462
  break;
143463
+ case 44:
143464
+ message.healthHubName = reader.string();
143465
+ break;
143383
143466
  default:
143384
143467
  reader.skipType(tag & 7);
143385
143468
  break;
@@ -143571,6 +143654,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143571
143654
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
143572
143655
  if (!$util.isInteger(message.subscriptionOrgId))
143573
143656
  return "subscriptionOrgId: integer expected";
143657
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
143658
+ if (!$util.isString(message.healthHubName))
143659
+ return "healthHubName: string expected";
143574
143660
  return null;
143575
143661
  };
143576
143662
 
@@ -143803,6 +143889,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143803
143889
  message.healthHub = String(object.healthHub);
143804
143890
  if (object.subscriptionOrgId != null)
143805
143891
  message.subscriptionOrgId = object.subscriptionOrgId >>> 0;
143892
+ if (object.healthHubName != null)
143893
+ message.healthHubName = String(object.healthHubName);
143806
143894
  return message;
143807
143895
  };
143808
143896
 
@@ -143877,6 +143965,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143877
143965
  object.eapServiceType = options.enums === String ? "EAP_SERVICE_TYPE_UNKNOWN" : 0;
143878
143966
  object.healthHub = "";
143879
143967
  object.subscriptionOrgId = 0;
143968
+ object.healthHubName = "";
143880
143969
  }
143881
143970
  if (message.userId != null && message.hasOwnProperty("userId"))
143882
143971
  object.userId = message.userId;
@@ -143967,6 +144056,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
143967
144056
  object.healthHub = message.healthHub;
143968
144057
  if (message.subscriptionOrgId != null && message.hasOwnProperty("subscriptionOrgId"))
143969
144058
  object.subscriptionOrgId = message.subscriptionOrgId;
144059
+ if (message.healthHubName != null && message.hasOwnProperty("healthHubName"))
144060
+ object.healthHubName = message.healthHubName;
143970
144061
  return object;
143971
144062
  };
143972
144063
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.595.0"
19
+ "version": "1.597.0"
20
20
  }