@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.d.ts CHANGED
@@ -88380,6 +88380,1014 @@ export namespace HieDeliveryFailed {
88380
88380
  type $Shape = HieDeliveryFailed.$Properties;
88381
88381
  }
88382
88382
 
88383
+ /**
88384
+ * Properties of a GingerClinicalNoteExported.
88385
+ * @deprecated Use GingerClinicalNoteExported.$Properties instead.
88386
+ */
88387
+ export interface IGingerClinicalNoteExported extends GingerClinicalNoteExported.$Properties {
88388
+ }
88389
+
88390
+ /**
88391
+ * Published when care-web has written a GingerClinicalNotePayload object to the
88392
+ * Headspace HIE S3 export bucket and is ready for hs-hie-service to consume it.
88393
+ * Thin pointer only -- opaque ids and the S3 object key. Classification and
88394
+ * DS4P codes live on GingerClinicalNotePayload (read after GetObject).
88395
+ */
88396
+ export class GingerClinicalNoteExported {
88397
+
88398
+ /**
88399
+ * Constructs a new GingerClinicalNoteExported.
88400
+ * @param [properties] Properties to set
88401
+ */
88402
+ constructor(properties?: GingerClinicalNoteExported.$Properties);
88403
+
88404
+ /** Unknown fields preserved while decoding */
88405
+ $unknowns?: Uint8Array[];
88406
+
88407
+ /** GingerClinicalNoteExported timestamp. */
88408
+ timestamp: (number|Long);
88409
+
88410
+ /** GingerClinicalNoteExported noteId. */
88411
+ noteId: string;
88412
+
88413
+ /** GingerClinicalNoteExported hsUserId. */
88414
+ hsUserId: string;
88415
+
88416
+ /** GingerClinicalNoteExported s3Path. */
88417
+ s3Path: string;
88418
+
88419
+ /**
88420
+ * Creates a new GingerClinicalNoteExported instance using the specified properties.
88421
+ * @param [properties] Properties to set
88422
+ * @returns GingerClinicalNoteExported instance
88423
+ */
88424
+ static create(properties: GingerClinicalNoteExported.$Shape): GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape;
88425
+ static create(properties?: GingerClinicalNoteExported.$Properties): GingerClinicalNoteExported;
88426
+
88427
+ /**
88428
+ * Encodes the specified GingerClinicalNoteExported message. Does not implicitly {@link GingerClinicalNoteExported.verify|verify} messages.
88429
+ * @param message GingerClinicalNoteExported message or plain object to encode
88430
+ * @param [writer] Writer to encode to
88431
+ * @returns Writer
88432
+ */
88433
+ static encode(message: GingerClinicalNoteExported.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88434
+
88435
+ /**
88436
+ * Encodes the specified GingerClinicalNoteExported message, length delimited. Does not implicitly {@link GingerClinicalNoteExported.verify|verify} messages.
88437
+ * @param message GingerClinicalNoteExported message or plain object to encode
88438
+ * @param [writer] Writer to encode to
88439
+ * @returns Writer
88440
+ */
88441
+ static encodeDelimited(message: GingerClinicalNoteExported.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88442
+
88443
+ /**
88444
+ * Decodes a GingerClinicalNoteExported message from the specified reader or buffer.
88445
+ * @param reader Reader or buffer to decode from
88446
+ * @param [length] Message length if known beforehand
88447
+ * @returns {GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape} GingerClinicalNoteExported
88448
+ * @throws {Error} If the payload is not a reader or valid buffer
88449
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88450
+ */
88451
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape;
88452
+
88453
+ /**
88454
+ * Decodes a GingerClinicalNoteExported message from the specified reader or buffer, length delimited.
88455
+ * @param reader Reader or buffer to decode from
88456
+ * @returns {GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape} GingerClinicalNoteExported
88457
+ * @throws {Error} If the payload is not a reader or valid buffer
88458
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88459
+ */
88460
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape;
88461
+
88462
+ /**
88463
+ * Verifies a GingerClinicalNoteExported message.
88464
+ * @param message Plain object to verify
88465
+ * @returns `null` if valid, otherwise the reason why it is not
88466
+ */
88467
+ static verify(message: { [k: string]: any }): (string|null);
88468
+
88469
+ /**
88470
+ * Creates a GingerClinicalNoteExported message from a plain object. Also converts values to their respective internal types.
88471
+ * @param object Plain object
88472
+ * @returns GingerClinicalNoteExported
88473
+ */
88474
+ static fromObject(object: { [k: string]: any }): GingerClinicalNoteExported;
88475
+
88476
+ /**
88477
+ * Creates a plain object from a GingerClinicalNoteExported message. Also converts values to other types if specified.
88478
+ * @param message GingerClinicalNoteExported
88479
+ * @param [options] Conversion options
88480
+ * @returns Plain object
88481
+ */
88482
+ static toObject(message: GingerClinicalNoteExported, options?: $protobuf.IConversionOptions): { [k: string]: any };
88483
+
88484
+ /**
88485
+ * Converts this GingerClinicalNoteExported to JSON.
88486
+ * @returns JSON object
88487
+ */
88488
+ toJSON(): { [k: string]: any };
88489
+
88490
+ /**
88491
+ * Gets the type url for GingerClinicalNoteExported
88492
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
88493
+ * @returns The type url
88494
+ */
88495
+ static getTypeUrl(prefix?: string): string;
88496
+ }
88497
+
88498
+ export namespace GingerClinicalNoteExported {
88499
+
88500
+ /** Properties of a GingerClinicalNoteExported. */
88501
+ interface $Properties {
88502
+
88503
+ /** GingerClinicalNoteExported timestamp */
88504
+ timestamp?: (number|Long|null);
88505
+
88506
+ /** GingerClinicalNoteExported noteId */
88507
+ noteId?: (string|null);
88508
+
88509
+ /** GingerClinicalNoteExported hsUserId */
88510
+ hsUserId?: (string|null);
88511
+
88512
+ /** GingerClinicalNoteExported s3Path */
88513
+ s3Path?: (string|null);
88514
+
88515
+ /** Unknown fields preserved while decoding */
88516
+ $unknowns?: Uint8Array[];
88517
+ }
88518
+
88519
+ /** Shape of a GingerClinicalNoteExported. */
88520
+ type $Shape = GingerClinicalNoteExported.$Properties;
88521
+ }
88522
+
88523
+ /** GingerClinicalNoteType enum. */
88524
+ export enum GingerClinicalNoteType {
88525
+
88526
+ /** GINGER_CLINICAL_NOTE_TYPE_UNKNOWN value */
88527
+ GINGER_CLINICAL_NOTE_TYPE_UNKNOWN = 0,
88528
+
88529
+ /** GINGER_CLINICAL_NOTE_TYPE_THERAPY_INTAKE value */
88530
+ GINGER_CLINICAL_NOTE_TYPE_THERAPY_INTAKE = 1,
88531
+
88532
+ /** GINGER_CLINICAL_NOTE_TYPE_THERAPY_PROGRESS value */
88533
+ GINGER_CLINICAL_NOTE_TYPE_THERAPY_PROGRESS = 2,
88534
+
88535
+ /** GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_INTAKE value */
88536
+ GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_INTAKE = 3,
88537
+
88538
+ /** GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_PROGRESS value */
88539
+ GINGER_CLINICAL_NOTE_TYPE_PSYCHIATRY_PROGRESS = 4
88540
+ }
88541
+
88542
+ /**
88543
+ * Properties of a ClinicalNotePatient.
88544
+ * @deprecated Use ClinicalNotePatient.$Properties instead.
88545
+ */
88546
+ export interface IClinicalNotePatient extends ClinicalNotePatient.$Properties {
88547
+ }
88548
+
88549
+ /** Represents a ClinicalNotePatient. */
88550
+ export class ClinicalNotePatient {
88551
+
88552
+ /**
88553
+ * Constructs a new ClinicalNotePatient.
88554
+ * @param [properties] Properties to set
88555
+ */
88556
+ constructor(properties?: ClinicalNotePatient.$Properties);
88557
+
88558
+ /** Unknown fields preserved while decoding */
88559
+ $unknowns?: Uint8Array[];
88560
+
88561
+ /** ClinicalNotePatient givenName. */
88562
+ givenName: string;
88563
+
88564
+ /** ClinicalNotePatient lastName. */
88565
+ lastName: string;
88566
+
88567
+ /** ClinicalNotePatient gender. */
88568
+ gender: string;
88569
+
88570
+ /** ClinicalNotePatient emailAddress. */
88571
+ emailAddress: string;
88572
+
88573
+ /** ClinicalNotePatient phoneNumber. */
88574
+ phoneNumber: string;
88575
+
88576
+ /** ClinicalNotePatient birthDate. */
88577
+ birthDate: string;
88578
+
88579
+ /** ClinicalNotePatient country. */
88580
+ country: string;
88581
+
88582
+ /** ClinicalNotePatient state. */
88583
+ state: string;
88584
+
88585
+ /** ClinicalNotePatient city. */
88586
+ city: string;
88587
+
88588
+ /** ClinicalNotePatient postalCode. */
88589
+ postalCode: string;
88590
+
88591
+ /** ClinicalNotePatient streetAddress. */
88592
+ streetAddress: string;
88593
+
88594
+ /** ClinicalNotePatient streetAddress_2. */
88595
+ streetAddress_2: string;
88596
+
88597
+ /**
88598
+ * Creates a new ClinicalNotePatient instance using the specified properties.
88599
+ * @param [properties] Properties to set
88600
+ * @returns ClinicalNotePatient instance
88601
+ */
88602
+ static create(properties: ClinicalNotePatient.$Shape): ClinicalNotePatient & ClinicalNotePatient.$Shape;
88603
+ static create(properties?: ClinicalNotePatient.$Properties): ClinicalNotePatient;
88604
+
88605
+ /**
88606
+ * Encodes the specified ClinicalNotePatient message. Does not implicitly {@link ClinicalNotePatient.verify|verify} messages.
88607
+ * @param message ClinicalNotePatient message or plain object to encode
88608
+ * @param [writer] Writer to encode to
88609
+ * @returns Writer
88610
+ */
88611
+ static encode(message: ClinicalNotePatient.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88612
+
88613
+ /**
88614
+ * Encodes the specified ClinicalNotePatient message, length delimited. Does not implicitly {@link ClinicalNotePatient.verify|verify} messages.
88615
+ * @param message ClinicalNotePatient message or plain object to encode
88616
+ * @param [writer] Writer to encode to
88617
+ * @returns Writer
88618
+ */
88619
+ static encodeDelimited(message: ClinicalNotePatient.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88620
+
88621
+ /**
88622
+ * Decodes a ClinicalNotePatient message from the specified reader or buffer.
88623
+ * @param reader Reader or buffer to decode from
88624
+ * @param [length] Message length if known beforehand
88625
+ * @returns {ClinicalNotePatient & ClinicalNotePatient.$Shape} ClinicalNotePatient
88626
+ * @throws {Error} If the payload is not a reader or valid buffer
88627
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88628
+ */
88629
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalNotePatient & ClinicalNotePatient.$Shape;
88630
+
88631
+ /**
88632
+ * Decodes a ClinicalNotePatient message from the specified reader or buffer, length delimited.
88633
+ * @param reader Reader or buffer to decode from
88634
+ * @returns {ClinicalNotePatient & ClinicalNotePatient.$Shape} ClinicalNotePatient
88635
+ * @throws {Error} If the payload is not a reader or valid buffer
88636
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88637
+ */
88638
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalNotePatient & ClinicalNotePatient.$Shape;
88639
+
88640
+ /**
88641
+ * Verifies a ClinicalNotePatient message.
88642
+ * @param message Plain object to verify
88643
+ * @returns `null` if valid, otherwise the reason why it is not
88644
+ */
88645
+ static verify(message: { [k: string]: any }): (string|null);
88646
+
88647
+ /**
88648
+ * Creates a ClinicalNotePatient message from a plain object. Also converts values to their respective internal types.
88649
+ * @param object Plain object
88650
+ * @returns ClinicalNotePatient
88651
+ */
88652
+ static fromObject(object: { [k: string]: any }): ClinicalNotePatient;
88653
+
88654
+ /**
88655
+ * Creates a plain object from a ClinicalNotePatient message. Also converts values to other types if specified.
88656
+ * @param message ClinicalNotePatient
88657
+ * @param [options] Conversion options
88658
+ * @returns Plain object
88659
+ */
88660
+ static toObject(message: ClinicalNotePatient, options?: $protobuf.IConversionOptions): { [k: string]: any };
88661
+
88662
+ /**
88663
+ * Converts this ClinicalNotePatient to JSON.
88664
+ * @returns JSON object
88665
+ */
88666
+ toJSON(): { [k: string]: any };
88667
+
88668
+ /**
88669
+ * Gets the type url for ClinicalNotePatient
88670
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
88671
+ * @returns The type url
88672
+ */
88673
+ static getTypeUrl(prefix?: string): string;
88674
+ }
88675
+
88676
+ export namespace ClinicalNotePatient {
88677
+
88678
+ /** Properties of a ClinicalNotePatient. */
88679
+ interface $Properties {
88680
+
88681
+ /** ClinicalNotePatient givenName */
88682
+ givenName?: (string|null);
88683
+
88684
+ /** ClinicalNotePatient lastName */
88685
+ lastName?: (string|null);
88686
+
88687
+ /** ClinicalNotePatient gender */
88688
+ gender?: (string|null);
88689
+
88690
+ /** ClinicalNotePatient emailAddress */
88691
+ emailAddress?: (string|null);
88692
+
88693
+ /** ClinicalNotePatient phoneNumber */
88694
+ phoneNumber?: (string|null);
88695
+
88696
+ /** ClinicalNotePatient birthDate */
88697
+ birthDate?: (string|null);
88698
+
88699
+ /** ClinicalNotePatient country */
88700
+ country?: (string|null);
88701
+
88702
+ /** ClinicalNotePatient state */
88703
+ state?: (string|null);
88704
+
88705
+ /** ClinicalNotePatient city */
88706
+ city?: (string|null);
88707
+
88708
+ /** ClinicalNotePatient postalCode */
88709
+ postalCode?: (string|null);
88710
+
88711
+ /** ClinicalNotePatient streetAddress */
88712
+ streetAddress?: (string|null);
88713
+
88714
+ /** ClinicalNotePatient streetAddress_2 */
88715
+ streetAddress_2?: (string|null);
88716
+
88717
+ /** Unknown fields preserved while decoding */
88718
+ $unknowns?: Uint8Array[];
88719
+ }
88720
+
88721
+ /** Shape of a ClinicalNotePatient. */
88722
+ type $Shape = ClinicalNotePatient.$Properties;
88723
+ }
88724
+
88725
+ /**
88726
+ * Properties of a ClinicalNotePractitioner.
88727
+ * @deprecated Use ClinicalNotePractitioner.$Properties instead.
88728
+ */
88729
+ export interface IClinicalNotePractitioner extends ClinicalNotePractitioner.$Properties {
88730
+ }
88731
+
88732
+ /** Represents a ClinicalNotePractitioner. */
88733
+ export class ClinicalNotePractitioner {
88734
+
88735
+ /**
88736
+ * Constructs a new ClinicalNotePractitioner.
88737
+ * @param [properties] Properties to set
88738
+ */
88739
+ constructor(properties?: ClinicalNotePractitioner.$Properties);
88740
+
88741
+ /** Unknown fields preserved while decoding */
88742
+ $unknowns?: Uint8Array[];
88743
+
88744
+ /** ClinicalNotePractitioner givenName. */
88745
+ givenName: string;
88746
+
88747
+ /** ClinicalNotePractitioner lastName. */
88748
+ lastName: string;
88749
+
88750
+ /** ClinicalNotePractitioner npiIdentifier. */
88751
+ npiIdentifier: string;
88752
+
88753
+ /** ClinicalNotePractitioner emailAddress. */
88754
+ emailAddress: string;
88755
+
88756
+ /** ClinicalNotePractitioner phoneNumber. */
88757
+ phoneNumber: string;
88758
+
88759
+ /** ClinicalNotePractitioner birthDate. */
88760
+ birthDate: string;
88761
+
88762
+ /** ClinicalNotePractitioner country. */
88763
+ country: string;
88764
+
88765
+ /** ClinicalNotePractitioner state. */
88766
+ state: string;
88767
+
88768
+ /** ClinicalNotePractitioner city. */
88769
+ city: string;
88770
+
88771
+ /** ClinicalNotePractitioner postalCode. */
88772
+ postalCode: string;
88773
+
88774
+ /** ClinicalNotePractitioner streetAddress. */
88775
+ streetAddress: string;
88776
+
88777
+ /** ClinicalNotePractitioner streetAddress_2. */
88778
+ streetAddress_2: string;
88779
+
88780
+ /**
88781
+ * Creates a new ClinicalNotePractitioner instance using the specified properties.
88782
+ * @param [properties] Properties to set
88783
+ * @returns ClinicalNotePractitioner instance
88784
+ */
88785
+ static create(properties: ClinicalNotePractitioner.$Shape): ClinicalNotePractitioner & ClinicalNotePractitioner.$Shape;
88786
+ static create(properties?: ClinicalNotePractitioner.$Properties): ClinicalNotePractitioner;
88787
+
88788
+ /**
88789
+ * Encodes the specified ClinicalNotePractitioner message. Does not implicitly {@link ClinicalNotePractitioner.verify|verify} messages.
88790
+ * @param message ClinicalNotePractitioner message or plain object to encode
88791
+ * @param [writer] Writer to encode to
88792
+ * @returns Writer
88793
+ */
88794
+ static encode(message: ClinicalNotePractitioner.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88795
+
88796
+ /**
88797
+ * Encodes the specified ClinicalNotePractitioner message, length delimited. Does not implicitly {@link ClinicalNotePractitioner.verify|verify} messages.
88798
+ * @param message ClinicalNotePractitioner message or plain object to encode
88799
+ * @param [writer] Writer to encode to
88800
+ * @returns Writer
88801
+ */
88802
+ static encodeDelimited(message: ClinicalNotePractitioner.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88803
+
88804
+ /**
88805
+ * Decodes a ClinicalNotePractitioner message from the specified reader or buffer.
88806
+ * @param reader Reader or buffer to decode from
88807
+ * @param [length] Message length if known beforehand
88808
+ * @returns {ClinicalNotePractitioner & ClinicalNotePractitioner.$Shape} ClinicalNotePractitioner
88809
+ * @throws {Error} If the payload is not a reader or valid buffer
88810
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88811
+ */
88812
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalNotePractitioner & ClinicalNotePractitioner.$Shape;
88813
+
88814
+ /**
88815
+ * Decodes a ClinicalNotePractitioner message from the specified reader or buffer, length delimited.
88816
+ * @param reader Reader or buffer to decode from
88817
+ * @returns {ClinicalNotePractitioner & ClinicalNotePractitioner.$Shape} ClinicalNotePractitioner
88818
+ * @throws {Error} If the payload is not a reader or valid buffer
88819
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88820
+ */
88821
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalNotePractitioner & ClinicalNotePractitioner.$Shape;
88822
+
88823
+ /**
88824
+ * Verifies a ClinicalNotePractitioner message.
88825
+ * @param message Plain object to verify
88826
+ * @returns `null` if valid, otherwise the reason why it is not
88827
+ */
88828
+ static verify(message: { [k: string]: any }): (string|null);
88829
+
88830
+ /**
88831
+ * Creates a ClinicalNotePractitioner message from a plain object. Also converts values to their respective internal types.
88832
+ * @param object Plain object
88833
+ * @returns ClinicalNotePractitioner
88834
+ */
88835
+ static fromObject(object: { [k: string]: any }): ClinicalNotePractitioner;
88836
+
88837
+ /**
88838
+ * Creates a plain object from a ClinicalNotePractitioner message. Also converts values to other types if specified.
88839
+ * @param message ClinicalNotePractitioner
88840
+ * @param [options] Conversion options
88841
+ * @returns Plain object
88842
+ */
88843
+ static toObject(message: ClinicalNotePractitioner, options?: $protobuf.IConversionOptions): { [k: string]: any };
88844
+
88845
+ /**
88846
+ * Converts this ClinicalNotePractitioner to JSON.
88847
+ * @returns JSON object
88848
+ */
88849
+ toJSON(): { [k: string]: any };
88850
+
88851
+ /**
88852
+ * Gets the type url for ClinicalNotePractitioner
88853
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
88854
+ * @returns The type url
88855
+ */
88856
+ static getTypeUrl(prefix?: string): string;
88857
+ }
88858
+
88859
+ export namespace ClinicalNotePractitioner {
88860
+
88861
+ /** Properties of a ClinicalNotePractitioner. */
88862
+ interface $Properties {
88863
+
88864
+ /** ClinicalNotePractitioner givenName */
88865
+ givenName?: (string|null);
88866
+
88867
+ /** ClinicalNotePractitioner lastName */
88868
+ lastName?: (string|null);
88869
+
88870
+ /** ClinicalNotePractitioner npiIdentifier */
88871
+ npiIdentifier?: (string|null);
88872
+
88873
+ /** ClinicalNotePractitioner emailAddress */
88874
+ emailAddress?: (string|null);
88875
+
88876
+ /** ClinicalNotePractitioner phoneNumber */
88877
+ phoneNumber?: (string|null);
88878
+
88879
+ /** ClinicalNotePractitioner birthDate */
88880
+ birthDate?: (string|null);
88881
+
88882
+ /** ClinicalNotePractitioner country */
88883
+ country?: (string|null);
88884
+
88885
+ /** ClinicalNotePractitioner state */
88886
+ state?: (string|null);
88887
+
88888
+ /** ClinicalNotePractitioner city */
88889
+ city?: (string|null);
88890
+
88891
+ /** ClinicalNotePractitioner postalCode */
88892
+ postalCode?: (string|null);
88893
+
88894
+ /** ClinicalNotePractitioner streetAddress */
88895
+ streetAddress?: (string|null);
88896
+
88897
+ /** ClinicalNotePractitioner streetAddress_2 */
88898
+ streetAddress_2?: (string|null);
88899
+
88900
+ /** Unknown fields preserved while decoding */
88901
+ $unknowns?: Uint8Array[];
88902
+ }
88903
+
88904
+ /** Shape of a ClinicalNotePractitioner. */
88905
+ type $Shape = ClinicalNotePractitioner.$Properties;
88906
+ }
88907
+
88908
+ /**
88909
+ * Properties of a ClinicalNoteOrganization.
88910
+ * @deprecated Use ClinicalNoteOrganization.$Properties instead.
88911
+ */
88912
+ export interface IClinicalNoteOrganization extends ClinicalNoteOrganization.$Properties {
88913
+ }
88914
+
88915
+ /** Represents a ClinicalNoteOrganization. */
88916
+ export class ClinicalNoteOrganization {
88917
+
88918
+ /**
88919
+ * Constructs a new ClinicalNoteOrganization.
88920
+ * @param [properties] Properties to set
88921
+ */
88922
+ constructor(properties?: ClinicalNoteOrganization.$Properties);
88923
+
88924
+ /** Unknown fields preserved while decoding */
88925
+ $unknowns?: Uint8Array[];
88926
+
88927
+ /** ClinicalNoteOrganization name. */
88928
+ name: string;
88929
+
88930
+ /** ClinicalNoteOrganization npiIdentifier. */
88931
+ npiIdentifier: string;
88932
+
88933
+ /** ClinicalNoteOrganization phoneNumber. */
88934
+ phoneNumber: string;
88935
+
88936
+ /** ClinicalNoteOrganization emailAddress. */
88937
+ emailAddress: string;
88938
+
88939
+ /** ClinicalNoteOrganization country. */
88940
+ country: string;
88941
+
88942
+ /** ClinicalNoteOrganization state. */
88943
+ state: string;
88944
+
88945
+ /** ClinicalNoteOrganization city. */
88946
+ city: string;
88947
+
88948
+ /** ClinicalNoteOrganization postalCode. */
88949
+ postalCode: string;
88950
+
88951
+ /** ClinicalNoteOrganization streetAddress. */
88952
+ streetAddress: string;
88953
+
88954
+ /** ClinicalNoteOrganization streetAddress_2. */
88955
+ streetAddress_2: string;
88956
+
88957
+ /**
88958
+ * Creates a new ClinicalNoteOrganization instance using the specified properties.
88959
+ * @param [properties] Properties to set
88960
+ * @returns ClinicalNoteOrganization instance
88961
+ */
88962
+ static create(properties: ClinicalNoteOrganization.$Shape): ClinicalNoteOrganization & ClinicalNoteOrganization.$Shape;
88963
+ static create(properties?: ClinicalNoteOrganization.$Properties): ClinicalNoteOrganization;
88964
+
88965
+ /**
88966
+ * Encodes the specified ClinicalNoteOrganization message. Does not implicitly {@link ClinicalNoteOrganization.verify|verify} messages.
88967
+ * @param message ClinicalNoteOrganization message or plain object to encode
88968
+ * @param [writer] Writer to encode to
88969
+ * @returns Writer
88970
+ */
88971
+ static encode(message: ClinicalNoteOrganization.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88972
+
88973
+ /**
88974
+ * Encodes the specified ClinicalNoteOrganization message, length delimited. Does not implicitly {@link ClinicalNoteOrganization.verify|verify} messages.
88975
+ * @param message ClinicalNoteOrganization message or plain object to encode
88976
+ * @param [writer] Writer to encode to
88977
+ * @returns Writer
88978
+ */
88979
+ static encodeDelimited(message: ClinicalNoteOrganization.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88980
+
88981
+ /**
88982
+ * Decodes a ClinicalNoteOrganization message from the specified reader or buffer.
88983
+ * @param reader Reader or buffer to decode from
88984
+ * @param [length] Message length if known beforehand
88985
+ * @returns {ClinicalNoteOrganization & ClinicalNoteOrganization.$Shape} ClinicalNoteOrganization
88986
+ * @throws {Error} If the payload is not a reader or valid buffer
88987
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88988
+ */
88989
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalNoteOrganization & ClinicalNoteOrganization.$Shape;
88990
+
88991
+ /**
88992
+ * Decodes a ClinicalNoteOrganization message from the specified reader or buffer, length delimited.
88993
+ * @param reader Reader or buffer to decode from
88994
+ * @returns {ClinicalNoteOrganization & ClinicalNoteOrganization.$Shape} ClinicalNoteOrganization
88995
+ * @throws {Error} If the payload is not a reader or valid buffer
88996
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88997
+ */
88998
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalNoteOrganization & ClinicalNoteOrganization.$Shape;
88999
+
89000
+ /**
89001
+ * Verifies a ClinicalNoteOrganization message.
89002
+ * @param message Plain object to verify
89003
+ * @returns `null` if valid, otherwise the reason why it is not
89004
+ */
89005
+ static verify(message: { [k: string]: any }): (string|null);
89006
+
89007
+ /**
89008
+ * Creates a ClinicalNoteOrganization message from a plain object. Also converts values to their respective internal types.
89009
+ * @param object Plain object
89010
+ * @returns ClinicalNoteOrganization
89011
+ */
89012
+ static fromObject(object: { [k: string]: any }): ClinicalNoteOrganization;
89013
+
89014
+ /**
89015
+ * Creates a plain object from a ClinicalNoteOrganization message. Also converts values to other types if specified.
89016
+ * @param message ClinicalNoteOrganization
89017
+ * @param [options] Conversion options
89018
+ * @returns Plain object
89019
+ */
89020
+ static toObject(message: ClinicalNoteOrganization, options?: $protobuf.IConversionOptions): { [k: string]: any };
89021
+
89022
+ /**
89023
+ * Converts this ClinicalNoteOrganization to JSON.
89024
+ * @returns JSON object
89025
+ */
89026
+ toJSON(): { [k: string]: any };
89027
+
89028
+ /**
89029
+ * Gets the type url for ClinicalNoteOrganization
89030
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
89031
+ * @returns The type url
89032
+ */
89033
+ static getTypeUrl(prefix?: string): string;
89034
+ }
89035
+
89036
+ export namespace ClinicalNoteOrganization {
89037
+
89038
+ /** Properties of a ClinicalNoteOrganization. */
89039
+ interface $Properties {
89040
+
89041
+ /** ClinicalNoteOrganization name */
89042
+ name?: (string|null);
89043
+
89044
+ /** ClinicalNoteOrganization npiIdentifier */
89045
+ npiIdentifier?: (string|null);
89046
+
89047
+ /** ClinicalNoteOrganization phoneNumber */
89048
+ phoneNumber?: (string|null);
89049
+
89050
+ /** ClinicalNoteOrganization emailAddress */
89051
+ emailAddress?: (string|null);
89052
+
89053
+ /** ClinicalNoteOrganization country */
89054
+ country?: (string|null);
89055
+
89056
+ /** ClinicalNoteOrganization state */
89057
+ state?: (string|null);
89058
+
89059
+ /** ClinicalNoteOrganization city */
89060
+ city?: (string|null);
89061
+
89062
+ /** ClinicalNoteOrganization postalCode */
89063
+ postalCode?: (string|null);
89064
+
89065
+ /** ClinicalNoteOrganization streetAddress */
89066
+ streetAddress?: (string|null);
89067
+
89068
+ /** ClinicalNoteOrganization streetAddress_2 */
89069
+ streetAddress_2?: (string|null);
89070
+
89071
+ /** Unknown fields preserved while decoding */
89072
+ $unknowns?: Uint8Array[];
89073
+ }
89074
+
89075
+ /** Shape of a ClinicalNoteOrganization. */
89076
+ type $Shape = ClinicalNoteOrganization.$Properties;
89077
+ }
89078
+
89079
+ /**
89080
+ * Properties of a ClinicalNoteEncounter.
89081
+ * @deprecated Use ClinicalNoteEncounter.$Properties instead.
89082
+ */
89083
+ export interface IClinicalNoteEncounter extends ClinicalNoteEncounter.$Properties {
89084
+ }
89085
+
89086
+ /** Represents a ClinicalNoteEncounter. */
89087
+ export class ClinicalNoteEncounter {
89088
+
89089
+ /**
89090
+ * Constructs a new ClinicalNoteEncounter.
89091
+ * @param [properties] Properties to set
89092
+ */
89093
+ constructor(properties?: ClinicalNoteEncounter.$Properties);
89094
+
89095
+ /** Unknown fields preserved while decoding */
89096
+ $unknowns?: Uint8Array[];
89097
+
89098
+ /** ClinicalNoteEncounter cptCodes. */
89099
+ cptCodes: string[];
89100
+
89101
+ /** ClinicalNoteEncounter encounterStatus. */
89102
+ encounterStatus: string;
89103
+
89104
+ /** ClinicalNoteEncounter encounterStart. */
89105
+ encounterStart: (number|Long);
89106
+
89107
+ /** ClinicalNoteEncounter encounterEnd. */
89108
+ encounterEnd: (number|Long);
89109
+
89110
+ /** ClinicalNoteEncounter appointmentId. */
89111
+ appointmentId: string;
89112
+
89113
+ /**
89114
+ * Creates a new ClinicalNoteEncounter instance using the specified properties.
89115
+ * @param [properties] Properties to set
89116
+ * @returns ClinicalNoteEncounter instance
89117
+ */
89118
+ static create(properties: ClinicalNoteEncounter.$Shape): ClinicalNoteEncounter & ClinicalNoteEncounter.$Shape;
89119
+ static create(properties?: ClinicalNoteEncounter.$Properties): ClinicalNoteEncounter;
89120
+
89121
+ /**
89122
+ * Encodes the specified ClinicalNoteEncounter message. Does not implicitly {@link ClinicalNoteEncounter.verify|verify} messages.
89123
+ * @param message ClinicalNoteEncounter message or plain object to encode
89124
+ * @param [writer] Writer to encode to
89125
+ * @returns Writer
89126
+ */
89127
+ static encode(message: ClinicalNoteEncounter.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
89128
+
89129
+ /**
89130
+ * Encodes the specified ClinicalNoteEncounter message, length delimited. Does not implicitly {@link ClinicalNoteEncounter.verify|verify} messages.
89131
+ * @param message ClinicalNoteEncounter message or plain object to encode
89132
+ * @param [writer] Writer to encode to
89133
+ * @returns Writer
89134
+ */
89135
+ static encodeDelimited(message: ClinicalNoteEncounter.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
89136
+
89137
+ /**
89138
+ * Decodes a ClinicalNoteEncounter message from the specified reader or buffer.
89139
+ * @param reader Reader or buffer to decode from
89140
+ * @param [length] Message length if known beforehand
89141
+ * @returns {ClinicalNoteEncounter & ClinicalNoteEncounter.$Shape} ClinicalNoteEncounter
89142
+ * @throws {Error} If the payload is not a reader or valid buffer
89143
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
89144
+ */
89145
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): ClinicalNoteEncounter & ClinicalNoteEncounter.$Shape;
89146
+
89147
+ /**
89148
+ * Decodes a ClinicalNoteEncounter message from the specified reader or buffer, length delimited.
89149
+ * @param reader Reader or buffer to decode from
89150
+ * @returns {ClinicalNoteEncounter & ClinicalNoteEncounter.$Shape} ClinicalNoteEncounter
89151
+ * @throws {Error} If the payload is not a reader or valid buffer
89152
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
89153
+ */
89154
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): ClinicalNoteEncounter & ClinicalNoteEncounter.$Shape;
89155
+
89156
+ /**
89157
+ * Verifies a ClinicalNoteEncounter message.
89158
+ * @param message Plain object to verify
89159
+ * @returns `null` if valid, otherwise the reason why it is not
89160
+ */
89161
+ static verify(message: { [k: string]: any }): (string|null);
89162
+
89163
+ /**
89164
+ * Creates a ClinicalNoteEncounter message from a plain object. Also converts values to their respective internal types.
89165
+ * @param object Plain object
89166
+ * @returns ClinicalNoteEncounter
89167
+ */
89168
+ static fromObject(object: { [k: string]: any }): ClinicalNoteEncounter;
89169
+
89170
+ /**
89171
+ * Creates a plain object from a ClinicalNoteEncounter message. Also converts values to other types if specified.
89172
+ * @param message ClinicalNoteEncounter
89173
+ * @param [options] Conversion options
89174
+ * @returns Plain object
89175
+ */
89176
+ static toObject(message: ClinicalNoteEncounter, options?: $protobuf.IConversionOptions): { [k: string]: any };
89177
+
89178
+ /**
89179
+ * Converts this ClinicalNoteEncounter to JSON.
89180
+ * @returns JSON object
89181
+ */
89182
+ toJSON(): { [k: string]: any };
89183
+
89184
+ /**
89185
+ * Gets the type url for ClinicalNoteEncounter
89186
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
89187
+ * @returns The type url
89188
+ */
89189
+ static getTypeUrl(prefix?: string): string;
89190
+ }
89191
+
89192
+ export namespace ClinicalNoteEncounter {
89193
+
89194
+ /** Properties of a ClinicalNoteEncounter. */
89195
+ interface $Properties {
89196
+
89197
+ /** ClinicalNoteEncounter cptCodes */
89198
+ cptCodes?: (string[]|null);
89199
+
89200
+ /** ClinicalNoteEncounter encounterStatus */
89201
+ encounterStatus?: (string|null);
89202
+
89203
+ /** ClinicalNoteEncounter encounterStart */
89204
+ encounterStart?: (number|Long|null);
89205
+
89206
+ /** ClinicalNoteEncounter encounterEnd */
89207
+ encounterEnd?: (number|Long|null);
89208
+
89209
+ /** ClinicalNoteEncounter appointmentId */
89210
+ appointmentId?: (string|null);
89211
+
89212
+ /** Unknown fields preserved while decoding */
89213
+ $unknowns?: Uint8Array[];
89214
+ }
89215
+
89216
+ /** Shape of a ClinicalNoteEncounter. */
89217
+ type $Shape = ClinicalNoteEncounter.$Properties;
89218
+ }
89219
+
89220
+ /**
89221
+ * Properties of a GingerClinicalNotePayload.
89222
+ * @deprecated Use GingerClinicalNotePayload.$Properties instead.
89223
+ */
89224
+ export interface IGingerClinicalNotePayload extends GingerClinicalNotePayload.$Properties {
89225
+ }
89226
+
89227
+ /** Represents a GingerClinicalNotePayload. */
89228
+ export class GingerClinicalNotePayload {
89229
+
89230
+ /**
89231
+ * Constructs a new GingerClinicalNotePayload.
89232
+ * @param [properties] Properties to set
89233
+ */
89234
+ constructor(properties?: GingerClinicalNotePayload.$Properties);
89235
+
89236
+ /** Unknown fields preserved while decoding */
89237
+ $unknowns?: Uint8Array[];
89238
+
89239
+ /** GingerClinicalNotePayload noteId. */
89240
+ noteId: string;
89241
+
89242
+ /** GingerClinicalNotePayload hsUserId. */
89243
+ hsUserId: string;
89244
+
89245
+ /** GingerClinicalNotePayload noteType. */
89246
+ noteType: GingerClinicalNoteType;
89247
+
89248
+ /** GingerClinicalNotePayload patient. */
89249
+ patient?: (ClinicalNotePatient.$Properties|null);
89250
+
89251
+ /** GingerClinicalNotePayload practitioner. */
89252
+ practitioner?: (ClinicalNotePractitioner.$Properties|null);
89253
+
89254
+ /** GingerClinicalNotePayload organization. */
89255
+ organization?: (ClinicalNoteOrganization.$Properties|null);
89256
+
89257
+ /** GingerClinicalNotePayload encounter. */
89258
+ encounter?: (ClinicalNoteEncounter.$Properties|null);
89259
+
89260
+ /** GingerClinicalNotePayload content. */
89261
+ content: string;
89262
+
89263
+ /** GingerClinicalNotePayload icd10Codes. */
89264
+ icd10Codes: string[];
89265
+
89266
+ /** GingerClinicalNotePayload ds4pCodes. */
89267
+ ds4pCodes: string[];
89268
+
89269
+ /**
89270
+ * Creates a new GingerClinicalNotePayload instance using the specified properties.
89271
+ * @param [properties] Properties to set
89272
+ * @returns GingerClinicalNotePayload instance
89273
+ */
89274
+ static create(properties: GingerClinicalNotePayload.$Shape): GingerClinicalNotePayload & GingerClinicalNotePayload.$Shape;
89275
+ static create(properties?: GingerClinicalNotePayload.$Properties): GingerClinicalNotePayload;
89276
+
89277
+ /**
89278
+ * Encodes the specified GingerClinicalNotePayload message. Does not implicitly {@link GingerClinicalNotePayload.verify|verify} messages.
89279
+ * @param message GingerClinicalNotePayload message or plain object to encode
89280
+ * @param [writer] Writer to encode to
89281
+ * @returns Writer
89282
+ */
89283
+ static encode(message: GingerClinicalNotePayload.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
89284
+
89285
+ /**
89286
+ * Encodes the specified GingerClinicalNotePayload message, length delimited. Does not implicitly {@link GingerClinicalNotePayload.verify|verify} messages.
89287
+ * @param message GingerClinicalNotePayload message or plain object to encode
89288
+ * @param [writer] Writer to encode to
89289
+ * @returns Writer
89290
+ */
89291
+ static encodeDelimited(message: GingerClinicalNotePayload.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
89292
+
89293
+ /**
89294
+ * Decodes a GingerClinicalNotePayload message from the specified reader or buffer.
89295
+ * @param reader Reader or buffer to decode from
89296
+ * @param [length] Message length if known beforehand
89297
+ * @returns {GingerClinicalNotePayload & GingerClinicalNotePayload.$Shape} GingerClinicalNotePayload
89298
+ * @throws {Error} If the payload is not a reader or valid buffer
89299
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
89300
+ */
89301
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerClinicalNotePayload & GingerClinicalNotePayload.$Shape;
89302
+
89303
+ /**
89304
+ * Decodes a GingerClinicalNotePayload message from the specified reader or buffer, length delimited.
89305
+ * @param reader Reader or buffer to decode from
89306
+ * @returns {GingerClinicalNotePayload & GingerClinicalNotePayload.$Shape} GingerClinicalNotePayload
89307
+ * @throws {Error} If the payload is not a reader or valid buffer
89308
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
89309
+ */
89310
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerClinicalNotePayload & GingerClinicalNotePayload.$Shape;
89311
+
89312
+ /**
89313
+ * Verifies a GingerClinicalNotePayload message.
89314
+ * @param message Plain object to verify
89315
+ * @returns `null` if valid, otherwise the reason why it is not
89316
+ */
89317
+ static verify(message: { [k: string]: any }): (string|null);
89318
+
89319
+ /**
89320
+ * Creates a GingerClinicalNotePayload message from a plain object. Also converts values to their respective internal types.
89321
+ * @param object Plain object
89322
+ * @returns GingerClinicalNotePayload
89323
+ */
89324
+ static fromObject(object: { [k: string]: any }): GingerClinicalNotePayload;
89325
+
89326
+ /**
89327
+ * Creates a plain object from a GingerClinicalNotePayload message. Also converts values to other types if specified.
89328
+ * @param message GingerClinicalNotePayload
89329
+ * @param [options] Conversion options
89330
+ * @returns Plain object
89331
+ */
89332
+ static toObject(message: GingerClinicalNotePayload, options?: $protobuf.IConversionOptions): { [k: string]: any };
89333
+
89334
+ /**
89335
+ * Converts this GingerClinicalNotePayload to JSON.
89336
+ * @returns JSON object
89337
+ */
89338
+ toJSON(): { [k: string]: any };
89339
+
89340
+ /**
89341
+ * Gets the type url for GingerClinicalNotePayload
89342
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
89343
+ * @returns The type url
89344
+ */
89345
+ static getTypeUrl(prefix?: string): string;
89346
+ }
89347
+
89348
+ export namespace GingerClinicalNotePayload {
89349
+
89350
+ /** Properties of a GingerClinicalNotePayload. */
89351
+ interface $Properties {
89352
+
89353
+ /** GingerClinicalNotePayload noteId */
89354
+ noteId?: (string|null);
89355
+
89356
+ /** GingerClinicalNotePayload hsUserId */
89357
+ hsUserId?: (string|null);
89358
+
89359
+ /** GingerClinicalNotePayload noteType */
89360
+ noteType?: (GingerClinicalNoteType|null);
89361
+
89362
+ /** GingerClinicalNotePayload patient */
89363
+ patient?: (ClinicalNotePatient.$Properties|null);
89364
+
89365
+ /** GingerClinicalNotePayload practitioner */
89366
+ practitioner?: (ClinicalNotePractitioner.$Properties|null);
89367
+
89368
+ /** GingerClinicalNotePayload organization */
89369
+ organization?: (ClinicalNoteOrganization.$Properties|null);
89370
+
89371
+ /** GingerClinicalNotePayload encounter */
89372
+ encounter?: (ClinicalNoteEncounter.$Properties|null);
89373
+
89374
+ /** GingerClinicalNotePayload content */
89375
+ content?: (string|null);
89376
+
89377
+ /** GingerClinicalNotePayload icd10Codes */
89378
+ icd10Codes?: (string[]|null);
89379
+
89380
+ /** GingerClinicalNotePayload ds4pCodes */
89381
+ ds4pCodes?: (string[]|null);
89382
+
89383
+ /** Unknown fields preserved while decoding */
89384
+ $unknowns?: Uint8Array[];
89385
+ }
89386
+
89387
+ /** Shape of a GingerClinicalNotePayload. */
89388
+ type $Shape = GingerClinicalNotePayload.$Properties;
89389
+ }
89390
+
88383
89391
  /**
88384
89392
  * Properties of an InteractiveJournalingParticipant.
88385
89393
  * @deprecated Use InteractiveJournalingParticipant.$Properties instead.