@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1758310056 → 2.0.0-alpha.0-rc.1758316655

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.
@@ -514,6 +514,79 @@ export type PatientFieldsFragment = {
514
514
  suffix: Array<string | null> | null;
515
515
  } | null> | null;
516
516
  };
517
+ export type CareTeamParticipantFieldsFragment = {
518
+ role: Array<{
519
+ id: string | null;
520
+ text: string | null;
521
+ coding: Array<{
522
+ id: string | null;
523
+ system: any | null;
524
+ code: any | null;
525
+ display: string | null;
526
+ } | null> | null;
527
+ } | null> | null;
528
+ member: {
529
+ id: string | null;
530
+ reference: string | null;
531
+ type: any | null;
532
+ resource: {
533
+ __typename: 'CareTeam';
534
+ } | {
535
+ __typename: 'Organization';
536
+ id: string;
537
+ alias: Array<string | null> | null;
538
+ organizationName: string | null;
539
+ meta: {
540
+ versionId: string | null;
541
+ lastUpdated: any | null;
542
+ source: any | null;
543
+ security: Array<{
544
+ id: string | null;
545
+ system: any | null;
546
+ code: any | null;
547
+ display: string | null;
548
+ } | null> | null;
549
+ tag: Array<{
550
+ id: string | null;
551
+ system: any | null;
552
+ code: any | null;
553
+ display: string | null;
554
+ } | null> | null;
555
+ } | null;
556
+ } | {
557
+ __typename: 'Patient';
558
+ } | {
559
+ __typename: 'Practitioner';
560
+ id: string;
561
+ name: Array<{
562
+ text: string | null;
563
+ family: string | null;
564
+ given: Array<string | null> | null;
565
+ prefix: Array<string | null> | null;
566
+ suffix: Array<string | null> | null;
567
+ } | null> | null;
568
+ identifier: Array<{
569
+ id: string | null;
570
+ system: any | null;
571
+ value: string | null;
572
+ type: {
573
+ id: string | null;
574
+ text: string | null;
575
+ coding: Array<{
576
+ id: string | null;
577
+ system: any | null;
578
+ code: any | null;
579
+ display: string | null;
580
+ } | null> | null;
581
+ } | null;
582
+ } | null> | null;
583
+ } | {
584
+ __typename: 'PractitionerRole';
585
+ } | {
586
+ __typename: 'RelatedPerson';
587
+ } | null;
588
+ } | null;
589
+ };
517
590
  export type ImmunizationReactionFieldsFragment = {
518
591
  date: any | null;
519
592
  reported: boolean | null;
@@ -780,6 +853,7 @@ export type ImmunizationReactionFieldsFragment = {
780
853
  suffix: Array<string | null> | null;
781
854
  } | null> | null;
782
855
  } | {
856
+ id: string;
783
857
  name: Array<{
784
858
  text: string | null;
785
859
  family: string | null;
@@ -1194,6 +1268,7 @@ export type ObservationFieldsFragment = {
1194
1268
  suffix: Array<string | null> | null;
1195
1269
  } | null> | null;
1196
1270
  } | {
1271
+ id: string;
1197
1272
  name: Array<{
1198
1273
  text: string | null;
1199
1274
  family: string | null;
@@ -1627,46 +1702,6 @@ export type ObservationComponentValueFieldsFragment = {
1627
1702
  end: any | null;
1628
1703
  } | null;
1629
1704
  };
1630
- export type ObservationPerformerFields_CareTeam_Fragment = {};
1631
- export type ObservationPerformerFields_Organization_Fragment = {
1632
- organizationName: string | null;
1633
- };
1634
- export type ObservationPerformerFields_Patient_Fragment = {
1635
- name: Array<{
1636
- text: string | null;
1637
- family: string | null;
1638
- given: Array<string | null> | null;
1639
- prefix: Array<string | null> | null;
1640
- suffix: Array<string | null> | null;
1641
- } | null> | null;
1642
- };
1643
- export type ObservationPerformerFields_Practitioner_Fragment = {
1644
- name: Array<{
1645
- text: string | null;
1646
- family: string | null;
1647
- given: Array<string | null> | null;
1648
- prefix: Array<string | null> | null;
1649
- suffix: Array<string | null> | null;
1650
- } | null> | null;
1651
- identifier: Array<{
1652
- id: string | null;
1653
- system: any | null;
1654
- value: string | null;
1655
- type: {
1656
- id: string | null;
1657
- text: string | null;
1658
- coding: Array<{
1659
- id: string | null;
1660
- system: any | null;
1661
- code: any | null;
1662
- display: string | null;
1663
- } | null> | null;
1664
- } | null;
1665
- } | null> | null;
1666
- };
1667
- export type ObservationPerformerFields_PractitionerRole_Fragment = {};
1668
- export type ObservationPerformerFields_RelatedPerson_Fragment = {};
1669
- export type ObservationPerformerFieldsFragment = ObservationPerformerFields_CareTeam_Fragment | ObservationPerformerFields_Organization_Fragment | ObservationPerformerFields_Patient_Fragment | ObservationPerformerFields_Practitioner_Fragment | ObservationPerformerFields_PractitionerRole_Fragment | ObservationPerformerFields_RelatedPerson_Fragment;
1670
1705
  export type SpecimenResourceFieldsFragment = {
1671
1706
  identifier: Array<{
1672
1707
  id: string | null;
@@ -1716,7 +1751,6 @@ export type ImmunizationProtocolAppliedFieldsFragment = {
1716
1751
  export type OrganizationFieldsFragment = {
1717
1752
  resourceType: string | null;
1718
1753
  name: string | null;
1719
- active: boolean | null;
1720
1754
  identifier: Array<{
1721
1755
  id: string | null;
1722
1756
  system: any | null;
@@ -1764,10 +1798,8 @@ export type OrganizationFieldsFragment = {
1764
1798
  } | null;
1765
1799
  } | null> | null;
1766
1800
  telecom: Array<{
1767
- id: string | null;
1768
1801
  system: any | null;
1769
1802
  value: string | null;
1770
- use: any | null;
1771
1803
  rank: number | null;
1772
1804
  } | null> | null;
1773
1805
  address: Array<{
@@ -1781,16 +1813,6 @@ export type OrganizationFieldsFragment = {
1781
1813
  postalCode: string | null;
1782
1814
  country: string | null;
1783
1815
  } | null> | null;
1784
- type: Array<{
1785
- id: string | null;
1786
- text: string | null;
1787
- coding: Array<{
1788
- id: string | null;
1789
- system: any | null;
1790
- code: any | null;
1791
- display: string | null;
1792
- } | null> | null;
1793
- } | null> | null;
1794
1816
  };
1795
1817
  export type EndpointFieldsFragment = {
1796
1818
  name: string | null;
@@ -1818,13 +1840,6 @@ export type EndpointFieldsFragment = {
1818
1840
  display: string | null;
1819
1841
  } | null;
1820
1842
  };
1821
- export type ContactPointFieldsFragment = {
1822
- id: string | null;
1823
- system: any | null;
1824
- value: string | null;
1825
- use: any | null;
1826
- rank: number | null;
1827
- };
1828
1843
  export type AddressFieldsFragment = {
1829
1844
  use: any | null;
1830
1845
  type: any | null;
@@ -1870,7 +1885,6 @@ export type LocationFieldsFragment = {
1870
1885
  name: string | null;
1871
1886
  alias: Array<string | null> | null;
1872
1887
  description: string | null;
1873
- status: any | null;
1874
1888
  identifier: Array<{
1875
1889
  id: string | null;
1876
1890
  system: any | null;
@@ -1908,105 +1922,6 @@ export type LocationFieldsFragment = {
1908
1922
  use: any | null;
1909
1923
  rank: number | null;
1910
1924
  } | null> | null;
1911
- managingOrganization: {
1912
- id: string | null;
1913
- reference: string | null;
1914
- display: string | null;
1915
- identifier: {
1916
- id: string | null;
1917
- system: any | null;
1918
- value: string | null;
1919
- type: {
1920
- id: string | null;
1921
- text: string | null;
1922
- coding: Array<{
1923
- id: string | null;
1924
- system: any | null;
1925
- code: any | null;
1926
- display: string | null;
1927
- } | null> | null;
1928
- } | null;
1929
- } | null;
1930
- resource: {
1931
- resourceType: string | null;
1932
- name: string | null;
1933
- active: boolean | null;
1934
- identifier: Array<{
1935
- id: string | null;
1936
- system: any | null;
1937
- value: string | null;
1938
- type: {
1939
- id: string | null;
1940
- text: string | null;
1941
- coding: Array<{
1942
- id: string | null;
1943
- system: any | null;
1944
- code: any | null;
1945
- display: string | null;
1946
- } | null> | null;
1947
- } | null;
1948
- } | null> | null;
1949
- endpoint: Array<{
1950
- id: string | null;
1951
- reference: string | null;
1952
- type: any | null;
1953
- resource: {
1954
- name: string | null;
1955
- status: any | null;
1956
- address: any | null;
1957
- identifier: Array<{
1958
- id: string | null;
1959
- system: any | null;
1960
- value: string | null;
1961
- type: {
1962
- id: string | null;
1963
- text: string | null;
1964
- coding: Array<{
1965
- id: string | null;
1966
- system: any | null;
1967
- code: any | null;
1968
- display: string | null;
1969
- } | null> | null;
1970
- } | null;
1971
- } | null> | null;
1972
- connectionType: {
1973
- id: string | null;
1974
- system: any | null;
1975
- code: any | null;
1976
- display: string | null;
1977
- } | null;
1978
- } | null;
1979
- } | null> | null;
1980
- telecom: Array<{
1981
- id: string | null;
1982
- system: any | null;
1983
- value: string | null;
1984
- use: any | null;
1985
- rank: number | null;
1986
- } | null> | null;
1987
- address: Array<{
1988
- use: any | null;
1989
- type: any | null;
1990
- text: string | null;
1991
- line: Array<string | null> | null;
1992
- city: string | null;
1993
- district: string | null;
1994
- state: string | null;
1995
- postalCode: string | null;
1996
- country: string | null;
1997
- } | null> | null;
1998
- type: Array<{
1999
- id: string | null;
2000
- text: string | null;
2001
- coding: Array<{
2002
- id: string | null;
2003
- system: any | null;
2004
- code: any | null;
2005
- display: string | null;
2006
- } | null> | null;
2007
- } | null> | null;
2008
- } | null;
2009
- } | null;
2010
1925
  type: Array<{
2011
1926
  id: string | null;
2012
1927
  text: string | null;
@@ -2022,6 +1937,13 @@ export type PositionFieldsFragment = {
2022
1937
  latitude: number | null;
2023
1938
  longitude: number | null;
2024
1939
  };
1940
+ export type ContactPointFieldsFragment = {
1941
+ id: string | null;
1942
+ system: any | null;
1943
+ value: string | null;
1944
+ use: any | null;
1945
+ rank: number | null;
1946
+ };
2025
1947
  export type ProcedureRecorderFields_Patient_Fragment = {
2026
1948
  name: Array<{
2027
1949
  text: string | null;
@@ -4812,6 +4734,144 @@ export type GetCarePlansQueryResults = {
4812
4734
  } | null> | null;
4813
4735
  } | null;
4814
4736
  };
4737
+ export type GetCareTeamsQueryVariables = Types.Exact<{
4738
+ page: Types.InputMaybe<Types.Scalars['Int']['input']>;
4739
+ pageSize: Types.InputMaybe<Types.Scalars['Int']['input']>;
4740
+ code: Types.InputMaybe<Types.SearchToken>;
4741
+ id: Types.InputMaybe<Types.SearchString>;
4742
+ lastUpdated: Types.InputMaybe<Types.SearchDate>;
4743
+ sort: Types.InputMaybe<Array<Types.InputMaybe<Types.Scalars['String']['input']>> | Types.InputMaybe<Types.Scalars['String']['input']>>;
4744
+ status: Types.InputMaybe<Types.SearchToken>;
4745
+ total: Types.InputMaybe<Types.TotalType>;
4746
+ }>;
4747
+ export type GetCareTeamsQueryResults = {
4748
+ careTeams: {
4749
+ id: string | null;
4750
+ entry: Array<{
4751
+ resource: {
4752
+ resourceType: string | null;
4753
+ id: string;
4754
+ status: any | null;
4755
+ name: string | null;
4756
+ identifier: Array<{
4757
+ id: string | null;
4758
+ system: any | null;
4759
+ value: string | null;
4760
+ type: {
4761
+ id: string | null;
4762
+ text: string | null;
4763
+ coding: Array<{
4764
+ id: string | null;
4765
+ system: any | null;
4766
+ code: any | null;
4767
+ display: string | null;
4768
+ } | null> | null;
4769
+ } | null;
4770
+ } | null> | null;
4771
+ meta: {
4772
+ versionId: string | null;
4773
+ lastUpdated: any | null;
4774
+ source: any | null;
4775
+ security: Array<{
4776
+ id: string | null;
4777
+ system: any | null;
4778
+ code: any | null;
4779
+ display: string | null;
4780
+ } | null> | null;
4781
+ tag: Array<{
4782
+ id: string | null;
4783
+ system: any | null;
4784
+ code: any | null;
4785
+ display: string | null;
4786
+ } | null> | null;
4787
+ } | null;
4788
+ category: Array<{
4789
+ id: string | null;
4790
+ text: string | null;
4791
+ coding: Array<{
4792
+ id: string | null;
4793
+ system: any | null;
4794
+ code: any | null;
4795
+ display: string | null;
4796
+ } | null> | null;
4797
+ } | null> | null;
4798
+ participant: Array<{
4799
+ role: Array<{
4800
+ id: string | null;
4801
+ text: string | null;
4802
+ coding: Array<{
4803
+ id: string | null;
4804
+ system: any | null;
4805
+ code: any | null;
4806
+ display: string | null;
4807
+ } | null> | null;
4808
+ } | null> | null;
4809
+ member: {
4810
+ id: string | null;
4811
+ reference: string | null;
4812
+ type: any | null;
4813
+ resource: {
4814
+ __typename: 'CareTeam';
4815
+ } | {
4816
+ __typename: 'Organization';
4817
+ id: string;
4818
+ alias: Array<string | null> | null;
4819
+ organizationName: string | null;
4820
+ meta: {
4821
+ versionId: string | null;
4822
+ lastUpdated: any | null;
4823
+ source: any | null;
4824
+ security: Array<{
4825
+ id: string | null;
4826
+ system: any | null;
4827
+ code: any | null;
4828
+ display: string | null;
4829
+ } | null> | null;
4830
+ tag: Array<{
4831
+ id: string | null;
4832
+ system: any | null;
4833
+ code: any | null;
4834
+ display: string | null;
4835
+ } | null> | null;
4836
+ } | null;
4837
+ } | {
4838
+ __typename: 'Patient';
4839
+ } | {
4840
+ __typename: 'Practitioner';
4841
+ id: string;
4842
+ name: Array<{
4843
+ text: string | null;
4844
+ family: string | null;
4845
+ given: Array<string | null> | null;
4846
+ prefix: Array<string | null> | null;
4847
+ suffix: Array<string | null> | null;
4848
+ } | null> | null;
4849
+ identifier: Array<{
4850
+ id: string | null;
4851
+ system: any | null;
4852
+ value: string | null;
4853
+ type: {
4854
+ id: string | null;
4855
+ text: string | null;
4856
+ coding: Array<{
4857
+ id: string | null;
4858
+ system: any | null;
4859
+ code: any | null;
4860
+ display: string | null;
4861
+ } | null> | null;
4862
+ } | null;
4863
+ } | null> | null;
4864
+ } | {
4865
+ __typename: 'PractitionerRole';
4866
+ } | {
4867
+ __typename: 'RelatedPerson';
4868
+ } | null;
4869
+ } | null;
4870
+ } | null> | null;
4871
+ } | null;
4872
+ } | null> | null;
4873
+ } | null;
4874
+ };
4815
4875
  export type GetConditionGroupsQueryVariables = Types.Exact<{
4816
4876
  request: Types.InputMaybe<Types.ConditionGroupQueryRequest>;
4817
4877
  }>;
@@ -5550,6 +5610,7 @@ export type GetImmunizationsQueryResults = {
5550
5610
  suffix: Array<string | null> | null;
5551
5611
  } | null> | null;
5552
5612
  } | {
5613
+ id: string;
5553
5614
  name: Array<{
5554
5615
  text: string | null;
5555
5616
  family: string | null;
@@ -5716,7 +5777,6 @@ export type GetImmunizationsQueryResults = {
5716
5777
  resource: {
5717
5778
  resourceType: string | null;
5718
5779
  name: string | null;
5719
- active: boolean | null;
5720
5780
  identifier: Array<{
5721
5781
  id: string | null;
5722
5782
  system: any | null;
@@ -5764,10 +5824,8 @@ export type GetImmunizationsQueryResults = {
5764
5824
  } | null;
5765
5825
  } | null> | null;
5766
5826
  telecom: Array<{
5767
- id: string | null;
5768
5827
  system: any | null;
5769
5828
  value: string | null;
5770
- use: any | null;
5771
5829
  rank: number | null;
5772
5830
  } | null> | null;
5773
5831
  address: Array<{
@@ -5781,16 +5839,6 @@ export type GetImmunizationsQueryResults = {
5781
5839
  postalCode: string | null;
5782
5840
  country: string | null;
5783
5841
  } | null> | null;
5784
- type: Array<{
5785
- id: string | null;
5786
- text: string | null;
5787
- coding: Array<{
5788
- id: string | null;
5789
- system: any | null;
5790
- code: any | null;
5791
- display: string | null;
5792
- } | null> | null;
5793
- } | null> | null;
5794
5842
  } | null;
5795
5843
  } | null;
5796
5844
  site: {
@@ -5855,7 +5903,6 @@ export type GetImmunizationsQueryResults = {
5855
5903
  name: string | null;
5856
5904
  alias: Array<string | null> | null;
5857
5905
  description: string | null;
5858
- status: any | null;
5859
5906
  identifier: Array<{
5860
5907
  id: string | null;
5861
5908
  system: any | null;
@@ -5893,105 +5940,6 @@ export type GetImmunizationsQueryResults = {
5893
5940
  use: any | null;
5894
5941
  rank: number | null;
5895
5942
  } | null> | null;
5896
- managingOrganization: {
5897
- id: string | null;
5898
- reference: string | null;
5899
- display: string | null;
5900
- identifier: {
5901
- id: string | null;
5902
- system: any | null;
5903
- value: string | null;
5904
- type: {
5905
- id: string | null;
5906
- text: string | null;
5907
- coding: Array<{
5908
- id: string | null;
5909
- system: any | null;
5910
- code: any | null;
5911
- display: string | null;
5912
- } | null> | null;
5913
- } | null;
5914
- } | null;
5915
- resource: {
5916
- resourceType: string | null;
5917
- name: string | null;
5918
- active: boolean | null;
5919
- identifier: Array<{
5920
- id: string | null;
5921
- system: any | null;
5922
- value: string | null;
5923
- type: {
5924
- id: string | null;
5925
- text: string | null;
5926
- coding: Array<{
5927
- id: string | null;
5928
- system: any | null;
5929
- code: any | null;
5930
- display: string | null;
5931
- } | null> | null;
5932
- } | null;
5933
- } | null> | null;
5934
- endpoint: Array<{
5935
- id: string | null;
5936
- reference: string | null;
5937
- type: any | null;
5938
- resource: {
5939
- name: string | null;
5940
- status: any | null;
5941
- address: any | null;
5942
- identifier: Array<{
5943
- id: string | null;
5944
- system: any | null;
5945
- value: string | null;
5946
- type: {
5947
- id: string | null;
5948
- text: string | null;
5949
- coding: Array<{
5950
- id: string | null;
5951
- system: any | null;
5952
- code: any | null;
5953
- display: string | null;
5954
- } | null> | null;
5955
- } | null;
5956
- } | null> | null;
5957
- connectionType: {
5958
- id: string | null;
5959
- system: any | null;
5960
- code: any | null;
5961
- display: string | null;
5962
- } | null;
5963
- } | null;
5964
- } | null> | null;
5965
- telecom: Array<{
5966
- id: string | null;
5967
- system: any | null;
5968
- value: string | null;
5969
- use: any | null;
5970
- rank: number | null;
5971
- } | null> | null;
5972
- address: Array<{
5973
- use: any | null;
5974
- type: any | null;
5975
- text: string | null;
5976
- line: Array<string | null> | null;
5977
- city: string | null;
5978
- district: string | null;
5979
- state: string | null;
5980
- postalCode: string | null;
5981
- country: string | null;
5982
- } | null> | null;
5983
- type: Array<{
5984
- id: string | null;
5985
- text: string | null;
5986
- coding: Array<{
5987
- id: string | null;
5988
- system: any | null;
5989
- code: any | null;
5990
- display: string | null;
5991
- } | null> | null;
5992
- } | null> | null;
5993
- } | null;
5994
- } | null;
5995
5943
  type: Array<{
5996
5944
  id: string | null;
5997
5945
  text: string | null;
@@ -6107,7 +6055,6 @@ export type GetProceduresQueryResults = {
6107
6055
  name: string | null;
6108
6056
  alias: Array<string | null> | null;
6109
6057
  description: string | null;
6110
- status: any | null;
6111
6058
  identifier: Array<{
6112
6059
  id: string | null;
6113
6060
  system: any | null;
@@ -6145,105 +6092,6 @@ export type GetProceduresQueryResults = {
6145
6092
  use: any | null;
6146
6093
  rank: number | null;
6147
6094
  } | null> | null;
6148
- managingOrganization: {
6149
- id: string | null;
6150
- reference: string | null;
6151
- display: string | null;
6152
- identifier: {
6153
- id: string | null;
6154
- system: any | null;
6155
- value: string | null;
6156
- type: {
6157
- id: string | null;
6158
- text: string | null;
6159
- coding: Array<{
6160
- id: string | null;
6161
- system: any | null;
6162
- code: any | null;
6163
- display: string | null;
6164
- } | null> | null;
6165
- } | null;
6166
- } | null;
6167
- resource: {
6168
- resourceType: string | null;
6169
- name: string | null;
6170
- active: boolean | null;
6171
- identifier: Array<{
6172
- id: string | null;
6173
- system: any | null;
6174
- value: string | null;
6175
- type: {
6176
- id: string | null;
6177
- text: string | null;
6178
- coding: Array<{
6179
- id: string | null;
6180
- system: any | null;
6181
- code: any | null;
6182
- display: string | null;
6183
- } | null> | null;
6184
- } | null;
6185
- } | null> | null;
6186
- endpoint: Array<{
6187
- id: string | null;
6188
- reference: string | null;
6189
- type: any | null;
6190
- resource: {
6191
- name: string | null;
6192
- status: any | null;
6193
- address: any | null;
6194
- identifier: Array<{
6195
- id: string | null;
6196
- system: any | null;
6197
- value: string | null;
6198
- type: {
6199
- id: string | null;
6200
- text: string | null;
6201
- coding: Array<{
6202
- id: string | null;
6203
- system: any | null;
6204
- code: any | null;
6205
- display: string | null;
6206
- } | null> | null;
6207
- } | null;
6208
- } | null> | null;
6209
- connectionType: {
6210
- id: string | null;
6211
- system: any | null;
6212
- code: any | null;
6213
- display: string | null;
6214
- } | null;
6215
- } | null;
6216
- } | null> | null;
6217
- telecom: Array<{
6218
- id: string | null;
6219
- system: any | null;
6220
- value: string | null;
6221
- use: any | null;
6222
- rank: number | null;
6223
- } | null> | null;
6224
- address: Array<{
6225
- use: any | null;
6226
- type: any | null;
6227
- text: string | null;
6228
- line: Array<string | null> | null;
6229
- city: string | null;
6230
- district: string | null;
6231
- state: string | null;
6232
- postalCode: string | null;
6233
- country: string | null;
6234
- } | null> | null;
6235
- type: Array<{
6236
- id: string | null;
6237
- text: string | null;
6238
- coding: Array<{
6239
- id: string | null;
6240
- system: any | null;
6241
- code: any | null;
6242
- display: string | null;
6243
- } | null> | null;
6244
- } | null> | null;
6245
- } | null;
6246
- } | null;
6247
6095
  type: Array<{
6248
6096
  id: string | null;
6249
6097
  text: string | null;
@@ -6975,6 +6823,7 @@ export type GetVitalSignsQueryResults = {
6975
6823
  suffix: Array<string | null> | null;
6976
6824
  } | null> | null;
6977
6825
  } | {
6826
+ id: string;
6978
6827
  name: Array<{
6979
6828
  text: string | null;
6980
6829
  family: string | null;