@icanbwell/bwell-sdk-ts 1.36.4-rc.1752561352 → 1.37.0-rc.1753464307

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.
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export declare const VERSION = "1.36.4-rc.1752561352";
4
+ export declare const VERSION = "1.37.0-rc.1753464307";
@@ -1,4 +1,4 @@
1
1
  /**
2
2
  * This file is automatically generated. Please do not edit this file directly.
3
3
  */
4
- export const VERSION = "1.36.4-rc.1752561352";
4
+ export const VERSION = "1.37.0-rc.1753464307";
@@ -50,7 +50,7 @@ export declare const SubstanceIngredientFieldsFragmentDoc = "\n fragment Subs
50
50
  export declare const SubstanceFieldsFragmentDoc = "\n fragment SubstanceFields on Substance {\n resourceType\n id\n text {\n ...NarrativeFields\n }\n identifier {\n ...IdentifierFields\n }\n status\n category {\n ...CodeableConceptFields\n }\n code {\n ...CodeableConceptFields\n }\n description\n instance {\n ...SubstanceInstanceFields\n }\n ingredient {\n ...SubstanceIngredientFields\n }\n}\n \n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment SubstanceInstanceFields on SubstanceInstance {\n identifier {\n ...IdentifierFields\n }\n expiry\n quantity {\n ...QuantityFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment SubstanceIngredientFields on SubstanceIngredient {\n id\n quantity {\n ...RatioFields\n }\n substanceCodeableConcept {\n ...CodeableConceptFields\n }\n}\n \n fragment RatioFields on Ratio {\n numerator {\n ...QuantityFields\n }\n denominator {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
51
51
  export declare const MetaFieldsFragmentDoc = "\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
52
52
  export declare const DocumentReferenceContextFieldsFragmentDoc = "\n fragment DocumentReferenceContextFields on DocumentReferenceContext {\n encounter {\n reference\n display\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PeriodFields on Period {\n start\n end\n}\n ";
53
- export declare const DocumentReferenceFieldsFragmentDoc = "\n fragment DocumentReferenceFields on DocumentReferenceResource {\n id\n resourceType\n meta {\n ...MetaFields\n }\n language\n text {\n div\n status\n }\n identifier {\n ...IdentifierFields\n }\n status\n subject {\n reference\n display\n }\n type {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n date\n author {\n reference\n display\n }\n description\n content {\n attachment {\n contentType\n data\n url\n }\n format {\n ...CodingFields\n }\n }\n context {\n ...DocumentReferenceContextFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment DocumentReferenceContextFields on DocumentReferenceContext {\n encounter {\n reference\n display\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PeriodFields on Period {\n start\n end\n}\n ";
53
+ export declare const DocumentReferenceFieldsFragmentDoc = "\n fragment DocumentReferenceFields on DocumentReferenceResource {\n id\n resourceType\n meta {\n ...MetaFields\n }\n language\n text {\n div\n status\n }\n identifier {\n ...IdentifierFields\n }\n status\n subject {\n reference\n display\n }\n type {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n date\n author {\n reference\n display\n }\n description\n content {\n attachment {\n contentType\n data\n url\n title\n }\n format {\n ...CodingFields\n }\n }\n context {\n ...DocumentReferenceContextFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment DocumentReferenceContextFields on DocumentReferenceContext {\n encounter {\n reference\n display\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PeriodFields on Period {\n start\n end\n}\n ";
54
54
  export declare const ProtocolAppliedFieldsFragmentDoc = "\n fragment ProtocolAppliedFields on ProtocolApplied {\n doseNumberString\n doseNumberPositiveInt\n}\n ";
55
55
  export declare const DetailFieldsFragmentDoc = "\n fragment DetailFields on Detail {\n kind {\n display\n code\n }\n code {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n scheduledPeriod {\n ...PeriodFields\n }\n scheduledString\n scheduledTiming {\n ...TimingFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n ...TimingRepeatFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment TimingRepeatFields on TimingRepeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek {\n code\n display\n }\n duration\n durationMax\n durationUnit {\n code\n display\n }\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit {\n display\n code\n }\n timeOfDay\n when {\n code\n display\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
