@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1761082808 → 2.0.0-alpha.0-rc.1761162543

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 (36) hide show
  1. package/dist/__version__.d.ts +1 -1
  2. package/dist/__version__.js +1 -1
  3. package/dist/api/base/health-data/health-manager.d.ts +22 -22
  4. package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +25 -26
  5. package/dist/api/graphql-api/healthdata/graphql-health-manager.js +190 -117
  6. package/dist/api/graphql-api/healthdata/health-data-response-factory.d.ts +3 -2
  7. package/dist/graphql/operations/index.d.ts +2 -2
  8. package/dist/graphql/operations/index.js +4 -6
  9. package/dist/graphql/operations/types.d.ts +6 -0
  10. package/dist/graphql/schema.d.ts +22 -8
  11. package/dist/models/health-data/allergy-intolerance-group.d.ts +9 -1
  12. package/dist/models/health-data/allergy-intolerance.d.ts +9 -1
  13. package/dist/models/health-data/care-plan-group.d.ts +2 -2
  14. package/dist/models/health-data/care-plan.d.ts +2 -2
  15. package/dist/models/health-data/care-team.d.ts +9 -1
  16. package/dist/models/health-data/condition-group.d.ts +9 -1
  17. package/dist/models/health-data/condition.d.ts +9 -1
  18. package/dist/models/health-data/diagnostic-report-lab-group.d.ts +9 -1
  19. package/dist/models/health-data/diagnostic-report.d.ts +9 -1
  20. package/dist/models/health-data/encounter-group.d.ts +9 -1
  21. package/dist/models/health-data/encounter.d.ts +9 -1
  22. package/dist/models/health-data/immunization-group.d.ts +9 -1
  23. package/dist/models/health-data/immunization.d.ts +9 -1
  24. package/dist/models/health-data/index.d.ts +21 -21
  25. package/dist/models/health-data/lab-bundle.d.ts +9 -1
  26. package/dist/models/health-data/lab-group.d.ts +9 -1
  27. package/dist/models/health-data/medication-dispense.d.ts +9 -1
  28. package/dist/models/health-data/medication-group.d.ts +9 -1
  29. package/dist/models/health-data/medication-request.d.ts +9 -1
  30. package/dist/models/health-data/medication-statement.d.ts +9 -1
  31. package/dist/models/health-data/procedure-group.d.ts +9 -1
  32. package/dist/models/health-data/procedure.d.ts +9 -1
  33. package/dist/models/health-data/vital-sign-bundle.d.ts +9 -1
  34. package/dist/models/health-data/vital-sign-group.d.ts +9 -1
  35. package/dist/models/identity/sdk-configuration-result.d.ts +1 -1
  36. package/package.json +1 -1
@@ -3338,13 +3338,12 @@ export const GetProfileDocument = `
3338
3338
  gender
3339
3339
  birthDate
3340
3340
  name {
3341
- family
3342
- given
3341
+ ...HumanNameFields
3343
3342
  }
3344
3343
  language
3345
3344
  }
3346
3345
  }
3347
- `;
3346
+ ${HumanNameFieldsFragmentDoc}`;
3348
3347
  export const SearchConsentDocument = `
3349
3348
  query searchConsent($category: SearchToken) {
3350
3349
  consents(category: $category) {
@@ -3393,13 +3392,12 @@ export const UpdateUserProfileDocument = `
3393
3392
  gender
3394
3393
  birthDate
3395
3394
  name {
3396
- family
3397
- given
3395
+ ...HumanNameFields
3398
3396
  }
3399
3397
  language
3400
3398
  }
3401
3399
  }
3402
- `;
3400
+ ${HumanNameFieldsFragmentDoc}`;
3403
3401
  export const VerificationStatusDocument = `
3404
3402
  query VerificationStatus {
3405
3403
  verificationStatus {
@@ -19391,8 +19391,11 @@ export type GetProfileQueryResults = {
19391
19391
  use: any | null;
19392
19392
  } | null> | null;
19393
19393
  name: Array<{
19394
+ text: string | null;
19394
19395
  family: string | null;
19395
19396
  given: Array<string | null> | null;
19397
+ prefix: Array<string | null> | null;
19398
+ suffix: Array<string | null> | null;
19396
19399
  } | null> | null;
19397
19400
  } | null;
19398
19401
  };
@@ -19475,8 +19478,11 @@ export type UpdateUserProfileMutationResults = {
19475
19478
  use: any | null;
19476
19479
  } | null> | null;
19477
19480
  name: Array<{
19481
+ text: string | null;
19478
19482
  family: string | null;
19479
19483
  given: Array<string | null> | null;
19484
+ prefix: Array<string | null> | null;
19485
+ suffix: Array<string | null> | null;
19480
19486
  } | null> | null;
19481
19487
  } | null;
19482
19488
  };
