@headspace/protos-events 1.833.0 → 1.835.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 +1008 -0
  2. package/lib/index.js +3005 -0
  3. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -260130,6 +260130,3011 @@ $root.HieDeliveryFailed = (function() {
260130
260130
  return HieDeliveryFailed;
260131
260131
  })();
260132
260132
 
260133
+ $root.GingerClinicalNoteExported = (function() {
260134
+
260135
+ /**
260136
+ * Properties of a GingerClinicalNoteExported.
260137
+ * @typedef {Object} GingerClinicalNoteExported.$Properties
260138
+ * @property {number|Long|null} [timestamp] GingerClinicalNoteExported timestamp
260139
+ * @property {string|null} [noteId] GingerClinicalNoteExported noteId
260140
+ * @property {string|null} [hsUserId] GingerClinicalNoteExported hsUserId
260141
+ * @property {string|null} [s3Path] GingerClinicalNoteExported s3Path
260142
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
260143
+ */
260144
+
260145
+ /**
260146
+ * Properties of a GingerClinicalNoteExported.
260147
+ * @name IGingerClinicalNoteExported
260148
+ * @interface IGingerClinicalNoteExported
260149
+ * @augments GingerClinicalNoteExported.$Properties
260150
+ * @deprecated Use GingerClinicalNoteExported.$Properties instead.
260151
+ */
260152
+
260153
+ /**
260154
+ * Shape of a GingerClinicalNoteExported.
260155
+ * @typedef {GingerClinicalNoteExported.$Properties} GingerClinicalNoteExported.$Shape
260156
+ */
260157
+
260158
+ /**
260159
+ * Constructs a new GingerClinicalNoteExported.
260160
+ * @name GingerClinicalNoteExported
260161
+ * @classdesc Published when care-web has written a GingerClinicalNotePayload object to the
260162
+ * Headspace HIE S3 export bucket and is ready for hs-hie-service to consume it.
260163
+ * Thin pointer only -- opaque ids and the S3 object key. Classification and
260164
+ * DS4P codes live on GingerClinicalNotePayload (read after GetObject).
260165
+ * @constructor
260166
+ * @param {GingerClinicalNoteExported.$Properties=} [properties] Properties to set
260167
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
260168
+ */
260169
+ function GingerClinicalNoteExported(properties) {
260170
+ if (properties)
260171
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
260172
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
260173
+ this[keys[i]] = properties[keys[i]];
260174
+ }
260175
+
260176
+ /**
260177
+ * GingerClinicalNoteExported timestamp.
260178
+ * @member {number|Long} timestamp
260179
+ * @memberof GingerClinicalNoteExported
260180
+ * @instance
260181
+ */
260182
+ GingerClinicalNoteExported.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
260183
+
260184
+ /**
260185
+ * GingerClinicalNoteExported noteId.
260186
+ * @member {string} noteId
260187
+ * @memberof GingerClinicalNoteExported
260188
+ * @instance
260189
+ */
260190
+ GingerClinicalNoteExported.prototype.noteId = "";
260191
+
260192
+ /**
260193
+ * GingerClinicalNoteExported hsUserId.
260194
+ * @member {string} hsUserId
260195
+ * @memberof GingerClinicalNoteExported
260196
+ * @instance
260197
+ */
260198
+ GingerClinicalNoteExported.prototype.hsUserId = "";
260199
+
260200
+ /**
260201
+ * GingerClinicalNoteExported s3Path.
260202
+ * @member {string} s3Path
260203
+ * @memberof GingerClinicalNoteExported
260204
+ * @instance
260205
+ */
260206
+ GingerClinicalNoteExported.prototype.s3Path = "";
260207
+
260208
+ /**
260209
+ * Creates a new GingerClinicalNoteExported instance using the specified properties.
260210
+ * @function create
260211
+ * @memberof GingerClinicalNoteExported
260212
+ * @static
260213
+ * @param {GingerClinicalNoteExported.$Properties=} [properties] Properties to set
260214
+ * @returns {GingerClinicalNoteExported} GingerClinicalNoteExported instance
260215
+ * @type {{
260216
+ * (properties: GingerClinicalNoteExported.$Shape): GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape;
260217
+ * (properties?: GingerClinicalNoteExported.$Properties): GingerClinicalNoteExported;
260218
+ * }}
260219
+ */
260220
+ GingerClinicalNoteExported.create = function create(properties) {
260221
+ return new GingerClinicalNoteExported(properties);
260222
+ };
260223
+
260224
+ /**
260225
+ * Encodes the specified GingerClinicalNoteExported message. Does not implicitly {@link GingerClinicalNoteExported.verify|verify} messages.
260226
+ * @function encode
260227
+ * @memberof GingerClinicalNoteExported
260228
+ * @static
260229
+ * @param {GingerClinicalNoteExported.$Properties} message GingerClinicalNoteExported message or plain object to encode
260230
+ * @param {$protobuf.Writer} [writer] Writer to encode to
260231
+ * @returns {$protobuf.Writer} Writer
260232
+ */
260233
+ GingerClinicalNoteExported.encode = function encode(message, writer) {
260234
+ if (!writer)
260235
+ writer = $Writer.create();
260236
+ if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp"))
260237
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
260238
+ if (message.noteId != null && Object.hasOwnProperty.call(message, "noteId"))
260239
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.noteId);
260240
+ if (message.hsUserId != null && Object.hasOwnProperty.call(message, "hsUserId"))
260241
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsUserId);
260242
+ if (message.s3Path != null && Object.hasOwnProperty.call(message, "s3Path"))
260243
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.s3Path);
260244
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
260245
+ for (var i = 0; i < message.$unknowns.length; ++i)
260246
+ writer.raw(message.$unknowns[i]);
260247
+ return writer;
260248
+ };
260249
+
260250
+ /**
260251
+ * Encodes the specified GingerClinicalNoteExported message, length delimited. Does not implicitly {@link GingerClinicalNoteExported.verify|verify} messages.
260252
+ * @function encodeDelimited
260253
+ * @memberof GingerClinicalNoteExported
260254
+ * @static
260255
+ * @param {GingerClinicalNoteExported.$Properties} message GingerClinicalNoteExported message or plain object to encode
260256
+ * @param {$protobuf.Writer} [writer] Writer to encode to
260257
+ * @returns {$protobuf.Writer} Writer
260258
+ */
260259
+ GingerClinicalNoteExported.encodeDelimited = function encodeDelimited(message, writer) {
260260
+ return this.encode(message, writer).ldelim();
260261
+ };
260262
+
260263
+ /**
260264
+ * Decodes a GingerClinicalNoteExported message from the specified reader or buffer.
260265
+ * @function decode
260266
+ * @memberof GingerClinicalNoteExported
260267
+ * @static
260268
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
260269
+ * @param {number} [length] Message length if known beforehand
260270
+ * @returns {GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape} GingerClinicalNoteExported
260271
+ * @throws {Error} If the payload is not a reader or valid buffer
260272
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
260273
+ */
260274
+ GingerClinicalNoteExported.decode = function decode(reader, length, _end, _depth, _target) {
260275
+ if (!(reader instanceof $Reader))
260276
+ reader = $Reader.create(reader);
260277
+ if (_depth === undefined)
260278
+ _depth = 0;
260279
+ if (_depth > $Reader.recursionLimit)
260280
+ throw Error("max depth exceeded");
260281
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.GingerClinicalNoteExported(), value;
260282
+ while (reader.pos < end) {
260283
+ var start = reader.pos;
260284
+ var tag = reader.tag();
260285
+ if (tag === _end) {
260286
+ _end = undefined;
260287
+ break;
260288
+ }
260289
+ var wireType = tag & 7;
260290
+ switch (tag >>>= 3) {
260291
+ case 1: {
260292
+ if (wireType !== 0)
260293
+ break;
260294
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
260295
+ message.timestamp = value;
260296
+ else
260297
+ delete message.timestamp;
260298
+ continue;
260299
+ }
260300
+ case 2: {
260301
+ if (wireType !== 2)
260302
+ break;
260303
+ if ((value = reader.string()).length)
260304
+ message.noteId = value;
260305
+ else
260306
+ delete message.noteId;
260307
+ continue;
260308
+ }
260309
+ case 3: {
260310
+ if (wireType !== 2)
260311
+ break;
260312
+ if ((value = reader.string()).length)
260313
+ message.hsUserId = value;
260314
+ else
260315
+ delete message.hsUserId;
260316
+ continue;
260317
+ }
260318
+ case 4: {
260319
+ if (wireType !== 2)
260320
+ break;
260321
+ if ((value = reader.string()).length)
260322
+ message.s3Path = value;
260323
+ else
260324
+ delete message.s3Path;
260325
+ continue;
260326
+ }
260327
+ }
260328
+ reader.skipType(wireType, _depth, tag);
260329
+ $util.makeProp(message, "$unknowns", false);
260330
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
260331
+ }
260332
+ if (_end !== undefined)
260333
+ throw Error("missing end group");
260334
+ return message;
260335
+ };
260336
+
260337
+ /**
260338
+ * Decodes a GingerClinicalNoteExported message from the specified reader or buffer, length delimited.
260339
+ * @function decodeDelimited
260340
+ * @memberof GingerClinicalNoteExported
260341
+ * @static
260342
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
260343
+ * @returns {GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape} GingerClinicalNoteExported
260344
+ * @throws {Error} If the payload is not a reader or valid buffer
260345
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
260346
+ */
260347
+ GingerClinicalNoteExported.decodeDelimited = function decodeDelimited(reader) {
260348
+ if (!(reader instanceof $Reader))
260349
+ reader = new $Reader(reader);
260350
+ return this.decode(reader, reader.uint32());
260351
+ };
260352
+
260353
+ /**
260354
+ * Verifies a GingerClinicalNoteExported message.
260355
+ * @function verify
260356
+ * @memberof GingerClinicalNoteExported
260357
+ * @static
260358
+ * @param {Object.<string,*>} message Plain object to verify
260359
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
260360
+ */
260361
+ GingerClinicalNoteExported.verify = function verify(message, _depth) {
260362
+ if (typeof message !== "object" || message === null)
260363
+ return "object expected";
260364
+ if (_depth === undefined)
260365
+ _depth = 0;
260366
+ if (_depth > $util.recursionLimit)
260367
+ return "max depth exceeded";
260368
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
260369
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
260370
+ return "timestamp: integer|Long expected";
260371
+ if (message.noteId != null && message.hasOwnProperty("noteId"))
260372
+ if (!$util.isString(message.noteId))
260373
+ return "noteId: string expected";
260374
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
260375
+ if (!$util.isString(message.hsUserId))
260376
+ return "hsUserId: string expected";
260377
+ if (message.s3Path != null && message.hasOwnProperty("s3Path"))
260378
+ if (!$util.isString(message.s3Path))
260379
+ return "s3Path: string expected";
260380
+ return null;
260381
+ };
260382
+
260383
+ /**
260384
+ * Creates a GingerClinicalNoteExported message from a plain object. Also converts values to their respective internal types.
260385
+ * @function fromObject
260386
+ * @memberof GingerClinicalNoteExported
260387
+ * @static
260388
+ * @param {Object.<string,*>} object Plain object
260389
+ * @returns {GingerClinicalNoteExported} GingerClinicalNoteExported
260390
+ */
260391
+ GingerClinicalNoteExported.fromObject = function fromObject(object, _depth) {
260392
+ if (object instanceof $root.GingerClinicalNoteExported)
260393
+ return object;
260394
+ if (_depth === undefined)
260395
+ _depth = 0;
260396
+ if (_depth > $util.recursionLimit)
260397
+ throw Error("max depth exceeded");
260398
+ var message = new $root.GingerClinicalNoteExported();
260399
+ if (object.timestamp != null)
260400
+ if (typeof object.timestamp === "object" ? object.timestamp.low || object.timestamp.high : Number(object.timestamp) !== 0)
260401
+ if ($util.Long)
260402
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
260403
+ else if (typeof object.timestamp === "string")
260404
+ message.timestamp = parseInt(object.timestamp, 10);
260405
+ else if (typeof object.timestamp === "number")
260406
+ message.timestamp = object.timestamp;
260407
+ else if (typeof object.timestamp === "object")
260408
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
260409
+ if (object.noteId != null)
260410
+ if (typeof object.noteId !== "string" || object.noteId.length)
260411
+ message.noteId = String(object.noteId);
260412
+ if (object.hsUserId != null)
260413
+ if (typeof object.hsUserId !== "string" || object.hsUserId.length)
260414
+ message.hsUserId = String(object.hsUserId);
260415
+ if (object.s3Path != null)
260416
+ if (typeof object.s3Path !== "string" || object.s3Path.length)
260417
+ message.s3Path = String(object.s3Path);
260418
+ return message;
260419
+ };
260420
+
260421
+ /**
260422
+ * Creates a plain object from a GingerClinicalNoteExported message. Also converts values to other types if specified.
260423
+ * @function toObject
260424
+ * @memberof GingerClinicalNoteExported
260425
+ * @static
260426
+ * @param {GingerClinicalNoteExported} message GingerClinicalNoteExported
260427
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
260428
+ * @returns {Object.<string,*>} Plain object
260429
+ */
260430
+ GingerClinicalNoteExported.toObject = function toObject(message, options) {
260431
+ if (!options)
260432
+ options = {};
260433
+ var object = {};
260434
+ if (options.defaults) {
260435
+ if ($util.Long) {
260436
+ var long = new $util.Long(0, 0, true);
260437
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
260438
+ } else
260439
+ object.timestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
260440
+ object.noteId = "";
260441
+ object.hsUserId = "";
260442
+ object.s3Path = "";
260443
+ }
260444
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
260445
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
260446
+ object.timestamp = typeof message.timestamp === "number" ? BigInt(message.timestamp) : $util.Long.fromBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0, true).toBigInt();
260447
+ else if (typeof message.timestamp === "number")
260448
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
260449
+ else
260450
+ object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
260451
+ if (message.noteId != null && message.hasOwnProperty("noteId"))
260452
+ object.noteId = message.noteId;
260453
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
260454
+ object.hsUserId = message.hsUserId;
260455
+ if (message.s3Path != null && message.hasOwnProperty("s3Path"))
260456
+ object.s3Path = message.s3Path;
260457
+ return object;
260458
+ };
260459
+
260460
+ /**
260461
+ * Converts this GingerClinicalNoteExported to JSON.
260462
+ * @function toJSON
260463
+ * @memberof GingerClinicalNoteExported
260464
+ * @instance
260465
+ * @returns {Object.<string,*>} JSON object
260466
+ */
260467
+ GingerClinicalNoteExported.prototype.toJSON = function toJSON() {
260468
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
260469
+ };
260470
+
260471
+ /**
260472
+ * Gets the type url for GingerClinicalNoteExported
260473
+ * @function getTypeUrl
260474
+ * @memberof GingerClinicalNoteExported
260475
+ * @static
260476
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
260477
+ * @returns {string} The type url
260478
+ */
260479
+ GingerClinicalNoteExported.getTypeUrl = function getTypeUrl(prefix) {
260480
+ if (prefix === undefined)
260481
+ prefix = "type.googleapis.com";
260482
+ return prefix + "/GingerClinicalNoteExported";
260483
+ };
260484
+
260485
+ return GingerClinicalNoteExported;
260486
+ })();
260487
+
260488
+ /**
260489
+ * GingerClinicalNoteType enum.
260490
+ * @name GingerClinicalNoteType
260491
+ * @enum {number}
260492
+ * @property {number} GINGER_CLINICAL_NOTE_TYPE_UNKNOWN=0 GINGER_CLINICAL_NOTE_TYPE_UNKNOWN value
260493
+ * @property {number} GINGER_CLINICAL_NOTE_TYPE_THERAPY_INTAKE=1 GINGER_CLINICAL_NOTE_TYPE_THERAPY_INTAKE value
260494
+ * @property {number} GINGER_CLINICAL_NOTE_TYPE_THERAPY_PROGRESS=2 GINGER_CLINICAL_NOTE_TYPE_THERAPY_PROGRESS value
260495
+ * @property {number} GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_INTAKE=3 GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_INTAKE value
260496
+ * @property {number} GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_PROGRESS=4 GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_PROGRESS value
260497
+ */
260498
+ $root.GingerClinicalNoteType = (function() {
260499
+ var valuesById = {}, values = Object.create(valuesById);
260500
+ values[valuesById[0] = "GINGER_CLINICAL_NOTE_TYPE_UNKNOWN"] = 0;
260501
+ values[valuesById[1] = "GINGER_CLINICAL_NOTE_TYPE_THERAPY_INTAKE"] = 1;
260502
+ values[valuesById[2] = "GINGER_CLINICAL_NOTE_TYPE_THERAPY_PROGRESS"] = 2;
260503
+ values[valuesById[3] = "GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_INTAKE"] = 3;
260504
+ values[valuesById[4] = "GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_PROGRESS"] = 4;
260505
+ return values;
260506
+ })();
260507
+
260508
+ $root.ClinicalNotePatient = (function() {
260509
+
260510
+ /**
260511
+ * Properties of a ClinicalNotePatient.
260512
+ * @typedef {Object} ClinicalNotePatient.$Properties
260513
+ * @property {string|null} [givenName] ClinicalNotePatient givenName
260514
+ * @property {string|null} [lastName] ClinicalNotePatient lastName
260515
+ * @property {string|null} [gender] ClinicalNotePatient gender
260516
+ * @property {string|null} [emailAddress] ClinicalNotePatient emailAddress
260517
+ * @property {string|null} [phoneNumber] ClinicalNotePatient phoneNumber
260518
+ * @property {string|null} [birthDate] ClinicalNotePatient birthDate
260519
+ * @property {string|null} [country] ClinicalNotePatient country
260520
+ * @property {string|null} [state] ClinicalNotePatient state
260521
+ * @property {string|null} [city] ClinicalNotePatient city
260522
+ * @property {string|null} [postalCode] ClinicalNotePatient postalCode
260523
+ * @property {string|null} [streetAddress] ClinicalNotePatient streetAddress
260524
+ * @property {string|null} [streetAddress_2] ClinicalNotePatient streetAddress_2
260525
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
260526
+ */
260527
+
260528
+ /**
260529
+ * Properties of a ClinicalNotePatient.
260530
+ * @name IClinicalNotePatient
260531
+ * @interface IClinicalNotePatient
260532
+ * @augments ClinicalNotePatient.$Properties
260533
+ * @deprecated Use ClinicalNotePatient.$Properties instead.
260534
+ */
260535
+
260536
+ /**
260537
+ * Shape of a ClinicalNotePatient.
260538
+ * @typedef {ClinicalNotePatient.$Properties} ClinicalNotePatient.$Shape
260539
+ */
260540
+
260541
+ /**
260542
+ * Constructs a new ClinicalNotePatient.
260543
+ * @name ClinicalNotePatient
260544
+ * @classdesc Represents a ClinicalNotePatient.
260545
+ * @constructor
260546
+ * @param {ClinicalNotePatient.$Properties=} [properties] Properties to set
260547
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
260548
+ */
260549
+ function ClinicalNotePatient(properties) {
260550
+ if (properties)
260551
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
260552
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
260553
+ this[keys[i]] = properties[keys[i]];
260554
+ }
260555
+
260556
+ /**
260557
+ * ClinicalNotePatient givenName.
260558
+ * @member {string} givenName
260559
+ * @memberof ClinicalNotePatient
260560
+ * @instance
260561
+ */
260562
+ ClinicalNotePatient.prototype.givenName = "";
260563
+
260564
+ /**
260565
+ * ClinicalNotePatient lastName.
260566
+ * @member {string} lastName
260567
+ * @memberof ClinicalNotePatient
260568
+ * @instance
260569
+ */
260570
+ ClinicalNotePatient.prototype.lastName = "";
260571
+
260572
+ /**
260573
+ * ClinicalNotePatient gender.
260574
+ * @member {string} gender
260575
+ * @memberof ClinicalNotePatient
260576
+ * @instance
260577
+ */
260578
+ ClinicalNotePatient.prototype.gender = "";
260579
+
260580
+ /**
260581
+ * ClinicalNotePatient emailAddress.
260582
+ * @member {string} emailAddress
260583
+ * @memberof ClinicalNotePatient
260584
+ * @instance
260585
+ */
260586
+ ClinicalNotePatient.prototype.emailAddress = "";
260587
+
260588
+ /**
260589
+ * ClinicalNotePatient phoneNumber.
260590
+ * @member {string} phoneNumber
260591
+ * @memberof ClinicalNotePatient
260592
+ * @instance
260593
+ */
260594
+ ClinicalNotePatient.prototype.phoneNumber = "";
260595
+
260596
+ /**
260597
+ * ClinicalNotePatient birthDate.
260598
+ * @member {string} birthDate
260599
+ * @memberof ClinicalNotePatient
260600
+ * @instance
260601
+ */
260602
+ ClinicalNotePatient.prototype.birthDate = "";
260603
+
260604
+ /**
260605
+ * ClinicalNotePatient country.
260606
+ * @member {string} country
260607
+ * @memberof ClinicalNotePatient
260608
+ * @instance
260609
+ */
260610
+ ClinicalNotePatient.prototype.country = "";
260611
+
260612
+ /**
260613
+ * ClinicalNotePatient state.
260614
+ * @member {string} state
260615
+ * @memberof ClinicalNotePatient
260616
+ * @instance
260617
+ */
260618
+ ClinicalNotePatient.prototype.state = "";
260619
+
260620
+ /**
260621
+ * ClinicalNotePatient city.
260622
+ * @member {string} city
260623
+ * @memberof ClinicalNotePatient
260624
+ * @instance
260625
+ */
260626
+ ClinicalNotePatient.prototype.city = "";
260627
+
260628
+ /**
260629
+ * ClinicalNotePatient postalCode.
260630
+ * @member {string} postalCode
260631
+ * @memberof ClinicalNotePatient
260632
+ * @instance
260633
+ */
260634
+ ClinicalNotePatient.prototype.postalCode = "";
260635
+
260636
+ /**
260637
+ * ClinicalNotePatient streetAddress.
260638
+ * @member {string} streetAddress
260639
+ * @memberof ClinicalNotePatient
260640
+ * @instance
260641
+ */
260642
+ ClinicalNotePatient.prototype.streetAddress = "";
260643
+
260644
+ /**
260645
+ * ClinicalNotePatient streetAddress_2.
260646
+ * @member {string} streetAddress_2
260647
+ * @memberof ClinicalNotePatient
260648
+ * @instance
260649
+ */
260650
+ ClinicalNotePatient.prototype.streetAddress_2 = "";
260651
+
260652
+ /**
260653
+ * Creates a new ClinicalNotePatient instance using the specified properties.
260654
+ * @function create
260655
+ * @memberof ClinicalNotePatient
260656
+ * @static
260657
+ * @param {ClinicalNotePatient.$Properties=} [properties] Properties to set
260658
+ * @returns {ClinicalNotePatient} ClinicalNotePatient instance
260659
+ * @type {{
260660
+ * (properties: ClinicalNotePatient.$Shape): ClinicalNotePatient & ClinicalNotePatient.$Shape;
260661
+ * (properties?: ClinicalNotePatient.$Properties): ClinicalNotePatient;
260662
+ * }}
260663
+ */
260664
+ ClinicalNotePatient.create = function create(properties) {
260665
+ return new ClinicalNotePatient(properties);
260666
+ };
260667
+
260668
+ /**
260669
+ * Encodes the specified ClinicalNotePatient message. Does not implicitly {@link ClinicalNotePatient.verify|verify} messages.
260670
+ * @function encode
260671
+ * @memberof ClinicalNotePatient
260672
+ * @static
260673
+ * @param {ClinicalNotePatient.$Properties} message ClinicalNotePatient message or plain object to encode
260674
+ * @param {$protobuf.Writer} [writer] Writer to encode to
260675
+ * @returns {$protobuf.Writer} Writer
260676
+ */
260677
+ ClinicalNotePatient.encode = function encode(message, writer) {
260678
+ if (!writer)
260679
+ writer = $Writer.create();
260680
+ if (message.givenName != null && Object.hasOwnProperty.call(message, "givenName"))
260681
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.givenName);
260682
+ if (message.lastName != null && Object.hasOwnProperty.call(message, "lastName"))
260683
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.lastName);
260684
+ if (message.gender != null && Object.hasOwnProperty.call(message, "gender"))
260685
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.gender);
260686
+ if (message.emailAddress != null && Object.hasOwnProperty.call(message, "emailAddress"))
260687
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.emailAddress);
260688
+ if (message.phoneNumber != null && Object.hasOwnProperty.call(message, "phoneNumber"))
260689
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.phoneNumber);
260690
+ if (message.birthDate != null && Object.hasOwnProperty.call(message, "birthDate"))
260691
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.birthDate);
260692
+ if (message.country != null && Object.hasOwnProperty.call(message, "country"))
260693
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.country);
260694
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
260695
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.state);
260696
+ if (message.city != null && Object.hasOwnProperty.call(message, "city"))
260697
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.city);
260698
+ if (message.postalCode != null && Object.hasOwnProperty.call(message, "postalCode"))
260699
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.postalCode);
260700
+ if (message.streetAddress != null && Object.hasOwnProperty.call(message, "streetAddress"))
260701
+ writer.uint32(/* id 11, wireType 2 =*/90).string(message.streetAddress);
260702
+ if (message.streetAddress_2 != null && Object.hasOwnProperty.call(message, "streetAddress_2"))
260703
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.streetAddress_2);
260704
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
260705
+ for (var i = 0; i < message.$unknowns.length; ++i)
260706
+ writer.raw(message.$unknowns[i]);
260707
+ return writer;
260708
+ };
260709
+
260710
+ /**
260711
+ * Encodes the specified ClinicalNotePatient message, length delimited. Does not implicitly {@link ClinicalNotePatient.verify|verify} messages.
260712
+ * @function encodeDelimited
260713
+ * @memberof ClinicalNotePatient
260714
+ * @static
260715
+ * @param {ClinicalNotePatient.$Properties} message ClinicalNotePatient message or plain object to encode
260716
+ * @param {$protobuf.Writer} [writer] Writer to encode to
260717
+ * @returns {$protobuf.Writer} Writer
260718
+ */
260719
+ ClinicalNotePatient.encodeDelimited = function encodeDelimited(message, writer) {
260720
+ return this.encode(message, writer).ldelim();
260721
+ };
260722
+
260723
+ /**
260724
+ * Decodes a ClinicalNotePatient message from the specified reader or buffer.
260725
+ * @function decode
260726
+ * @memberof ClinicalNotePatient
260727
+ * @static
260728
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
260729
+ * @param {number} [length] Message length if known beforehand
260730
+ * @returns {ClinicalNotePatient & ClinicalNotePatient.$Shape} ClinicalNotePatient
260731
+ * @throws {Error} If the payload is not a reader or valid buffer
260732
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
260733
+ */
260734
+ ClinicalNotePatient.decode = function decode(reader, length, _end, _depth, _target) {
260735
+ if (!(reader instanceof $Reader))
260736
+ reader = $Reader.create(reader);
260737
+ if (_depth === undefined)
260738
+ _depth = 0;
260739
+ if (_depth > $Reader.recursionLimit)
260740
+ throw Error("max depth exceeded");
260741
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ClinicalNotePatient(), value;
260742
+ while (reader.pos < end) {
260743
+ var start = reader.pos;
260744
+ var tag = reader.tag();
260745
+ if (tag === _end) {
260746
+ _end = undefined;
260747
+ break;
260748
+ }
260749
+ var wireType = tag & 7;
260750
+ switch (tag >>>= 3) {
260751
+ case 1: {
260752
+ if (wireType !== 2)
260753
+ break;
260754
+ if ((value = reader.string()).length)
260755
+ message.givenName = value;
260756
+ else
260757
+ delete message.givenName;
260758
+ continue;
260759
+ }
260760
+ case 2: {
260761
+ if (wireType !== 2)
260762
+ break;
260763
+ if ((value = reader.string()).length)
260764
+ message.lastName = value;
260765
+ else
260766
+ delete message.lastName;
260767
+ continue;
260768
+ }
260769
+ case 3: {
260770
+ if (wireType !== 2)
260771
+ break;
260772
+ if ((value = reader.string()).length)
260773
+ message.gender = value;
260774
+ else
260775
+ delete message.gender;
260776
+ continue;
260777
+ }
260778
+ case 4: {
260779
+ if (wireType !== 2)
260780
+ break;
260781
+ if ((value = reader.string()).length)
260782
+ message.emailAddress = value;
260783
+ else
260784
+ delete message.emailAddress;
260785
+ continue;
260786
+ }
260787
+ case 5: {
260788
+ if (wireType !== 2)
260789
+ break;
260790
+ if ((value = reader.string()).length)
260791
+ message.phoneNumber = value;
260792
+ else
260793
+ delete message.phoneNumber;
260794
+ continue;
260795
+ }
260796
+ case 6: {
260797
+ if (wireType !== 2)
260798
+ break;
260799
+ if ((value = reader.string()).length)
260800
+ message.birthDate = value;
260801
+ else
260802
+ delete message.birthDate;
260803
+ continue;
260804
+ }
260805
+ case 7: {
260806
+ if (wireType !== 2)
260807
+ break;
260808
+ if ((value = reader.string()).length)
260809
+ message.country = value;
260810
+ else
260811
+ delete message.country;
260812
+ continue;
260813
+ }
260814
+ case 8: {
260815
+ if (wireType !== 2)
260816
+ break;
260817
+ if ((value = reader.string()).length)
260818
+ message.state = value;
260819
+ else
260820
+ delete message.state;
260821
+ continue;
260822
+ }
260823
+ case 9: {
260824
+ if (wireType !== 2)
260825
+ break;
260826
+ if ((value = reader.string()).length)
260827
+ message.city = value;
260828
+ else
260829
+ delete message.city;
260830
+ continue;
260831
+ }
260832
+ case 10: {
260833
+ if (wireType !== 2)
260834
+ break;
260835
+ if ((value = reader.string()).length)
260836
+ message.postalCode = value;
260837
+ else
260838
+ delete message.postalCode;
260839
+ continue;
260840
+ }
260841
+ case 11: {
260842
+ if (wireType !== 2)
260843
+ break;
260844
+ if ((value = reader.string()).length)
260845
+ message.streetAddress = value;
260846
+ else
260847
+ delete message.streetAddress;
260848
+ continue;
260849
+ }
260850
+ case 12: {
260851
+ if (wireType !== 2)
260852
+ break;
260853
+ if ((value = reader.string()).length)
260854
+ message.streetAddress_2 = value;
260855
+ else
260856
+ delete message.streetAddress_2;
260857
+ continue;
260858
+ }
260859
+ }
260860
+ reader.skipType(wireType, _depth, tag);
260861
+ $util.makeProp(message, "$unknowns", false);
260862
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
260863
+ }
260864
+ if (_end !== undefined)
260865
+ throw Error("missing end group");
260866
+ return message;
260867
+ };
260868
+
260869
+ /**
260870
+ * Decodes a ClinicalNotePatient message from the specified reader or buffer, length delimited.
260871
+ * @function decodeDelimited
260872
+ * @memberof ClinicalNotePatient
260873
+ * @static
260874
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
260875
+ * @returns {ClinicalNotePatient & ClinicalNotePatient.$Shape} ClinicalNotePatient
260876
+ * @throws {Error} If the payload is not a reader or valid buffer
260877
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
260878
+ */
260879
+ ClinicalNotePatient.decodeDelimited = function decodeDelimited(reader) {
260880
+ if (!(reader instanceof $Reader))
260881
+ reader = new $Reader(reader);
260882
+ return this.decode(reader, reader.uint32());
260883
+ };
260884
+
260885
+ /**
260886
+ * Verifies a ClinicalNotePatient message.
260887
+ * @function verify
260888
+ * @memberof ClinicalNotePatient
260889
+ * @static
260890
+ * @param {Object.<string,*>} message Plain object to verify
260891
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
260892
+ */
260893
+ ClinicalNotePatient.verify = function verify(message, _depth) {
260894
+ if (typeof message !== "object" || message === null)
260895
+ return "object expected";
260896
+ if (_depth === undefined)
260897
+ _depth = 0;
260898
+ if (_depth > $util.recursionLimit)
260899
+ return "max depth exceeded";
260900
+ if (message.givenName != null && message.hasOwnProperty("givenName"))
260901
+ if (!$util.isString(message.givenName))
260902
+ return "givenName: string expected";
260903
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
260904
+ if (!$util.isString(message.lastName))
260905
+ return "lastName: string expected";
260906
+ if (message.gender != null && message.hasOwnProperty("gender"))
260907
+ if (!$util.isString(message.gender))
260908
+ return "gender: string expected";
260909
+ if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
260910
+ if (!$util.isString(message.emailAddress))
260911
+ return "emailAddress: string expected";
260912
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
260913
+ if (!$util.isString(message.phoneNumber))
260914
+ return "phoneNumber: string expected";
260915
+ if (message.birthDate != null && message.hasOwnProperty("birthDate"))
260916
+ if (!$util.isString(message.birthDate))
260917
+ return "birthDate: string expected";
260918
+ if (message.country != null && message.hasOwnProperty("country"))
260919
+ if (!$util.isString(message.country))
260920
+ return "country: string expected";
260921
+ if (message.state != null && message.hasOwnProperty("state"))
260922
+ if (!$util.isString(message.state))
260923
+ return "state: string expected";
260924
+ if (message.city != null && message.hasOwnProperty("city"))
260925
+ if (!$util.isString(message.city))
260926
+ return "city: string expected";
260927
+ if (message.postalCode != null && message.hasOwnProperty("postalCode"))
260928
+ if (!$util.isString(message.postalCode))
260929
+ return "postalCode: string expected";
260930
+ if (message.streetAddress != null && message.hasOwnProperty("streetAddress"))
260931
+ if (!$util.isString(message.streetAddress))
260932
+ return "streetAddress: string expected";
260933
+ if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
260934
+ if (!$util.isString(message.streetAddress_2))
260935
+ return "streetAddress_2: string expected";
260936
+ return null;
260937
+ };
260938
+
260939
+ /**
260940
+ * Creates a ClinicalNotePatient message from a plain object. Also converts values to their respective internal types.
260941
+ * @function fromObject
260942
+ * @memberof ClinicalNotePatient
260943
+ * @static
260944
+ * @param {Object.<string,*>} object Plain object
260945
+ * @returns {ClinicalNotePatient} ClinicalNotePatient
260946
+ */
260947
+ ClinicalNotePatient.fromObject = function fromObject(object, _depth) {
260948
+ if (object instanceof $root.ClinicalNotePatient)
260949
+ return object;
260950
+ if (_depth === undefined)
260951
+ _depth = 0;
260952
+ if (_depth > $util.recursionLimit)
260953
+ throw Error("max depth exceeded");
260954
+ var message = new $root.ClinicalNotePatient();
260955
+ if (object.givenName != null)
260956
+ if (typeof object.givenName !== "string" || object.givenName.length)
260957
+ message.givenName = String(object.givenName);
260958
+ if (object.lastName != null)
260959
+ if (typeof object.lastName !== "string" || object.lastName.length)
260960
+ message.lastName = String(object.lastName);
260961
+ if (object.gender != null)
260962
+ if (typeof object.gender !== "string" || object.gender.length)
260963
+ message.gender = String(object.gender);
260964
+ if (object.emailAddress != null)
260965
+ if (typeof object.emailAddress !== "string" || object.emailAddress.length)
260966
+ message.emailAddress = String(object.emailAddress);
260967
+ if (object.phoneNumber != null)
260968
+ if (typeof object.phoneNumber !== "string" || object.phoneNumber.length)
260969
+ message.phoneNumber = String(object.phoneNumber);
260970
+ if (object.birthDate != null)
260971
+ if (typeof object.birthDate !== "string" || object.birthDate.length)
260972
+ message.birthDate = String(object.birthDate);
260973
+ if (object.country != null)
260974
+ if (typeof object.country !== "string" || object.country.length)
260975
+ message.country = String(object.country);
260976
+ if (object.state != null)
260977
+ if (typeof object.state !== "string" || object.state.length)
260978
+ message.state = String(object.state);
260979
+ if (object.city != null)
260980
+ if (typeof object.city !== "string" || object.city.length)
260981
+ message.city = String(object.city);
260982
+ if (object.postalCode != null)
260983
+ if (typeof object.postalCode !== "string" || object.postalCode.length)
260984
+ message.postalCode = String(object.postalCode);
260985
+ if (object.streetAddress != null)
260986
+ if (typeof object.streetAddress !== "string" || object.streetAddress.length)
260987
+ message.streetAddress = String(object.streetAddress);
260988
+ if (object.streetAddress_2 != null)
260989
+ if (typeof object.streetAddress_2 !== "string" || object.streetAddress_2.length)
260990
+ message.streetAddress_2 = String(object.streetAddress_2);
260991
+ return message;
260992
+ };
260993
+
260994
+ /**
260995
+ * Creates a plain object from a ClinicalNotePatient message. Also converts values to other types if specified.
260996
+ * @function toObject
260997
+ * @memberof ClinicalNotePatient
260998
+ * @static
260999
+ * @param {ClinicalNotePatient} message ClinicalNotePatient
261000
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
261001
+ * @returns {Object.<string,*>} Plain object
261002
+ */
261003
+ ClinicalNotePatient.toObject = function toObject(message, options) {
261004
+ if (!options)
261005
+ options = {};
261006
+ var object = {};
261007
+ if (options.defaults) {
261008
+ object.givenName = "";
261009
+ object.lastName = "";
261010
+ object.gender = "";
261011
+ object.emailAddress = "";
261012
+ object.phoneNumber = "";
261013
+ object.birthDate = "";
261014
+ object.country = "";
261015
+ object.state = "";
261016
+ object.city = "";
261017
+ object.postalCode = "";
261018
+ object.streetAddress = "";
261019
+ object.streetAddress_2 = "";
261020
+ }
261021
+ if (message.givenName != null && message.hasOwnProperty("givenName"))
261022
+ object.givenName = message.givenName;
261023
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
261024
+ object.lastName = message.lastName;
261025
+ if (message.gender != null && message.hasOwnProperty("gender"))
261026
+ object.gender = message.gender;
261027
+ if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
261028
+ object.emailAddress = message.emailAddress;
261029
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
261030
+ object.phoneNumber = message.phoneNumber;
261031
+ if (message.birthDate != null && message.hasOwnProperty("birthDate"))
261032
+ object.birthDate = message.birthDate;
261033
+ if (message.country != null && message.hasOwnProperty("country"))
261034
+ object.country = message.country;
261035
+ if (message.state != null && message.hasOwnProperty("state"))
261036
+ object.state = message.state;
261037
+ if (message.city != null && message.hasOwnProperty("city"))
261038
+ object.city = message.city;
261039
+ if (message.postalCode != null && message.hasOwnProperty("postalCode"))
261040
+ object.postalCode = message.postalCode;
261041
+ if (message.streetAddress != null && message.hasOwnProperty("streetAddress"))
261042
+ object.streetAddress = message.streetAddress;
261043
+ if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
261044
+ object.streetAddress_2 = message.streetAddress_2;
261045
+ return object;
261046
+ };
261047
+
261048
+ /**
261049
+ * Converts this ClinicalNotePatient to JSON.
261050
+ * @function toJSON
261051
+ * @memberof ClinicalNotePatient
261052
+ * @instance
261053
+ * @returns {Object.<string,*>} JSON object
261054
+ */
261055
+ ClinicalNotePatient.prototype.toJSON = function toJSON() {
261056
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
261057
+ };
261058
+
261059
+ /**
261060
+ * Gets the type url for ClinicalNotePatient
261061
+ * @function getTypeUrl
261062
+ * @memberof ClinicalNotePatient
261063
+ * @static
261064
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
261065
+ * @returns {string} The type url
261066
+ */
261067
+ ClinicalNotePatient.getTypeUrl = function getTypeUrl(prefix) {
261068
+ if (prefix === undefined)
261069
+ prefix = "type.googleapis.com";
261070
+ return prefix + "/ClinicalNotePatient";
261071
+ };
261072
+
261073
+ return ClinicalNotePatient;
261074
+ })();
261075
+
261076
+ $root.ClinicalNotePractitioner = (function() {
261077
+
261078
+ /**
261079
+ * Properties of a ClinicalNotePractitioner.
261080
+ * @typedef {Object} ClinicalNotePractitioner.$Properties
261081
+ * @property {string|null} [givenName] ClinicalNotePractitioner givenName
261082
+ * @property {string|null} [lastName] ClinicalNotePractitioner lastName
261083
+ * @property {string|null} [npiIdentifier] ClinicalNotePractitioner npiIdentifier
261084
+ * @property {string|null} [emailAddress] ClinicalNotePractitioner emailAddress
261085
+ * @property {string|null} [phoneNumber] ClinicalNotePractitioner phoneNumber
261086
+ * @property {string|null} [birthDate] ClinicalNotePractitioner birthDate
261087
+ * @property {string|null} [country] ClinicalNotePractitioner country
261088
+ * @property {string|null} [state] ClinicalNotePractitioner state
261089
+ * @property {string|null} [city] ClinicalNotePractitioner city
261090
+ * @property {string|null} [postalCode] ClinicalNotePractitioner postalCode
261091
+ * @property {string|null} [streetAddress] ClinicalNotePractitioner streetAddress
261092
+ * @property {string|null} [streetAddress_2] ClinicalNotePractitioner streetAddress_2
261093
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
261094
+ */
261095
+
261096
+ /**
261097
+ * Properties of a ClinicalNotePractitioner.
261098
+ * @name IClinicalNotePractitioner
261099
+ * @interface IClinicalNotePractitioner
261100
+ * @augments ClinicalNotePractitioner.$Properties
261101
+ * @deprecated Use ClinicalNotePractitioner.$Properties instead.
261102
+ */
261103
+
261104
+ /**
261105
+ * Shape of a ClinicalNotePractitioner.
261106
+ * @typedef {ClinicalNotePractitioner.$Properties} ClinicalNotePractitioner.$Shape
261107
+ */
261108
+
261109
+ /**
261110
+ * Constructs a new ClinicalNotePractitioner.
261111
+ * @name ClinicalNotePractitioner
261112
+ * @classdesc Represents a ClinicalNotePractitioner.
261113
+ * @constructor
261114
+ * @param {ClinicalNotePractitioner.$Properties=} [properties] Properties to set
261115
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
261116
+ */
261117
+ function ClinicalNotePractitioner(properties) {
261118
+ if (properties)
261119
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
261120
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
261121
+ this[keys[i]] = properties[keys[i]];
261122
+ }
261123
+
261124
+ /**
261125
+ * ClinicalNotePractitioner givenName.
261126
+ * @member {string} givenName
261127
+ * @memberof ClinicalNotePractitioner
261128
+ * @instance
261129
+ */
261130
+ ClinicalNotePractitioner.prototype.givenName = "";
261131
+
261132
+ /**
261133
+ * ClinicalNotePractitioner lastName.
261134
+ * @member {string} lastName
261135
+ * @memberof ClinicalNotePractitioner
261136
+ * @instance
261137
+ */
261138
+ ClinicalNotePractitioner.prototype.lastName = "";
261139
+
261140
+ /**
261141
+ * ClinicalNotePractitioner npiIdentifier.
261142
+ * @member {string} npiIdentifier
261143
+ * @memberof ClinicalNotePractitioner
261144
+ * @instance
261145
+ */
261146
+ ClinicalNotePractitioner.prototype.npiIdentifier = "";
261147
+
261148
+ /**
261149
+ * ClinicalNotePractitioner emailAddress.
261150
+ * @member {string} emailAddress
261151
+ * @memberof ClinicalNotePractitioner
261152
+ * @instance
261153
+ */
261154
+ ClinicalNotePractitioner.prototype.emailAddress = "";
261155
+
261156
+ /**
261157
+ * ClinicalNotePractitioner phoneNumber.
261158
+ * @member {string} phoneNumber
261159
+ * @memberof ClinicalNotePractitioner
261160
+ * @instance
261161
+ */
261162
+ ClinicalNotePractitioner.prototype.phoneNumber = "";
261163
+
261164
+ /**
261165
+ * ClinicalNotePractitioner birthDate.
261166
+ * @member {string} birthDate
261167
+ * @memberof ClinicalNotePractitioner
261168
+ * @instance
261169
+ */
261170
+ ClinicalNotePractitioner.prototype.birthDate = "";
261171
+
261172
+ /**
261173
+ * ClinicalNotePractitioner country.
261174
+ * @member {string} country
261175
+ * @memberof ClinicalNotePractitioner
261176
+ * @instance
261177
+ */
261178
+ ClinicalNotePractitioner.prototype.country = "";
261179
+
261180
+ /**
261181
+ * ClinicalNotePractitioner state.
261182
+ * @member {string} state
261183
+ * @memberof ClinicalNotePractitioner
261184
+ * @instance
261185
+ */
261186
+ ClinicalNotePractitioner.prototype.state = "";
261187
+
261188
+ /**
261189
+ * ClinicalNotePractitioner city.
261190
+ * @member {string} city
261191
+ * @memberof ClinicalNotePractitioner
261192
+ * @instance
261193
+ */
261194
+ ClinicalNotePractitioner.prototype.city = "";
261195
+
261196
+ /**
261197
+ * ClinicalNotePractitioner postalCode.
261198
+ * @member {string} postalCode
261199
+ * @memberof ClinicalNotePractitioner
261200
+ * @instance
261201
+ */
261202
+ ClinicalNotePractitioner.prototype.postalCode = "";
261203
+
261204
+ /**
261205
+ * ClinicalNotePractitioner streetAddress.
261206
+ * @member {string} streetAddress
261207
+ * @memberof ClinicalNotePractitioner
261208
+ * @instance
261209
+ */
261210
+ ClinicalNotePractitioner.prototype.streetAddress = "";
261211
+
261212
+ /**
261213
+ * ClinicalNotePractitioner streetAddress_2.
261214
+ * @member {string} streetAddress_2
261215
+ * @memberof ClinicalNotePractitioner
261216
+ * @instance
261217
+ */
261218
+ ClinicalNotePractitioner.prototype.streetAddress_2 = "";
261219
+
261220
+ /**
261221
+ * Creates a new ClinicalNotePractitioner instance using the specified properties.
261222
+ * @function create
261223
+ * @memberof ClinicalNotePractitioner
261224
+ * @static
261225
+ * @param {ClinicalNotePractitioner.$Properties=} [properties] Properties to set
261226
+ * @returns {ClinicalNotePractitioner} ClinicalNotePractitioner instance
261227
+ * @type {{
261228
+ * (properties: ClinicalNotePractitioner.$Shape): ClinicalNotePractitioner & ClinicalNotePractitioner.$Shape;
261229
+ * (properties?: ClinicalNotePractitioner.$Properties): ClinicalNotePractitioner;
261230
+ * }}
261231
+ */
261232
+ ClinicalNotePractitioner.create = function create(properties) {
261233
+ return new ClinicalNotePractitioner(properties);
261234
+ };
261235
+
261236
+ /**
261237
+ * Encodes the specified ClinicalNotePractitioner message. Does not implicitly {@link ClinicalNotePractitioner.verify|verify} messages.
261238
+ * @function encode
261239
+ * @memberof ClinicalNotePractitioner
261240
+ * @static
261241
+ * @param {ClinicalNotePractitioner.$Properties} message ClinicalNotePractitioner message or plain object to encode
261242
+ * @param {$protobuf.Writer} [writer] Writer to encode to
261243
+ * @returns {$protobuf.Writer} Writer
261244
+ */
261245
+ ClinicalNotePractitioner.encode = function encode(message, writer) {
261246
+ if (!writer)
261247
+ writer = $Writer.create();
261248
+ if (message.givenName != null && Object.hasOwnProperty.call(message, "givenName"))
261249
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.givenName);
261250
+ if (message.lastName != null && Object.hasOwnProperty.call(message, "lastName"))
261251
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.lastName);
261252
+ if (message.npiIdentifier != null && Object.hasOwnProperty.call(message, "npiIdentifier"))
261253
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.npiIdentifier);
261254
+ if (message.emailAddress != null && Object.hasOwnProperty.call(message, "emailAddress"))
261255
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.emailAddress);
261256
+ if (message.phoneNumber != null && Object.hasOwnProperty.call(message, "phoneNumber"))
261257
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.phoneNumber);
261258
+ if (message.birthDate != null && Object.hasOwnProperty.call(message, "birthDate"))
261259
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.birthDate);
261260
+ if (message.country != null && Object.hasOwnProperty.call(message, "country"))
261261
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.country);
261262
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
261263
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.state);
261264
+ if (message.city != null && Object.hasOwnProperty.call(message, "city"))
261265
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.city);
261266
+ if (message.postalCode != null && Object.hasOwnProperty.call(message, "postalCode"))
261267
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.postalCode);
261268
+ if (message.streetAddress != null && Object.hasOwnProperty.call(message, "streetAddress"))
261269
+ writer.uint32(/* id 11, wireType 2 =*/90).string(message.streetAddress);
261270
+ if (message.streetAddress_2 != null && Object.hasOwnProperty.call(message, "streetAddress_2"))
261271
+ writer.uint32(/* id 12, wireType 2 =*/98).string(message.streetAddress_2);
261272
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
261273
+ for (var i = 0; i < message.$unknowns.length; ++i)
261274
+ writer.raw(message.$unknowns[i]);
261275
+ return writer;
261276
+ };
261277
+
261278
+ /**
261279
+ * Encodes the specified ClinicalNotePractitioner message, length delimited. Does not implicitly {@link ClinicalNotePractitioner.verify|verify} messages.
261280
+ * @function encodeDelimited
261281
+ * @memberof ClinicalNotePractitioner
261282
+ * @static
261283
+ * @param {ClinicalNotePractitioner.$Properties} message ClinicalNotePractitioner message or plain object to encode
261284
+ * @param {$protobuf.Writer} [writer] Writer to encode to
261285
+ * @returns {$protobuf.Writer} Writer
261286
+ */
261287
+ ClinicalNotePractitioner.encodeDelimited = function encodeDelimited(message, writer) {
261288
+ return this.encode(message, writer).ldelim();
261289
+ };
261290
+
261291
+ /**
261292
+ * Decodes a ClinicalNotePractitioner message from the specified reader or buffer.
261293
+ * @function decode
261294
+ * @memberof ClinicalNotePractitioner
261295
+ * @static
261296
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
261297
+ * @param {number} [length] Message length if known beforehand
261298
+ * @returns {ClinicalNotePractitioner & ClinicalNotePractitioner.$Shape} ClinicalNotePractitioner
261299
+ * @throws {Error} If the payload is not a reader or valid buffer
261300
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
261301
+ */
261302
+ ClinicalNotePractitioner.decode = function decode(reader, length, _end, _depth, _target) {
261303
+ if (!(reader instanceof $Reader))
261304
+ reader = $Reader.create(reader);
261305
+ if (_depth === undefined)
261306
+ _depth = 0;
261307
+ if (_depth > $Reader.recursionLimit)
261308
+ throw Error("max depth exceeded");
261309
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ClinicalNotePractitioner(), value;
261310
+ while (reader.pos < end) {
261311
+ var start = reader.pos;
261312
+ var tag = reader.tag();
261313
+ if (tag === _end) {
261314
+ _end = undefined;
261315
+ break;
261316
+ }
261317
+ var wireType = tag & 7;
261318
+ switch (tag >>>= 3) {
261319
+ case 1: {
261320
+ if (wireType !== 2)
261321
+ break;
261322
+ if ((value = reader.string()).length)
261323
+ message.givenName = value;
261324
+ else
261325
+ delete message.givenName;
261326
+ continue;
261327
+ }
261328
+ case 2: {
261329
+ if (wireType !== 2)
261330
+ break;
261331
+ if ((value = reader.string()).length)
261332
+ message.lastName = value;
261333
+ else
261334
+ delete message.lastName;
261335
+ continue;
261336
+ }
261337
+ case 3: {
261338
+ if (wireType !== 2)
261339
+ break;
261340
+ if ((value = reader.string()).length)
261341
+ message.npiIdentifier = value;
261342
+ else
261343
+ delete message.npiIdentifier;
261344
+ continue;
261345
+ }
261346
+ case 4: {
261347
+ if (wireType !== 2)
261348
+ break;
261349
+ if ((value = reader.string()).length)
261350
+ message.emailAddress = value;
261351
+ else
261352
+ delete message.emailAddress;
261353
+ continue;
261354
+ }
261355
+ case 5: {
261356
+ if (wireType !== 2)
261357
+ break;
261358
+ if ((value = reader.string()).length)
261359
+ message.phoneNumber = value;
261360
+ else
261361
+ delete message.phoneNumber;
261362
+ continue;
261363
+ }
261364
+ case 6: {
261365
+ if (wireType !== 2)
261366
+ break;
261367
+ if ((value = reader.string()).length)
261368
+ message.birthDate = value;
261369
+ else
261370
+ delete message.birthDate;
261371
+ continue;
261372
+ }
261373
+ case 7: {
261374
+ if (wireType !== 2)
261375
+ break;
261376
+ if ((value = reader.string()).length)
261377
+ message.country = value;
261378
+ else
261379
+ delete message.country;
261380
+ continue;
261381
+ }
261382
+ case 8: {
261383
+ if (wireType !== 2)
261384
+ break;
261385
+ if ((value = reader.string()).length)
261386
+ message.state = value;
261387
+ else
261388
+ delete message.state;
261389
+ continue;
261390
+ }
261391
+ case 9: {
261392
+ if (wireType !== 2)
261393
+ break;
261394
+ if ((value = reader.string()).length)
261395
+ message.city = value;
261396
+ else
261397
+ delete message.city;
261398
+ continue;
261399
+ }
261400
+ case 10: {
261401
+ if (wireType !== 2)
261402
+ break;
261403
+ if ((value = reader.string()).length)
261404
+ message.postalCode = value;
261405
+ else
261406
+ delete message.postalCode;
261407
+ continue;
261408
+ }
261409
+ case 11: {
261410
+ if (wireType !== 2)
261411
+ break;
261412
+ if ((value = reader.string()).length)
261413
+ message.streetAddress = value;
261414
+ else
261415
+ delete message.streetAddress;
261416
+ continue;
261417
+ }
261418
+ case 12: {
261419
+ if (wireType !== 2)
261420
+ break;
261421
+ if ((value = reader.string()).length)
261422
+ message.streetAddress_2 = value;
261423
+ else
261424
+ delete message.streetAddress_2;
261425
+ continue;
261426
+ }
261427
+ }
261428
+ reader.skipType(wireType, _depth, tag);
261429
+ $util.makeProp(message, "$unknowns", false);
261430
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
261431
+ }
261432
+ if (_end !== undefined)
261433
+ throw Error("missing end group");
261434
+ return message;
261435
+ };
261436
+
261437
+ /**
261438
+ * Decodes a ClinicalNotePractitioner message from the specified reader or buffer, length delimited.
261439
+ * @function decodeDelimited
261440
+ * @memberof ClinicalNotePractitioner
261441
+ * @static
261442
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
261443
+ * @returns {ClinicalNotePractitioner & ClinicalNotePractitioner.$Shape} ClinicalNotePractitioner
261444
+ * @throws {Error} If the payload is not a reader or valid buffer
261445
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
261446
+ */
261447
+ ClinicalNotePractitioner.decodeDelimited = function decodeDelimited(reader) {
261448
+ if (!(reader instanceof $Reader))
261449
+ reader = new $Reader(reader);
261450
+ return this.decode(reader, reader.uint32());
261451
+ };
261452
+
261453
+ /**
261454
+ * Verifies a ClinicalNotePractitioner message.
261455
+ * @function verify
261456
+ * @memberof ClinicalNotePractitioner
261457
+ * @static
261458
+ * @param {Object.<string,*>} message Plain object to verify
261459
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
261460
+ */
261461
+ ClinicalNotePractitioner.verify = function verify(message, _depth) {
261462
+ if (typeof message !== "object" || message === null)
261463
+ return "object expected";
261464
+ if (_depth === undefined)
261465
+ _depth = 0;
261466
+ if (_depth > $util.recursionLimit)
261467
+ return "max depth exceeded";
261468
+ if (message.givenName != null && message.hasOwnProperty("givenName"))
261469
+ if (!$util.isString(message.givenName))
261470
+ return "givenName: string expected";
261471
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
261472
+ if (!$util.isString(message.lastName))
261473
+ return "lastName: string expected";
261474
+ if (message.npiIdentifier != null && message.hasOwnProperty("npiIdentifier"))
261475
+ if (!$util.isString(message.npiIdentifier))
261476
+ return "npiIdentifier: string expected";
261477
+ if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
261478
+ if (!$util.isString(message.emailAddress))
261479
+ return "emailAddress: string expected";
261480
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
261481
+ if (!$util.isString(message.phoneNumber))
261482
+ return "phoneNumber: string expected";
261483
+ if (message.birthDate != null && message.hasOwnProperty("birthDate"))
261484
+ if (!$util.isString(message.birthDate))
261485
+ return "birthDate: string expected";
261486
+ if (message.country != null && message.hasOwnProperty("country"))
261487
+ if (!$util.isString(message.country))
261488
+ return "country: string expected";
261489
+ if (message.state != null && message.hasOwnProperty("state"))
261490
+ if (!$util.isString(message.state))
261491
+ return "state: string expected";
261492
+ if (message.city != null && message.hasOwnProperty("city"))
261493
+ if (!$util.isString(message.city))
261494
+ return "city: string expected";
261495
+ if (message.postalCode != null && message.hasOwnProperty("postalCode"))
261496
+ if (!$util.isString(message.postalCode))
261497
+ return "postalCode: string expected";
261498
+ if (message.streetAddress != null && message.hasOwnProperty("streetAddress"))
261499
+ if (!$util.isString(message.streetAddress))
261500
+ return "streetAddress: string expected";
261501
+ if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
261502
+ if (!$util.isString(message.streetAddress_2))
261503
+ return "streetAddress_2: string expected";
261504
+ return null;
261505
+ };
261506
+
261507
+ /**
261508
+ * Creates a ClinicalNotePractitioner message from a plain object. Also converts values to their respective internal types.
261509
+ * @function fromObject
261510
+ * @memberof ClinicalNotePractitioner
261511
+ * @static
261512
+ * @param {Object.<string,*>} object Plain object
261513
+ * @returns {ClinicalNotePractitioner} ClinicalNotePractitioner
261514
+ */
261515
+ ClinicalNotePractitioner.fromObject = function fromObject(object, _depth) {
261516
+ if (object instanceof $root.ClinicalNotePractitioner)
261517
+ return object;
261518
+ if (_depth === undefined)
261519
+ _depth = 0;
261520
+ if (_depth > $util.recursionLimit)
261521
+ throw Error("max depth exceeded");
261522
+ var message = new $root.ClinicalNotePractitioner();
261523
+ if (object.givenName != null)
261524
+ if (typeof object.givenName !== "string" || object.givenName.length)
261525
+ message.givenName = String(object.givenName);
261526
+ if (object.lastName != null)
261527
+ if (typeof object.lastName !== "string" || object.lastName.length)
261528
+ message.lastName = String(object.lastName);
261529
+ if (object.npiIdentifier != null)
261530
+ if (typeof object.npiIdentifier !== "string" || object.npiIdentifier.length)
261531
+ message.npiIdentifier = String(object.npiIdentifier);
261532
+ if (object.emailAddress != null)
261533
+ if (typeof object.emailAddress !== "string" || object.emailAddress.length)
261534
+ message.emailAddress = String(object.emailAddress);
261535
+ if (object.phoneNumber != null)
261536
+ if (typeof object.phoneNumber !== "string" || object.phoneNumber.length)
261537
+ message.phoneNumber = String(object.phoneNumber);
261538
+ if (object.birthDate != null)
261539
+ if (typeof object.birthDate !== "string" || object.birthDate.length)
261540
+ message.birthDate = String(object.birthDate);
261541
+ if (object.country != null)
261542
+ if (typeof object.country !== "string" || object.country.length)
261543
+ message.country = String(object.country);
261544
+ if (object.state != null)
261545
+ if (typeof object.state !== "string" || object.state.length)
261546
+ message.state = String(object.state);
261547
+ if (object.city != null)
261548
+ if (typeof object.city !== "string" || object.city.length)
261549
+ message.city = String(object.city);
261550
+ if (object.postalCode != null)
261551
+ if (typeof object.postalCode !== "string" || object.postalCode.length)
261552
+ message.postalCode = String(object.postalCode);
261553
+ if (object.streetAddress != null)
261554
+ if (typeof object.streetAddress !== "string" || object.streetAddress.length)
261555
+ message.streetAddress = String(object.streetAddress);
261556
+ if (object.streetAddress_2 != null)
261557
+ if (typeof object.streetAddress_2 !== "string" || object.streetAddress_2.length)
261558
+ message.streetAddress_2 = String(object.streetAddress_2);
261559
+ return message;
261560
+ };
261561
+
261562
+ /**
261563
+ * Creates a plain object from a ClinicalNotePractitioner message. Also converts values to other types if specified.
261564
+ * @function toObject
261565
+ * @memberof ClinicalNotePractitioner
261566
+ * @static
261567
+ * @param {ClinicalNotePractitioner} message ClinicalNotePractitioner
261568
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
261569
+ * @returns {Object.<string,*>} Plain object
261570
+ */
261571
+ ClinicalNotePractitioner.toObject = function toObject(message, options) {
261572
+ if (!options)
261573
+ options = {};
261574
+ var object = {};
261575
+ if (options.defaults) {
261576
+ object.givenName = "";
261577
+ object.lastName = "";
261578
+ object.npiIdentifier = "";
261579
+ object.emailAddress = "";
261580
+ object.phoneNumber = "";
261581
+ object.birthDate = "";
261582
+ object.country = "";
261583
+ object.state = "";
261584
+ object.city = "";
261585
+ object.postalCode = "";
261586
+ object.streetAddress = "";
261587
+ object.streetAddress_2 = "";
261588
+ }
261589
+ if (message.givenName != null && message.hasOwnProperty("givenName"))
261590
+ object.givenName = message.givenName;
261591
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
261592
+ object.lastName = message.lastName;
261593
+ if (message.npiIdentifier != null && message.hasOwnProperty("npiIdentifier"))
261594
+ object.npiIdentifier = message.npiIdentifier;
261595
+ if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
261596
+ object.emailAddress = message.emailAddress;
261597
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
261598
+ object.phoneNumber = message.phoneNumber;
261599
+ if (message.birthDate != null && message.hasOwnProperty("birthDate"))
261600
+ object.birthDate = message.birthDate;
261601
+ if (message.country != null && message.hasOwnProperty("country"))
261602
+ object.country = message.country;
261603
+ if (message.state != null && message.hasOwnProperty("state"))
261604
+ object.state = message.state;
261605
+ if (message.city != null && message.hasOwnProperty("city"))
261606
+ object.city = message.city;
261607
+ if (message.postalCode != null && message.hasOwnProperty("postalCode"))
261608
+ object.postalCode = message.postalCode;
261609
+ if (message.streetAddress != null && message.hasOwnProperty("streetAddress"))
261610
+ object.streetAddress = message.streetAddress;
261611
+ if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
261612
+ object.streetAddress_2 = message.streetAddress_2;
261613
+ return object;
261614
+ };
261615
+
261616
+ /**
261617
+ * Converts this ClinicalNotePractitioner to JSON.
261618
+ * @function toJSON
261619
+ * @memberof ClinicalNotePractitioner
261620
+ * @instance
261621
+ * @returns {Object.<string,*>} JSON object
261622
+ */
261623
+ ClinicalNotePractitioner.prototype.toJSON = function toJSON() {
261624
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
261625
+ };
261626
+
261627
+ /**
261628
+ * Gets the type url for ClinicalNotePractitioner
261629
+ * @function getTypeUrl
261630
+ * @memberof ClinicalNotePractitioner
261631
+ * @static
261632
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
261633
+ * @returns {string} The type url
261634
+ */
261635
+ ClinicalNotePractitioner.getTypeUrl = function getTypeUrl(prefix) {
261636
+ if (prefix === undefined)
261637
+ prefix = "type.googleapis.com";
261638
+ return prefix + "/ClinicalNotePractitioner";
261639
+ };
261640
+
261641
+ return ClinicalNotePractitioner;
261642
+ })();
261643
+
261644
+ $root.ClinicalNoteOrganization = (function() {
261645
+
261646
+ /**
261647
+ * Properties of a ClinicalNoteOrganization.
261648
+ * @typedef {Object} ClinicalNoteOrganization.$Properties
261649
+ * @property {string|null} [name] ClinicalNoteOrganization name
261650
+ * @property {string|null} [npiIdentifier] ClinicalNoteOrganization npiIdentifier
261651
+ * @property {string|null} [phoneNumber] ClinicalNoteOrganization phoneNumber
261652
+ * @property {string|null} [emailAddress] ClinicalNoteOrganization emailAddress
261653
+ * @property {string|null} [country] ClinicalNoteOrganization country
261654
+ * @property {string|null} [state] ClinicalNoteOrganization state
261655
+ * @property {string|null} [city] ClinicalNoteOrganization city
261656
+ * @property {string|null} [postalCode] ClinicalNoteOrganization postalCode
261657
+ * @property {string|null} [streetAddress] ClinicalNoteOrganization streetAddress
261658
+ * @property {string|null} [streetAddress_2] ClinicalNoteOrganization streetAddress_2
261659
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
261660
+ */
261661
+
261662
+ /**
261663
+ * Properties of a ClinicalNoteOrganization.
261664
+ * @name IClinicalNoteOrganization
261665
+ * @interface IClinicalNoteOrganization
261666
+ * @augments ClinicalNoteOrganization.$Properties
261667
+ * @deprecated Use ClinicalNoteOrganization.$Properties instead.
261668
+ */
261669
+
261670
+ /**
261671
+ * Shape of a ClinicalNoteOrganization.
261672
+ * @typedef {ClinicalNoteOrganization.$Properties} ClinicalNoteOrganization.$Shape
261673
+ */
261674
+
261675
+ /**
261676
+ * Constructs a new ClinicalNoteOrganization.
261677
+ * @name ClinicalNoteOrganization
261678
+ * @classdesc Represents a ClinicalNoteOrganization.
261679
+ * @constructor
261680
+ * @param {ClinicalNoteOrganization.$Properties=} [properties] Properties to set
261681
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
261682
+ */
261683
+ function ClinicalNoteOrganization(properties) {
261684
+ if (properties)
261685
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
261686
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
261687
+ this[keys[i]] = properties[keys[i]];
261688
+ }
261689
+
261690
+ /**
261691
+ * ClinicalNoteOrganization name.
261692
+ * @member {string} name
261693
+ * @memberof ClinicalNoteOrganization
261694
+ * @instance
261695
+ */
261696
+ ClinicalNoteOrganization.prototype.name = "";
261697
+
261698
+ /**
261699
+ * ClinicalNoteOrganization npiIdentifier.
261700
+ * @member {string} npiIdentifier
261701
+ * @memberof ClinicalNoteOrganization
261702
+ * @instance
261703
+ */
261704
+ ClinicalNoteOrganization.prototype.npiIdentifier = "";
261705
+
261706
+ /**
261707
+ * ClinicalNoteOrganization phoneNumber.
261708
+ * @member {string} phoneNumber
261709
+ * @memberof ClinicalNoteOrganization
261710
+ * @instance
261711
+ */
261712
+ ClinicalNoteOrganization.prototype.phoneNumber = "";
261713
+
261714
+ /**
261715
+ * ClinicalNoteOrganization emailAddress.
261716
+ * @member {string} emailAddress
261717
+ * @memberof ClinicalNoteOrganization
261718
+ * @instance
261719
+ */
261720
+ ClinicalNoteOrganization.prototype.emailAddress = "";
261721
+
261722
+ /**
261723
+ * ClinicalNoteOrganization country.
261724
+ * @member {string} country
261725
+ * @memberof ClinicalNoteOrganization
261726
+ * @instance
261727
+ */
261728
+ ClinicalNoteOrganization.prototype.country = "";
261729
+
261730
+ /**
261731
+ * ClinicalNoteOrganization state.
261732
+ * @member {string} state
261733
+ * @memberof ClinicalNoteOrganization
261734
+ * @instance
261735
+ */
261736
+ ClinicalNoteOrganization.prototype.state = "";
261737
+
261738
+ /**
261739
+ * ClinicalNoteOrganization city.
261740
+ * @member {string} city
261741
+ * @memberof ClinicalNoteOrganization
261742
+ * @instance
261743
+ */
261744
+ ClinicalNoteOrganization.prototype.city = "";
261745
+
261746
+ /**
261747
+ * ClinicalNoteOrganization postalCode.
261748
+ * @member {string} postalCode
261749
+ * @memberof ClinicalNoteOrganization
261750
+ * @instance
261751
+ */
261752
+ ClinicalNoteOrganization.prototype.postalCode = "";
261753
+
261754
+ /**
261755
+ * ClinicalNoteOrganization streetAddress.
261756
+ * @member {string} streetAddress
261757
+ * @memberof ClinicalNoteOrganization
261758
+ * @instance
261759
+ */
261760
+ ClinicalNoteOrganization.prototype.streetAddress = "";
261761
+
261762
+ /**
261763
+ * ClinicalNoteOrganization streetAddress_2.
261764
+ * @member {string} streetAddress_2
261765
+ * @memberof ClinicalNoteOrganization
261766
+ * @instance
261767
+ */
261768
+ ClinicalNoteOrganization.prototype.streetAddress_2 = "";
261769
+
261770
+ /**
261771
+ * Creates a new ClinicalNoteOrganization instance using the specified properties.
261772
+ * @function create
261773
+ * @memberof ClinicalNoteOrganization
261774
+ * @static
261775
+ * @param {ClinicalNoteOrganization.$Properties=} [properties] Properties to set
261776
+ * @returns {ClinicalNoteOrganization} ClinicalNoteOrganization instance
261777
+ * @type {{
261778
+ * (properties: ClinicalNoteOrganization.$Shape): ClinicalNoteOrganization & ClinicalNoteOrganization.$Shape;
261779
+ * (properties?: ClinicalNoteOrganization.$Properties): ClinicalNoteOrganization;
261780
+ * }}
261781
+ */
261782
+ ClinicalNoteOrganization.create = function create(properties) {
261783
+ return new ClinicalNoteOrganization(properties);
261784
+ };
261785
+
261786
+ /**
261787
+ * Encodes the specified ClinicalNoteOrganization message. Does not implicitly {@link ClinicalNoteOrganization.verify|verify} messages.
261788
+ * @function encode
261789
+ * @memberof ClinicalNoteOrganization
261790
+ * @static
261791
+ * @param {ClinicalNoteOrganization.$Properties} message ClinicalNoteOrganization message or plain object to encode
261792
+ * @param {$protobuf.Writer} [writer] Writer to encode to
261793
+ * @returns {$protobuf.Writer} Writer
261794
+ */
261795
+ ClinicalNoteOrganization.encode = function encode(message, writer) {
261796
+ if (!writer)
261797
+ writer = $Writer.create();
261798
+ if (message.name != null && Object.hasOwnProperty.call(message, "name"))
261799
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.name);
261800
+ if (message.npiIdentifier != null && Object.hasOwnProperty.call(message, "npiIdentifier"))
261801
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.npiIdentifier);
261802
+ if (message.phoneNumber != null && Object.hasOwnProperty.call(message, "phoneNumber"))
261803
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.phoneNumber);
261804
+ if (message.emailAddress != null && Object.hasOwnProperty.call(message, "emailAddress"))
261805
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.emailAddress);
261806
+ if (message.country != null && Object.hasOwnProperty.call(message, "country"))
261807
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.country);
261808
+ if (message.state != null && Object.hasOwnProperty.call(message, "state"))
261809
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.state);
261810
+ if (message.city != null && Object.hasOwnProperty.call(message, "city"))
261811
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.city);
261812
+ if (message.postalCode != null && Object.hasOwnProperty.call(message, "postalCode"))
261813
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.postalCode);
261814
+ if (message.streetAddress != null && Object.hasOwnProperty.call(message, "streetAddress"))
261815
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.streetAddress);
261816
+ if (message.streetAddress_2 != null && Object.hasOwnProperty.call(message, "streetAddress_2"))
261817
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.streetAddress_2);
261818
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
261819
+ for (var i = 0; i < message.$unknowns.length; ++i)
261820
+ writer.raw(message.$unknowns[i]);
261821
+ return writer;
261822
+ };
261823
+
261824
+ /**
261825
+ * Encodes the specified ClinicalNoteOrganization message, length delimited. Does not implicitly {@link ClinicalNoteOrganization.verify|verify} messages.
261826
+ * @function encodeDelimited
261827
+ * @memberof ClinicalNoteOrganization
261828
+ * @static
261829
+ * @param {ClinicalNoteOrganization.$Properties} message ClinicalNoteOrganization message or plain object to encode
261830
+ * @param {$protobuf.Writer} [writer] Writer to encode to
261831
+ * @returns {$protobuf.Writer} Writer
261832
+ */
261833
+ ClinicalNoteOrganization.encodeDelimited = function encodeDelimited(message, writer) {
261834
+ return this.encode(message, writer).ldelim();
261835
+ };
261836
+
261837
+ /**
261838
+ * Decodes a ClinicalNoteOrganization message from the specified reader or buffer.
261839
+ * @function decode
261840
+ * @memberof ClinicalNoteOrganization
261841
+ * @static
261842
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
261843
+ * @param {number} [length] Message length if known beforehand
261844
+ * @returns {ClinicalNoteOrganization & ClinicalNoteOrganization.$Shape} ClinicalNoteOrganization
261845
+ * @throws {Error} If the payload is not a reader or valid buffer
261846
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
261847
+ */
261848
+ ClinicalNoteOrganization.decode = function decode(reader, length, _end, _depth, _target) {
261849
+ if (!(reader instanceof $Reader))
261850
+ reader = $Reader.create(reader);
261851
+ if (_depth === undefined)
261852
+ _depth = 0;
261853
+ if (_depth > $Reader.recursionLimit)
261854
+ throw Error("max depth exceeded");
261855
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ClinicalNoteOrganization(), value;
261856
+ while (reader.pos < end) {
261857
+ var start = reader.pos;
261858
+ var tag = reader.tag();
261859
+ if (tag === _end) {
261860
+ _end = undefined;
261861
+ break;
261862
+ }
261863
+ var wireType = tag & 7;
261864
+ switch (tag >>>= 3) {
261865
+ case 1: {
261866
+ if (wireType !== 2)
261867
+ break;
261868
+ if ((value = reader.string()).length)
261869
+ message.name = value;
261870
+ else
261871
+ delete message.name;
261872
+ continue;
261873
+ }
261874
+ case 2: {
261875
+ if (wireType !== 2)
261876
+ break;
261877
+ if ((value = reader.string()).length)
261878
+ message.npiIdentifier = value;
261879
+ else
261880
+ delete message.npiIdentifier;
261881
+ continue;
261882
+ }
261883
+ case 3: {
261884
+ if (wireType !== 2)
261885
+ break;
261886
+ if ((value = reader.string()).length)
261887
+ message.phoneNumber = value;
261888
+ else
261889
+ delete message.phoneNumber;
261890
+ continue;
261891
+ }
261892
+ case 4: {
261893
+ if (wireType !== 2)
261894
+ break;
261895
+ if ((value = reader.string()).length)
261896
+ message.emailAddress = value;
261897
+ else
261898
+ delete message.emailAddress;
261899
+ continue;
261900
+ }
261901
+ case 5: {
261902
+ if (wireType !== 2)
261903
+ break;
261904
+ if ((value = reader.string()).length)
261905
+ message.country = value;
261906
+ else
261907
+ delete message.country;
261908
+ continue;
261909
+ }
261910
+ case 6: {
261911
+ if (wireType !== 2)
261912
+ break;
261913
+ if ((value = reader.string()).length)
261914
+ message.state = value;
261915
+ else
261916
+ delete message.state;
261917
+ continue;
261918
+ }
261919
+ case 7: {
261920
+ if (wireType !== 2)
261921
+ break;
261922
+ if ((value = reader.string()).length)
261923
+ message.city = value;
261924
+ else
261925
+ delete message.city;
261926
+ continue;
261927
+ }
261928
+ case 8: {
261929
+ if (wireType !== 2)
261930
+ break;
261931
+ if ((value = reader.string()).length)
261932
+ message.postalCode = value;
261933
+ else
261934
+ delete message.postalCode;
261935
+ continue;
261936
+ }
261937
+ case 9: {
261938
+ if (wireType !== 2)
261939
+ break;
261940
+ if ((value = reader.string()).length)
261941
+ message.streetAddress = value;
261942
+ else
261943
+ delete message.streetAddress;
261944
+ continue;
261945
+ }
261946
+ case 10: {
261947
+ if (wireType !== 2)
261948
+ break;
261949
+ if ((value = reader.string()).length)
261950
+ message.streetAddress_2 = value;
261951
+ else
261952
+ delete message.streetAddress_2;
261953
+ continue;
261954
+ }
261955
+ }
261956
+ reader.skipType(wireType, _depth, tag);
261957
+ $util.makeProp(message, "$unknowns", false);
261958
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
261959
+ }
261960
+ if (_end !== undefined)
261961
+ throw Error("missing end group");
261962
+ return message;
261963
+ };
261964
+
261965
+ /**
261966
+ * Decodes a ClinicalNoteOrganization message from the specified reader or buffer, length delimited.
261967
+ * @function decodeDelimited
261968
+ * @memberof ClinicalNoteOrganization
261969
+ * @static
261970
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
261971
+ * @returns {ClinicalNoteOrganization & ClinicalNoteOrganization.$Shape} ClinicalNoteOrganization
261972
+ * @throws {Error} If the payload is not a reader or valid buffer
261973
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
261974
+ */
261975
+ ClinicalNoteOrganization.decodeDelimited = function decodeDelimited(reader) {
261976
+ if (!(reader instanceof $Reader))
261977
+ reader = new $Reader(reader);
261978
+ return this.decode(reader, reader.uint32());
261979
+ };
261980
+
261981
+ /**
261982
+ * Verifies a ClinicalNoteOrganization message.
261983
+ * @function verify
261984
+ * @memberof ClinicalNoteOrganization
261985
+ * @static
261986
+ * @param {Object.<string,*>} message Plain object to verify
261987
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
261988
+ */
261989
+ ClinicalNoteOrganization.verify = function verify(message, _depth) {
261990
+ if (typeof message !== "object" || message === null)
261991
+ return "object expected";
261992
+ if (_depth === undefined)
261993
+ _depth = 0;
261994
+ if (_depth > $util.recursionLimit)
261995
+ return "max depth exceeded";
261996
+ if (message.name != null && message.hasOwnProperty("name"))
261997
+ if (!$util.isString(message.name))
261998
+ return "name: string expected";
261999
+ if (message.npiIdentifier != null && message.hasOwnProperty("npiIdentifier"))
262000
+ if (!$util.isString(message.npiIdentifier))
262001
+ return "npiIdentifier: string expected";
262002
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
262003
+ if (!$util.isString(message.phoneNumber))
262004
+ return "phoneNumber: string expected";
262005
+ if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
262006
+ if (!$util.isString(message.emailAddress))
262007
+ return "emailAddress: string expected";
262008
+ if (message.country != null && message.hasOwnProperty("country"))
262009
+ if (!$util.isString(message.country))
262010
+ return "country: string expected";
262011
+ if (message.state != null && message.hasOwnProperty("state"))
262012
+ if (!$util.isString(message.state))
262013
+ return "state: string expected";
262014
+ if (message.city != null && message.hasOwnProperty("city"))
262015
+ if (!$util.isString(message.city))
262016
+ return "city: string expected";
262017
+ if (message.postalCode != null && message.hasOwnProperty("postalCode"))
262018
+ if (!$util.isString(message.postalCode))
262019
+ return "postalCode: string expected";
262020
+ if (message.streetAddress != null && message.hasOwnProperty("streetAddress"))
262021
+ if (!$util.isString(message.streetAddress))
262022
+ return "streetAddress: string expected";
262023
+ if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
262024
+ if (!$util.isString(message.streetAddress_2))
262025
+ return "streetAddress_2: string expected";
262026
+ return null;
262027
+ };
262028
+
262029
+ /**
262030
+ * Creates a ClinicalNoteOrganization message from a plain object. Also converts values to their respective internal types.
262031
+ * @function fromObject
262032
+ * @memberof ClinicalNoteOrganization
262033
+ * @static
262034
+ * @param {Object.<string,*>} object Plain object
262035
+ * @returns {ClinicalNoteOrganization} ClinicalNoteOrganization
262036
+ */
262037
+ ClinicalNoteOrganization.fromObject = function fromObject(object, _depth) {
262038
+ if (object instanceof $root.ClinicalNoteOrganization)
262039
+ return object;
262040
+ if (_depth === undefined)
262041
+ _depth = 0;
262042
+ if (_depth > $util.recursionLimit)
262043
+ throw Error("max depth exceeded");
262044
+ var message = new $root.ClinicalNoteOrganization();
262045
+ if (object.name != null)
262046
+ if (typeof object.name !== "string" || object.name.length)
262047
+ message.name = String(object.name);
262048
+ if (object.npiIdentifier != null)
262049
+ if (typeof object.npiIdentifier !== "string" || object.npiIdentifier.length)
262050
+ message.npiIdentifier = String(object.npiIdentifier);
262051
+ if (object.phoneNumber != null)
262052
+ if (typeof object.phoneNumber !== "string" || object.phoneNumber.length)
262053
+ message.phoneNumber = String(object.phoneNumber);
262054
+ if (object.emailAddress != null)
262055
+ if (typeof object.emailAddress !== "string" || object.emailAddress.length)
262056
+ message.emailAddress = String(object.emailAddress);
262057
+ if (object.country != null)
262058
+ if (typeof object.country !== "string" || object.country.length)
262059
+ message.country = String(object.country);
262060
+ if (object.state != null)
262061
+ if (typeof object.state !== "string" || object.state.length)
262062
+ message.state = String(object.state);
262063
+ if (object.city != null)
262064
+ if (typeof object.city !== "string" || object.city.length)
262065
+ message.city = String(object.city);
262066
+ if (object.postalCode != null)
262067
+ if (typeof object.postalCode !== "string" || object.postalCode.length)
262068
+ message.postalCode = String(object.postalCode);
262069
+ if (object.streetAddress != null)
262070
+ if (typeof object.streetAddress !== "string" || object.streetAddress.length)
262071
+ message.streetAddress = String(object.streetAddress);
262072
+ if (object.streetAddress_2 != null)
262073
+ if (typeof object.streetAddress_2 !== "string" || object.streetAddress_2.length)
262074
+ message.streetAddress_2 = String(object.streetAddress_2);
262075
+ return message;
262076
+ };
262077
+
262078
+ /**
262079
+ * Creates a plain object from a ClinicalNoteOrganization message. Also converts values to other types if specified.
262080
+ * @function toObject
262081
+ * @memberof ClinicalNoteOrganization
262082
+ * @static
262083
+ * @param {ClinicalNoteOrganization} message ClinicalNoteOrganization
262084
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
262085
+ * @returns {Object.<string,*>} Plain object
262086
+ */
262087
+ ClinicalNoteOrganization.toObject = function toObject(message, options) {
262088
+ if (!options)
262089
+ options = {};
262090
+ var object = {};
262091
+ if (options.defaults) {
262092
+ object.name = "";
262093
+ object.npiIdentifier = "";
262094
+ object.phoneNumber = "";
262095
+ object.emailAddress = "";
262096
+ object.country = "";
262097
+ object.state = "";
262098
+ object.city = "";
262099
+ object.postalCode = "";
262100
+ object.streetAddress = "";
262101
+ object.streetAddress_2 = "";
262102
+ }
262103
+ if (message.name != null && message.hasOwnProperty("name"))
262104
+ object.name = message.name;
262105
+ if (message.npiIdentifier != null && message.hasOwnProperty("npiIdentifier"))
262106
+ object.npiIdentifier = message.npiIdentifier;
262107
+ if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
262108
+ object.phoneNumber = message.phoneNumber;
262109
+ if (message.emailAddress != null && message.hasOwnProperty("emailAddress"))
262110
+ object.emailAddress = message.emailAddress;
262111
+ if (message.country != null && message.hasOwnProperty("country"))
262112
+ object.country = message.country;
262113
+ if (message.state != null && message.hasOwnProperty("state"))
262114
+ object.state = message.state;
262115
+ if (message.city != null && message.hasOwnProperty("city"))
262116
+ object.city = message.city;
262117
+ if (message.postalCode != null && message.hasOwnProperty("postalCode"))
262118
+ object.postalCode = message.postalCode;
262119
+ if (message.streetAddress != null && message.hasOwnProperty("streetAddress"))
262120
+ object.streetAddress = message.streetAddress;
262121
+ if (message.streetAddress_2 != null && message.hasOwnProperty("streetAddress_2"))
262122
+ object.streetAddress_2 = message.streetAddress_2;
262123
+ return object;
262124
+ };
262125
+
262126
+ /**
262127
+ * Converts this ClinicalNoteOrganization to JSON.
262128
+ * @function toJSON
262129
+ * @memberof ClinicalNoteOrganization
262130
+ * @instance
262131
+ * @returns {Object.<string,*>} JSON object
262132
+ */
262133
+ ClinicalNoteOrganization.prototype.toJSON = function toJSON() {
262134
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
262135
+ };
262136
+
262137
+ /**
262138
+ * Gets the type url for ClinicalNoteOrganization
262139
+ * @function getTypeUrl
262140
+ * @memberof ClinicalNoteOrganization
262141
+ * @static
262142
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
262143
+ * @returns {string} The type url
262144
+ */
262145
+ ClinicalNoteOrganization.getTypeUrl = function getTypeUrl(prefix) {
262146
+ if (prefix === undefined)
262147
+ prefix = "type.googleapis.com";
262148
+ return prefix + "/ClinicalNoteOrganization";
262149
+ };
262150
+
262151
+ return ClinicalNoteOrganization;
262152
+ })();
262153
+
262154
+ $root.ClinicalNoteEncounter = (function() {
262155
+
262156
+ /**
262157
+ * Properties of a ClinicalNoteEncounter.
262158
+ * @typedef {Object} ClinicalNoteEncounter.$Properties
262159
+ * @property {Array.<string>|null} [cptCodes] ClinicalNoteEncounter cptCodes
262160
+ * @property {string|null} [encounterStatus] ClinicalNoteEncounter encounterStatus
262161
+ * @property {number|Long|null} [encounterStart] ClinicalNoteEncounter encounterStart
262162
+ * @property {number|Long|null} [encounterEnd] ClinicalNoteEncounter encounterEnd
262163
+ * @property {string|null} [appointmentId] ClinicalNoteEncounter appointmentId
262164
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
262165
+ */
262166
+
262167
+ /**
262168
+ * Properties of a ClinicalNoteEncounter.
262169
+ * @name IClinicalNoteEncounter
262170
+ * @interface IClinicalNoteEncounter
262171
+ * @augments ClinicalNoteEncounter.$Properties
262172
+ * @deprecated Use ClinicalNoteEncounter.$Properties instead.
262173
+ */
262174
+
262175
+ /**
262176
+ * Shape of a ClinicalNoteEncounter.
262177
+ * @typedef {ClinicalNoteEncounter.$Properties} ClinicalNoteEncounter.$Shape
262178
+ */
262179
+
262180
+ /**
262181
+ * Constructs a new ClinicalNoteEncounter.
262182
+ * @name ClinicalNoteEncounter
262183
+ * @classdesc Represents a ClinicalNoteEncounter.
262184
+ * @constructor
262185
+ * @param {ClinicalNoteEncounter.$Properties=} [properties] Properties to set
262186
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
262187
+ */
262188
+ function ClinicalNoteEncounter(properties) {
262189
+ this.cptCodes = [];
262190
+ if (properties)
262191
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
262192
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
262193
+ this[keys[i]] = properties[keys[i]];
262194
+ }
262195
+
262196
+ /**
262197
+ * ClinicalNoteEncounter cptCodes.
262198
+ * @member {Array.<string>} cptCodes
262199
+ * @memberof ClinicalNoteEncounter
262200
+ * @instance
262201
+ */
262202
+ ClinicalNoteEncounter.prototype.cptCodes = $util.emptyArray;
262203
+
262204
+ /**
262205
+ * ClinicalNoteEncounter encounterStatus.
262206
+ * @member {string} encounterStatus
262207
+ * @memberof ClinicalNoteEncounter
262208
+ * @instance
262209
+ */
262210
+ ClinicalNoteEncounter.prototype.encounterStatus = "";
262211
+
262212
+ /**
262213
+ * ClinicalNoteEncounter encounterStart.
262214
+ * @member {number|Long} encounterStart
262215
+ * @memberof ClinicalNoteEncounter
262216
+ * @instance
262217
+ */
262218
+ ClinicalNoteEncounter.prototype.encounterStart = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
262219
+
262220
+ /**
262221
+ * ClinicalNoteEncounter encounterEnd.
262222
+ * @member {number|Long} encounterEnd
262223
+ * @memberof ClinicalNoteEncounter
262224
+ * @instance
262225
+ */
262226
+ ClinicalNoteEncounter.prototype.encounterEnd = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
262227
+
262228
+ /**
262229
+ * ClinicalNoteEncounter appointmentId.
262230
+ * @member {string} appointmentId
262231
+ * @memberof ClinicalNoteEncounter
262232
+ * @instance
262233
+ */
262234
+ ClinicalNoteEncounter.prototype.appointmentId = "";
262235
+
262236
+ /**
262237
+ * Creates a new ClinicalNoteEncounter instance using the specified properties.
262238
+ * @function create
262239
+ * @memberof ClinicalNoteEncounter
262240
+ * @static
262241
+ * @param {ClinicalNoteEncounter.$Properties=} [properties] Properties to set
262242
+ * @returns {ClinicalNoteEncounter} ClinicalNoteEncounter instance
262243
+ * @type {{
262244
+ * (properties: ClinicalNoteEncounter.$Shape): ClinicalNoteEncounter & ClinicalNoteEncounter.$Shape;
262245
+ * (properties?: ClinicalNoteEncounter.$Properties): ClinicalNoteEncounter;
262246
+ * }}
262247
+ */
262248
+ ClinicalNoteEncounter.create = function create(properties) {
262249
+ return new ClinicalNoteEncounter(properties);
262250
+ };
262251
+
262252
+ /**
262253
+ * Encodes the specified ClinicalNoteEncounter message. Does not implicitly {@link ClinicalNoteEncounter.verify|verify} messages.
262254
+ * @function encode
262255
+ * @memberof ClinicalNoteEncounter
262256
+ * @static
262257
+ * @param {ClinicalNoteEncounter.$Properties} message ClinicalNoteEncounter message or plain object to encode
262258
+ * @param {$protobuf.Writer} [writer] Writer to encode to
262259
+ * @returns {$protobuf.Writer} Writer
262260
+ */
262261
+ ClinicalNoteEncounter.encode = function encode(message, writer) {
262262
+ if (!writer)
262263
+ writer = $Writer.create();
262264
+ if (message.cptCodes != null && message.cptCodes.length)
262265
+ for (var i = 0; i < message.cptCodes.length; ++i)
262266
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.cptCodes[i]);
262267
+ if (message.encounterStatus != null && Object.hasOwnProperty.call(message, "encounterStatus"))
262268
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.encounterStatus);
262269
+ if (message.encounterStart != null && Object.hasOwnProperty.call(message, "encounterStart"))
262270
+ writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.encounterStart);
262271
+ if (message.encounterEnd != null && Object.hasOwnProperty.call(message, "encounterEnd"))
262272
+ writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.encounterEnd);
262273
+ if (message.appointmentId != null && Object.hasOwnProperty.call(message, "appointmentId"))
262274
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.appointmentId);
262275
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
262276
+ for (var i = 0; i < message.$unknowns.length; ++i)
262277
+ writer.raw(message.$unknowns[i]);
262278
+ return writer;
262279
+ };
262280
+
262281
+ /**
262282
+ * Encodes the specified ClinicalNoteEncounter message, length delimited. Does not implicitly {@link ClinicalNoteEncounter.verify|verify} messages.
262283
+ * @function encodeDelimited
262284
+ * @memberof ClinicalNoteEncounter
262285
+ * @static
262286
+ * @param {ClinicalNoteEncounter.$Properties} message ClinicalNoteEncounter message or plain object to encode
262287
+ * @param {$protobuf.Writer} [writer] Writer to encode to
262288
+ * @returns {$protobuf.Writer} Writer
262289
+ */
262290
+ ClinicalNoteEncounter.encodeDelimited = function encodeDelimited(message, writer) {
262291
+ return this.encode(message, writer).ldelim();
262292
+ };
262293
+
262294
+ /**
262295
+ * Decodes a ClinicalNoteEncounter message from the specified reader or buffer.
262296
+ * @function decode
262297
+ * @memberof ClinicalNoteEncounter
262298
+ * @static
262299
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
262300
+ * @param {number} [length] Message length if known beforehand
262301
+ * @returns {ClinicalNoteEncounter & ClinicalNoteEncounter.$Shape} ClinicalNoteEncounter
262302
+ * @throws {Error} If the payload is not a reader or valid buffer
262303
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
262304
+ */
262305
+ ClinicalNoteEncounter.decode = function decode(reader, length, _end, _depth, _target) {
262306
+ if (!(reader instanceof $Reader))
262307
+ reader = $Reader.create(reader);
262308
+ if (_depth === undefined)
262309
+ _depth = 0;
262310
+ if (_depth > $Reader.recursionLimit)
262311
+ throw Error("max depth exceeded");
262312
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.ClinicalNoteEncounter(), value;
262313
+ while (reader.pos < end) {
262314
+ var start = reader.pos;
262315
+ var tag = reader.tag();
262316
+ if (tag === _end) {
262317
+ _end = undefined;
262318
+ break;
262319
+ }
262320
+ var wireType = tag & 7;
262321
+ switch (tag >>>= 3) {
262322
+ case 1: {
262323
+ if (wireType !== 2)
262324
+ break;
262325
+ if (!(message.cptCodes && message.cptCodes.length))
262326
+ message.cptCodes = [];
262327
+ message.cptCodes.push(reader.string());
262328
+ continue;
262329
+ }
262330
+ case 2: {
262331
+ if (wireType !== 2)
262332
+ break;
262333
+ if ((value = reader.string()).length)
262334
+ message.encounterStatus = value;
262335
+ else
262336
+ delete message.encounterStatus;
262337
+ continue;
262338
+ }
262339
+ case 3: {
262340
+ if (wireType !== 0)
262341
+ break;
262342
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
262343
+ message.encounterStart = value;
262344
+ else
262345
+ delete message.encounterStart;
262346
+ continue;
262347
+ }
262348
+ case 4: {
262349
+ if (wireType !== 0)
262350
+ break;
262351
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
262352
+ message.encounterEnd = value;
262353
+ else
262354
+ delete message.encounterEnd;
262355
+ continue;
262356
+ }
262357
+ case 5: {
262358
+ if (wireType !== 2)
262359
+ break;
262360
+ if ((value = reader.string()).length)
262361
+ message.appointmentId = value;
262362
+ else
262363
+ delete message.appointmentId;
262364
+ continue;
262365
+ }
262366
+ }
262367
+ reader.skipType(wireType, _depth, tag);
262368
+ $util.makeProp(message, "$unknowns", false);
262369
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
262370
+ }
262371
+ if (_end !== undefined)
262372
+ throw Error("missing end group");
262373
+ return message;
262374
+ };
262375
+
262376
+ /**
262377
+ * Decodes a ClinicalNoteEncounter message from the specified reader or buffer, length delimited.
262378
+ * @function decodeDelimited
262379
+ * @memberof ClinicalNoteEncounter
262380
+ * @static
262381
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
262382
+ * @returns {ClinicalNoteEncounter & ClinicalNoteEncounter.$Shape} ClinicalNoteEncounter
262383
+ * @throws {Error} If the payload is not a reader or valid buffer
262384
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
262385
+ */
262386
+ ClinicalNoteEncounter.decodeDelimited = function decodeDelimited(reader) {
262387
+ if (!(reader instanceof $Reader))
262388
+ reader = new $Reader(reader);
262389
+ return this.decode(reader, reader.uint32());
262390
+ };
262391
+
262392
+ /**
262393
+ * Verifies a ClinicalNoteEncounter message.
262394
+ * @function verify
262395
+ * @memberof ClinicalNoteEncounter
262396
+ * @static
262397
+ * @param {Object.<string,*>} message Plain object to verify
262398
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
262399
+ */
262400
+ ClinicalNoteEncounter.verify = function verify(message, _depth) {
262401
+ if (typeof message !== "object" || message === null)
262402
+ return "object expected";
262403
+ if (_depth === undefined)
262404
+ _depth = 0;
262405
+ if (_depth > $util.recursionLimit)
262406
+ return "max depth exceeded";
262407
+ if (message.cptCodes != null && message.hasOwnProperty("cptCodes")) {
262408
+ if (!Array.isArray(message.cptCodes))
262409
+ return "cptCodes: array expected";
262410
+ for (var i = 0; i < message.cptCodes.length; ++i)
262411
+ if (!$util.isString(message.cptCodes[i]))
262412
+ return "cptCodes: string[] expected";
262413
+ }
262414
+ if (message.encounterStatus != null && message.hasOwnProperty("encounterStatus"))
262415
+ if (!$util.isString(message.encounterStatus))
262416
+ return "encounterStatus: string expected";
262417
+ if (message.encounterStart != null && message.hasOwnProperty("encounterStart"))
262418
+ if (!$util.isInteger(message.encounterStart) && !(message.encounterStart && $util.isInteger(message.encounterStart.low) && $util.isInteger(message.encounterStart.high)))
262419
+ return "encounterStart: integer|Long expected";
262420
+ if (message.encounterEnd != null && message.hasOwnProperty("encounterEnd"))
262421
+ if (!$util.isInteger(message.encounterEnd) && !(message.encounterEnd && $util.isInteger(message.encounterEnd.low) && $util.isInteger(message.encounterEnd.high)))
262422
+ return "encounterEnd: integer|Long expected";
262423
+ if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
262424
+ if (!$util.isString(message.appointmentId))
262425
+ return "appointmentId: string expected";
262426
+ return null;
262427
+ };
262428
+
262429
+ /**
262430
+ * Creates a ClinicalNoteEncounter message from a plain object. Also converts values to their respective internal types.
262431
+ * @function fromObject
262432
+ * @memberof ClinicalNoteEncounter
262433
+ * @static
262434
+ * @param {Object.<string,*>} object Plain object
262435
+ * @returns {ClinicalNoteEncounter} ClinicalNoteEncounter
262436
+ */
262437
+ ClinicalNoteEncounter.fromObject = function fromObject(object, _depth) {
262438
+ if (object instanceof $root.ClinicalNoteEncounter)
262439
+ return object;
262440
+ if (_depth === undefined)
262441
+ _depth = 0;
262442
+ if (_depth > $util.recursionLimit)
262443
+ throw Error("max depth exceeded");
262444
+ var message = new $root.ClinicalNoteEncounter();
262445
+ if (object.cptCodes) {
262446
+ if (!Array.isArray(object.cptCodes))
262447
+ throw TypeError(".ClinicalNoteEncounter.cptCodes: array expected");
262448
+ message.cptCodes = Array(object.cptCodes.length);
262449
+ for (var i = 0; i < object.cptCodes.length; ++i)
262450
+ message.cptCodes[i] = String(object.cptCodes[i]);
262451
+ }
262452
+ if (object.encounterStatus != null)
262453
+ if (typeof object.encounterStatus !== "string" || object.encounterStatus.length)
262454
+ message.encounterStatus = String(object.encounterStatus);
262455
+ if (object.encounterStart != null)
262456
+ if (typeof object.encounterStart === "object" ? object.encounterStart.low || object.encounterStart.high : Number(object.encounterStart) !== 0)
262457
+ if ($util.Long)
262458
+ (message.encounterStart = $util.Long.fromValue(object.encounterStart)).unsigned = true;
262459
+ else if (typeof object.encounterStart === "string")
262460
+ message.encounterStart = parseInt(object.encounterStart, 10);
262461
+ else if (typeof object.encounterStart === "number")
262462
+ message.encounterStart = object.encounterStart;
262463
+ else if (typeof object.encounterStart === "object")
262464
+ message.encounterStart = new $util.LongBits(object.encounterStart.low >>> 0, object.encounterStart.high >>> 0).toNumber(true);
262465
+ if (object.encounterEnd != null)
262466
+ if (typeof object.encounterEnd === "object" ? object.encounterEnd.low || object.encounterEnd.high : Number(object.encounterEnd) !== 0)
262467
+ if ($util.Long)
262468
+ (message.encounterEnd = $util.Long.fromValue(object.encounterEnd)).unsigned = true;
262469
+ else if (typeof object.encounterEnd === "string")
262470
+ message.encounterEnd = parseInt(object.encounterEnd, 10);
262471
+ else if (typeof object.encounterEnd === "number")
262472
+ message.encounterEnd = object.encounterEnd;
262473
+ else if (typeof object.encounterEnd === "object")
262474
+ message.encounterEnd = new $util.LongBits(object.encounterEnd.low >>> 0, object.encounterEnd.high >>> 0).toNumber(true);
262475
+ if (object.appointmentId != null)
262476
+ if (typeof object.appointmentId !== "string" || object.appointmentId.length)
262477
+ message.appointmentId = String(object.appointmentId);
262478
+ return message;
262479
+ };
262480
+
262481
+ /**
262482
+ * Creates a plain object from a ClinicalNoteEncounter message. Also converts values to other types if specified.
262483
+ * @function toObject
262484
+ * @memberof ClinicalNoteEncounter
262485
+ * @static
262486
+ * @param {ClinicalNoteEncounter} message ClinicalNoteEncounter
262487
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
262488
+ * @returns {Object.<string,*>} Plain object
262489
+ */
262490
+ ClinicalNoteEncounter.toObject = function toObject(message, options) {
262491
+ if (!options)
262492
+ options = {};
262493
+ var object = {};
262494
+ if (options.arrays || options.defaults)
262495
+ object.cptCodes = [];
262496
+ if (options.defaults) {
262497
+ object.encounterStatus = "";
262498
+ if ($util.Long) {
262499
+ var long = new $util.Long(0, 0, true);
262500
+ object.encounterStart = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
262501
+ } else
262502
+ object.encounterStart = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
262503
+ if ($util.Long) {
262504
+ var long = new $util.Long(0, 0, true);
262505
+ object.encounterEnd = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
262506
+ } else
262507
+ object.encounterEnd = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
262508
+ object.appointmentId = "";
262509
+ }
262510
+ if (message.cptCodes && message.cptCodes.length) {
262511
+ object.cptCodes = Array(message.cptCodes.length);
262512
+ for (var j = 0; j < message.cptCodes.length; ++j)
262513
+ object.cptCodes[j] = message.cptCodes[j];
262514
+ }
262515
+ if (message.encounterStatus != null && message.hasOwnProperty("encounterStatus"))
262516
+ object.encounterStatus = message.encounterStatus;
262517
+ if (message.encounterStart != null && message.hasOwnProperty("encounterStart"))
262518
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
262519
+ object.encounterStart = typeof message.encounterStart === "number" ? BigInt(message.encounterStart) : $util.Long.fromBits(message.encounterStart.low >>> 0, message.encounterStart.high >>> 0, true).toBigInt();
262520
+ else if (typeof message.encounterStart === "number")
262521
+ object.encounterStart = options.longs === String ? String(message.encounterStart) : message.encounterStart;
262522
+ else
262523
+ object.encounterStart = options.longs === String ? $util.Long.prototype.toString.call(message.encounterStart) : options.longs === Number ? new $util.LongBits(message.encounterStart.low >>> 0, message.encounterStart.high >>> 0).toNumber(true) : message.encounterStart;
262524
+ if (message.encounterEnd != null && message.hasOwnProperty("encounterEnd"))
262525
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
262526
+ object.encounterEnd = typeof message.encounterEnd === "number" ? BigInt(message.encounterEnd) : $util.Long.fromBits(message.encounterEnd.low >>> 0, message.encounterEnd.high >>> 0, true).toBigInt();
262527
+ else if (typeof message.encounterEnd === "number")
262528
+ object.encounterEnd = options.longs === String ? String(message.encounterEnd) : message.encounterEnd;
262529
+ else
262530
+ object.encounterEnd = options.longs === String ? $util.Long.prototype.toString.call(message.encounterEnd) : options.longs === Number ? new $util.LongBits(message.encounterEnd.low >>> 0, message.encounterEnd.high >>> 0).toNumber(true) : message.encounterEnd;
262531
+ if (message.appointmentId != null && message.hasOwnProperty("appointmentId"))
262532
+ object.appointmentId = message.appointmentId;
262533
+ return object;
262534
+ };
262535
+
262536
+ /**
262537
+ * Converts this ClinicalNoteEncounter to JSON.
262538
+ * @function toJSON
262539
+ * @memberof ClinicalNoteEncounter
262540
+ * @instance
262541
+ * @returns {Object.<string,*>} JSON object
262542
+ */
262543
+ ClinicalNoteEncounter.prototype.toJSON = function toJSON() {
262544
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
262545
+ };
262546
+
262547
+ /**
262548
+ * Gets the type url for ClinicalNoteEncounter
262549
+ * @function getTypeUrl
262550
+ * @memberof ClinicalNoteEncounter
262551
+ * @static
262552
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
262553
+ * @returns {string} The type url
262554
+ */
262555
+ ClinicalNoteEncounter.getTypeUrl = function getTypeUrl(prefix) {
262556
+ if (prefix === undefined)
262557
+ prefix = "type.googleapis.com";
262558
+ return prefix + "/ClinicalNoteEncounter";
262559
+ };
262560
+
262561
+ return ClinicalNoteEncounter;
262562
+ })();
262563
+
262564
+ $root.GingerClinicalNotePayload = (function() {
262565
+
262566
+ /**
262567
+ * Properties of a GingerClinicalNotePayload.
262568
+ * @typedef {Object} GingerClinicalNotePayload.$Properties
262569
+ * @property {string|null} [noteId] GingerClinicalNotePayload noteId
262570
+ * @property {string|null} [hsUserId] GingerClinicalNotePayload hsUserId
262571
+ * @property {GingerClinicalNoteType|null} [noteType] GingerClinicalNotePayload noteType
262572
+ * @property {ClinicalNotePatient.$Properties|null} [patient] GingerClinicalNotePayload patient
262573
+ * @property {ClinicalNotePractitioner.$Properties|null} [practitioner] GingerClinicalNotePayload practitioner
262574
+ * @property {ClinicalNoteOrganization.$Properties|null} [organization] GingerClinicalNotePayload organization
262575
+ * @property {ClinicalNoteEncounter.$Properties|null} [encounter] GingerClinicalNotePayload encounter
262576
+ * @property {string|null} [content] GingerClinicalNotePayload content
262577
+ * @property {Array.<string>|null} [icd10Codes] GingerClinicalNotePayload icd10Codes
262578
+ * @property {Array.<string>|null} [ds4pCodes] GingerClinicalNotePayload ds4pCodes
262579
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
262580
+ */
262581
+
262582
+ /**
262583
+ * Properties of a GingerClinicalNotePayload.
262584
+ * @name IGingerClinicalNotePayload
262585
+ * @interface IGingerClinicalNotePayload
262586
+ * @augments GingerClinicalNotePayload.$Properties
262587
+ * @deprecated Use GingerClinicalNotePayload.$Properties instead.
262588
+ */
262589
+
262590
+ /**
262591
+ * Shape of a GingerClinicalNotePayload.
262592
+ * @typedef {GingerClinicalNotePayload.$Properties} GingerClinicalNotePayload.$Shape
262593
+ */
262594
+
262595
+ /**
262596
+ * Constructs a new GingerClinicalNotePayload.
262597
+ * @name GingerClinicalNotePayload
262598
+ * @classdesc Represents a GingerClinicalNotePayload.
262599
+ * @constructor
262600
+ * @param {GingerClinicalNotePayload.$Properties=} [properties] Properties to set
262601
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
262602
+ */
262603
+ function GingerClinicalNotePayload(properties) {
262604
+ this.icd10Codes = [];
262605
+ this.ds4pCodes = [];
262606
+ if (properties)
262607
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
262608
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
262609
+ this[keys[i]] = properties[keys[i]];
262610
+ }
262611
+
262612
+ /**
262613
+ * GingerClinicalNotePayload noteId.
262614
+ * @member {string} noteId
262615
+ * @memberof GingerClinicalNotePayload
262616
+ * @instance
262617
+ */
262618
+ GingerClinicalNotePayload.prototype.noteId = "";
262619
+
262620
+ /**
262621
+ * GingerClinicalNotePayload hsUserId.
262622
+ * @member {string} hsUserId
262623
+ * @memberof GingerClinicalNotePayload
262624
+ * @instance
262625
+ */
262626
+ GingerClinicalNotePayload.prototype.hsUserId = "";
262627
+
262628
+ /**
262629
+ * GingerClinicalNotePayload noteType.
262630
+ * @member {GingerClinicalNoteType} noteType
262631
+ * @memberof GingerClinicalNotePayload
262632
+ * @instance
262633
+ */
262634
+ GingerClinicalNotePayload.prototype.noteType = 0;
262635
+
262636
+ /**
262637
+ * GingerClinicalNotePayload patient.
262638
+ * @member {ClinicalNotePatient.$Properties|null|undefined} patient
262639
+ * @memberof GingerClinicalNotePayload
262640
+ * @instance
262641
+ */
262642
+ GingerClinicalNotePayload.prototype.patient = null;
262643
+
262644
+ /**
262645
+ * GingerClinicalNotePayload practitioner.
262646
+ * @member {ClinicalNotePractitioner.$Properties|null|undefined} practitioner
262647
+ * @memberof GingerClinicalNotePayload
262648
+ * @instance
262649
+ */
262650
+ GingerClinicalNotePayload.prototype.practitioner = null;
262651
+
262652
+ /**
262653
+ * GingerClinicalNotePayload organization.
262654
+ * @member {ClinicalNoteOrganization.$Properties|null|undefined} organization
262655
+ * @memberof GingerClinicalNotePayload
262656
+ * @instance
262657
+ */
262658
+ GingerClinicalNotePayload.prototype.organization = null;
262659
+
262660
+ /**
262661
+ * GingerClinicalNotePayload encounter.
262662
+ * @member {ClinicalNoteEncounter.$Properties|null|undefined} encounter
262663
+ * @memberof GingerClinicalNotePayload
262664
+ * @instance
262665
+ */
262666
+ GingerClinicalNotePayload.prototype.encounter = null;
262667
+
262668
+ /**
262669
+ * GingerClinicalNotePayload content.
262670
+ * @member {string} content
262671
+ * @memberof GingerClinicalNotePayload
262672
+ * @instance
262673
+ */
262674
+ GingerClinicalNotePayload.prototype.content = "";
262675
+
262676
+ /**
262677
+ * GingerClinicalNotePayload icd10Codes.
262678
+ * @member {Array.<string>} icd10Codes
262679
+ * @memberof GingerClinicalNotePayload
262680
+ * @instance
262681
+ */
262682
+ GingerClinicalNotePayload.prototype.icd10Codes = $util.emptyArray;
262683
+
262684
+ /**
262685
+ * GingerClinicalNotePayload ds4pCodes.
262686
+ * @member {Array.<string>} ds4pCodes
262687
+ * @memberof GingerClinicalNotePayload
262688
+ * @instance
262689
+ */
262690
+ GingerClinicalNotePayload.prototype.ds4pCodes = $util.emptyArray;
262691
+
262692
+ /**
262693
+ * Creates a new GingerClinicalNotePayload instance using the specified properties.
262694
+ * @function create
262695
+ * @memberof GingerClinicalNotePayload
262696
+ * @static
262697
+ * @param {GingerClinicalNotePayload.$Properties=} [properties] Properties to set
262698
+ * @returns {GingerClinicalNotePayload} GingerClinicalNotePayload instance
262699
+ * @type {{
262700
+ * (properties: GingerClinicalNotePayload.$Shape): GingerClinicalNotePayload & GingerClinicalNotePayload.$Shape;
262701
+ * (properties?: GingerClinicalNotePayload.$Properties): GingerClinicalNotePayload;
262702
+ * }}
262703
+ */
262704
+ GingerClinicalNotePayload.create = function create(properties) {
262705
+ return new GingerClinicalNotePayload(properties);
262706
+ };
262707
+
262708
+ /**
262709
+ * Encodes the specified GingerClinicalNotePayload message. Does not implicitly {@link GingerClinicalNotePayload.verify|verify} messages.
262710
+ * @function encode
262711
+ * @memberof GingerClinicalNotePayload
262712
+ * @static
262713
+ * @param {GingerClinicalNotePayload.$Properties} message GingerClinicalNotePayload message or plain object to encode
262714
+ * @param {$protobuf.Writer} [writer] Writer to encode to
262715
+ * @returns {$protobuf.Writer} Writer
262716
+ */
262717
+ GingerClinicalNotePayload.encode = function encode(message, writer) {
262718
+ if (!writer)
262719
+ writer = $Writer.create();
262720
+ if (message.noteId != null && Object.hasOwnProperty.call(message, "noteId"))
262721
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.noteId);
262722
+ if (message.hsUserId != null && Object.hasOwnProperty.call(message, "hsUserId"))
262723
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
262724
+ if (message.noteType != null && Object.hasOwnProperty.call(message, "noteType"))
262725
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.noteType);
262726
+ if (message.patient != null && Object.hasOwnProperty.call(message, "patient"))
262727
+ $root.ClinicalNotePatient.encode(message.patient, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
262728
+ if (message.practitioner != null && Object.hasOwnProperty.call(message, "practitioner"))
262729
+ $root.ClinicalNotePractitioner.encode(message.practitioner, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
262730
+ if (message.organization != null && Object.hasOwnProperty.call(message, "organization"))
262731
+ $root.ClinicalNoteOrganization.encode(message.organization, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
262732
+ if (message.encounter != null && Object.hasOwnProperty.call(message, "encounter"))
262733
+ $root.ClinicalNoteEncounter.encode(message.encounter, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
262734
+ if (message.content != null && Object.hasOwnProperty.call(message, "content"))
262735
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.content);
262736
+ if (message.icd10Codes != null && message.icd10Codes.length)
262737
+ for (var i = 0; i < message.icd10Codes.length; ++i)
262738
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.icd10Codes[i]);
262739
+ if (message.ds4pCodes != null && message.ds4pCodes.length)
262740
+ for (var i = 0; i < message.ds4pCodes.length; ++i)
262741
+ writer.uint32(/* id 10, wireType 2 =*/82).string(message.ds4pCodes[i]);
262742
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
262743
+ for (var i = 0; i < message.$unknowns.length; ++i)
262744
+ writer.raw(message.$unknowns[i]);
262745
+ return writer;
262746
+ };
262747
+
262748
+ /**
262749
+ * Encodes the specified GingerClinicalNotePayload message, length delimited. Does not implicitly {@link GingerClinicalNotePayload.verify|verify} messages.
262750
+ * @function encodeDelimited
262751
+ * @memberof GingerClinicalNotePayload
262752
+ * @static
262753
+ * @param {GingerClinicalNotePayload.$Properties} message GingerClinicalNotePayload message or plain object to encode
262754
+ * @param {$protobuf.Writer} [writer] Writer to encode to
262755
+ * @returns {$protobuf.Writer} Writer
262756
+ */
262757
+ GingerClinicalNotePayload.encodeDelimited = function encodeDelimited(message, writer) {
262758
+ return this.encode(message, writer).ldelim();
262759
+ };
262760
+
262761
+ /**
262762
+ * Decodes a GingerClinicalNotePayload message from the specified reader or buffer.
262763
+ * @function decode
262764
+ * @memberof GingerClinicalNotePayload
262765
+ * @static
262766
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
262767
+ * @param {number} [length] Message length if known beforehand
262768
+ * @returns {GingerClinicalNotePayload & GingerClinicalNotePayload.$Shape} GingerClinicalNotePayload
262769
+ * @throws {Error} If the payload is not a reader or valid buffer
262770
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
262771
+ */
262772
+ GingerClinicalNotePayload.decode = function decode(reader, length, _end, _depth, _target) {
262773
+ if (!(reader instanceof $Reader))
262774
+ reader = $Reader.create(reader);
262775
+ if (_depth === undefined)
262776
+ _depth = 0;
262777
+ if (_depth > $Reader.recursionLimit)
262778
+ throw Error("max depth exceeded");
262779
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.GingerClinicalNotePayload(), value;
262780
+ while (reader.pos < end) {
262781
+ var start = reader.pos;
262782
+ var tag = reader.tag();
262783
+ if (tag === _end) {
262784
+ _end = undefined;
262785
+ break;
262786
+ }
262787
+ var wireType = tag & 7;
262788
+ switch (tag >>>= 3) {
262789
+ case 1: {
262790
+ if (wireType !== 2)
262791
+ break;
262792
+ if ((value = reader.string()).length)
262793
+ message.noteId = value;
262794
+ else
262795
+ delete message.noteId;
262796
+ continue;
262797
+ }
262798
+ case 2: {
262799
+ if (wireType !== 2)
262800
+ break;
262801
+ if ((value = reader.string()).length)
262802
+ message.hsUserId = value;
262803
+ else
262804
+ delete message.hsUserId;
262805
+ continue;
262806
+ }
262807
+ case 3: {
262808
+ if (wireType !== 0)
262809
+ break;
262810
+ if (value = reader.int32())
262811
+ message.noteType = value;
262812
+ else
262813
+ delete message.noteType;
262814
+ continue;
262815
+ }
262816
+ case 4: {
262817
+ if (wireType !== 2)
262818
+ break;
262819
+ message.patient = $root.ClinicalNotePatient.decode(reader, reader.uint32(), undefined, _depth + 1, message.patient);
262820
+ continue;
262821
+ }
262822
+ case 5: {
262823
+ if (wireType !== 2)
262824
+ break;
262825
+ message.practitioner = $root.ClinicalNotePractitioner.decode(reader, reader.uint32(), undefined, _depth + 1, message.practitioner);
262826
+ continue;
262827
+ }
262828
+ case 6: {
262829
+ if (wireType !== 2)
262830
+ break;
262831
+ message.organization = $root.ClinicalNoteOrganization.decode(reader, reader.uint32(), undefined, _depth + 1, message.organization);
262832
+ continue;
262833
+ }
262834
+ case 7: {
262835
+ if (wireType !== 2)
262836
+ break;
262837
+ message.encounter = $root.ClinicalNoteEncounter.decode(reader, reader.uint32(), undefined, _depth + 1, message.encounter);
262838
+ continue;
262839
+ }
262840
+ case 8: {
262841
+ if (wireType !== 2)
262842
+ break;
262843
+ if ((value = reader.string()).length)
262844
+ message.content = value;
262845
+ else
262846
+ delete message.content;
262847
+ continue;
262848
+ }
262849
+ case 9: {
262850
+ if (wireType !== 2)
262851
+ break;
262852
+ if (!(message.icd10Codes && message.icd10Codes.length))
262853
+ message.icd10Codes = [];
262854
+ message.icd10Codes.push(reader.string());
262855
+ continue;
262856
+ }
262857
+ case 10: {
262858
+ if (wireType !== 2)
262859
+ break;
262860
+ if (!(message.ds4pCodes && message.ds4pCodes.length))
262861
+ message.ds4pCodes = [];
262862
+ message.ds4pCodes.push(reader.string());
262863
+ continue;
262864
+ }
262865
+ }
262866
+ reader.skipType(wireType, _depth, tag);
262867
+ $util.makeProp(message, "$unknowns", false);
262868
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
262869
+ }
262870
+ if (_end !== undefined)
262871
+ throw Error("missing end group");
262872
+ return message;
262873
+ };
262874
+
262875
+ /**
262876
+ * Decodes a GingerClinicalNotePayload message from the specified reader or buffer, length delimited.
262877
+ * @function decodeDelimited
262878
+ * @memberof GingerClinicalNotePayload
262879
+ * @static
262880
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
262881
+ * @returns {GingerClinicalNotePayload & GingerClinicalNotePayload.$Shape} GingerClinicalNotePayload
262882
+ * @throws {Error} If the payload is not a reader or valid buffer
262883
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
262884
+ */
262885
+ GingerClinicalNotePayload.decodeDelimited = function decodeDelimited(reader) {
262886
+ if (!(reader instanceof $Reader))
262887
+ reader = new $Reader(reader);
262888
+ return this.decode(reader, reader.uint32());
262889
+ };
262890
+
262891
+ /**
262892
+ * Verifies a GingerClinicalNotePayload message.
262893
+ * @function verify
262894
+ * @memberof GingerClinicalNotePayload
262895
+ * @static
262896
+ * @param {Object.<string,*>} message Plain object to verify
262897
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
262898
+ */
262899
+ GingerClinicalNotePayload.verify = function verify(message, _depth) {
262900
+ if (typeof message !== "object" || message === null)
262901
+ return "object expected";
262902
+ if (_depth === undefined)
262903
+ _depth = 0;
262904
+ if (_depth > $util.recursionLimit)
262905
+ return "max depth exceeded";
262906
+ if (message.noteId != null && message.hasOwnProperty("noteId"))
262907
+ if (!$util.isString(message.noteId))
262908
+ return "noteId: string expected";
262909
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
262910
+ if (!$util.isString(message.hsUserId))
262911
+ return "hsUserId: string expected";
262912
+ if (message.noteType != null && message.hasOwnProperty("noteType"))
262913
+ switch (message.noteType) {
262914
+ default:
262915
+ return "noteType: enum value expected";
262916
+ case 0:
262917
+ case 1:
262918
+ case 2:
262919
+ case 3:
262920
+ case 4:
262921
+ break;
262922
+ }
262923
+ if (message.patient != null && message.hasOwnProperty("patient")) {
262924
+ var error = $root.ClinicalNotePatient.verify(message.patient, _depth + 1);
262925
+ if (error)
262926
+ return "patient." + error;
262927
+ }
262928
+ if (message.practitioner != null && message.hasOwnProperty("practitioner")) {
262929
+ var error = $root.ClinicalNotePractitioner.verify(message.practitioner, _depth + 1);
262930
+ if (error)
262931
+ return "practitioner." + error;
262932
+ }
262933
+ if (message.organization != null && message.hasOwnProperty("organization")) {
262934
+ var error = $root.ClinicalNoteOrganization.verify(message.organization, _depth + 1);
262935
+ if (error)
262936
+ return "organization." + error;
262937
+ }
262938
+ if (message.encounter != null && message.hasOwnProperty("encounter")) {
262939
+ var error = $root.ClinicalNoteEncounter.verify(message.encounter, _depth + 1);
262940
+ if (error)
262941
+ return "encounter." + error;
262942
+ }
262943
+ if (message.content != null && message.hasOwnProperty("content"))
262944
+ if (!$util.isString(message.content))
262945
+ return "content: string expected";
262946
+ if (message.icd10Codes != null && message.hasOwnProperty("icd10Codes")) {
262947
+ if (!Array.isArray(message.icd10Codes))
262948
+ return "icd10Codes: array expected";
262949
+ for (var i = 0; i < message.icd10Codes.length; ++i)
262950
+ if (!$util.isString(message.icd10Codes[i]))
262951
+ return "icd10Codes: string[] expected";
262952
+ }
262953
+ if (message.ds4pCodes != null && message.hasOwnProperty("ds4pCodes")) {
262954
+ if (!Array.isArray(message.ds4pCodes))
262955
+ return "ds4pCodes: array expected";
262956
+ for (var i = 0; i < message.ds4pCodes.length; ++i)
262957
+ if (!$util.isString(message.ds4pCodes[i]))
262958
+ return "ds4pCodes: string[] expected";
262959
+ }
262960
+ return null;
262961
+ };
262962
+
262963
+ /**
262964
+ * Creates a GingerClinicalNotePayload message from a plain object. Also converts values to their respective internal types.
262965
+ * @function fromObject
262966
+ * @memberof GingerClinicalNotePayload
262967
+ * @static
262968
+ * @param {Object.<string,*>} object Plain object
262969
+ * @returns {GingerClinicalNotePayload} GingerClinicalNotePayload
262970
+ */
262971
+ GingerClinicalNotePayload.fromObject = function fromObject(object, _depth) {
262972
+ if (object instanceof $root.GingerClinicalNotePayload)
262973
+ return object;
262974
+ if (_depth === undefined)
262975
+ _depth = 0;
262976
+ if (_depth > $util.recursionLimit)
262977
+ throw Error("max depth exceeded");
262978
+ var message = new $root.GingerClinicalNotePayload();
262979
+ if (object.noteId != null)
262980
+ if (typeof object.noteId !== "string" || object.noteId.length)
262981
+ message.noteId = String(object.noteId);
262982
+ if (object.hsUserId != null)
262983
+ if (typeof object.hsUserId !== "string" || object.hsUserId.length)
262984
+ message.hsUserId = String(object.hsUserId);
262985
+ if (object.noteType !== 0 && (typeof object.noteType !== "string" || $root.GingerClinicalNoteType[object.noteType] !== 0))
262986
+ switch (object.noteType) {
262987
+ default:
262988
+ if (typeof object.noteType === "number") {
262989
+ message.noteType = object.noteType;
262990
+ break;
262991
+ }
262992
+ break;
262993
+ case "GINGER_CLINICAL_NOTE_TYPE_UNKNOWN":
262994
+ case 0:
262995
+ message.noteType = 0;
262996
+ break;
262997
+ case "GINGER_CLINICAL_NOTE_TYPE_THERAPY_INTAKE":
262998
+ case 1:
262999
+ message.noteType = 1;
263000
+ break;
263001
+ case "GINGER_CLINICAL_NOTE_TYPE_THERAPY_PROGRESS":
263002
+ case 2:
263003
+ message.noteType = 2;
263004
+ break;
263005
+ case "GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_INTAKE":
263006
+ case 3:
263007
+ message.noteType = 3;
263008
+ break;
263009
+ case "GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_PROGRESS":
263010
+ case 4:
263011
+ message.noteType = 4;
263012
+ break;
263013
+ }
263014
+ if (object.patient != null) {
263015
+ if (typeof object.patient !== "object")
263016
+ throw TypeError(".GingerClinicalNotePayload.patient: object expected");
263017
+ message.patient = $root.ClinicalNotePatient.fromObject(object.patient, _depth + 1);
263018
+ }
263019
+ if (object.practitioner != null) {
263020
+ if (typeof object.practitioner !== "object")
263021
+ throw TypeError(".GingerClinicalNotePayload.practitioner: object expected");
263022
+ message.practitioner = $root.ClinicalNotePractitioner.fromObject(object.practitioner, _depth + 1);
263023
+ }
263024
+ if (object.organization != null) {
263025
+ if (typeof object.organization !== "object")
263026
+ throw TypeError(".GingerClinicalNotePayload.organization: object expected");
263027
+ message.organization = $root.ClinicalNoteOrganization.fromObject(object.organization, _depth + 1);
263028
+ }
263029
+ if (object.encounter != null) {
263030
+ if (typeof object.encounter !== "object")
263031
+ throw TypeError(".GingerClinicalNotePayload.encounter: object expected");
263032
+ message.encounter = $root.ClinicalNoteEncounter.fromObject(object.encounter, _depth + 1);
263033
+ }
263034
+ if (object.content != null)
263035
+ if (typeof object.content !== "string" || object.content.length)
263036
+ message.content = String(object.content);
263037
+ if (object.icd10Codes) {
263038
+ if (!Array.isArray(object.icd10Codes))
263039
+ throw TypeError(".GingerClinicalNotePayload.icd10Codes: array expected");
263040
+ message.icd10Codes = Array(object.icd10Codes.length);
263041
+ for (var i = 0; i < object.icd10Codes.length; ++i)
263042
+ message.icd10Codes[i] = String(object.icd10Codes[i]);
263043
+ }
263044
+ if (object.ds4pCodes) {
263045
+ if (!Array.isArray(object.ds4pCodes))
263046
+ throw TypeError(".GingerClinicalNotePayload.ds4pCodes: array expected");
263047
+ message.ds4pCodes = Array(object.ds4pCodes.length);
263048
+ for (var i = 0; i < object.ds4pCodes.length; ++i)
263049
+ message.ds4pCodes[i] = String(object.ds4pCodes[i]);
263050
+ }
263051
+ return message;
263052
+ };
263053
+
263054
+ /**
263055
+ * Creates a plain object from a GingerClinicalNotePayload message. Also converts values to other types if specified.
263056
+ * @function toObject
263057
+ * @memberof GingerClinicalNotePayload
263058
+ * @static
263059
+ * @param {GingerClinicalNotePayload} message GingerClinicalNotePayload
263060
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
263061
+ * @returns {Object.<string,*>} Plain object
263062
+ */
263063
+ GingerClinicalNotePayload.toObject = function toObject(message, options) {
263064
+ if (!options)
263065
+ options = {};
263066
+ var object = {};
263067
+ if (options.arrays || options.defaults) {
263068
+ object.icd10Codes = [];
263069
+ object.ds4pCodes = [];
263070
+ }
263071
+ if (options.defaults) {
263072
+ object.noteId = "";
263073
+ object.hsUserId = "";
263074
+ object.noteType = options.enums === String ? "GINGER_CLINICAL_NOTE_TYPE_UNKNOWN" : 0;
263075
+ object.patient = null;
263076
+ object.practitioner = null;
263077
+ object.organization = null;
263078
+ object.encounter = null;
263079
+ object.content = "";
263080
+ }
263081
+ if (message.noteId != null && message.hasOwnProperty("noteId"))
263082
+ object.noteId = message.noteId;
263083
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
263084
+ object.hsUserId = message.hsUserId;
263085
+ if (message.noteType != null && message.hasOwnProperty("noteType"))
263086
+ object.noteType = options.enums === String ? $root.GingerClinicalNoteType[message.noteType] === undefined ? message.noteType : $root.GingerClinicalNoteType[message.noteType] : message.noteType;
263087
+ if (message.patient != null && message.hasOwnProperty("patient"))
263088
+ object.patient = $root.ClinicalNotePatient.toObject(message.patient, options);
263089
+ if (message.practitioner != null && message.hasOwnProperty("practitioner"))
263090
+ object.practitioner = $root.ClinicalNotePractitioner.toObject(message.practitioner, options);
263091
+ if (message.organization != null && message.hasOwnProperty("organization"))
263092
+ object.organization = $root.ClinicalNoteOrganization.toObject(message.organization, options);
263093
+ if (message.encounter != null && message.hasOwnProperty("encounter"))
263094
+ object.encounter = $root.ClinicalNoteEncounter.toObject(message.encounter, options);
263095
+ if (message.content != null && message.hasOwnProperty("content"))
263096
+ object.content = message.content;
263097
+ if (message.icd10Codes && message.icd10Codes.length) {
263098
+ object.icd10Codes = Array(message.icd10Codes.length);
263099
+ for (var j = 0; j < message.icd10Codes.length; ++j)
263100
+ object.icd10Codes[j] = message.icd10Codes[j];
263101
+ }
263102
+ if (message.ds4pCodes && message.ds4pCodes.length) {
263103
+ object.ds4pCodes = Array(message.ds4pCodes.length);
263104
+ for (var j = 0; j < message.ds4pCodes.length; ++j)
263105
+ object.ds4pCodes[j] = message.ds4pCodes[j];
263106
+ }
263107
+ return object;
263108
+ };
263109
+
263110
+ /**
263111
+ * Converts this GingerClinicalNotePayload to JSON.
263112
+ * @function toJSON
263113
+ * @memberof GingerClinicalNotePayload
263114
+ * @instance
263115
+ * @returns {Object.<string,*>} JSON object
263116
+ */
263117
+ GingerClinicalNotePayload.prototype.toJSON = function toJSON() {
263118
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
263119
+ };
263120
+
263121
+ /**
263122
+ * Gets the type url for GingerClinicalNotePayload
263123
+ * @function getTypeUrl
263124
+ * @memberof GingerClinicalNotePayload
263125
+ * @static
263126
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
263127
+ * @returns {string} The type url
263128
+ */
263129
+ GingerClinicalNotePayload.getTypeUrl = function getTypeUrl(prefix) {
263130
+ if (prefix === undefined)
263131
+ prefix = "type.googleapis.com";
263132
+ return prefix + "/GingerClinicalNotePayload";
263133
+ };
263134
+
263135
+ return GingerClinicalNotePayload;
263136
+ })();
263137
+
260133
263138
  $root.InteractiveJournalingParticipant = (function() {
260134
263139
 
260135
263140
  /**