56
56
  export declare const ActivityFieldsFragmentDoc = "\n fragment ActivityFields on Activity {\n detail {\n ...DetailFields\n }\n}\n \n fragment DetailFields on Detail {\n kind {\n display\n code\n }\n code {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n scheduledPeriod {\n ...PeriodFields\n }\n scheduledString\n scheduledTiming {\n ...TimingFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment TimingFields on Timing {\n id\n code {\n ...CodeableConceptFields\n }\n event\n repeat {\n ...TimingRepeatFields\n }\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment TimingRepeatFields on TimingRepeat {\n id\n boundsDuration {\n ...QuantityFields\n }\n boundsPeriod {\n ...PeriodFields\n }\n boundsRange {\n ...RangeFields\n }\n count\n countMax\n dayOfWeek {\n code\n display\n }\n duration\n durationMax\n durationUnit {\n code\n display\n }\n frequency\n frequencyMax\n offset\n period\n periodMax\n periodUnit {\n display\n code\n }\n timeOfDay\n when {\n code\n display\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment RangeFields on Range {\n low {\n ...QuantityFields\n }\n high {\n ...QuantityFields\n }\n}\n \n fragment QuantityFields on Quantity {\n value\n unit\n code\n comparator\n system\n}\n ";
@@ -97,7 +97,7 @@ export declare const GetCareTeamsDocument = "\n query getCareTeams($request:
97
97
  export declare const GetConditionGroupsDocument = "\n query getConditionGroups($request: ConditionGroupQueryRequest) {\n getConditionGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n coding {\n ...CodingFields\n }\n references\n recordedDate\n source\n sourceDisplay\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
98
98
  export declare const GetConditionsDocument = "\n query getConditions($request: ConditionRequest) {\n getConditions(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n resourceType\n identifier {\n ...IdentifierFields\n }\n text {\n ...NarrativeFields\n }\n extension {\n id\n url\n valueCodeableConcept {\n ...CodeableConceptFields\n }\n valueString\n valueInteger\n valueDateTime\n }\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n subject {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n asserter {\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n }\n }\n encounter {\n ...EncounterFields\n }\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment EncounterFields on EncounterResource {\n meta {\n ...MetaFields\n }\n id\n resourceType\n text {\n ...NarrativeFields\n }\n encounterLocations: locations {\n location {\n ...LocationFields\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n identifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n participant {\n ...ParticipantFields\n }\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n system\n code\n display\n }\n location {\n ...LocationFields\n }\n serviceProvider {\n name\n endpoint {\n name\n status\n connectionType {\n system\n code\n display\n }\n address\n }\n }\n subject {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n language {\n ...CodeableConceptFields\n }\n }\n }\n reasonReference {\n ...ConditionFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n system\n value\n rank\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ParticipantFields on Participant {\n individual {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ConditionFields on ConditionResource {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
99
99
  export declare const GetDiagnosticReportLabGroupsDocument = "\n query getDiagnosticReportLabGroups($request: DiagnosticReportLabGroupQueryRequest) {\n getDiagnosticReportLabGroups(request: $request) {\n resources {\n id\n effectiveDateTime\n issued\n name\n performer\n references\n source\n sourceDisplay\n coding {\n ...CodingFields\n }\n }\n paging_info {\n ...PagingFields\n }\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n ";
100
- export declare const GetDocumentReferencesDocument = "\n query getDocumentReferences($request: DocumentReferenceRequest) {\n getDocumentReferences(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n ...DocumentReferenceFields\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment DocumentReferenceFields on DocumentReferenceResource {\n id\n resourceType\n meta {\n ...MetaFields\n }\n language\n text {\n div\n status\n }\n identifier {\n ...IdentifierFields\n }\n status\n subject {\n reference\n display\n }\n type {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n date\n author {\n reference\n display\n }\n description\n content {\n attachment {\n contentType\n data\n url\n }\n format {\n ...CodingFields\n }\n }\n context {\n ...DocumentReferenceContextFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment DocumentReferenceContextFields on DocumentReferenceContext {\n encounter {\n reference\n display\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PeriodFields on Period {\n start\n end\n}\n ";
100
+ export declare const GetDocumentReferencesDocument = "\n query getDocumentReferences($request: DocumentReferenceRequest) {\n getDocumentReferences(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n ...DocumentReferenceFields\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment DocumentReferenceFields on DocumentReferenceResource {\n id\n resourceType\n meta {\n ...MetaFields\n }\n language\n text {\n div\n status\n }\n identifier {\n ...IdentifierFields\n }\n status\n subject {\n reference\n display\n }\n type {\n ...CodeableConceptFields\n }\n category {\n ...CodeableConceptFields\n }\n date\n author {\n reference\n display\n }\n description\n content {\n attachment {\n contentType\n data\n url\n title\n }\n format {\n ...CodingFields\n }\n }\n context {\n ...DocumentReferenceContextFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment DocumentReferenceContextFields on DocumentReferenceContext {\n encounter {\n reference\n display\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment PeriodFields on Period {\n start\n end\n}\n ";
101
101
  export declare const GetEncountersGroupDocument = "\n query getEncountersGroup($request: EncounterGroupQueryRequest) {\n getEncounterGroups(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n id\n name\n references\n class {\n ...CodingFields\n }\n type {\n ...CodingFields\n }\n participant\n coding {\n ...CodingFields\n }\n date\n source\n sourceDisplay\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment CodingFields on Coding {\n system\n code\n display\n}\n ";