@@ -18704,6 +18704,11 @@ export type CoverageSubscriberReference = {
18704
18704
  resource?: Maybe<CoverageSubscriber>;
18705
18705
  type?: Maybe<Scalars['URI']['output']>;
18706
18706
  };
18707
+ export type CreateHealthLinkInput = {
18708
+ label?: InputMaybe<Scalars['String']['input']>;
18709
+ resources?: InputMaybe<Array<ResourceInput>>;
18710
+ securityConfig: SecurityConfigInput;
18711
+ };
18707
18712
  /** Defines the connection statuses */
18708
18713
  export type DataConnectionStatus = 'ACCESS_ENDED' | 'CONNECTED' | 'DELETED' | 'DISCONNECTED' | 'ERROR' | 'EXPIRED';
18709
18714
  /** Defines the source type of connection */
@@ -31149,6 +31154,9 @@ export type GuidanceResponseSubjectReference = {
31149
31154
  resource?: Maybe<GuidanceResponseSubject>;
31150
31155
  type?: Maybe<Scalars['URI']['output']>;
31151
31156
  };
31157
+ export type HealthLinkFilter = {
31158
+ id?: InputMaybe<Array<Scalars['ID']['input']>>;
31159
+ };
31152
31160
  /** Unified search result type */
31153
31161
  export type HealthResourceSearchResult = {
31154
31162
  __typename?: 'HealthResourceSearchResult';
@@ -43482,6 +43490,7 @@ export type Mutation = {
43482
43490
  createConsent?: Maybe<Consent>;
43483
43491
  createDataExportDirectDownloadUrl?: Maybe<Scalars['String']['output']>;
43484
43492
  createGuestAccessToken: GuestAccessToken;
43493
+ createHealthLink: DocumentReference;
43485
43494
  createVerificationUrl: Scalars['String']['output'];
43486
43495
  /**
43487
43496
  * Initiates deletion of an AllergyIntolerance resource by its ID.
@@ -43717,6 +43726,9 @@ export type MutationCreateDataExportDirectDownloadUrlArgs = {
43717
43726
  export type MutationCreateGuestAccessTokenArgs = {
43718
43727
  clientKey: Scalars['String']['input'];
43719
43728
  };
43729
+ export type MutationCreateHealthLinkArgs = {
43730
+ input: CreateHealthLinkInput;
43731
+ };
43720
43732
  export type MutationCreateVerificationUrlArgs = {
43721
43733
  callbackURL?: InputMaybe<Scalars['String']['input']>;
43722
43734
  includeAttributeMatchingCheck?: InputMaybe<Scalars['Boolean']['input']>;
@@ -52151,6 +52163,7 @@ export type Query = {
52151
52163
  * If the element is present, it must have either a @value, an @id, or extensions
52152
52164
  */
52153
52165
  guidanceResponses?: Maybe<GuidanceResponseBundle>;
52166
+ healthLinks?: Maybe<Array<DocumentReference>>;
52154
52167
  /**
52155
52168
  * ImagingStudy
52156
52169
  * Representation of the content produced in a DICOM imaging study. A study
@@ -52450,7 +52463,6 @@ export type Query = {
52450
52463
  * If the element is present, it must have either a @value, an @id, or extensions
52451
52464
  */
52452
52465
  tasks?: Maybe<TaskBundle>;
52453
- temp?: Maybe<Temp>;
52454
52466
  userProfile?: Maybe<Person>;
52455
52467
  verificationStatus?: Maybe<VerificationResult>;
52456
52468
  /**
@@ -53637,6 +53649,9 @@ export type QueryGuidanceResponsesArgs = {
53637
53649
  request?: InputMaybe<SearchToken>;
53638
53650
  subject?: InputMaybe<SearchReference>;
53639
53651
  };
53652
+ export type QueryHealthLinksArgs = {
53653
+ input?: InputMaybe<HealthLinkFilter>;
53654
+ };
53640
53655
  export type QueryImagingStudiesArgs = {
53641
53656
  _count?: InputMaybe<Scalars['Int']['input']>;
53642
53657
  _debug?: InputMaybe<Scalars['Boolean']['input']>;
@@ -54645,9 +54660,6 @@ export type QueryTasksArgs = {
54645
54660
  status?: InputMaybe<SearchToken>;
54646
54661
  subject?: InputMaybe<SearchReference>;
54647
54662
  };
54648
- export type QueryTempArgs = {
54649
- id: Scalars['ID']['input'];
54650
- };
54651
54663
  export type QueryVisionPrescriptionsArgs = {
54652
54664
  _count?: InputMaybe<Scalars['Int']['input']>;
54653
54665
  _debug?: InputMaybe<Scalars['Boolean']['input']>;
@@ -58128,6 +58140,9 @@ export type ResourceGroup = {
58128
58140
  /** Array of Strings representing the source of the data */
58129
58141
  source?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
58130
58142
  };
58143
+ export type ResourceInput = {
58144
+ resourceType: Scalars['String']['input'];
58145
+ };
58131
58146
  export type Rest = {
58132
58147
  __typename?: 'Rest';
58133
58148
  endpoints: RestEndpoints;
@@ -59242,6 +59257,9 @@ export type Security = {
59242
59257
  id?: Maybe<Scalars['String']['output']>;
59243
59258
  system?: Maybe<Scalars['String']['output']>;
59244
59259
  };
59260
+ export type SecurityConfigInput = {
59261
+ passcode: Scalars['Int']['input'];
59262
+ };
59245
59263
  /**
59246
59264
  * ServiceRequest
59247
59265
  * A record of a request for service such as diagnostic investigations,
@@ -64929,10 +64947,6 @@ export type TelemetryConfig = {
64929
64947
  collectorUrl: Scalars['String']['output'];
64930
64948
  enabled?: Maybe<Scalars['Boolean']['output']>;
64931
64949
  };
64932
- export type Temp = {
64933
- __typename?: 'Temp';
64934
- id: Scalars['ID']['output'];
64935
- };
64936
64950
  /**
64937
64951
  * TerminologyCapabilities
64938
64952
  * A TerminologyCapabilities resource documents a set of capabilities (behaviors)
@@ -1,4 +1,4 @@
1
- import type { Coding, ResourceBundle } from "../common/index.js";
1
+ import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
2
2
  /**
3
3
  * Grouped allergy intolerance data with summary information.
4
4
  * Contains aggregated information about allergies organized by category or substance.
@@ -34,3 +34,11 @@ export type AllergyIntoleranceGroup = {
34
34
  * @excerpt Response containing grouped allergy intolerance data with paging...
35
35
  */
36
36
  export type AllergyIntoleranceGroupBundle = ResourceBundle<AllergyIntoleranceGroup>;
37
+ /**
38
+ * Response for grouped allergy intolerance data with paging information.
39
+ *
40
+ * @category Models
41
+ * @title AllergyIntoleranceGroupsResponse
42
+ * @excerpt Response for grouped allergy intolerance data with paging information
43
+ */
44
+ export type AllergyIntoleranceGroupsResponse = GroupedHealthDataResponse<AllergyIntoleranceGroup>;
@@ -1,4 +1,4 @@
1
- import type { Annotation, CodeableConcept, Meta, Narrative, Period, Reference } from "../common/index.js";
1
+ import type { Annotation, CodeableConcept, HealthDataResponse, Meta, Narrative, Period, Reference } from "../common/index.js";
2
2
  import { AllergyIntoleranceReaction } from "./allergy-intolerance-reaction.js";
3
3
  /**
4
4
  * Represents an allergy or intolerance to a substance.
@@ -44,3 +44,11 @@ export type AllergyIntolerance = {
44
44
  /** Allergy | Intolerance - Underlying mechanism (if known) */
45
45
  type: string | null;
46
46
  };
47
+ /**
48
+ * Response for allergy intolerance search results with paging info.
49
+ *
50
+ * @category Models
51
+ * @title AllergyIntoleranceResponse
52
+ * @excerpt Response for allergy intolerance search results with paging info.
53
+ */
54
+ export type AllergyIntoleranceResponse = HealthDataResponse<AllergyIntolerance>;
@@ -9,11 +9,11 @@ import type { Coding, GroupedHealthDataResponse, Period, ResourceBundle } from "
9
9
  */
10
10
  export type CarePlanGroupBundle = ResourceBundle<CarePlanGroup>;
11
11
  /**
12
- * SDK response for grouped care plan data with paging information.
12
+ * Response for grouped care plan data with paging information.
13
13
  *
14
14
  * @category Models
15
15
  * @title CarePlanGroupResponse
16
- * @excerpt SDK response for grouped care plan data with paging information
16
+ * @excerpt Response for grouped care plan data with paging information
17
17
  */
18
18
  export type CarePlanGroupsResponse = GroupedHealthDataResponse<CarePlanGroup>;
19
19
  /**
@@ -125,10 +125,10 @@ export type CarePlanDetail = {
125
125
  */
126
126
  export type CarePlanBundle = EntryBundle<CarePlan>;
127
127
  /**
128
- * SDK response for care plan search results w. paging info.
128
+ * Response for care plan search results with paging info.
129
129
  *
130
130
  * @category Models
131
131
  * @title CarePlanResponse
132
- * @excerpt SDK response for care plan search results with paging info.
132
+ * @excerpt Response for care plan search results with paging info.
133
133
  */
134
134
  export type CarePlanResponse = HealthDataResponse<CarePlan>;
@@ -1,4 +1,4 @@
1
- import { CodeableConcept, EntryBundle, Identifier, Meta, Organization, Practitioner, Reference, RelatedPerson } from "../common/index.js";
1
+ import { CodeableConcept, EntryBundle, HealthDataResponse, Identifier, Meta, Organization, Practitioner, Reference, RelatedPerson } from "../common/index.js";
2
2
  import { PractitionerRole } from "../common/practitioner-role.js";
3
3
  /**
4
4
  * A care team resource representing a set of people, organizations, and/or other care teams coordinating to deliver care.
@@ -50,4 +50,12 @@ type CareTeamParticipantMember = CareTeamParticipantMemberOrganization | Practit
50
50
  * @excerpt Bundle containing care team search results
51
51
  */
52
52
  export type CareTeamBundle = EntryBundle<CareTeam>;
53
+ /**
54
+ * Response for care team search results with paging info.
55
+ *
56
+ * @category Models
57
+ * @title CareTeamResponse
58
+ * @excerpt Response for care team search results with paging info.
59
+ */
60
+ export type CareTeamResponse = HealthDataResponse<CareTeam>;
53
61
  export {};
@@ -1,4 +1,4 @@
1
- import type { Coding, ResourceBundle } from "../common/index.js";
1
+ import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
2
2
  /**
3
3
  * Response containing grouped condition data with paging information.
4
4
  * Represents aggregated condition information organized by groups.
@@ -8,6 +8,14 @@ import type { Coding, ResourceBundle } from "../common/index.js";
8
8
  * @excerpt Response containing grouped condition data with paging information
9
9
  */
10
10
  export type ConditionGroupBundle = ResourceBundle<ConditionGroup>;
11
+ /**
12
+ * Response for grouped condition data with paging information.
13
+ *
14
+ * @category Models
15
+ * @title ConditionGroupsResponse
16
+ * @excerpt Response for grouped condition data with paging information
17
+ */
18
+ export type ConditionGroupsResponse = GroupedHealthDataResponse<ConditionGroup>;
11
19
  /**
12
20
  * Grouped condition data with summary information.
13
21
  * Contains aggregated information about conditions organized by category or type.
@@ -1,4 +1,4 @@
1
- import type { Annotation, CodeableConcept, EntryBundle, Extension, Identifier, Meta, Narrative, Patient, Period, Practitioner, Reference } from "../common/index.js";
1
+ import type { Annotation, CodeableConcept, EntryBundle, Extension, HealthDataResponse, Identifier, Meta, Narrative, Patient, Period, Practitioner, Reference } from "../common/index.js";
2
2
  import { Encounter } from "./index.js";
3
3
  /**
4
4
  * Represents a condition resource.
@@ -94,3 +94,11 @@ export type Condition = {
94
94
  * @excerpt Bundle of condition search results
95
95
  */
96
96
  export type ConditionBundle = EntryBundle<Condition>;
97
+ /**
98
+ * Response for condition search results with paging info.
99
+ *
100
+ * @category Models
101
+ * @title ConditionResponse
102
+ * @excerpt Response for condition search results with paging info.
103
+ */
104
+ export type ConditionResponse = HealthDataResponse<Condition>;
@@ -1,4 +1,4 @@
1
- import type { Coding, ResourceBundle } from "../common/index.js";
1
+ import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
2
2
  /**
3
3
  * Bundle containing diagnostic report lab group data with paging information.
4
4
  * Maps exactly to GraphQL GetDiagnosticReportLabGroupsQueryResults structure.
@@ -8,6 +8,14 @@ import type { Coding, ResourceBundle } from "../common/index.js";
8
8
  * @excerpt Bundle containing diagnostic report lab group data with...
9
9
  */
10
10
  export type DiagnosticReportLabGroupBundle = ResourceBundle<DiagnosticReportLabGroup>;
11
+ /**
12
+ * Response for grouped diagnostic report lab data with paging information.
13
+ *
14
+ * @category Models
15
+ * @title DiagnosticReportLabGroupsResponse
16
+ * @excerpt Response for grouped diagnostic report lab data with paging information
17
+ */
18
+ export type DiagnosticReportLabGroupsResponse = GroupedHealthDataResponse<DiagnosticReportLabGroup>;
11
19
  /**
12
20
  * Represents a diagnostic report lab group resource matching GraphQL structure.
13
21
  *
@@ -1,4 +1,4 @@
1
- import type { Attachment, CodeableConcept, EntryBundle, Identifier, Meta, Reference } from "../common/index.js";
1
+ import type { Attachment, CodeableConcept, EntryBundle, HealthDataResponse, Identifier, Meta, Reference } from "../common/index.js";
2
2
  /**
3
3
  * Represents a diagnostic report resource.
4
4
  * The findings and interpretation of diagnostic tests performed on patients, groups of patients,
@@ -72,3 +72,11 @@ export type DiagnosticReport = {
72
72
  * @excerpt Bundle of diagnostic report results.
73
73
  */
74
74
  export type DiagnosticReportBundle = EntryBundle<DiagnosticReport>;
75
+ /**
76
+ * Response for diagnostic report search results with paging info.
77
+ *
78
+ * @category Models
79
+ * @title DiagnosticReportResponse
80
+ * @excerpt Response for diagnostic report search results with paging info.
81
+ */
82
+ export type DiagnosticReportResponse = HealthDataResponse<DiagnosticReport>;
@@ -1,4 +1,4 @@
1
- import type { Coding, ResourceBundle } from "../common/index.js";
1
+ import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
2
2
  /**
3
3
  * Bundle containing encounter group data with paging information.
4
4
  * Maps exactly to GraphQL GetEncountersGroupQueryResults structure.
@@ -8,6 +8,14 @@ import type { Coding, ResourceBundle } from "../common/index.js";
8
8
  * @excerpt Bundle containing encounter group data with paging information
9
9
  */
10
10
  export type EncounterGroupBundle = ResourceBundle<EncounterGroup>;
11
+ /**
12
+ * Response for grouped encounter data with paging information.
13
+ *
14
+ * @category Models
15
+ * @title EncounterGroupsResponse
16
+ * @excerpt Response for grouped encounter data with paging information
17
+ */
18
+ export type EncounterGroupsResponse = GroupedHealthDataResponse<EncounterGroup>;
11
19
  /**
12
20
  * Represents an encounter group with aggregated data.
13
21
  * Maps exactly to GraphQL encounter group resource structure.
@@ -1,4 +1,4 @@
1
- import type { CodeableConcept, Coding, EntryBundle, Identifier, Location, Meta, Narrative, Organization, Patient, Period, Practitioner, PractitionerRole, Reference, RelatedPerson } from "../common/index.js";
1
+ import type { CodeableConcept, Coding, EntryBundle, HealthDataResponse, Identifier, Location, Meta, Narrative, Organization, Patient, Period, Practitioner, PractitionerRole, Reference, RelatedPerson } from "../common/index.js";
2
2
  import { Condition } from "./index.js";
3
3
  /**
4
4
  * Represents an Encounter resource.
@@ -68,4 +68,12 @@ type EncounterParticipant = {
68
68
  * @excerpt Bundle of encounter results.
69
69
  */
70
70
  export type EncounterBundle = EntryBundle<Encounter>;
71
+ /**
72
+ * Response for encounter search results with paging info.
73
+ *
74
+ * @category Models
75
+ * @title EncounterResponse
76
+ * @excerpt Response for encounter search results with paging info.
77
+ */
78
+ export type EncounterResponse = HealthDataResponse<Encounter>;
71
79
  export {};
@@ -1,4 +1,4 @@
1
- import type { Coding, ResourceBundle } from "../common/index.js";
1
+ import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
2
2
  /**
3
3
  * Bundle containing immunization group data with paging information.
4
4
  * Maps exactly to GraphQL GetImmunizationGroupsQueryResults structure.
@@ -8,6 +8,14 @@ import type { Coding, ResourceBundle } from "../common/index.js";
8
8
  * @excerpt Bundle containing immunization group data with paging information
9
9
  */
10
10
  export type ImmunizationGroupBundle = ResourceBundle<ImmunizationGroup>;
11
+ /**
12
+ * Response for grouped immunization data with paging information.
13
+ *
14
+ * @category Models
15
+ * @title ImmunizationGroupsResponse
16
+ * @excerpt Response for grouped immunization data with paging information
17
+ */
18
+ export type ImmunizationGroupsResponse = GroupedHealthDataResponse<ImmunizationGroup>;
11
19
  /**
12
20
  * Represents an immunization group resource matching GraphQL structure.
13
21
  *
@@ -1,4 +1,4 @@
1
- import type { CodeableConcept, EntryBundle, HumanName, Identifier, Location, Meta, Narrative, Organization, Quantity, Reference } from "../common/index.js";
1
+ import type { CodeableConcept, EntryBundle, HealthDataResponse, HumanName, Identifier, Location, Meta, Narrative, Organization, Quantity, Reference } from "../common/index.js";
2
2
  import { Encounter, Observation } from "./index.js";
3
3
  /**
4
4
  * Represents an immunization resource matching GraphQL structure.
@@ -139,4 +139,12 @@ type ImmunizationPerformerOrganization = {
139
139
  * @excerpt Bundle of immunization search results
140
140
  */
141
141
  export type ImmunizationBundle = EntryBundle<Immunization>;
142
+ /**
143
+ * Response for immunization search results with paging info.
144
+ *
145
+ * @category Models
146
+ * @title ImmunizationResponse
147
+ * @excerpt Response for immunization search results with paging info.
148
+ */
149
+ export type ImmunizationResponse = HealthDataResponse<Immunization>;
142
150
  export {};
@@ -1,27 +1,27 @@
1
1
  export type { HealthSummary } from "./health-summary.js";
2
- export type { AllergyIntoleranceGroupBundle, AllergyIntoleranceGroup, } from "./allergy-intolerance-group.js";
2
+ export type { AllergyIntoleranceGroupBundle, AllergyIntoleranceGroup, AllergyIntoleranceGroupsResponse, } from "./allergy-intolerance-group.js";
3
3
  export type { AllergyIntoleranceBundle } from "./allergy-intolerance-bundle.js";
4
4
  export type { AllergyIntoleranceReaction } from "./allergy-intolerance-reaction.js";
5
- export type { AllergyIntolerance } from "./allergy-intolerance.js";
6
- export type { ConditionGroupBundle, ConditionGroup, } from "./condition-group.js";
7
- export type { LabGroupBundle, LabGroup } from "./lab-group.js";
5
+ export type { AllergyIntolerance, AllergyIntoleranceResponse, } from "./allergy-intolerance.js";
6
+ export type { ConditionGroupBundle, ConditionGroup, ConditionGroupsResponse, } from "./condition-group.js";
7
+ export type { LabGroupBundle, LabGroup, LabGroupsResponse, } from "./lab-group.js";
8
8
  export type { CarePlanGroupBundle, CarePlanGroup, CarePlanGroupsResponse, } from "./care-plan-group.js";
9
- export type { EncounterGroupBundle, EncounterGroup, } from "./encounter-group.js";
10
- export type { ImmunizationGroupBundle, ImmunizationGroup, } from "./immunization-group.js";
11
- export type { ProcedureGroupBundle, ProcedureGroup, } from "./procedure-group.js";
12
- export type { VitalSignGroupBundle, VitalSignGroup, } from "./vital-sign-group.js";
13
- export type { MedicationGroupBundle, MedicationGroup, } from "./medication-group.js";
14
- export type { DiagnosticReportLabGroupBundle, DiagnosticReportLabGroup, } from "./diagnostic-report-lab-group.js";
9
+ export type { EncounterGroupBundle, EncounterGroup, EncounterGroupsResponse, } from "./encounter-group.js";
10
+ export type { ImmunizationGroupBundle, ImmunizationGroup, ImmunizationGroupsResponse, } from "./immunization-group.js";
11
+ export type { ProcedureGroupBundle, ProcedureGroup, ProcedureGroupsResponse, } from "./procedure-group.js";
12
+ export type { VitalSignGroupBundle, VitalSignGroup, VitalSignGroupsResponse, } from "./vital-sign-group.js";
13
+ export type { MedicationGroupBundle, MedicationGroup, MedicationGroupsResponse, } from "./medication-group.js";
14
+ export type { DiagnosticReportLabGroupBundle, DiagnosticReportLabGroup, DiagnosticReportLabGroupsResponse, } from "./diagnostic-report-lab-group.js";
15
15
  export type { CarePlanBundle, CarePlan, CarePlanResponse, } from "./care-plan.js";
16
- export { ImmunizationBundle, Immunization } from "./immunization.js";
16
+ export { ImmunizationBundle, Immunization, ImmunizationResponse, } from "./immunization.js";
17
17
  export { Observation } from "./observation.js";
18
- export { ConditionBundle, Condition } from "./condition.js";
19
- export { ProcedureBundle, Procedure } from "./procedure.js";
20
- export { VitalSignBundle } from "./vital-sign-bundle.js";
21
- export { LabBundle } from "./lab-bundle.js";
22
- export { CareTeamBundle, CareTeam } from "./care-team.js";
23
- export { EncounterBundle, Encounter } from "./encounter.js";
24
- export { MedicationDispenseBundle, MedicationDispense, } from "./medication-dispense.js";
25
- export { MedicationRequestBundle, MedicationRequest, } from "./medication-request.js";
26
- export type { MedicationStatementBundle, MedicationStatement, } from "./medication-statement.js";
27
- export { DiagnosticReportBundle, DiagnosticReport, } from "./diagnostic-report.js";
18
+ export { ConditionBundle, Condition, ConditionResponse } from "./condition.js";
19
+ export { ProcedureBundle, Procedure, ProcedureResponse } from "./procedure.js";
20
+ export { VitalSignBundle, VitalSignResponse } from "./vital-sign-bundle.js";
21
+ export { LabBundle, LabResponse } from "./lab-bundle.js";
22
+ export { CareTeamBundle, CareTeam, CareTeamResponse } from "./care-team.js";
23
+ export { EncounterBundle, Encounter, EncounterResponse } from "./encounter.js";
24
+ export { MedicationDispenseBundle, MedicationDispense, MedicationDispenseResponse, } from "./medication-dispense.js";
25
+ export { MedicationRequestBundle, MedicationRequest, MedicationRequestResponse, } from "./medication-request.js";
26
+ export type { MedicationStatementBundle, MedicationStatement, MedicationStatementResponse, } from "./medication-statement.js";
27
+ export { DiagnosticReportBundle, DiagnosticReport, DiagnosticReportResponse, } from "./diagnostic-report.js";
@@ -1,4 +1,4 @@
1
- import { EntryBundle, IdentifiedResourceEntry } from "../common/bundle.js";
1
+ import { EntryBundle, HealthDataResponse, IdentifiedResourceEntry } from "../common/bundle.js";
2
2
  import { Observation } from "../index.js";
3
3
  /**
4
4
  * Entry in a lab bundle with observation resource and metadata.
@@ -16,3 +16,11 @@ export type LabEntry = IdentifiedResourceEntry<Observation>;
16
16
  * @excerpt Bundle of lab search results
17
17
  */
18
18
  export type LabBundle = EntryBundle<Observation>;
19
+ /**
20
+ * Response for lab search results with paging info.
21
+ *
22
+ * @category Models
23
+ * @title LabResponse
24
+ * @excerpt Response for lab search results with paging info.
25
+ */
26
+ export type LabResponse = HealthDataResponse<Observation>;
@@ -1,4 +1,4 @@
1
- import type { CodeableConcept, Coding, Component, Extension, ReferenceRange, ResourceBundle } from "../common/index.js";
1
+ import type { CodeableConcept, Coding, Component, Extension, GroupedHealthDataResponse, ReferenceRange, ResourceBundle } from "../common/index.js";
2
2
  /**
3
3
  * Bundle containing lab group data with paging information.
4
4
  * Maps exactly to GraphQL GetLabGroupsQueryResults structure.
@@ -8,6 +8,14 @@ import type { CodeableConcept, Coding, Component, Extension, ReferenceRange, Res
8
8
  * @excerpt Bundle containing lab group data with paging information
9
9
  */
10
10
  export type LabGroupBundle = ResourceBundle<LabGroup>;
11
+ /**
12
+ * Response for grouped lab data with paging information.
13
+ *
14
+ * @category Models
15
+ * @title LabGroupsResponse
16
+ * @excerpt Response for grouped lab data with paging information
17
+ */
18
+ export type LabGroupsResponse = GroupedHealthDataResponse<LabGroup>;
11
19
  /**
12
20
  * Represents a lab group resource matching GraphQL structure.
13
21
  *
@@ -1,4 +1,4 @@
1
- import type { CodeableConcept, Dosage, EntryBundle, Identifier, Location, Medication, Meta, Patient, Practitioner, PractitionerRole, Quantity, Reference } from "../common/index.js";
1
+ import type { CodeableConcept, Dosage, EntryBundle, HealthDataResponse, Identifier, Location, Medication, Meta, Patient, Practitioner, PractitionerRole, Quantity, Reference } from "../common/index.js";
2
2
  import { Encounter } from "./index.js";
3
3
  /**
4
4
  * Represents a MedicationDispense performer actor.
@@ -98,3 +98,11 @@ export type MedicationDispense = {
98
98
  * @excerpt Bundle of medication dispense results.
99
99
  */
100
100
  export type MedicationDispenseBundle = EntryBundle<MedicationDispense>;
101
+ /**
102
+ * Response for medication dispense search results with paging info.
103
+ *
104
+ * @category Models
105
+ * @title MedicationDispenseResponse
106
+ * @excerpt Response for medication dispense search results with paging info.
107
+ */
108
+ export type MedicationDispenseResponse = HealthDataResponse<MedicationDispense>;
@@ -1,4 +1,4 @@
1
- import type { Coding, ResourceBundle } from "../common/index.js";
1
+ import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
2
2
  /**
3
3
  * Bundle containing medication group data with paging information.
4
4
  * Maps exactly to GraphQL GetMedicationGroupsQueryResults structure.
@@ -8,6 +8,14 @@ import type { Coding, ResourceBundle } from "../common/index.js";
8
8
  * @excerpt Bundle containing medication group data with paging information
9
9
  */
10
10
  export type MedicationGroupBundle = ResourceBundle<MedicationGroup>;
11
+ /**
12
+ * Response for grouped medication data with paging information.
13
+ *
14
+ * @category Models
15
+ * @title MedicationGroupsResponse
16
+ * @excerpt Response for grouped medication data with paging information
17
+ */
18
+ export type MedicationGroupsResponse = GroupedHealthDataResponse<MedicationGroup>;
11
19
  /**
12
20
  * Represents a medication group resource matching GraphQL structure.
13
21
  *
@@ -1,4 +1,4 @@
1
- import type { CodeableConcept, DispenseRequest, Dosage, EntryBundle, Identifier, Medication, Meta, Narrative, Patient, Practitioner, Reference } from "../common/index.js";
1
+ import type { CodeableConcept, DispenseRequest, Dosage, EntryBundle, HealthDataResponse, Identifier, Medication, Meta, Narrative, Patient, Practitioner, Reference } from "../common/index.js";
2
2
  import type { Encounter } from "./index.js";
3
3
  /**
4
4
  * Represents a medication request resource.
@@ -97,3 +97,11 @@ export type MedicationRequest = {
97
97
  * @excerpt Bundle of medication request results.
98
98
  */
99
99
  export type MedicationRequestBundle = EntryBundle<MedicationRequest>;
100
+ /**
101
+ * Response for medication request search results with paging info.
102
+ *
103
+ * @category Models
104
+ * @title MedicationRequestResponse
105
+ * @excerpt Response for medication request search results with paging info.
106
+ */
107
+ export type MedicationRequestResponse = HealthDataResponse<MedicationRequest>;
@@ -1,4 +1,4 @@
1
- import type { CodeableConcept, Dosage, EntryBundle, Meta, Period, Reference } from "../common/index.js";
1
+ import type { CodeableConcept, Dosage, EntryBundle, HealthDataResponse, Meta, Period, Reference } from "../common/index.js";
2
2
  /**
3
3
  * Represents a medication statement resource.
4
4
  * A record of a medication that is being consumed by a patient.
@@ -58,3 +58,11 @@ export type MedicationStatement = {
58
58
  * @excerpt Bundle of medication statement results.
59
59
  */
60
60
  export type MedicationStatementBundle = EntryBundle<MedicationStatement>;
61
+ /**
62
+ * Response for medication statement search results with paging info.
63
+ *
64
+ * @category Models
65
+ * @title MedicationStatementResponse
66
+ * @excerpt Response for medication statement search results with paging info.
67
+ */
68
+ export type MedicationStatementResponse = HealthDataResponse<MedicationStatement>;
@@ -1,4 +1,4 @@
1
- import type { Coding, ResourceBundle } from "../common/index.js";
1
+ import type { Coding, GroupedHealthDataResponse, ResourceBundle } from "../common/index.js";
2
2
  /**
3
3
  * Bundle containing procedure group data with paging information.
4
4
  * Maps exactly to GraphQL GetProcedureGroupsQueryResults structure.
@@ -8,6 +8,14 @@ import type { Coding, ResourceBundle } from "../common/index.js";
8
8
  * @excerpt Bundle containing procedure group data with paging information
9
9
  */
10
10
  export type ProcedureGroupBundle = ResourceBundle<ProcedureGroup>;
11
+ /**
12
+ * Response for grouped procedure data with paging information.
13
+ *
14
+ * @category Models
15
+ * @title ProcedureGroupsResponse
16
+ * @excerpt Response for grouped procedure data with paging information
17
+ */
18
+ export type ProcedureGroupsResponse = GroupedHealthDataResponse<ProcedureGroup>;
11
19
  /**
12
20
  * Represents a procedure group resource matching GraphQL structure.
13
21
  *
@@ -1,4 +1,4 @@
1
- import { EntryBundle } from "../common/bundle.js";
1
+ import { EntryBundle, HealthDataResponse } from "../common/bundle.js";
2
2
  import { Annotation, CodeableConcept, Identifier, Location, Meta, Narrative, Organization, Patient, Period, Practitioner, Reference } from "../common/index.js";
3
3
  import { Encounter } from "../index.js";
4
4
  /**
@@ -74,3 +74,11 @@ export type ProcedurePerformer = {
74
74
  * @excerpt Bundle of procedure search results
75
75
  */
76
76
  export type ProcedureBundle = EntryBundle<Procedure>;
77
+ /**
78
+ * Response for procedure search results with paging info.
79
+ *
80
+ * @category Models
81
+ * @title ProcedureResponse
82
+ * @excerpt Response for procedure search results with paging info.
83
+ */
84
+ export type ProcedureResponse = HealthDataResponse<Procedure>;
@@ -1,4 +1,4 @@
1
- import { EntryBundle } from "../common/bundle.js";
1
+ import { EntryBundle, HealthDataResponse } from "../common/bundle.js";
2
2
  import { Observation } from "../index.js";
3
3
  /**
4
4
  * Bundle of vital sign search results.
@@ -8,3 +8,11 @@ import { Observation } from "../index.js";
8
8
  * @excerpt Bundle of vital sign search results
9
9
  */
10
10
  export type VitalSignBundle = EntryBundle<Observation>;
11
+ /**
12
+ * Response for vital sign search results with paging info.
13
+ *
14
+ * @category Models
15
+ * @title VitalSignResponse
16
+ * @excerpt Response for vital sign search results with paging info.
17
+ */
18
+ export type VitalSignResponse = HealthDataResponse<Observation>;