@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1757440654 → 2.0.0-alpha.0-rc.1757691388
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 +29 -1
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +3 -1
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +40 -0
- package/dist/graphql/operations/index.d.ts +22 -0
- package/dist/graphql/operations/index.js +315 -0
- package/dist/graphql/operations/types.d.ts +1151 -480
- package/dist/models/common/extension.d.ts +2 -0
- package/dist/models/health-data/condition.d.ts +26 -31
- package/dist/models/health-data/index.d.ts +2 -1
- package/dist/models/health-data/observation.d.ts +1 -2
- package/dist/models/health-data/procedure.d.ts +77 -0
- package/dist/models/health-data/procedure.js +1 -0
- package/package.json +1 -1
|
@@ -406,6 +406,75 @@ export const OrganizationFieldsFragmentDoc = `
|
|
|
406
406
|
${IdentifierFieldsFragmentDoc}
|
|
407
407
|
${EndpointFieldsFragmentDoc}
|
|
408
408
|
${AddressFieldsFragmentDoc}`;
|
|
409
|
+
export const DocumentReferenceAttachmentFieldsFragmentDoc = `
|
|
410
|
+
fragment DocumentReferenceAttachmentFields on DocumentReferenceAttachment {
|
|
411
|
+
contentType
|
|
412
|
+
data
|
|
413
|
+
url
|
|
414
|
+
title
|
|
415
|
+
}
|
|
416
|
+
`;
|
|
417
|
+
export const DocumentReferenceContextFieldsFragmentDoc = `
|
|
418
|
+
fragment DocumentReferenceContextFields on DocumentReferenceContext {
|
|
419
|
+
encounter {
|
|
420
|
+
reference
|
|
421
|
+
display
|
|
422
|
+
}
|
|
423
|
+
period {
|
|
424
|
+
...PeriodFields
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
${PeriodFieldsFragmentDoc}`;
|
|
428
|
+
export const DocumentReferenceFieldsFragmentDoc = `
|
|
429
|
+
fragment DocumentReferenceFields on DocumentReference {
|
|
430
|
+
resourceType
|
|
431
|
+
id
|
|
432
|
+
identifier {
|
|
433
|
+
...IdentifierFields
|
|
434
|
+
}
|
|
435
|
+
meta {
|
|
436
|
+
...MetaFields
|
|
437
|
+
}
|
|
438
|
+
text {
|
|
439
|
+
div
|
|
440
|
+
status
|
|
441
|
+
}
|
|
442
|
+
description
|
|
443
|
+
language
|
|
444
|
+
status
|
|
445
|
+
type {
|
|
446
|
+
...CodeableConceptFields
|
|
447
|
+
}
|
|
448
|
+
category {
|
|
449
|
+
...CodeableConceptFields
|
|
450
|
+
}
|
|
451
|
+
date
|
|
452
|
+
subject {
|
|
453
|
+
reference
|
|
454
|
+
display
|
|
455
|
+
}
|
|
456
|
+
author {
|
|
457
|
+
reference
|
|
458
|
+
display
|
|
459
|
+
}
|
|
460
|
+
content {
|
|
461
|
+
attachment {
|
|
462
|
+
...DocumentReferenceAttachmentFields
|
|
463
|
+
}
|
|
464
|
+
format {
|
|
465
|
+
...CodingFields
|
|
466
|
+
}
|
|
467
|
+
}
|
|
468
|
+
context {
|
|
469
|
+
...DocumentReferenceContextFields
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
${IdentifierFieldsFragmentDoc}
|
|
473
|
+
${MetaFieldsFragmentDoc}
|
|
474
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
475
|
+
${DocumentReferenceAttachmentFieldsFragmentDoc}
|
|
476
|
+
${CodingFieldsFragmentDoc}
|
|
477
|
+
${DocumentReferenceContextFieldsFragmentDoc}`;
|
|
409
478
|
export const AnnotationFieldsFragmentDoc = `
|
|
410
479
|
fragment AnnotationFields on Annotation {
|
|
411
480
|
id
|
|
@@ -701,6 +770,28 @@ export const ImmunizationPerformerActorFieldsFragmentDoc = `
|
|
|
701
770
|
}
|
|
702
771
|
}
|
|
703
772
|
${PractitionerFieldsFragmentDoc}`;
|
|
773
|
+
export const ProcedureRecorderFieldsFragmentDoc = `
|
|
774
|
+
fragment ProcedureRecorderFields on ProcedureRecorder {
|
|
775
|
+
...PatientFields
|
|
776
|
+
...PractitionerFields
|
|
777
|
+
}
|
|
778
|
+
${PatientFieldsFragmentDoc}
|
|
779
|
+
${PractitionerFieldsFragmentDoc}`;
|
|
780
|
+
export const ProcedureAsserterFieldsFragmentDoc = `
|
|
781
|
+
fragment ProcedureAsserterFields on ProcedureAsserter {
|
|
782
|
+
...PatientFields
|
|
783
|
+
...PractitionerFields
|
|
784
|
+
}
|
|
785
|
+
${PatientFieldsFragmentDoc}
|
|
786
|
+
${PractitionerFieldsFragmentDoc}`;
|
|
787
|
+
export const ProcedurePerformerActorFieldsFragmentDoc = `
|
|
788
|
+
fragment ProcedurePerformerActorFields on ProcedurePerformerActor {
|
|
789
|
+
...PractitionerFields
|
|
790
|
+
... on Organization {
|
|
791
|
+
organizationName: name
|
|
792
|
+
}
|
|
793
|
+
}
|
|
794
|
+
${PractitionerFieldsFragmentDoc}`;
|
|
704
795
|
export const QuestionnaireResponseItemFieldsFragmentDoc = `
|
|
705
796
|
fragment QuestionnaireResponseItemFields on QuestionnaireResponseItem {
|
|
706
797
|
linkId
|
|
@@ -1276,6 +1367,110 @@ export const GetConditionGroupsDocument = `
|
|
|
1276
1367
|
}
|
|
1277
1368
|
${PagingFieldsFragmentDoc}
|
|
1278
1369
|
${CodingFieldsFragmentDoc}`;
|
|
1370
|
+
export const GetConditionsDocument = `
|
|
1371
|
+
query getConditions($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
|
|
1372
|
+
conditions(
|
|
1373
|
+
_count: $pageSize
|
|
1374
|
+
_getpagesoffset: $page
|
|
1375
|
+
code: $code
|
|
1376
|
+
id: $id
|
|
1377
|
+
_lastUpdated: $lastUpdated
|
|
1378
|
+
_sort: $sort
|
|
1379
|
+
verification_status: $status
|
|
1380
|
+
_total: $total
|
|
1381
|
+
) {
|
|
1382
|
+
id
|
|
1383
|
+
entry {
|
|
1384
|
+
id
|
|
1385
|
+
resource {
|
|
1386
|
+
resourceType
|
|
1387
|
+
id
|
|
1388
|
+
identifier {
|
|
1389
|
+
...IdentifierFields
|
|
1390
|
+
}
|
|
1391
|
+
meta {
|
|
1392
|
+
...MetaFields
|
|
1393
|
+
}
|
|
1394
|
+
text {
|
|
1395
|
+
...NarrativeFields
|
|
1396
|
+
}
|
|
1397
|
+
extension {
|
|
1398
|
+
id
|
|
1399
|
+
url
|
|
1400
|
+
valueCodeableConcept {
|
|
1401
|
+
...CodeableConceptFields
|
|
1402
|
+
}
|
|
1403
|
+
valueString
|
|
1404
|
+
valueInteger
|
|
1405
|
+
valueDateTime
|
|
1406
|
+
}
|
|
1407
|
+
code {
|
|
1408
|
+
...CodeableConceptFields
|
|
1409
|
+
}
|
|
1410
|
+
clinicalStatus {
|
|
1411
|
+
...CodeableConceptFields
|
|
1412
|
+
}
|
|
1413
|
+
onsetDateTime
|
|
1414
|
+
recordedDate
|
|
1415
|
+
recorder {
|
|
1416
|
+
id
|
|
1417
|
+
reference
|
|
1418
|
+
type
|
|
1419
|
+
resource {
|
|
1420
|
+
...RecorderFields
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
note {
|
|
1424
|
+
...AnnotationFields
|
|
1425
|
+
}
|
|
1426
|
+
onsetPeriod {
|
|
1427
|
+
...PeriodFields
|
|
1428
|
+
}
|
|
1429
|
+
abatementDateTime
|
|
1430
|
+
abatementPeriod {
|
|
1431
|
+
...PeriodFields
|
|
1432
|
+
}
|
|
1433
|
+
subject {
|
|
1434
|
+
id
|
|
1435
|
+
reference
|
|
1436
|
+
type
|
|
1437
|
+
resource {
|
|
1438
|
+
...PatientFields
|
|
1439
|
+
}
|
|
1440
|
+
}
|
|
1441
|
+
category {
|
|
1442
|
+
...CodeableConceptFields
|
|
1443
|
+
}
|
|
1444
|
+
severity {
|
|
1445
|
+
...CodeableConceptFields
|
|
1446
|
+
}
|
|
1447
|
+
verificationStatus {
|
|
1448
|
+
...CodeableConceptFields
|
|
1449
|
+
}
|
|
1450
|
+
bodySite {
|
|
1451
|
+
...CodeableConceptFields
|
|
1452
|
+
}
|
|
1453
|
+
asserter {
|
|
1454
|
+
id
|
|
1455
|
+
reference
|
|
1456
|
+
type
|
|
1457
|
+
resource {
|
|
1458
|
+
...PractitionerFields
|
|
1459
|
+
}
|
|
1460
|
+
}
|
|
1461
|
+
}
|
|
1462
|
+
}
|
|
1463
|
+
}
|
|
1464
|
+
}
|
|
1465
|
+
${IdentifierFieldsFragmentDoc}
|
|
1466
|
+
${MetaFieldsFragmentDoc}
|
|
1467
|
+
${NarrativeFieldsFragmentDoc}
|
|
1468
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1469
|
+
${RecorderFieldsFragmentDoc}
|
|
1470
|
+
${AnnotationFieldsFragmentDoc}
|
|
1471
|
+
${PeriodFieldsFragmentDoc}
|
|
1472
|
+
${PatientFieldsFragmentDoc}
|
|
1473
|
+
${PractitionerFieldsFragmentDoc}`;
|
|
1279
1474
|
export const GetDiagnosticReportLabGroupsDocument = `
|
|
1280
1475
|
query getDiagnosticReportLabGroups($request: DiagnosticReportLabGroupQueryRequest) {
|
|
1281
1476
|
getDiagnosticReportLabGroups(request: $request) {
|
|
@@ -1479,6 +1674,120 @@ export const GetProcedureGroupsDocument = `
|
|
|
1479
1674
|
}
|
|
1480
1675
|
${PagingFieldsFragmentDoc}
|
|
1481
1676
|
${CodingFieldsFragmentDoc}`;
|
|
1677
|
+
export const GetProceduresDocument = `
|
|
1678
|
+
query getProcedures($page: Int, $pageSize: Int, $code: SearchToken, $id: SearchString, $lastUpdated: SearchDate, $sort: [String], $status: SearchToken, $total: TotalType) {
|
|
1679
|
+
procedures(
|
|
1680
|
+
_count: $pageSize
|
|
1681
|
+
_getpagesoffset: $page
|
|
1682
|
+
code: $code
|
|
1683
|
+
id: $id
|
|
1684
|
+
_lastUpdated: $lastUpdated
|
|
1685
|
+
_sort: $sort
|
|
1686
|
+
status: $status
|
|
1687
|
+
_total: $total
|
|
1688
|
+
) {
|
|
1689
|
+
id
|
|
1690
|
+
entry {
|
|
1691
|
+
id
|
|
1692
|
+
resource {
|
|
1693
|
+
resourceType
|
|
1694
|
+
id
|
|
1695
|
+
identifier {
|
|
1696
|
+
...IdentifierFields
|
|
1697
|
+
}
|
|
1698
|
+
meta {
|
|
1699
|
+
...MetaFields
|
|
1700
|
+
}
|
|
1701
|
+
location {
|
|
1702
|
+
id
|
|
1703
|
+
reference
|
|
1704
|
+
type
|
|
1705
|
+
resource {
|
|
1706
|
+
...LocationFields
|
|
1707
|
+
}
|
|
1708
|
+
}
|
|
1709
|
+
status
|
|
1710
|
+
subject {
|
|
1711
|
+
id
|
|
1712
|
+
reference
|
|
1713
|
+
type
|
|
1714
|
+
resource {
|
|
1715
|
+
...PatientFields
|
|
1716
|
+
}
|
|
1717
|
+
}
|
|
1718
|
+
recorder {
|
|
1719
|
+
id
|
|
1720
|
+
reference
|
|
1721
|
+
type
|
|
1722
|
+
resource {
|
|
1723
|
+
...ProcedureRecorderFields
|
|
1724
|
+
}
|
|
1725
|
+
}
|
|
1726
|
+
asserter {
|
|
1727
|
+
id
|
|
1728
|
+
reference
|
|
1729
|
+
type
|
|
1730
|
+
resource {
|
|
1731
|
+
...ProcedureAsserterFields
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
text {
|
|
1735
|
+
...NarrativeFields
|
|
1736
|
+
}
|
|
1737
|
+
code {
|
|
1738
|
+
...CodeableConceptFields
|
|
1739
|
+
}
|
|
1740
|
+
category {
|
|
1741
|
+
...CodeableConceptFields
|
|
1742
|
+
}
|
|
1743
|
+
performedDateTime
|
|
1744
|
+
performedPeriod {
|
|
1745
|
+
...PeriodFields
|
|
1746
|
+
}
|
|
1747
|
+
performedString
|
|
1748
|
+
performer {
|
|
1749
|
+
actor {
|
|
1750
|
+
id
|
|
1751
|
+
reference
|
|
1752
|
+
type
|
|
1753
|
+
resource {
|
|
1754
|
+
...ProcedurePerformerActorFields
|
|
1755
|
+
}
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
reasonCode {
|
|
1759
|
+
...CodeableConceptFields
|
|
1760
|
+
}
|
|
1761
|
+
bodySite {
|
|
1762
|
+
...CodeableConceptFields
|
|
1763
|
+
}
|
|
1764
|
+
outcome {
|
|
1765
|
+
...CodeableConceptFields
|
|
1766
|
+
}
|
|
1767
|
+
followUp {
|
|
1768
|
+
...CodeableConceptFields
|
|
1769
|
+
}
|
|
1770
|
+
complication {
|
|
1771
|
+
...CodeableConceptFields
|
|
1772
|
+
}
|
|
1773
|
+
note {
|
|
1774
|
+
...AnnotationFields
|
|
1775
|
+
}
|
|
1776
|
+
}
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
}
|
|
1780
|
+
${IdentifierFieldsFragmentDoc}
|
|
1781
|
+
${MetaFieldsFragmentDoc}
|
|
1782
|
+
${LocationFieldsFragmentDoc}
|
|
1783
|
+
${PatientFieldsFragmentDoc}
|
|
1784
|
+
${ProcedureRecorderFieldsFragmentDoc}
|
|
1785
|
+
${ProcedureAsserterFieldsFragmentDoc}
|
|
1786
|
+
${NarrativeFieldsFragmentDoc}
|
|
1787
|
+
${CodeableConceptFieldsFragmentDoc}
|
|
1788
|
+
${PeriodFieldsFragmentDoc}
|
|
1789
|
+
${ProcedurePerformerActorFieldsFragmentDoc}
|
|
1790
|
+
${AnnotationFieldsFragmentDoc}`;
|
|
1482
1791
|
export const GetVitalSignGroupsDocument = `
|
|
1483
1792
|
query getVitalSignGroups($request: VitalSignGroupQueryRequest) {
|
|
1484
1793
|
getVitalSignGroups(request: $request) {
|
|
@@ -2119,6 +2428,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2119
2428
|
getConditionGroups(variables, requestHeaders) {
|
|
2120
2429
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditionGroups', 'query', variables);
|
|
2121
2430
|
},
|
|
2431
|
+
getConditions(variables, requestHeaders) {
|
|
2432
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetConditionsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getConditions', 'query', variables);
|
|
2433
|
+
},
|
|
2122
2434
|
getDiagnosticReportLabGroups(variables, requestHeaders) {
|
|
2123
2435
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetDiagnosticReportLabGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getDiagnosticReportLabGroups', 'query', variables);
|
|
2124
2436
|
},
|
|
@@ -2137,6 +2449,9 @@ export function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
2137
2449
|
getProcedureGroups(variables, requestHeaders) {
|
|
2138
2450
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProcedureGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProcedureGroups', 'query', variables);
|
|
2139
2451
|
},
|
|
2452
|
+
getProcedures(variables, requestHeaders) {
|
|
2453
|
+
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetProceduresDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getProcedures', 'query', variables);
|
|
2454
|
+
},
|
|
2140
2455
|
getVitalSignGroups(variables, requestHeaders) {
|
|
2141
2456
|
return withWrapper((wrappedRequestHeaders) => client.rawRequest(GetVitalSignGroupsDocument, variables, Object.assign(Object.assign({}, requestHeaders), wrappedRequestHeaders)), 'getVitalSignGroups', 'query', variables);
|
|
2142
2457
|
},
|