@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1761158898 → 2.0.0-beta-rc.1761326499
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/base/health-data/health-manager.d.ts +22 -22
- package/dist/api/base/identity/identity-manager.d.ts +2 -2
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +25 -26
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +190 -117
- package/dist/api/graphql-api/healthdata/health-data-response-factory.d.ts +3 -2
- package/dist/api/graphql-api/identity/graphql-identity-manager.js +1 -1
- package/dist/auth/credentials.d.ts +1 -1
- package/dist/auth/credentials.js +2 -2
- package/dist/auth/username-password-strategy.js +2 -2
- package/dist/graphql/schema.d.ts +6 -1
- package/dist/models/health-data/allergy-intolerance-group.d.ts +9 -1
- package/dist/models/health-data/allergy-intolerance.d.ts +9 -1
- package/dist/models/health-data/care-plan-group.d.ts +2 -2
- package/dist/models/health-data/care-plan.d.ts +2 -2
- package/dist/models/health-data/care-team.d.ts +9 -1
- package/dist/models/health-data/condition-group.d.ts +9 -1
- package/dist/models/health-data/condition.d.ts +9 -1
- package/dist/models/health-data/diagnostic-report-lab-group.d.ts +9 -1
- package/dist/models/health-data/diagnostic-report.d.ts +9 -1
- package/dist/models/health-data/encounter-group.d.ts +9 -1
- package/dist/models/health-data/encounter.d.ts +9 -1
- package/dist/models/health-data/immunization-group.d.ts +9 -1
- package/dist/models/health-data/immunization.d.ts +9 -1
- package/dist/models/health-data/index.d.ts +21 -21
- package/dist/models/health-data/lab-bundle.d.ts +9 -1
- package/dist/models/health-data/lab-group.d.ts +9 -1
- package/dist/models/health-data/medication-dispense.d.ts +9 -1
- package/dist/models/health-data/medication-group.d.ts +9 -1
- package/dist/models/health-data/medication-request.d.ts +9 -1
- package/dist/models/health-data/medication-statement.d.ts +9 -1
- package/dist/models/health-data/procedure-group.d.ts +9 -1
- package/dist/models/health-data/procedure.d.ts +9 -1
- package/dist/models/health-data/vital-sign-bundle.d.ts +9 -1
- package/dist/models/health-data/vital-sign-group.d.ts +9 -1
- package/dist/models/identity/sdk-configuration-result.d.ts +1 -1
- package/package.json +1 -1
|
@@ -41,10 +41,10 @@ export class UsernamePasswordStrategy {
|
|
|
41
41
|
__classPrivateFieldGet(this, _UsernamePasswordStrategy_logger, "f").verbose("authenticating via UsernamePassword strategy...");
|
|
42
42
|
const authResults = yield __classPrivateFieldGet(this, _UsernamePasswordStrategy_identityManager, "f").authenticateWithUsernamePassword({
|
|
43
43
|
clientKey: __classPrivateFieldGet(this, _UsernamePasswordStrategy_sdkConfig, "f").context.clientKey,
|
|
44
|
-
|
|
44
|
+
username: credentials.username,
|
|
45
45
|
password: credentials.password,
|
|
46
46
|
});
|
|
47
|
-
__classPrivateFieldGet(this, _UsernamePasswordStrategy_logger, "f").verbose("finished
|
|
47
|
+
__classPrivateFieldGet(this, _UsernamePasswordStrategy_logger, "f").verbose("finished via UsernamePassword authentication");
|
|
48
48
|
return authResults;
|
|
49
49
|
});
|
|
50
50
|
}
|
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -53567,6 +53567,11 @@ export type QueryGetMedicationGroupsArgs = {
|
|
|
53567
53567
|
export type QueryGetMedicationKnowledgeArgs = {
|
|
53568
53568
|
request?: InputMaybe<MedicationKnowledgeRequest>;
|
|
53569
53569
|
};
|
|
53570
|
+
export type QueryGetMemberConnectionsArgs = {
|
|
53571
|
+
integrationType?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
53572
|
+
status?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
53573
|
+
syncStatus?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
53574
|
+
};
|
|
53570
53575
|
export type QueryGetOauthUrlArgs = {
|
|
53571
53576
|
connectionId: Scalars['String']['input'];
|
|
53572
53577
|
};
|
|
@@ -59258,7 +59263,7 @@ export type Security = {
|
|
|
59258
59263
|
system?: Maybe<Scalars['String']['output']>;
|
|
59259
59264
|
};
|
|
59260
59265
|
export type SecurityConfigInput = {
|
|
59261
|
-
passcode: Scalars['
|
|
59266
|
+
passcode: Scalars['String']['input'];
|
|
59262
59267
|
};
|
|
59263
59268
|
/**
|
|
59264
59269
|
* ServiceRequest
|
|
@@ -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
|
-
*
|
|
12
|
+
* Response for grouped care plan data with paging information.
|
|
13
13
|
*
|
|
14
14
|
* @category Models
|
|
15
15
|
* @title CarePlanGroupResponse
|
|
16
|
-
* @excerpt
|
|
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
|
-
*
|
|
128
|
+
* Response for care plan search results with paging info.
|
|
129
129
|
*
|
|
130
130
|
* @category Models
|
|
131
131
|
* @title CarePlanResponse
|
|
132
|
-
* @excerpt
|
|
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>;
|
|
@@ -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 vital sign group data with paging information.
|
|
4
4
|
* Maps exactly to GraphQL GetVitalSignGroupsQueryResults structure.
|
|
@@ -8,6 +8,14 @@ import type { CodeableConcept, Coding, Component, Extension, ReferenceRange, Res
|
|
|
8
8
|
* @excerpt Bundle containing vital sign group data with paging...
|
|
9
9
|
*/
|
|
10
10
|
export type VitalSignGroupBundle = ResourceBundle<VitalSignGroup>;
|
|
11
|
+
/**
|
|
12
|
+
* Response for grouped vital sign data with paging information.
|
|
13
|
+
*
|
|
14
|
+
* @category Models
|
|
15
|
+
* @title VitalSignGroupsResponse
|
|
16
|
+
* @excerpt Response for grouped vital sign data with paging information
|
|
17
|
+
*/
|
|
18
|
+
export type VitalSignGroupsResponse = GroupedHealthDataResponse<VitalSignGroup>;
|
|
11
19
|
/**
|
|
12
20
|
* Represents a vital sign group resource matching GraphQL structure.
|
|
13
21
|
*
|