@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1760356197 → 2.0.0-alpha.0-rc.1760653171
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 +27 -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 +16 -0
- package/dist/graphql/operations/index.js +76 -0
- package/dist/graphql/operations/types.d.ts +1616 -387
- package/dist/graphql/schema.d.ts +8 -0
- package/dist/models/health-data/index.d.ts +2 -0
- package/dist/models/health-data/lab-bundle.d.ts +18 -0
- package/dist/models/health-data/lab-bundle.js +1 -0
- package/dist/models/health-data/medication-request.d.ts +1 -1
- package/dist/models/health-data/medication-statement.d.ts +68 -0
- package/dist/models/health-data/medication-statement.js +1 -0
- package/package.json +1 -1
package/dist/graphql/schema.d.ts
CHANGED
|
@@ -52438,6 +52438,7 @@ export type Query = {
|
|
|
52438
52438
|
* If the element is present, it must have either a @value, an @id, or extensions
|
|
52439
52439
|
*/
|
|
52440
52440
|
tasks?: Maybe<TaskBundle>;
|
|
52441
|
+
temp?: Maybe<Temp>;
|
|
52441
52442
|
userProfile?: Maybe<Person>;
|
|
52442
52443
|
verificationStatus?: Maybe<VerificationResult>;
|
|
52443
52444
|
/**
|
|
@@ -54632,6 +54633,9 @@ export type QueryTasksArgs = {
|
|
|
54632
54633
|
status?: InputMaybe<SearchToken>;
|
|
54633
54634
|
subject?: InputMaybe<SearchReference>;
|
|
54634
54635
|
};
|
|
54636
|
+
export type QueryTempArgs = {
|
|
54637
|
+
id: Scalars['ID']['input'];
|
|
54638
|
+
};
|
|
54635
54639
|
export type QueryVisionPrescriptionsArgs = {
|
|
54636
54640
|
_count?: InputMaybe<Scalars['Int']['input']>;
|
|
54637
54641
|
_debug?: InputMaybe<Scalars['Boolean']['input']>;
|
|
@@ -64913,6 +64917,10 @@ export type TelemetryConfig = {
|
|
|
64913
64917
|
collectorUrl: Scalars['String']['output'];
|
|
64914
64918
|
enabled?: Maybe<Scalars['Boolean']['output']>;
|
|
64915
64919
|
};
|
|
64920
|
+
export type Temp = {
|
|
64921
|
+
__typename?: 'Temp';
|
|
64922
|
+
id: Scalars['ID']['output'];
|
|
64923
|
+
};
|
|
64916
64924
|
/**
|
|
64917
64925
|
* TerminologyCapabilities
|
|
64918
64926
|
* A TerminologyCapabilities resource documents a set of capabilities (behaviors)
|
|
@@ -19,8 +19,10 @@ export { Observation } from "./observation.js";
|
|
|
19
19
|
export { ConditionBundle, Condition } from "./condition.js";
|
|
20
20
|
export { ProcedureBundle, Procedure } from "./procedure.js";
|
|
21
21
|
export { VitalSignBundle } from "./vital-sign-bundle.js";
|
|
22
|
+
export { LabBundle } from "./lab-bundle.js";
|
|
22
23
|
export { CareTeamBundle, CareTeam } from "./care-team.js";
|
|
23
24
|
export { EncounterBundle, Encounter } from "./encounter.js";
|
|
24
25
|
export { MedicationDispenseBundle, MedicationDispense, } from "./medication-dispense.js";
|
|
25
26
|
export { MedicationRequestBundle, MedicationRequest, } from "./medication-request.js";
|
|
27
|
+
export type { MedicationStatementBundle, MedicationStatement, } from "./medication-statement.js";
|
|
26
28
|
export { DiagnosticReportBundle, DiagnosticReport, } from "./diagnostic-report.js";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EntryBundle, IdentifiedResourceEntry } from "../common/bundle.js";
|
|
2
|
+
import { Observation } from "../index.js";
|
|
3
|
+
/**
|
|
4
|
+
* Entry in a lab bundle with observation resource and metadata.
|
|
5
|
+
*
|
|
6
|
+
* @category Models
|
|
7
|
+
* @title LabEntry
|
|
8
|
+
* @excerpt Entry in a lab bundle
|
|
9
|
+
*/
|
|
10
|
+
export type LabEntry = IdentifiedResourceEntry<Observation>;
|
|
11
|
+
/**
|
|
12
|
+
* Bundle of lab search results.
|
|
13
|
+
*
|
|
14
|
+
* @category Models
|
|
15
|
+
* @title LabBundle
|
|
16
|
+
* @excerpt Bundle of lab search results
|
|
17
|
+
*/
|
|
18
|
+
export type LabBundle = EntryBundle<LabEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -27,7 +27,7 @@ export type MedicationRequest = {
|
|
|
27
27
|
/**
|
|
28
28
|
* Indicates the type of medication request (for example, where the medication is expected to be consumed or administered).
|
|
29
29
|
*/
|
|
30
|
-
category: CodeableConcept | null;
|
|
30
|
+
category: (CodeableConcept | null)[] | null;
|
|
31
31
|
/**
|
|
32
32
|
* Identifiers associated with this medication request.
|
|
33
33
|
*/
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import type { CodeableConcept, Dosage, EntryBundle, IdentifiedResourceEntry, Meta, Period, Reference } from "../common/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a medication statement resource.
|
|
4
|
+
* A record of a medication that is being consumed by a patient.
|
|
5
|
+
* A MedicationStatement may indicate that the patient may be taking the medication now
|
|
6
|
+
* or has taken the medication in the past or will be taking the medication in the future.
|
|
7
|
+
*
|
|
8
|
+
* @category Models
|
|
9
|
+
* @title MedicationStatement
|
|
10
|
+
* @excerpt Represents a medication statement resource indicating a patient's medication usage.
|
|
11
|
+
*/
|
|
12
|
+
export type MedicationStatement = {
|
|
13
|
+
/** Resource type */
|
|
14
|
+
resourceType: string | null;
|
|
15
|
+
/**
|
|
16
|
+
* The logical id of the resource.
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* The metadata about the resource.
|
|
21
|
+
*/
|
|
22
|
+
meta: Meta | null;
|
|
23
|
+
/**
|
|
24
|
+
* A code representing the patient or other source's judgment about the state of
|
|
25
|
+
* the medication used that this statement is about. Generally, this will be
|
|
26
|
+
* active or completed.
|
|
27
|
+
*/
|
|
28
|
+
status: string | null;
|
|
29
|
+
/**
|
|
30
|
+
* Identifies the medication being consumed.
|
|
31
|
+
*/
|
|
32
|
+
medicationCodeableConcept: CodeableConcept | null;
|
|
33
|
+
/**
|
|
34
|
+
* A reason for why the medication is being/was taken.
|
|
35
|
+
*/
|
|
36
|
+
reasonCode: (CodeableConcept | null)[] | null;
|
|
37
|
+
/**
|
|
38
|
+
* The interval of time during which it is being asserted that the patient
|
|
39
|
+
* is/was/will be taking the medication (or was not taking, when the
|
|
40
|
+
* MedicationStatement.taken element is No).
|
|
41
|
+
*/
|
|
42
|
+
effectivePeriod: Period | null;
|
|
43
|
+
/**
|
|
44
|
+
* Indicates how the medication is/was or should be taken by the patient.
|
|
45
|
+
*/
|
|
46
|
+
dosage: (Dosage | null)[] | null;
|
|
47
|
+
/**
|
|
48
|
+
* Allows linking the MedicationStatement to the underlying MedicationRequest,
|
|
49
|
+
* or to other information that supports or is used to derive the MedicationStatement.
|
|
50
|
+
*/
|
|
51
|
+
derivedFrom: (Reference | null)[] | null;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* Entry in medication statement bundle.
|
|
55
|
+
*
|
|
56
|
+
* @category Models
|
|
57
|
+
* @title MedicationStatementEntry
|
|
58
|
+
* @excerpt Entry in medication statement bundle.
|
|
59
|
+
*/
|
|
60
|
+
export type MedicationStatementEntry = IdentifiedResourceEntry<MedicationStatement>;
|
|
61
|
+
/**
|
|
62
|
+
* Bundle of medication statement results.
|
|
63
|
+
*
|
|
64
|
+
* @category Models
|
|
65
|
+
* @title MedicationStatementBundle
|
|
66
|
+
* @excerpt Bundle of medication statement results.
|
|
67
|
+
*/
|
|
68
|
+
export type MedicationStatementBundle = EntryBundle<MedicationStatementEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|