102
102
  export declare const GetEncounterQueryDocument = "\n query getEncounterQuery($request: EncounterRequest) {\n getEncounters(request: $request) {\n paging_info {\n ...PagingFields\n }\n resources {\n ...EncounterFields\n }\n }\n}\n \n fragment PagingFields on PagingResults {\n page_number\n page_size\n total_pages\n total_items\n}\n \n\n fragment EncounterFields on EncounterResource {\n meta {\n ...MetaFields\n }\n id\n resourceType\n text {\n ...NarrativeFields\n }\n encounterLocations: locations {\n location {\n ...LocationFields\n }\n status\n physicalType {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n }\n identifier {\n ...IdentifierFields\n }\n type {\n ...CodeableConceptFields\n }\n status {\n display\n code\n }\n participant {\n ...ParticipantFields\n }\n period {\n ...PeriodFields\n }\n reasonCode {\n ...CodeableConceptFields\n }\n class {\n system\n code\n display\n }\n location {\n ...LocationFields\n }\n serviceProvider {\n name\n endpoint {\n name\n status\n connectionType {\n system\n code\n display\n }\n address\n }\n }\n subject {\n id\n name {\n ...HumanNameFields\n }\n gender\n birthDate\n communication {\n language {\n ...CodeableConceptFields\n }\n }\n }\n reasonReference {\n ...ConditionFields\n }\n hospitalization {\n dischargeDisposition {\n ...CodeableConceptFields\n }\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment NarrativeFields on Narrative {\n div\n status\n}\n \n\n fragment LocationFields on Location {\n name\n identifier {\n ...IdentifierFields\n }\n alias\n description\n address {\n ...AddressFields\n }\n position {\n lat\n lon\n }\n distanceInMiles\n telecom {\n system\n value\n rank\n }\n type {\n ...CodeableConceptFields\n }\n}\n \n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment AddressFields on Address {\n use\n type\n text\n line\n city\n district\n state\n postalCode\n country\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment ParticipantFields on Participant {\n individual {\n id\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n type {\n ...CodeableConceptFields\n }\n period {\n ...PeriodFields\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n \n\n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment ConditionFields on ConditionResource {\n id\n meta {\n ...MetaFields\n }\n code {\n ...CodeableConceptFields\n }\n clinicalStatus {\n ...CodeableConceptFields\n }\n onsetDateTime\n recordedDate\n recorder {\n ...RecorderFields\n }\n note {\n authorString\n time\n text\n }\n onsetPeriod {\n ...PeriodFields\n }\n abatementDateTime\n abatementPeriod {\n ...PeriodFields\n }\n category {\n ...CodeableConceptFields\n }\n severity {\n ...CodeableConceptFields\n }\n verificationStatus {\n ...CodeableConceptFields\n }\n bodySite {\n ...CodeableConceptFields\n }\n}\n \n fragment MetaFields on Meta {\n versionId\n lastUpdated\n source\n security {\n ...CodingFields\n }\n tag {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment RecorderFields on Recorder {\n __typename\n ... on Patient {\n name {\n ...HumanNameFields\n }\n }\n ... on Practitioner {\n name {\n ...HumanNameFields\n }\n identifier {\n ...IdentifierFields\n }\n }\n}\n \n fragment HumanNameFields on HumanName {\n text\n family\n given\n prefix\n suffix\n}\n \n\n fragment IdentifierFields on Identifier {\n id\n type {\n ...CodeableConceptFields\n }\n system\n value\n}\n \n fragment CodeableConceptFields on CodeableConcept {\n text\n coding {\n ...CodingFields\n }\n}\n \n fragment CodingFields on Coding {\n system\n code\n display\n}\n \n\n fragment PeriodFields on Period {\n start\n end\n}\n ";
