@icanbwell/bwell-sdk-ts 1.39.0 → 1.40.0-rc.1758880937
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/questionnaire/index.d.ts +2 -1
- package/dist/api/base/questionnaire/index.js +1 -0
- package/dist/api/base/questionnaire/questionnaire-manager.d.ts +11 -1
- package/dist/api/base/questionnaire/save-questionnaire-response-request.d.ts +22 -0
- package/dist/api/base/questionnaire/save-questionnaire-response-request.js +33 -0
- package/dist/api/base/search/search-health-resources-request.d.ts +6 -2
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.d.ts +9 -1
- package/dist/api/graphql-api/questionnaire/graphql-questionnaire-manager.js +24 -0
- package/dist/api/graphql-api/search/search-health-resources-request-factory.js +1 -3
- package/dist/graphql/operations/index.d.ts +32 -19
- package/dist/graphql/operations/index.js +182 -54
- package/dist/graphql/operations/types.d.ts +6037 -3537
- package/dist/graphql/schema.d.ts +113 -19
- package/dist/graphql/schema.js +7 -0
- package/package.json +1 -1
|
@@ -258,55 +258,6 @@ export const IdentifierFieldsFragmentDoc = `
|
|
|
258
258
|
value
|
|
259
259
|
}
|
|
260
260
|
${CodeableConceptFieldsFragmentDoc}`;
|
|
261
|
-
export const EndpointFieldsFragmentDoc = `
|
|
262
|
-
fragment EndpointFields on Endpoint {
|
|
263
|
-
identifier {
|
|
264
|
-
...IdentifierFields
|
|
265
|
-
}
|
|
266
|
-
name
|
|
267
|
-
status
|
|
268
|
-
connectionType {
|
|
269
|
-
...CodingFields
|
|
270
|
-
}
|
|
271
|
-
address
|
|
272
|
-
}
|
|
273
|
-
${IdentifierFieldsFragmentDoc}
|
|
274
|
-
${CodingFieldsFragmentDoc}`;
|
|
275
|
-
export const AddressFieldsFragmentDoc = `
|
|
276
|
-
fragment AddressFields on Address {
|
|
277
|
-
use
|
|
278
|
-
type
|
|
279
|
-
text
|
|
280
|
-
line
|
|
281
|
-
city
|
|
282
|
-
district
|
|
283
|
-
state
|
|
284
|
-
postalCode
|
|
285
|
-
country
|
|
286
|
-
}
|
|
287
|
-
`;
|
|
288
|
-
export const OrganizationFieldsFragmentDoc = `
|
|
289
|
-
fragment OrganizationFields on Organization {
|
|
290
|
-
resourceType
|
|
291
|
-
identifier {
|
|
292
|
-
...IdentifierFields
|
|
293
|
-
}
|
|
294
|
-
endpoint {
|
|
295
|
-
...EndpointFields
|
|
296
|
-
}
|
|
297
|
-
name
|
|
298
|
-
telecom {
|
|
299
|
-
system
|
|
300
|
-
value
|
|
301
|
-
rank
|
|
302
|
-
}
|
|
303
|
-
address {
|
|
304
|
-
...AddressFields
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
${IdentifierFieldsFragmentDoc}
|
|
308
|
-
${EndpointFieldsFragmentDoc}
|
|
309
|
-
${AddressFieldsFragmentDoc}`;
|
|
310
261
|
export const MedicationReferenceFieldsFragmentDoc = `
|
|
311
262
|
fragment MedicationReferenceFields on USCoreMedicationProfile {
|
|
312
263
|
resourceType
|
|
@@ -686,6 +637,38 @@ export const ComponentFieldsFragmentDoc = `
|
|
|
686
637
|
${CodeableConceptFieldsFragmentDoc}
|
|
687
638
|
${ValueFieldsFragmentDoc}
|
|
688
639
|
${ReferenceRangeFieldsFragmentDoc}`;
|
|
640
|
+
export const AddressFieldsFragmentDoc = `
|
|
641
|
+
fragment AddressFields on Address {
|
|
642
|
+
use
|
|
643
|
+
type
|
|
644
|
+
text
|
|
645
|
+
line
|
|
646
|
+
city
|
|
647
|
+
district
|
|
648
|
+
state
|
|
649
|
+
postalCode
|
|
650
|
+
country
|
|
651
|
+
}
|
|
652
|
+
`;
|
|
653
|
+
export const ContactPointFieldsFragmentDoc = `
|
|
654
|
+
fragment ContactPointFields on ContactPoint {
|
|
655
|
+
id
|
|
656
|
+
system
|
|
657
|
+
value
|
|
658
|
+
use
|
|
659
|
+
rank
|
|
660
|
+
}
|
|
661
|
+
`;
|
|
662
|
+
export const LocationManagingOrganizationReferenceFieldsFragmentDoc = `
|
|
663
|
+
fragment LocationManagingOrganizationReferenceFields on LocationManagingOrganizationReference {
|
|
664
|
+
id
|
|
665
|
+
reference
|
|
666
|
+
identifier {
|
|
667
|
+
...IdentifierFields
|
|
668
|
+
}
|
|
669
|
+
display
|
|
670
|
+
}
|
|
671
|
+
${IdentifierFieldsFragmentDoc}`;
|
|
689
672
|
export const LocationFieldsFragmentDoc = `
|
|
690
673
|
fragment LocationFields on Location {
|
|
691
674
|
name
|
|
@@ -703,17 +686,21 @@ export const LocationFieldsFragmentDoc = `
|
|
|
703
686
|
}
|
|
704
687
|
distanceInMiles
|
|
705
688
|
telecom {
|
|
706
|
-
|
|
707
|
-
value
|
|
708
|
-
rank
|
|
689
|
+
...ContactPointFields
|
|
709
690
|
}
|
|
710
691
|
type {
|
|
711
692
|
...CodeableConceptFields
|
|
712
693
|
}
|
|
694
|
+
status
|
|
695
|
+
managingOrganization {
|
|
696
|
+
...LocationManagingOrganizationReferenceFields
|
|
697
|
+
}
|
|
713
698
|
}
|
|
714
699
|
${IdentifierFieldsFragmentDoc}
|
|
715
700
|
${AddressFieldsFragmentDoc}
|
|
716
|
-
${
|
|
701
|
+
${ContactPointFieldsFragmentDoc}
|
|
702
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
703
|
+
${LocationManagingOrganizationReferenceFieldsFragmentDoc}`;
|
|
717
704
|
export const ParticipantFieldsFragmentDoc = `
|
|
718
705
|
fragment ParticipantFields on Participant {
|
|
719
706
|
individual {
|
|
@@ -1063,6 +1050,127 @@ export const PractitionerFieldsFragmentDoc = `
|
|
|
1063
1050
|
}
|
|
1064
1051
|
${HumanNameFieldsFragmentDoc}
|
|
1065
1052
|
${IdentifierFieldsFragmentDoc}`;
|
|
1053
|
+
export const EndpointFieldsFragmentDoc = `
|
|
1054
|
+
fragment EndpointFields on Endpoint {
|
|
1055
|
+
identifier {
|
|
1056
|
+
...IdentifierFields
|
|
1057
|
+
}
|
|
1058
|
+
name
|
|
1059
|
+
status
|
|
1060
|
+
connectionType {
|
|
1061
|
+
...CodingFields
|
|
1062
|
+
}
|
|
1063
|
+
address
|
|
1064
|
+
}
|
|
1065
|
+
${IdentifierFieldsFragmentDoc}
|
|
1066
|
+
${CodingFieldsFragmentDoc}`;
|
|
1067
|
+
export const OrganizationFieldsFragmentDoc = `
|
|
1068
|
+
fragment OrganizationFields on Organization {
|
|
1069
|
+
resourceType
|
|
1070
|
+
identifier {
|
|
1071
|
+
...IdentifierFields
|
|
1072
|
+
}
|
|
1073
|
+
endpoint {
|
|
1074
|
+
...EndpointFields
|
|
1075
|
+
}
|
|
1076
|
+
name
|
|
1077
|
+
telecom {
|
|
1078
|
+
...ContactPointFields
|
|
1079
|
+
}
|
|
1080
|
+
address {
|
|
1081
|
+
...AddressFields
|
|
1082
|
+
}
|
|
1083
|
+
type {
|
|
1084
|
+
...CodeableConceptFields
|
|
1085
|
+
}
|
|
1086
|
+
active
|
|
1087
|
+
}
|
|
1088
|
+
${IdentifierFieldsFragmentDoc}
|
|
1089
|
+
${EndpointFieldsFragmentDoc}
|
|
1090
|
+
${ContactPointFieldsFragmentDoc}
|
|
1091
|
+
${AddressFieldsFragmentDoc}
|
|
1092
|
+
${CodeableConceptFieldsFragmentDoc}`;
|
|
1093
|
+
export const PractitionerRoleFieldsFragmentDoc = `
|
|
1094
|
+
fragment PractitionerRoleFields on PractitionerRole {
|
|
1095
|
+
resourceType
|
|
1096
|
+
id
|
|
1097
|
+
identifier {
|
|
1098
|
+
...IdentifierFields
|
|
1099
|
+
}
|
|
1100
|
+
practitioner {
|
|
1101
|
+
...PractitionerFields
|
|
1102
|
+
}
|
|
1103
|
+
organization {
|
|
1104
|
+
...OrganizationFields
|
|
1105
|
+
}
|
|
1106
|
+
code {
|
|
1107
|
+
...CodeableConceptFields
|
|
1108
|
+
}
|
|
1109
|
+
specialty {
|
|
1110
|
+
...CodeableConceptFields
|
|
1111
|
+
}
|
|
1112
|
+
location {
|
|
1113
|
+
...LocationFields
|
|
1114
|
+
}
|
|
1115
|
+
endpoint {
|
|
1116
|
+
...EndpointFields
|
|
1117
|
+
}
|
|
1118
|
+
telecom {
|
|
1119
|
+
...ContactPointFields
|
|
1120
|
+
}
|
|
1121
|
+
active
|
|
1122
|
+
period {
|
|
1123
|
+
...PeriodFields
|
|
1124
|
+
}
|
|
1125
|
+
}
|
|
1126
|
+
${IdentifierFieldsFragmentDoc}
|
|
1127
|
+
${PractitionerFieldsFragmentDoc}
|
|
1128
|
+
${OrganizationFieldsFragmentDoc}
|
|
1129
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1130
|
+
${LocationFieldsFragmentDoc}
|
|
1131
|
+
${EndpointFieldsFragmentDoc}
|
|
1132
|
+
${ContactPointFieldsFragmentDoc}
|
|
1133
|
+
${PeriodFieldsFragmentDoc}`;
|
|
1134
|
+
export const PatientFieldsFragmentDoc = `
|
|
1135
|
+
fragment PatientFields on Patient {
|
|
1136
|
+
id
|
|
1137
|
+
name {
|
|
1138
|
+
...HumanNameFields
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
${HumanNameFieldsFragmentDoc}`;
|
|
1142
|
+
export const RelatedPersonFieldsFragmentDoc = `
|
|
1143
|
+
fragment RelatedPersonFields on RelatedPerson {
|
|
1144
|
+
resourceType
|
|
1145
|
+
id
|
|
1146
|
+
active
|
|
1147
|
+
name {
|
|
1148
|
+
...HumanNameFields
|
|
1149
|
+
}
|
|
1150
|
+
identifier {
|
|
1151
|
+
...IdentifierFields
|
|
1152
|
+
}
|
|
1153
|
+
telecom {
|
|
1154
|
+
...ContactPointFields
|
|
1155
|
+
}
|
|
1156
|
+
address {
|
|
1157
|
+
...AddressFields
|
|
1158
|
+
}
|
|
1159
|
+
relationship {
|
|
1160
|
+
...CodeableConceptFields
|
|
1161
|
+
}
|
|
1162
|
+
patient {
|
|
1163
|
+
resource {
|
|
1164
|
+
...PatientFields
|
|
1165
|
+
}
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
1168
|
+
${HumanNameFieldsFragmentDoc}
|
|
1169
|
+
${IdentifierFieldsFragmentDoc}
|
|
1170
|
+
${ContactPointFieldsFragmentDoc}
|
|
1171
|
+
${AddressFieldsFragmentDoc}
|
|
1172
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1173
|
+
${PatientFieldsFragmentDoc}`;
|
|
1066
1174
|
export const CareTeamParticipantFieldsFragmentDoc = `
|
|
1067
1175
|
fragment CareTeamParticipantFields on CareTeamParticipant {
|
|
1068
1176
|
role {
|
|
@@ -1081,11 +1189,19 @@ export const CareTeamParticipantFieldsFragmentDoc = `
|
|
|
1081
1189
|
... on Practitioner {
|
|
1082
1190
|
...PractitionerFields
|
|
1083
1191
|
}
|
|
1192
|
+
... on PractitionerRole {
|
|
1193
|
+
...PractitionerRoleFields
|
|
1194
|
+
}
|
|
1195
|
+
... on RelatedPerson {
|
|
1196
|
+
...RelatedPersonFields
|
|
1197
|
+
}
|
|
1084
1198
|
}
|
|
1085
1199
|
}
|
|
1086
1200
|
${CodeableConceptFieldsFragmentDoc}
|
|
1087
1201
|
${MetaFieldsFragmentDoc}
|
|
1088
|
-
${PractitionerFieldsFragmentDoc}
|
|
1202
|
+
${PractitionerFieldsFragmentDoc}
|
|
1203
|
+
${PractitionerRoleFieldsFragmentDoc}
|
|
1204
|
+
${RelatedPersonFieldsFragmentDoc}`;
|
|
1089
1205
|
export const AsserterFieldsFragmentDoc = `
|
|
1090
1206
|
fragment AsserterFields on Asserter {
|
|
1091
1207
|
__typename
|
|
@@ -1853,6 +1969,8 @@ export const GetCareTeamsDocument = `
|
|
|
1853
1969
|
participant {
|
|
1854
1970
|
...CareTeamParticipantFields
|
|
1855
1971
|
}
|
|
1972
|
+
resourceType
|
|
1973
|
+
status
|
|
1856
1974
|
}
|
|
1857
1975
|
}
|
|
1858
1976
|
}
|
|
@@ -2940,6 +3058,13 @@ export const GetQuestionnaireResponsesDocument = `
|
|
|
2940
3058
|
}
|
|
2941
3059
|
}
|
|
2942
3060
|
${QuestionnaireResponseFieldsFragmentDoc}`;
|
|
3061
|
+
export const SaveQuestionnaireResponseDocument = `
|
|
3062
|
+
mutation saveQuestionnaireResponse($questionnaireResponse: QuestionnaireResponseInput!) {
|
|
3063
|
+
saveQuestionnaireResponse(input: $questionnaireResponse) {
|
|
3064
|
+
...QuestionnaireResponseFields
|
|
3065
|
+
}
|
|
3066
|
+
}
|
|
3067
|
+
${QuestionnaireResponseFieldsFragmentDoc}`;
|
|
2943
3068
|
export const ProviderSearchDocument = `
|
|
2944
3069
|
query providerSearch($client: [Client], $searchTerm: String, $includePopulatedPROAonly: Boolean, $specialtyFilters: [InputCoding], $organizationTypeFilters: [OrganizationType], $gender: Gender, $location: SearchPosition, $sortBy: [OrderBy], $filterFields: [FilterField], $page: Int, $pageSize: Int) {
|
|
2945
3070
|
providers(
|
|
@@ -3589,6 +3714,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
3589
3714
|
getQuestionnaireResponses(variables, requestHeaders) {
|
|
3590
3715
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetQuestionnaireResponsesDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getQuestionnaireResponses', 'query', variables);
|
|
3591
3716
|
},
|
|
3717
|
+
saveQuestionnaireResponse(variables, requestHeaders) {
|
|
3718
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(SaveQuestionnaireResponseDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'saveQuestionnaireResponse', 'mutation', variables);
|
|
3719
|
+
},
|
|
3592
3720
|
providerSearch(variables, requestHeaders) {
|
|
3593
3721
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(ProviderSearchDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'providerSearch', 'query', variables);
|
|
3594
3722
|
},
|