@icanbwell/bwell-sdk-ts 1.36.3 → 1.36.4
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/README.md +2 -2
- package/dist/__version__.d.ts +1 -1
- package/dist/__version__.js +1 -1
- package/dist/api/api-provider-factory.d.ts +1 -1
- package/dist/api/api-provider-factory.js +1 -2
- package/dist/api/base/activity/activity-manager.d.ts +35 -0
- package/dist/api/base/activity/activity-manager.js +1 -0
- package/dist/api/base/activity/get-tasks-request.d.ts +49 -0
- package/dist/api/base/activity/get-tasks-request.js +35 -0
- package/dist/api/base/activity/index.d.ts +4 -0
- package/dist/api/base/activity/index.js +2 -0
- package/dist/api/base/activity/types.d.ts +3 -0
- package/dist/api/base/activity/types.js +5 -0
- package/dist/api/base/activity/update-task-status-request.d.ts +18 -0
- package/dist/api/base/activity/update-task-status-request.js +15 -0
- package/dist/api/base/api-provider.d.ts +14 -8
- package/dist/api/base/connection/connection-manager.d.ts +2 -0
- package/dist/api/base/device/device-manager.d.ts +22 -0
- package/dist/api/base/device/device-manager.js +5 -0
- package/dist/api/base/device/device-request.d.ts +62 -0
- package/dist/api/base/device/device-request.js +71 -0
- package/dist/api/base/device/index.d.ts +2 -0
- package/dist/api/base/device/index.js +2 -0
- package/dist/api/base/event/event-manager.d.ts +16 -0
- package/dist/api/base/event/event-manager.js +1 -0
- package/dist/api/base/event/event-request.d.ts +35 -0
- package/dist/api/base/event/event-request.js +64 -0
- package/dist/api/base/event/index.d.ts +2 -0
- package/dist/api/base/event/index.js +1 -0
- package/dist/api/base/health-data/health-manager.d.ts +227 -4
- package/dist/api/base/health-data/index.d.ts +1 -1
- package/dist/api/base/index.d.ts +4 -0
- package/dist/api/base/index.js +4 -4
- package/dist/api/base/search/index.d.ts +4 -0
- package/dist/api/base/search/index.js +3 -0
- package/dist/api/base/search/request-connection-request.d.ts +24 -0
- package/dist/api/base/search/request-connection-request.js +3 -0
- package/dist/api/base/search/search-health-resources-request.d.ts +87 -0
- package/dist/api/base/search/search-health-resources-request.js +20 -0
- package/dist/api/base/search/search-manager.d.ts +58 -0
- package/dist/api/base/search/search-manager.js +1 -0
- package/dist/api/base/search/search-request.d.ts +84 -0
- package/dist/api/base/search/search-request.js +78 -0
- package/dist/api/base/user/create-data-export-direct-download-url-request.d.ts +14 -0
- package/dist/api/base/user/create-data-export-direct-download-url-request.js +21 -0
- package/dist/api/base/user/index.d.ts +2 -1
- package/dist/api/base/user/index.js +1 -4
- package/dist/api/base/user/user-manager.d.ts +7 -1
- package/dist/api/graphql-api/activity/activity-request-factories.d.ts +13 -0
- package/dist/api/graphql-api/activity/activity-request-factories.js +66 -0
- package/dist/api/graphql-api/activity/graphql-activity-manager.d.ts +14 -0
- package/dist/api/graphql-api/activity/graphql-activity-manager.js +72 -0
- package/dist/api/graphql-api/activity/index.d.ts +1 -0
- package/dist/api/graphql-api/activity/index.js +1 -0
- package/dist/api/graphql-api/connection/graphql-connection-manager.d.ts +3 -1
- package/dist/api/graphql-api/connection/graphql-connection-manager.js +21 -23
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.d.ts +18 -0
- package/dist/api/graphql-api/connection/graphql-get-member-connections-bwell-response-factory.js +40 -0
- package/dist/api/graphql-api/connection/index.d.ts +1 -0
- package/dist/api/graphql-api/connection/index.js +1 -1
- package/dist/api/graphql-api/device/device-request-factory.d.ts +9 -0
- package/dist/api/graphql-api/device/device-request-factory.js +15 -0
- package/dist/api/graphql-api/device/graphql-device-manager.d.ts +13 -0
- package/dist/api/graphql-api/device/graphql-device-manager.js +73 -0
- package/dist/api/graphql-api/device/index.d.ts +1 -0
- package/dist/api/graphql-api/device/index.js +1 -0
- package/dist/api/graphql-api/event/event-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/event/event-request-factory.js +11 -0
- package/dist/api/graphql-api/event/graphql-event-manager.d.ts +15 -0
- package/dist/api/graphql-api/event/graphql-event-manager.js +65 -0
- package/dist/api/graphql-api/event/index.d.ts +1 -0
- package/dist/api/graphql-api/event/index.js +1 -0
- package/dist/api/graphql-api/graphql-api-provider.d.ts +13 -4
- package/dist/api/graphql-api/graphql-api-provider.js +9 -10
- package/dist/api/graphql-api/graphql-sdk/graphql-sdk.js +1 -1
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.d.ts +10 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js +35 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.d.ts +10 -0
- package/dist/api/graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js +35 -0
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +27 -3
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +328 -26
- package/dist/api/graphql-api/search/connection-search-request-factory.d.ts +7 -0
- package/dist/api/graphql-api/search/connection-search-request-factory.js +21 -0
- package/dist/api/graphql-api/search/graphql-search-manager.d.ts +17 -0
- package/dist/api/graphql-api/search/graphql-search-manager.js +133 -0
- package/dist/api/graphql-api/search/index.d.ts +1 -0
- package/dist/api/graphql-api/search/index.js +1 -0
- package/dist/api/graphql-api/search/provider-search-request-factory.d.ts +7 -0
- package/dist/api/graphql-api/search/provider-search-request-factory.js +21 -0
- package/dist/api/graphql-api/search/request-connection-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/search/request-connection-request-factory.js +12 -0
- package/dist/api/graphql-api/search/search-health-resources-request-factory.d.ts +14 -0
- package/dist/api/graphql-api/search/search-health-resources-request-factory.js +28 -0
- package/dist/api/graphql-api/search/search-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/search/search-request-factory.js +44 -0
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/user/create-data-export-direct-download-url-request-factory.js +9 -0
- package/dist/api/graphql-api/user/get-consent-request-factory.d.ts +6 -0
- package/dist/api/graphql-api/user/get-consent-request-factory.js +8 -0
- package/dist/api/graphql-api/user/graphql-user-manager.d.ts +6 -3
- package/dist/api/graphql-api/user/graphql-user-manager.js +46 -68
- package/dist/bwell-sdk/bwell-sdk.d.ts +13 -2
- package/dist/bwell-sdk/bwell-sdk.js +27 -27
- package/dist/config/sdk-config.js +3 -3
- package/dist/graphql/operations/index.d.ts +285 -14
- package/dist/graphql/operations/index.js +2423 -225
- package/dist/graphql/operations/types.d.ts +15240 -2305
- package/dist/graphql/schema.d.ts +4800 -68156
- package/dist/graphql/schema.js +63 -7
- package/package.json +2 -4
- package/dist/api/graphql-api/healthdata/health-data-request-factory.d.ts +0 -12
- package/dist/api/graphql-api/healthdata/health-data-request-factory.js +0 -12
|
@@ -1,43 +1,116 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { GetAllergyIntoleranceGroupsQueryResults, GetAllergyIntolerancesQueryResults, GetBinaryQueryResults, GetCarePlanGroupsQueryResults, GetCarePlansQueryResults, GetCareTeamsQueryResults, GetConditionGroupsQueryResults, GetConditionsQueryResults, GetDiagnosticReportLabGroupsQueryResults, GetDiagnosticReportsQueryResults, GetDocumentReferencesQueryResults, GetEncounterQueryResults, GetEncountersGroupQueryResults, GetHealthSummaryQueryResults, GetImmunizationGroupsQueryResults, GetImmunizationsQueryResults, GetLabGroupsQueryResults, GetLabKnowledgeQueryResults, GetLabsQueryResults, GetMedicationGroupsQueryResults, GetMedicationKnowledgeQueryResults, GetMedicationPricingQueryResults, GetMedicationStatementsQueryResults, GetProcedureGroupsQueryResults, GetProceduresQueryResults, GetVitalSignGroupsQueryResults, GetVitalSignsQueryResults } from "../../../graphql/operations/types.js";
|
|
2
2
|
import type { BWellQueryResult } from "../../../results/index.js";
|
|
3
|
+
import { MedicationDispenseResultsType } from "../../graphql-api/healthdata/graphql-get-medication-dispense-bwell-response-factory.js";
|
|
4
|
+
import { MedicationRequestResultsType } from "../../graphql-api/healthdata/graphql-get-medication-request-bwell-response-factory.js";
|
|
3
5
|
import type { BaseManagerError } from "../errors.js";
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
+
import { AllergyIntoleranceGroupsRequest, AllergyIntolerancesRequest, BinaryRequest, CarePlanGroupsRequest, CarePlansRequest, CareTeamsRequest, ConditionGroupsRequest, ConditionsRequest, DiagnosticReportLabGroupsRequest, DiagnosticReportsRequest, DocumentReferencesRequest, EncounterGroupsRequest, EncountersRequest, ImmunizationGroupsRequest, ImmunizationsRequest, LabGroupsRequest, LabsRequest, MedicationDispenseRequest, MedicationGroupsRequest, MedicationRequestRequest, MedicationStatementsRequest, ProcedureGroupsRequest, ProceduresRequest, VitalSignGroupsRequest, VitalSignsRequest } from "./health-data-request.js";
|
|
7
|
+
import { LabKnowledgeRequest } from "./lab-knowledge-request.js";
|
|
8
|
+
import { MedicationKnowledgeRequest } from "./medication-knowledge-request.js";
|
|
9
|
+
import { MedicationPricingRequest } from "./medication-pricing-request.js";
|
|
10
|
+
type HealthSummaryResultsType = GetHealthSummaryQueryResults["getHealthSummary"];
|
|
11
|
+
export interface HealthSummaryResults extends HealthSummaryResultsType {
|
|
12
|
+
}
|
|
13
|
+
type AllergyIntolerancesResultsType = GetAllergyIntolerancesQueryResults["getAllergyIntolerances"];
|
|
14
|
+
export interface AllergyIntolerancesResults extends AllergyIntolerancesResultsType {
|
|
15
|
+
}
|
|
16
|
+
type DiagnosticReportsResultsType = GetDiagnosticReportsQueryResults["diagnosticReports"];
|
|
17
|
+
export type DiagnosticReportsResults = DiagnosticReportsResultsType;
|
|
18
|
+
type DocumentReferencesResultsType = GetDocumentReferencesQueryResults["getDocumentReferences"];
|
|
19
|
+
export interface DocumentReferencesResults extends DocumentReferencesResultsType {
|
|
20
|
+
}
|
|
21
|
+
type BinaryResultsType = GetBinaryQueryResults["getBinary"];
|
|
22
|
+
export interface BinaryResults extends BinaryResultsType {
|
|
23
|
+
}
|
|
6
24
|
type AllergyIntolerancesGroupsResultsType = GetAllergyIntoleranceGroupsQueryResults["getAllergyIntoleranceGroups"];
|
|
7
25
|
export interface AllergyIntolerancesGroupsResults extends AllergyIntolerancesGroupsResultsType {
|
|
8
26
|
}
|
|
27
|
+
type ConditionsResultsType = GetConditionsQueryResults["getConditions"];
|
|
28
|
+
export interface ConditionsResults extends ConditionsResultsType {
|
|
29
|
+
}
|
|
9
30
|
type ConditionGroupsResultsType = GetConditionGroupsQueryResults["getConditionGroups"];
|
|
10
31
|
export interface ConditionGroupsResults extends ConditionGroupsResultsType {
|
|
11
32
|
}
|
|
33
|
+
type LabsResultsType = GetLabsQueryResults["getLabs"];
|
|
34
|
+
export interface LabsResults extends LabsResultsType {
|
|
35
|
+
}
|
|
12
36
|
type LabGroupsResultsType = GetLabGroupsQueryResults["getLabGroups"];
|
|
13
37
|
export interface LabGroupsResults extends LabGroupsResultsType {
|
|
14
38
|
}
|
|
39
|
+
type CarePlansResultsType = GetCarePlansQueryResults["getCarePlans"];
|
|
40
|
+
export interface CarePlansResults extends CarePlansResultsType {
|
|
41
|
+
}
|
|
15
42
|
type CarePlanGroupsResultsType = GetCarePlanGroupsQueryResults["getCarePlanGroups"];
|
|
16
43
|
export interface CarePlanGroupsResults extends CarePlanGroupsResultsType {
|
|
17
44
|
}
|
|
45
|
+
type CareTeamsResultsType = GetCareTeamsQueryResults["getCareTeams"];
|
|
46
|
+
export interface CareTeamsResults extends CareTeamsResultsType {
|
|
47
|
+
}
|
|
48
|
+
type EncountersResultsType = GetEncounterQueryResults["getEncounters"];
|
|
49
|
+
export interface EncountersResults extends EncountersResultsType {
|
|
50
|
+
}
|
|
18
51
|
type EncounterGroupsResultsType = GetEncountersGroupQueryResults["getEncounterGroups"];
|
|
19
52
|
export interface EncounterGroupsResults extends EncounterGroupsResultsType {
|
|
20
53
|
}
|
|
54
|
+
type ImmunizationsResultsType = GetImmunizationsQueryResults["getImmunizations"];
|
|
55
|
+
export interface ImmunizationsResults extends ImmunizationsResultsType {
|
|
56
|
+
}
|
|
21
57
|
type ImmunizationGroupsResultsType = GetImmunizationGroupsQueryResults["getImmunizationGroups"];
|
|
22
58
|
export interface ImmunizationGroupsResults extends ImmunizationGroupsResultsType {
|
|
23
59
|
}
|
|
60
|
+
type ProceduresResultsType = GetProceduresQueryResults["getProcedures"];
|
|
61
|
+
export interface ProceduresResults extends ProceduresResultsType {
|
|
62
|
+
}
|
|
24
63
|
type ProcedureGroupsResultsType = GetProcedureGroupsQueryResults["getProcedureGroups"];
|
|
25
64
|
export interface ProcedureGroupsResults extends ProcedureGroupsResultsType {
|
|
26
65
|
}
|
|
66
|
+
type VitalSignsResultsType = GetVitalSignsQueryResults["getVitalSigns"];
|
|
67
|
+
export interface VitalSignsResults extends VitalSignsResultsType {
|
|
68
|
+
}
|
|
27
69
|
type VitalSignGroupsResultsType = GetVitalSignGroupsQueryResults["getVitalSignGroups"];
|
|
28
70
|
export interface VitalSignGroupsResults extends VitalSignGroupsResultsType {
|
|
29
71
|
}
|
|
30
72
|
type DiagnosticReportLabGroupsResultsType = GetDiagnosticReportLabGroupsQueryResults["getDiagnosticReportLabGroups"];
|
|
31
73
|
export interface DiagnosticReportLabGroupsResults extends DiagnosticReportLabGroupsResultsType {
|
|
32
74
|
}
|
|
75
|
+
export interface MedicationDispenseResults extends MedicationDispenseResultsType {
|
|
76
|
+
}
|
|
77
|
+
export interface MedicationRequestResults extends MedicationRequestResultsType {
|
|
78
|
+
}
|
|
79
|
+
type MedicationStatementsResultsType = GetMedicationStatementsQueryResults["getMedicationStatements"];
|
|
80
|
+
export interface MedicationStatementsResults extends MedicationStatementsResultsType {
|
|
81
|
+
}
|
|
82
|
+
type MedicationKnowledgeResultsType = GetMedicationKnowledgeQueryResults["getMedicationKnowledge"];
|
|
83
|
+
export interface MedicationKnowledgeResults extends MedicationKnowledgeResultsType {
|
|
84
|
+
}
|
|
85
|
+
type MedicationPricingResultsType = GetMedicationPricingQueryResults["getMedicationPricing"];
|
|
86
|
+
export interface MedicationPricingResults extends MedicationPricingResultsType {
|
|
87
|
+
}
|
|
33
88
|
type MedicationGroupsResultsType = GetMedicationGroupsQueryResults["getMedicationGroups"];
|
|
34
89
|
export interface MedicationGroupsResults extends MedicationGroupsResultsType {
|
|
35
90
|
}
|
|
91
|
+
type LabKnowledgeResultsType = GetLabKnowledgeQueryResults["getLabKnowledge"];
|
|
92
|
+
export interface LabKnowledgeResults extends LabKnowledgeResultsType {
|
|
93
|
+
}
|
|
36
94
|
/**
|
|
37
95
|
* The HealthManager interface provides methods for retrieving health care records.
|
|
38
96
|
*/
|
|
39
97
|
export interface HealthManager {
|
|
40
|
-
|
|
98
|
+
/**
|
|
99
|
+
* Retrieve a summary view of current health care records by category. This view includes counts for AllergyIntolerance, CarePlan, Condition, Encounter, Immunization, Procedure, Vital Sign, Medication Statement, and Lab resources.
|
|
100
|
+
*
|
|
101
|
+
* @returns {Promise<BWellQueryResult<HealthSummaryResults>>} A promise resolving to An object which based off of generated ResourceGroups representing an aggregation of AllergyIntolerance, CarePlan, Condition, Encounter, Immunization, Procedure, MedicationStatement, Observation (Vital Sign and Lab) resources.
|
|
102
|
+
*/
|
|
103
|
+
getHealthSummary(): Promise<BWellQueryResult<HealthSummaryResults, BaseManagerError>>;
|
|
104
|
+
/**
|
|
105
|
+
* Retrieves a list of AllergyIntolerance resources from a FHIR server.
|
|
106
|
+
* The method accepts a AllergyIntolerancesRequest object to specify the search criteria.
|
|
107
|
+
* See also https://build.fhir.org/allergyintolerance.html
|
|
108
|
+
*
|
|
109
|
+
* @param {AllergyIntolerancesRequest} request An object specifying the search criteria for retrieving the AllergyIntolerance resources.
|
|
110
|
+
*
|
|
111
|
+
* @returns {Promise<BWellQueryResult<AllergyIntolerancesResults>>} A promise resolving to an object representing the list of Allergy Intolerance resources retrieved, along with potential validation or GraphQL errors.
|
|
112
|
+
*/
|
|
113
|
+
getAllergyIntolerances(request?: AllergyIntolerancesRequest): Promise<BWellQueryResult<AllergyIntolerancesResults, BaseManagerError>>;
|
|
41
114
|
/**
|
|
42
115
|
* Retrieves a list of AllergyIntoleranceGroup resources.
|
|
43
116
|
* The method accepts a AllergyIntoleranceGroupsRequest object to specify the search criteria.
|
|
@@ -47,6 +120,17 @@ export interface HealthManager {
|
|
|
47
120
|
* @returns {Promise<BWellQueryResult<AllergyIntolerancesGroupsResults>>} A promise resolving to an object representing the list of Allergy Intolerance Groups retrieved, along with potential validation or GraphQL errors.
|
|
48
121
|
*/
|
|
49
122
|
getAllergyIntoleranceGroups(request?: AllergyIntoleranceGroupsRequest): Promise<BWellQueryResult<AllergyIntolerancesGroupsResults, BaseManagerError>>;
|
|
123
|
+
/**
|
|
124
|
+
* Retrieves a list of medical conditions and diagnoses using the FHIR (Fast Healthcare Interoperability Resources) standard.
|
|
125
|
+
* Medical conditions represent various health issues, ailments, or diseases that patients may experience.
|
|
126
|
+
* This method provides access to this type of clinical data.
|
|
127
|
+
* See also https://build.fhir.org/condition.html
|
|
128
|
+
*
|
|
129
|
+
* @param {ConditionsRequest} request An optional request class for specifying the search criteria, for the retrieval of conditions resources.
|
|
130
|
+
*
|
|
131
|
+
* @returns {Promise<BWellQueryResult<ConditionsResults>>} A promise resolving to an object representing the list of medical conditions retrieved from the FHIR server.
|
|
132
|
+
*/
|
|
133
|
+
getConditions(request?: ConditionsRequest): Promise<BWellQueryResult<ConditionsResults>>;
|
|
50
134
|
/**
|
|
51
135
|
* Retrieves a list of condition groups resources.
|
|
52
136
|
*
|
|
@@ -55,6 +139,37 @@ export interface HealthManager {
|
|
|
55
139
|
* @returns {Promise<BWellQueryResult<ConditionGroupsResults>>} A promise resolving to an object representing he list of condition groups retrieved.
|
|
56
140
|
*/
|
|
57
141
|
getConditionGroups(request?: ConditionGroupsRequest): Promise<BWellQueryResult<ConditionGroupsResults>>;
|
|
142
|
+
/**
|
|
143
|
+
* Retrieves a list of document references using the FHIR (Fast Healthcare Interoperability Resources) standard.
|
|
144
|
+
* A reference to a document of any kind for any purpose.
|
|
145
|
+
* This method provides access to this type of clinical data.
|
|
146
|
+
* See also https://build.fhir.org/documentreference.html
|
|
147
|
+
*
|
|
148
|
+
* @param {DocumentReferencesRequest} request An optional request class for specifying the search criteria, for the retrieval of document reference resources.
|
|
149
|
+
*
|
|
150
|
+
* @returns {Promise<BWellQueryResult<DocumentReferencesResults>>} A promise resolving to an object representing the list of document references retrieved from the FHIR server.
|
|
151
|
+
*/
|
|
152
|
+
getDocumentReferences(request?: DocumentReferencesRequest): Promise<BWellQueryResult<DocumentReferencesResults>>;
|
|
153
|
+
/**
|
|
154
|
+
* Retrieves a list of Binary resources.
|
|
155
|
+
* See also https://hl7.org/fhir/r4b/binary.html
|
|
156
|
+
*
|
|
157
|
+
* @param {BinaryRequest} request An optional request class for specifying the search criteria, for the retrieval of binary resources.
|
|
158
|
+
*
|
|
159
|
+
* @returns {Promise<BWellQueryResult<BinaryResults>>} A promise resolving to an object representing the list of binary retrieved.
|
|
160
|
+
*/
|
|
161
|
+
getBinary(request: BinaryRequest): Promise<BWellQueryResult<BinaryResults>>;
|
|
162
|
+
/**
|
|
163
|
+
* Retrieve a summary of laboratory test results.
|
|
164
|
+
* It returns a list of unique laboratory measurements for the patient sorted by most recent first.
|
|
165
|
+
* It simplifies the process by calling the GetObservations method with the category parameter set to 'laboratory'.
|
|
166
|
+
* See also https://build.fhir.org/ig/HL7/fhir-order-catalog/exlabservices.html
|
|
167
|
+
*
|
|
168
|
+
* @param {LabsRequest} request A simplified request class for access laboratory observations resources.
|
|
169
|
+
*
|
|
170
|
+
* @returns {Promise<BWellQueryResult<LabsResults>>} A promise resolving to an object representing a list of labratory results, along with potential errors.
|
|
171
|
+
*/
|
|
172
|
+
getLabs(request?: LabsRequest): Promise<BWellQueryResult<LabsResults, BaseManagerError>>;
|
|
58
173
|
/**
|
|
59
174
|
* Retrieves a list of labratory groups results.
|
|
60
175
|
*
|
|
@@ -63,6 +178,24 @@ export interface HealthManager {
|
|
|
63
178
|
* @returns {Promise<BWellQueryResult<LabGroupsResults>>} A promise resolving to an object representing a list of labratory groups, along with potential errors.
|
|
64
179
|
*/
|
|
65
180
|
getLabGroups(request?: LabGroupsRequest): Promise<BWellQueryResult<LabGroupsResults, BaseManagerError>>;
|
|
181
|
+
/**
|
|
182
|
+
* Retrieves a list of care plans resources.
|
|
183
|
+
* See also https://build.fhir.org/careplan.html
|
|
184
|
+
*
|
|
185
|
+
* @param {CarePlansRequest} request An optional request class for specifying the search criteria, for the retrieval of care plans resources.
|
|
186
|
+
*
|
|
187
|
+
* @returns {Promise<BWellQueryResult<CarePlansResults>>} A promise resolving to an object representing the list of care plans retrieved.
|
|
188
|
+
*/
|
|
189
|
+
getCarePlans(request?: CarePlansRequest): Promise<BWellQueryResult<CarePlansResults>>;
|
|
190
|
+
/**
|
|
191
|
+
* Retrieves a list of care teams.
|
|
192
|
+
* See also https://build.fhir.org/careteam.html
|
|
193
|
+
*
|
|
194
|
+
* @param {CareTeamsRequest} request An optional request class for specifying the search criteria, for the retrieval of care teams resources.
|
|
195
|
+
*
|
|
196
|
+
* @returns {Promise<BWellQueryResult<CarePlansResults>>} A promise resolving to an object representing the list of care teams retrieved.
|
|
197
|
+
*/
|
|
198
|
+
getCareTeams(request?: CareTeamsRequest): Promise<BWellQueryResult<CareTeamsResults>>;
|
|
66
199
|
/**
|
|
67
200
|
* Retrieves a list of care plan groups resources.
|
|
68
201
|
*
|
|
@@ -71,6 +204,15 @@ export interface HealthManager {
|
|
|
71
204
|
* @returns {Promise<BWellQueryResult<CarePlanGroupsResults>>} A promise resolving to an object representing the list of care plan groups retrieved.
|
|
72
205
|
*/
|
|
73
206
|
getCarePlanGroups(request?: CarePlanGroupsRequest): Promise<BWellQueryResult<CarePlanGroupsResults>>;
|
|
207
|
+
/**
|
|
208
|
+
* Retrieves a list of encounters resources.
|
|
209
|
+
* See also https://build.fhir.org/encounter.html
|
|
210
|
+
*
|
|
211
|
+
* @param {EncountersRequest} request An optional request class for specifying the search criteria, for the retrieval of encounters resources.
|
|
212
|
+
*
|
|
213
|
+
* @returns {Promise<BWellQueryResult<EncountersResults>>} A promise resolving to an object representing the list of encounters retrieved.
|
|
214
|
+
*/
|
|
215
|
+
getEncounters(request?: EncountersRequest): Promise<BWellQueryResult<EncountersResults>>;
|
|
74
216
|
/**
|
|
75
217
|
* Retrieves a list of encounter groups resources.
|
|
76
218
|
*
|
|
@@ -79,6 +221,15 @@ export interface HealthManager {
|
|
|
79
221
|
* @returns {Promise<BWellQueryResult<EncounterGroupsResults>>} A promise resolving to an object representing the list of encounter groups retrieved.
|
|
80
222
|
*/
|
|
81
223
|
getEncounterGroups(request?: EncounterGroupsRequest): Promise<BWellQueryResult<EncounterGroupsResults>>;
|
|
224
|
+
/**
|
|
225
|
+
* Retrieves a list of immunizations resources.
|
|
226
|
+
* See also https://build.fhir.org/immunization.html
|
|
227
|
+
*
|
|
228
|
+
* @param {ImmunizationsRequest} request An optional request class for specifying the search criteria, for the retrieval of immunizations resources.
|
|
229
|
+
*
|
|
230
|
+
* @returns {Promise<BWellQueryResult<ImmunizationsResults>>} A promise resolving to an object representing the list of immunizations retrieved.
|
|
231
|
+
*/
|
|
232
|
+
getImmunizations(request?: ImmunizationsRequest): Promise<BWellQueryResult<ImmunizationsResults>>;
|
|
82
233
|
/**
|
|
83
234
|
* Retrieves a list of immunization groups resources.
|
|
84
235
|
*
|
|
@@ -87,6 +238,15 @@ export interface HealthManager {
|
|
|
87
238
|
* @returns {Promise<BWellQueryResult<ImmunizationGroupsResults>>} A promise resolving to an object representing the list of immunization groups retrieved.
|
|
88
239
|
*/
|
|
89
240
|
getImmunizationGroups(request?: ImmunizationGroupsRequest): Promise<BWellQueryResult<ImmunizationGroupsResults>>;
|
|
241
|
+
/**
|
|
242
|
+
* Retrieves a list of procedures resources.
|
|
243
|
+
* See also https://build.fhir.org/procedure.html
|
|
244
|
+
*
|
|
245
|
+
* @param {ProcedureRequest} request An optional request class for specifying the search criteria, for the retrieval of procedures resources.
|
|
246
|
+
*
|
|
247
|
+
* @returns {Promise<BWellQueryResult<ProceduresResults>>} A promise resolving to an object representing the list of procedures retrieved.
|
|
248
|
+
*/
|
|
249
|
+
getProcedures(request?: ProceduresRequest): Promise<BWellQueryResult<ProceduresResults>>;
|
|
90
250
|
/**
|
|
91
251
|
* Retrieves a list of procedure groups resources.
|
|
92
252
|
*
|
|
@@ -95,6 +255,15 @@ export interface HealthManager {
|
|
|
95
255
|
* @returns {Promise<BWellQueryResult<ProcedureGroupsResults>>} A promise resolving to an object representing the list of procedure groups retrieved.
|
|
96
256
|
*/
|
|
97
257
|
getProcedureGroups(request?: ProcedureGroupsRequest): Promise<BWellQueryResult<ProcedureGroupsResults>>;
|
|
258
|
+
/**
|
|
259
|
+
* Retrieves a list of vital signs resources.
|
|
260
|
+
* See also https://build.fhir.org/observation-vitalsigns.html
|
|
261
|
+
*
|
|
262
|
+
* @param {VitalSignsRequest} request An optional request class for specifying the search criteria, for the retrieval of vital signs resources.
|
|
263
|
+
*
|
|
264
|
+
* @returns {Promise<BWellQueryResult<VitalSignsResults>>} A promise resolving to an object representing the list of vital signs retrieved.
|
|
265
|
+
*/
|
|
266
|
+
getVitalSigns(request?: VitalSignsRequest): Promise<BWellQueryResult<VitalSignsResults>>;
|
|
98
267
|
/**
|
|
99
268
|
* Retrieves a list of vital sign groups resources.
|
|
100
269
|
*
|
|
@@ -103,6 +272,33 @@ export interface HealthManager {
|
|
|
103
272
|
* @returns {Promise<BWellQueryResult<VitalSignGroupsResults>>} A promise resolving to an object representing the list of vital sign groups retrieved.
|
|
104
273
|
*/
|
|
105
274
|
getVitalSignGroups(request?: VitalSignGroupsRequest): Promise<BWellQueryResult<VitalSignGroupsResults>>;
|
|
275
|
+
/**
|
|
276
|
+
* Retrieves a list of medication dispense resources.
|
|
277
|
+
* See also https://build.fhir.org/medicationdispense.html
|
|
278
|
+
*
|
|
279
|
+
* @param {MedicationDispenseRequest} request An optional request class for specifying the search criteria, for the retrieval of medication dispense resources.
|
|
280
|
+
*
|
|
281
|
+
* @returns {Promise<BWellQueryResult<MedicationDispenseResults>>} A promise resolving to an object representing the list of medication dispense retrieved.
|
|
282
|
+
*/
|
|
283
|
+
getMedicationDispense(request?: MedicationDispenseRequest): Promise<BWellQueryResult<MedicationDispenseResults>>;
|
|
284
|
+
/**
|
|
285
|
+
* Retrieves a list of medication request resources.
|
|
286
|
+
* See also https://build.fhir.org/medicationrequest.html
|
|
287
|
+
*
|
|
288
|
+
* @param {MedicationRequestRequest} request An optional request class for specifying the search criteria, for the retrieval of medication request resources.
|
|
289
|
+
*
|
|
290
|
+
* @returns {Promise<BWellQueryResult<MedicationRequestResults>>} A promise resolving to an object representing the list of medication request retrieved.
|
|
291
|
+
*/
|
|
292
|
+
getMedicationRequest(request?: MedicationRequestRequest): Promise<BWellQueryResult<MedicationRequestResults>>;
|
|
293
|
+
/**
|
|
294
|
+
* Retrieves a list of medication statements resources.
|
|
295
|
+
* See also https://build.fhir.org/medicationstatement.html
|
|
296
|
+
*
|
|
297
|
+
* @param {MedicationStatementsRequest} request An optional request class for specifying the search criteria, for the retrieval of medication statements resources.
|
|
298
|
+
*
|
|
299
|
+
* @returns {Promise<BWellQueryResult<MedicationStatementsResults>>} A promise resolving to an object representing the list of medication statements retrieved.
|
|
300
|
+
*/
|
|
301
|
+
getMedicationStatements(request?: MedicationStatementsRequest): Promise<BWellQueryResult<MedicationStatementsResults>>;
|
|
106
302
|
/**
|
|
107
303
|
* Retrieves a list of medication groups resources.
|
|
108
304
|
*
|
|
@@ -111,6 +307,33 @@ export interface HealthManager {
|
|
|
111
307
|
* @returns {Promise<BWellQueryResult<MedicationGroupsResults>>} A promise resolving to an object representing the list of medication groups retrieved.
|
|
112
308
|
*/
|
|
113
309
|
getMedicationGroups(request: MedicationGroupsRequest): Promise<BWellQueryResult<MedicationGroupsResults>>;
|
|
310
|
+
/**
|
|
311
|
+
* Retrieves a list of medication knowledge resources.
|
|
312
|
+
* See also https://build.fhir.org/medicationknowledge.html
|
|
313
|
+
*
|
|
314
|
+
* @param {MedicationKnowledgeRequest} request A non-optional request class for specifying the search criteria, for the retrieval of medication knowledge resources.
|
|
315
|
+
*
|
|
316
|
+
* @returns {Promise<BWellQueryResult<MedicationKnowledgeResults>>} A promise resolving to an object representing the list of medication knowledge retrieved.
|
|
317
|
+
*/
|
|
318
|
+
getMedicationKnowledge(request: MedicationKnowledgeRequest): Promise<BWellQueryResult<MedicationKnowledgeResults>>;
|
|
319
|
+
/**
|
|
320
|
+
* Retrieves a list of lab knowledge resources.
|
|
321
|
+
* See also https://build.fhir.org/ig/HL7/fhir-order-catalog/exlabservices.html
|
|
322
|
+
*
|
|
323
|
+
* @param {LabKnowledgeRequest} request A non-optional request class for specifying the search criteria, for the retrieval of medication knowledge resources.
|
|
324
|
+
*
|
|
325
|
+
* @returns {Promise<BWellQueryResult<LabKnowledgeResults>>} A promise resolving to an object representing the list of medication knowledge retrieved.
|
|
326
|
+
*/
|
|
327
|
+
getLabKnowledge(request?: LabKnowledgeRequest): Promise<BWellQueryResult<LabKnowledgeResults>>;
|
|
328
|
+
getMedicationPricing(request: MedicationPricingRequest): Promise<BWellQueryResult<MedicationPricingResults>>;
|
|
329
|
+
/**
|
|
330
|
+
* Retrieves a list of diagnostic report resources.
|
|
331
|
+
*
|
|
332
|
+
* @param {DiagnosticReportsRequest} request An optional request class for specifying the search criteria, for the retrieval of diagnostic report resources.
|
|
333
|
+
*
|
|
334
|
+
* @returns {Promise<BWellQueryResult<DiagnosticReportsResults>>} A promise resolving to an object representing the list of diagnostic reports retrieved.
|
|
335
|
+
*/
|
|
336
|
+
getDiagnosticReports(request?: DiagnosticReportsRequest): Promise<BWellQueryResult<DiagnosticReportsResults>>;
|
|
114
337
|
/**
|
|
115
338
|
* Retrieves a list of diagnostic report lab groups resources.
|
|
116
339
|
*
|
|
@@ -2,4 +2,4 @@ export { HealthDataRequestInput, AllergyIntolerancesRequest, AllergyIntoleranceG
|
|
|
2
2
|
export { MedicationPricingRequest, MedicationPricingRequestInput, } from "./medication-pricing-request.js";
|
|
3
3
|
export { MedicationKnowledgeRequest, MedicationKnowledgeRequestInput, } from "./medication-knowledge-request.js";
|
|
4
4
|
export { LabKnowledgeRequest, LabKnowledgeRequestInput, } from "./lab-knowledge-request.js";
|
|
5
|
-
export { AllergyIntolerancesResults, AllergyIntolerancesGroupsResults, ConditionGroupsResults, LabGroupsResults, CarePlanGroupsResults, EncounterGroupsResults, ImmunizationGroupsResults, ProcedureGroupsResults, VitalSignGroupsResults, MedicationGroupsResults, HealthManager, DiagnosticReportLabGroupsResults, } from "./health-manager.js";
|
|
5
|
+
export { HealthSummaryResults, AllergyIntolerancesResults, AllergyIntolerancesGroupsResults, BinaryResults, ConditionsResults, ConditionGroupsResults, DiagnosticReportsResults, DocumentReferencesResults, LabsResults, LabGroupsResults, CarePlansResults, CarePlanGroupsResults, CareTeamsResults, EncountersResults, EncounterGroupsResults, ImmunizationsResults, ImmunizationGroupsResults, ProceduresResults, ProcedureGroupsResults, VitalSignsResults, VitalSignGroupsResults, MedicationDispenseResults, MedicationRequestResults, MedicationStatementsResults, MedicationKnowledgeResults, MedicationGroupsResults, LabKnowledgeResults, HealthManager, MedicationPricingResults, DiagnosticReportLabGroupsResults, } from "./health-manager.js";
|
package/dist/api/base/index.d.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
export * from "./requests/index.js";
|
|
2
2
|
export * from "./user/index.js";
|
|
3
3
|
export * from "./health-data/index.js";
|
|
4
|
+
export * from "./activity/index.js";
|
|
5
|
+
export * from "./search/index.js";
|
|
4
6
|
export * from "./connection/index.js";
|
|
7
|
+
export * from "./device/index.js";
|
|
8
|
+
export * from "./event/index.js";
|
|
5
9
|
export * from "./health-space/index.js";
|
|
6
10
|
export * from "./questionnaire/index.js";
|
package/dist/api/base/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
export * from "./requests/index.js";
|
|
2
2
|
export * from "./user/index.js";
|
|
3
3
|
export * from "./health-data/index.js";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
export * from "./activity/index.js";
|
|
5
|
+
export * from "./search/index.js";
|
|
6
6
|
export * from "./connection/index.js";
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
export * from "./device/index.js";
|
|
8
|
+
export * from "./event/index.js";
|
|
9
9
|
export * from "./health-space/index.js";
|
|
10
10
|
export * from "./questionnaire/index.js";
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export type { SearchResults, RequestConnectionResults, SearchManager, SearchHealthResourcesResults, } from "./search-manager.js";
|
|
2
|
+
export { SearchRequest, SearchRequestInput, FilterField, OrganizationType, OrderBy, SortOrder, SortField, SearchPosition, } from "./search-request.js";
|
|
3
|
+
export { RequestConnectionRequestInput, RequestConnectionRequest, } from "./request-connection-request.js";
|
|
4
|
+
export { SearchHealthResourcesRequest, SearchHealthResourcesRequestInput, } from "./search-health-resources-request.js";
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseRequest } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Parameters for a connection request
|
|
4
|
+
*/
|
|
5
|
+
export type RequestConnectionRequestInput = {
|
|
6
|
+
/**
|
|
7
|
+
* Institution of the connection request
|
|
8
|
+
*/
|
|
9
|
+
institution?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Provider name of the connection request
|
|
12
|
+
*/
|
|
13
|
+
provider?: string;
|
|
14
|
+
/**
|
|
15
|
+
* State of the connection request
|
|
16
|
+
*/
|
|
17
|
+
state?: string;
|
|
18
|
+
/**
|
|
19
|
+
* City of the connection request
|
|
20
|
+
*/
|
|
21
|
+
city?: string;
|
|
22
|
+
};
|
|
23
|
+
export declare class RequestConnectionRequest extends BaseRequest<RequestConnectionRequestInput> {
|
|
24
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ClientInput, FilterField as GraphQLFilterField, OrganizationType as GraphQLOrganizationType, SortField as GraphQLSortField, SortOrder as GraphQLSortOrder, OrderByInput, SearchFiltersInput, SearchLocation, UserInput } from "../../../graphql/schema.js";
|
|
2
|
+
import { PagedRequest, PagedRequestInput, PagedRequestValidator } from "../../../requests/index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Type representing the search filters for health resources.
|
|
5
|
+
*/
|
|
6
|
+
export type FilterField = `${GraphQLFilterField}`;
|
|
7
|
+
/**
|
|
8
|
+
* Type representing the organization type for health resources.
|
|
9
|
+
*/
|
|
10
|
+
export type OrganizationType = `${GraphQLOrganizationType}`;
|
|
11
|
+
/**
|
|
12
|
+
* Type representing the sort field for health resources.
|
|
13
|
+
* @experimental
|
|
14
|
+
*/
|
|
15
|
+
export type SortField = `${GraphQLSortField}`;
|
|
16
|
+
/**
|
|
17
|
+
* Type representing the sort order for health resources.
|
|
18
|
+
*/
|
|
19
|
+
export type SortOrder = `${GraphQLSortOrder}`;
|
|
20
|
+
/**
|
|
21
|
+
* The provider location to search by
|
|
22
|
+
*/
|
|
23
|
+
export type SearchPosition = {
|
|
24
|
+
/**
|
|
25
|
+
* Latitude
|
|
26
|
+
*/
|
|
27
|
+
lat: number;
|
|
28
|
+
/**
|
|
29
|
+
* Longitude
|
|
30
|
+
*/
|
|
31
|
+
lon: number;
|
|
32
|
+
/**
|
|
33
|
+
* Search radius (miles) from the specified lat/lon
|
|
34
|
+
*/
|
|
35
|
+
distance?: number;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Type representing a provider search result sorting
|
|
39
|
+
*/
|
|
40
|
+
export type OrderBy = {
|
|
41
|
+
/**
|
|
42
|
+
* The provider search field to sort by
|
|
43
|
+
*/
|
|
44
|
+
field?: SortField;
|
|
45
|
+
/**
|
|
46
|
+
* The direction to sort by
|
|
47
|
+
*/
|
|
48
|
+
order?: SortOrder;
|
|
49
|
+
};
|
|
50
|
+
/**
|
|
51
|
+
* Represents the parameters for a search request.
|
|
52
|
+
* @experimental
|
|
53
|
+
*/
|
|
54
|
+
export type SearchHealthResourcesRequestInput = PagedRequestInput & {
|
|
55
|
+
/**
|
|
56
|
+
* The client configuration to search for health resources.
|
|
57
|
+
*/
|
|
58
|
+
client: [ClientInput];
|
|
59
|
+
/**
|
|
60
|
+
* The filters to apply to the search.
|
|
61
|
+
*/
|
|
62
|
+
filters: SearchFiltersInput;
|
|
63
|
+
/**
|
|
64
|
+
* Specifies order options for the search.
|
|
65
|
+
*/
|
|
66
|
+
orderBy?: [OrderByInput];
|
|
67
|
+
/**
|
|
68
|
+
* Provides the main ability to filter searches by a given term.
|
|
69
|
+
* This can be something like an organization name, location, address, or phone number.
|
|
70
|
+
*/
|
|
71
|
+
search?: string;
|
|
72
|
+
/**
|
|
73
|
+
* The location to search health resources by.
|
|
74
|
+
*/
|
|
75
|
+
searchLocation?: SearchLocation;
|
|
76
|
+
/**
|
|
77
|
+
* The user for whom the search is being performed.
|
|
78
|
+
*/
|
|
79
|
+
user?: UserInput;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Request for searching health resources.
|
|
83
|
+
* @experimental
|
|
84
|
+
*/
|
|
85
|
+
export declare class SearchHealthResourcesRequest extends PagedRequest<SearchHealthResourcesRequestInput> {
|
|
86
|
+
protected validator: PagedRequestValidator<SearchHealthResourcesRequestInput>;
|
|
87
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { PagedRequest, PagedRequestValidator, } from "../../../requests/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Request for searching health resources.
|
|
4
|
+
* @experimental
|
|
5
|
+
*/
|
|
6
|
+
export class SearchHealthResourcesRequest extends PagedRequest {
|
|
7
|
+
constructor() {
|
|
8
|
+
super(...arguments);
|
|
9
|
+
this.validator = new SearchHealthResourcesRequestValidator();
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Validator for SearchHealthResourcesRequestInput.
|
|
14
|
+
* Validates the input data for searching health resources.
|
|
15
|
+
*/
|
|
16
|
+
class SearchHealthResourcesRequestValidator extends PagedRequestValidator {
|
|
17
|
+
validate(data, errors) {
|
|
18
|
+
super.validate(data, errors);
|
|
19
|
+
}
|
|
20
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { ValidationError } from "../../../errors/index.js";
|
|
2
|
+
import { ProviderSearchQueryResults, RequestConnectionMutationResults, SearchHealthResourcesQueryResults } from "../../../graphql/operations/types.js";
|
|
3
|
+
import type { BWellQueryResult, BWellTransactionResult } from "../../../results/index.js";
|
|
4
|
+
import { BaseManagerError } from "../errors.js";
|
|
5
|
+
import { RequestConnectionRequest } from "./request-connection-request.js";
|
|
6
|
+
import { SearchHealthResourcesRequest } from "./search-health-resources-request.js";
|
|
7
|
+
import { SearchRequest } from "./search-request.js";
|
|
8
|
+
type SearchResultsType = ProviderSearchQueryResults["providers"];
|
|
9
|
+
export interface SearchResults extends SearchResultsType {
|
|
10
|
+
}
|
|
11
|
+
export type SearchHealthResourcesResults = SearchHealthResourcesQueryResults["searchHealthResources"];
|
|
12
|
+
export type RequestConnectionResults = RequestConnectionMutationResults["requestConnection"];
|
|
13
|
+
/**
|
|
14
|
+
* The SearchManager interface provides methods for searching for providers and connections.
|
|
15
|
+
*/
|
|
16
|
+
export interface SearchManager {
|
|
17
|
+
/**
|
|
18
|
+
* Performs a general search based on a SearchRequest
|
|
19
|
+
*
|
|
20
|
+
* @param {SearchRequest} request - Object representing search parameters
|
|
21
|
+
* @returns {Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>} - An object containing the collection
|
|
22
|
+
* of matching search results
|
|
23
|
+
*/
|
|
24
|
+
search(request: SearchRequest): Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>;
|
|
25
|
+
/**
|
|
26
|
+
* Performs a provider search based on a SearchRequest
|
|
27
|
+
*
|
|
28
|
+
* @param {SearchRequest} request - Object representing search parameters
|
|
29
|
+
* @returns {Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>} - An object containing the collection
|
|
30
|
+
* of matching search results
|
|
31
|
+
*/
|
|
32
|
+
searchProviders(request: SearchRequest): Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>;
|
|
33
|
+
/**
|
|
34
|
+
* Performs a connection search based on a SearchRequest
|
|
35
|
+
*
|
|
36
|
+
* @param {SearchRequest} request - Object representing search parameters
|
|
37
|
+
* @returns {Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>} - An object containing the collection
|
|
38
|
+
* of matching search results
|
|
39
|
+
*/
|
|
40
|
+
searchConnections(request: SearchRequest): Promise<BWellQueryResult<SearchResults, BaseManagerError | ValidationError>>;
|
|
41
|
+
/**
|
|
42
|
+
* Searches for health resources based on the provided request.
|
|
43
|
+
*
|
|
44
|
+
* @param {SearchHealthResourcesRequest} request - Object containing the details of the search being requested
|
|
45
|
+
* @returns {Promise<BWellQueryResult<SearchHealthResourcesResults, BaseManagerError | ValidationError>>} - An object containing the collection
|
|
46
|
+
* of matching search results
|
|
47
|
+
* @experimental
|
|
48
|
+
*/
|
|
49
|
+
searchHealthResources(request: SearchHealthResourcesRequest): Promise<BWellQueryResult<SearchHealthResourcesResults, BaseManagerError | ValidationError>>;
|
|
50
|
+
/**
|
|
51
|
+
* Requests a new connection based on the provided information.
|
|
52
|
+
*
|
|
53
|
+
* @param {RequestConnectionRequest} request - Object containing the details of the connection being requested
|
|
54
|
+
* @returns {Promise<BWellTransactionResult<RequestConnectionResults, BaseManagerError>>} - Indicates the outcome of the request
|
|
55
|
+
*/
|
|
56
|
+
requestConnection(request: RequestConnectionRequest): Promise<BWellTransactionResult<RequestConnectionResults, BaseManagerError>>;
|
|
57
|
+
}
|
|
58
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|