103
103
  export declare const GetHealthSummaryDocument = "\n query GetHealthSummary {\n getHealthSummary {\n resources {\n category\n total\n }\n }\n}\n ";
@@ -554,6 +554,7 @@ export const DocumentReferenceFieldsFragmentDoc = `
554
554
  contentType
555
555
  data
556
556
  url
557
+ title
557
558
  }
558
559
  format {
559
560
  ...CodingFields
@@ -2986,6 +2986,7 @@ export type DocumentReferenceFieldsFragment = {
2986
2986
  contentType: string | null;
2987
2987
  data: string | null;
2988
2988
  url: string | null;
2989
+ title: string | null;
2989
2990
  } | null;
2990
2991
  format: {
2991
2992
  system: any | null;
@@ -8724,6 +8725,7 @@ export type GetDocumentReferencesQueryResults = {
8724
8725
  contentType: string | null;
8725
8726
  data: string | null;
8726
8727
  url: string | null;
8728
+ title: string | null;
8727
8729
  } | null;
8728
8730
  format: {
8729
8731
  system: any | null;
@@ -186,12 +186,6 @@ export type Address = {
186
186
  type?: Maybe<Scalars['Code']['output']>;
187
187
  use?: Maybe<Scalars['Code']['output']>;
188
188
  };
189
- export type AddressField = {
190
- city: Scalars['String']['input'];
191
- line: Scalars['String']['input'];
192
- postalCode: Scalars['String']['input'];
193
- state: Scalars['String']['input'];
194
- };
195
189
  export type AddressG = {
196
190
  __typename?: 'AddressG';
197
191
  country: Scalars['String']['output'];
@@ -1125,10 +1119,6 @@ export type ConsentVerificationVerifiedWithReference = {
1125
1119
  reference?: Maybe<Scalars['String']['output']>;
1126
1120
  type?: Maybe<Scalars['URI']['output']>;
1127
1121
  };
1128
- export type ContactField = {
1129
- use: ContactUseType;
1130
- value: Scalars['String']['input'];
1131
- };
1132
1122
  export type ContactPoint = {
1133
1123
  __typename?: 'ContactPoint';
1134
1124
  extension?: Maybe<Array<Maybe<FhirExtension>>>;
@@ -1151,12 +1141,6 @@ export type ContactPointInput = {
1151
1141
  /** Can define enum */
1152
1142
  value?: InputMaybe<Scalars['String']['input']>;
1153
1143
  };
1154
- /** Contact.use options */
1155
- export declare enum ContactUseType {
1156
- Home = "home",
1157
- Mobile = "mobile",
1158
- Work = "work"
1159
- }
1160
1144
  /** Supported ISO 4217 CurrencyCodes */
1161
1145
  export declare enum CurrencyCode {
1162
1146
  Usd = "USD"
@@ -1342,6 +1326,8 @@ export type DocumentReferenceAttachment = {
1342
1326
  contentType?: Maybe<Scalars['String']['output']>;
1343
1327
  /** Data inline, base64ed */
1344
1328
  data?: Maybe<Scalars['String']['output']>;
1329
+ /** Title of the document */
1330
+ title?: Maybe<Scalars['String']['output']>;
1345
1331
  /** Uri where the data can be found */
1346
1332
  url?: Maybe<Scalars['String']['output']>;
1347
1333
  };
@@ -1842,13 +1828,6 @@ export declare enum GenderEnum {
1842
1828
  Other = "OTHER",
1843
1829
  Unknown = "UNKNOWN"
1844
1830
  }
1845
- /** Gender options */
1846
- export declare enum GenderType {
1847
- Female = "female",
1848
- Male = "male",
1849
- Other = "other",
1850
- Unknown = "unknown"
1851
- }
1852
1831
  /** Generate an oauth url */
1853
1832
  export type GenerateUrl = {
1854
1833
  __typename?: 'GenerateUrl';
@@ -1863,15 +1842,6 @@ export type GetFhirSearchDateValue = {
1863
1842
  /** the value for the parameter in the resource is greater than the provided value */
1864
1843
  greaterThan?: InputMaybe<Scalars['Date']['input']>;
1865
1844
  };
1866
- export type GetTokenFromDemographicsInput = {
1867
- address: AddressField;
1868
- birthDate: Scalars['String']['input'];
1869
- email: Scalars['String']['input'];
1870
- gender: GenderType;
1871
- mobile: ContactField;
1872
- name: NamedField;
1873
- userIdentifier: Scalars['String']['input'];
1874
- };
1875
1845
  export type GoogleGeo = {
1876
1846
  __typename?: 'GoogleGeo';
1877
1847
  key: Scalars['String']['output'];
@@ -2975,9 +2945,9 @@ export type Mutation = {
2975
2945
  disconnectConnection: DisconnectConnection;
2976
2946
  exchangeAuthCode: AuthTokens;
2977
2947
  findOrCreatePatient?: Maybe<Patient>;
2978
- getTokenFromDemographics: AuthTokens;
2979
2948
  interacted?: Maybe<Scalars['Boolean']['output']>;
2980
2949
  itemInteracted?: Maybe<Scalars['Boolean']['output']>;
2950
+ mergeClientPersonAndPatient?: Maybe<Person>;
2981
2951
  /**
2982
2952
  * Utilizes the Adaptive Questionnaire workflow to determine the next question
2983
2953
  * and contains the questionnaire within the QuestionnaireResponse
@@ -3123,9 +3093,6 @@ export type MutationFindOrCreatePatientArgs = {
3123
3093
  clientSlug?: InputMaybe<Scalars['String']['input']>;
3124
3094
  patient?: InputMaybe<PatientInput>;
3125
3095
  };
3126
- export type MutationGetTokenFromDemographicsArgs = {
3127
- userInfo: GetTokenFromDemographicsInput;
3128
- };
3129
3096
  export type MutationInteractedArgs = {
3130
3097
  interaction?: InputMaybe<InteractionType>;
3131
3098
  result_id?: InputMaybe<Scalars['String']['input']>;
@@ -3136,6 +3103,11 @@ export type MutationItemInteractedArgs = {
3136
3103
  resultId?: InputMaybe<Scalars['String']['input']>;
3137
3104
  user?: InputMaybe<UserInput>;
3138
3105
  };
3106
+ export type MutationMergeClientPersonAndPatientArgs = {
3107
+ clientPersonIdentifiers: Array<IdentifierInput>;
3108
+ clientSlug: Scalars['String']['input'];
3109
+ identifiersForDuplicateClientPerson: Array<IdentifierInput>;
3110
+ };
3139
3111
  export type MutationNextQuestionArgs = {
3140
3112
  input?: InputMaybe<QuestionnaireResponseInput>;
3141
3113
  };
@@ -3232,11 +3204,6 @@ export type NameInput = {
3232
3204
  text?: InputMaybe<Scalars['String']['input']>;
3233
3205
  use?: InputMaybe<Scalars['String']['input']>;
3234
3206
  };
3235
- export type NamedField = {
3236
- firstName: Scalars['String']['input'];
3237
- lastName: Scalars['String']['input'];
3238
- middleName?: InputMaybe<Scalars['String']['input']>;
3239
- };
3240
3207
  export type Narrative = {
3241
3208
  __typename?: 'Narrative';
3242
3209
  div?: Maybe<Scalars['XHTML']['output']>;
@@ -77,13 +77,6 @@ export var ConsentStatus;
77
77
  ConsentStatus["Proposed"] = "PROPOSED";
78
78
  ConsentStatus["Rejected"] = "REJECTED";
79
79
  })(ConsentStatus || (ConsentStatus = {}));
80
- /** Contact.use options */
81
- export var ContactUseType;
82
- (function (ContactUseType) {
83
- ContactUseType["Home"] = "home";
84
- ContactUseType["Mobile"] = "mobile";
85
- ContactUseType["Work"] = "work";
86
- })(ContactUseType || (ContactUseType = {}));
87
80
  /** Supported ISO 4217 CurrencyCodes */
88
81
  export var CurrencyCode;
89
82
  (function (CurrencyCode) {
@@ -205,14 +198,6 @@ export var GenderEnum;
205
198
  GenderEnum["Other"] = "OTHER";
206
199
  GenderEnum["Unknown"] = "UNKNOWN";
207
200
  })(GenderEnum || (GenderEnum = {}));
208
- /** Gender options */
209
- export var GenderType;
210
- (function (GenderType) {
211
- GenderType["Female"] = "female";
212
- GenderType["Male"] = "male";
213
- GenderType["Other"] = "other";
214
- GenderType["Unknown"] = "unknown";
215
- })(GenderType || (GenderType = {}));
216
201
  export var HealthSummaryCategory;
217
202
  (function (HealthSummaryCategory) {
218
203
  HealthSummaryCategory["AllergyIntolerance"] = "ALLERGY_INTOLERANCE";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "1.36.4-rc.1752561352",
3
+ "version": "1.37.0-rc.1753464307",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",