@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1757362315 → 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-data-request.d.ts +3 -0
- package/dist/api/base/health-data/health-manager.d.ts +53 -1
- package/dist/api/base/requests/field-sort-order.d.ts +11 -0
- package/dist/api/base/requests/field-sort-order.js +1 -0
- package/dist/api/base/requests/index.d.ts +1 -0
- package/dist/api/base/search/search-health-resources-request.d.ts +3 -11
- package/dist/api/graphql-api/healthdata/graphql-health-manager.d.ts +5 -1
- package/dist/api/graphql-api/healthdata/graphql-health-manager.js +82 -0
- package/dist/api/graphql-api/healthdata/health-data-request-factory.js +13 -1
- package/dist/graphql/operations/index.d.ts +66 -5
- package/dist/graphql/operations/index.js +1115 -143
- package/dist/graphql/operations/types.d.ts +5625 -2203
- package/dist/models/common/contact-point.d.ts +4 -0
- package/dist/models/common/extension.d.ts +2 -0
- package/dist/models/common/index.d.ts +6 -1
- package/dist/models/common/location.d.ts +5 -0
- package/dist/models/common/organization.d.ts +22 -0
- package/dist/models/common/patient.d.ts +13 -0
- package/dist/models/common/patient.js +1 -0
- package/dist/models/common/practitioner.d.ts +15 -0
- package/dist/models/common/practitioner.js +1 -0
- package/dist/models/common/service-request.d.ts +21 -0
- package/dist/models/common/service-request.js +1 -0
- package/dist/models/common/specimen.d.ts +13 -0
- package/dist/models/common/specimen.js +1 -0
- package/dist/models/common/timing.d.ts +107 -0
- package/dist/models/common/timing.js +1 -0
- package/dist/models/common/value.d.ts +22 -0
- package/dist/models/common/value.js +1 -0
- package/dist/models/health-data/care-plan.d.ts +134 -0
- package/dist/models/health-data/care-plan.js +1 -0
- package/dist/models/health-data/condition.d.ts +102 -0
- package/dist/models/health-data/condition.js +1 -0
- package/dist/models/health-data/immunization.d.ts +149 -0
- package/dist/models/health-data/immunization.js +1 -0
- package/dist/models/health-data/index.d.ts +5 -0
- package/dist/models/health-data/observation.d.ts +100 -0
- package/dist/models/health-data/observation.js +1 -0
- package/dist/models/health-data/procedure.d.ts +77 -0
- package/dist/models/health-data/procedure.js +1 -0
- package/dist/models/search/health-resources.d.ts +2 -2
- package/package.json +1 -1
|
@@ -20,6 +20,10 @@ export interface ContactPoint {
|
|
|
20
20
|
* designated communication system (i.e. phone number or email address).
|
|
21
21
|
*/
|
|
22
22
|
value: string | null;
|
|
23
|
+
/**
|
|
24
|
+
* Specifies a preferred order in which to use a set of contacts. ContactPoints
|
|
25
|
+
* with lower rank values are more preferred than those with higher rank values. */
|
|
26
|
+
rank: number | null;
|
|
23
27
|
/**
|
|
24
28
|
* Identifies the purpose for the contact point.
|
|
25
29
|
* Uses the Code scalar type from the GraphQL schema.
|
|
@@ -14,6 +14,8 @@ import { Reference } from "./reference.js";
|
|
|
14
14
|
* @excerpt Represents an extension to FHIR resources
|
|
15
15
|
*/
|
|
16
16
|
export type Extension = {
|
|
17
|
+
/** Extension identifier */
|
|
18
|
+
id: string | null;
|
|
17
19
|
/** Extension URL */
|
|
18
20
|
url: string | null;
|
|
19
21
|
/** Boolean extension value */
|
|
@@ -23,4 +23,9 @@ export type { ReferenceRange } from "./reference-range.js";
|
|
|
23
23
|
export type { Component } from "./component.js";
|
|
24
24
|
export type { Score } from "./score.js";
|
|
25
25
|
export type { Endpoint } from "./endpoint.js";
|
|
26
|
-
export type { Organization } from "./organization.js";
|
|
26
|
+
export type { Organization, SearchResponseOrganization, } from "./organization.js";
|
|
27
|
+
export type { Timing } from "./timing.js";
|
|
28
|
+
export type { Specimen } from "./specimen.js";
|
|
29
|
+
export type { ServiceRequest } from "./service-request.js";
|
|
30
|
+
export type { Practitioner } from "./practitioner.js";
|
|
31
|
+
export type { Patient } from "./patient.js";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Address } from "./address.js";
|
|
2
|
+
import { CodeableConcept } from "./codeable-concept.js";
|
|
2
3
|
import { ContactPoint } from "./contact-point.js";
|
|
3
4
|
import { Identifier } from "./identifier.js";
|
|
4
5
|
import { Reference } from "./reference.js";
|
|
@@ -29,6 +30,8 @@ export type Location = {
|
|
|
29
30
|
id: string;
|
|
30
31
|
/** Display name */
|
|
31
32
|
name: string | null;
|
|
33
|
+
/** Alternate names */
|
|
34
|
+
alias: (string | null)[] | null;
|
|
32
35
|
/** Resource description */
|
|
33
36
|
description: string | null;
|
|
34
37
|
/** Business identifiers */
|
|
@@ -41,4 +44,6 @@ export type Location = {
|
|
|
41
44
|
position: LocationPosition | null;
|
|
42
45
|
/** Managing organization reference */
|
|
43
46
|
managingOrganization: Reference;
|
|
47
|
+
/** Indicates the type of function performed at the location. */
|
|
48
|
+
type: (CodeableConcept | null)[] | null;
|
|
44
49
|
};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Endpoint } from "./endpoint.js";
|
|
2
|
+
import { Address, ContactPoint, Identifier, Reference } from "./index.js";
|
|
2
3
|
/**
|
|
3
4
|
* Represents a healthcare organization.
|
|
4
5
|
*
|
|
@@ -7,6 +8,27 @@ import { Endpoint } from "./endpoint.js";
|
|
|
7
8
|
* @excerpt Healthcare organization with name and endpoints
|
|
8
9
|
*/
|
|
9
10
|
export type Organization = {
|
|
11
|
+
/** Resource type */
|
|
12
|
+
resourceType: string | null;
|
|
13
|
+
/** Organization identifiers */
|
|
14
|
+
identifier: (Identifier | null)[] | null;
|
|
15
|
+
/** Organization name */
|
|
16
|
+
name: string | null;
|
|
17
|
+
/** Organization endpoints */
|
|
18
|
+
endpoint: (Reference<Endpoint> | null)[] | null;
|
|
19
|
+
/** Organization address */
|
|
20
|
+
address: (Address | null)[] | null;
|
|
21
|
+
/** Contact information */
|
|
22
|
+
telecom: (ContactPoint | null)[] | null;
|
|
23
|
+
};
|
|
24
|
+
/**
|
|
25
|
+
* Represents a healthcare organization.
|
|
26
|
+
*
|
|
27
|
+
* @category Models
|
|
28
|
+
* @title SearchResponseOrganization
|
|
29
|
+
* @excerpt Healthcare organization with name and endpoints
|
|
30
|
+
*/
|
|
31
|
+
export type SearchResponseOrganization = {
|
|
10
32
|
/** Organization name */
|
|
11
33
|
name: string | null;
|
|
12
34
|
/** Organization endpoints */
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { HumanName } from "./index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a patient resource.
|
|
4
|
+
* @category Models
|
|
5
|
+
* @type Patient
|
|
6
|
+
* @excerpt Patient Resource
|
|
7
|
+
*/
|
|
8
|
+
export type Patient = {
|
|
9
|
+
/** The GraphQL typename for the patient. */
|
|
10
|
+
__typename: "Patient";
|
|
11
|
+
/** Name(s) of the patient. */
|
|
12
|
+
name: (HumanName | null)[] | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HumanName, Identifier } from "./index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a practitioner resource.
|
|
4
|
+
* @category Models
|
|
5
|
+
* @type Practitioner
|
|
6
|
+
* @excerpt Practitioner Resource
|
|
7
|
+
*/
|
|
8
|
+
export type Practitioner = {
|
|
9
|
+
/** The GraphQL typename for the practitioner. */
|
|
10
|
+
__typename: "Practitioner";
|
|
11
|
+
/** Name(s) of the practitioner. */
|
|
12
|
+
name: (HumanName | null)[] | null;
|
|
13
|
+
/** Identifiers for the practitioner. */
|
|
14
|
+
identifier: (Identifier | null)[] | null;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CodeableConcept } from "./index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.
|
|
4
|
+
* @category Models
|
|
5
|
+
* @title ServiceRequest
|
|
6
|
+
* @excerpt A record of a request for service such as diagnostic investigations, treatments, or operations to be performed.
|
|
7
|
+
*/
|
|
8
|
+
export type ServiceRequest = {
|
|
9
|
+
/**
|
|
10
|
+
* The type of the FHIR resource. Should be 'ServiceRequest'.
|
|
11
|
+
*/
|
|
12
|
+
resourceType: string | null;
|
|
13
|
+
/**
|
|
14
|
+
* The id of the resource.
|
|
15
|
+
*/
|
|
16
|
+
id: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* An explanation or justification for why this service is being requested in coded or textual form. This is often for billing purposes. May relate to the resources referred to in `supportingInfo`.
|
|
19
|
+
*/
|
|
20
|
+
reasonCode: (CodeableConcept | null)[] | null;
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { CodeableConcept, Identifier } from "./index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A sample to be used for analysis
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title Specimen
|
|
7
|
+
* @excerpt A sample to be used for analysis
|
|
8
|
+
*/
|
|
9
|
+
export type Specimen = {
|
|
10
|
+
identifier: (Identifier | null)[] | null;
|
|
11
|
+
accessionIdentifier: Identifier | null;
|
|
12
|
+
type: CodeableConcept | null;
|
|
13
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { CodeableConcept } from "./codeable-concept.js";
|
|
2
|
+
import { Period } from "./period.js";
|
|
3
|
+
import { Quantity } from "./quantity.js";
|
|
4
|
+
import { Range } from "./range.js";
|
|
5
|
+
/**
|
|
6
|
+
* Specifies an event that may occur multiple times.
|
|
7
|
+
*
|
|
8
|
+
* @category Models
|
|
9
|
+
* @title TimingRepeat
|
|
10
|
+
* @excerpt Specifies an event that may occur multiple times.
|
|
11
|
+
*/
|
|
12
|
+
export type TimingRepeat = {
|
|
13
|
+
id: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* A duration for the length of the timing schedule.
|
|
16
|
+
*/
|
|
17
|
+
boundsDuration: Quantity | null;
|
|
18
|
+
/**
|
|
19
|
+
* Start/End range of timing schedule.
|
|
20
|
+
*/
|
|
21
|
+
boundsPeriod: Period | null;
|
|
22
|
+
/**
|
|
23
|
+
* Range of possible length of the timing schedule.
|
|
24
|
+
*/
|
|
25
|
+
boundsRange: Range | null;
|
|
26
|
+
/**
|
|
27
|
+
* A total count of the desired number of repetitions across the duration of the entire timing specification. If countMax is present, this element indicates the lower bound of the allowed range of count values.
|
|
28
|
+
*/
|
|
29
|
+
count: number | null;
|
|
30
|
+
/**
|
|
31
|
+
* If present, indicates that the count is a range - so to perform the action between [count] and [countMax] times.
|
|
32
|
+
*/
|
|
33
|
+
countMax: number | null;
|
|
34
|
+
/**
|
|
35
|
+
* If one or more days of week is provided, then the action happens only on the specified day(s).
|
|
36
|
+
*/
|
|
37
|
+
dayOfWeek: (string | null)[] | null;
|
|
38
|
+
/**
|
|
39
|
+
* How long this thing happens for when it happens. If durationMax is present, this element indicates the lower bound of the allowed range of the duration.
|
|
40
|
+
*/
|
|
41
|
+
duration: number | null;
|
|
42
|
+
/**
|
|
43
|
+
* If present, indicates that the duration is a range - so to perform the action between [duration] and [durationMax] time length.
|
|
44
|
+
*/
|
|
45
|
+
durationMax: number | null;
|
|
46
|
+
/**
|
|
47
|
+
* The units of time for the duration, in UCUM units.
|
|
48
|
+
*/
|
|
49
|
+
durationUnit: string | null;
|
|
50
|
+
/**
|
|
51
|
+
* The number of times to repeat the action within the specified period. If frequencyMax is present, this element indicates the lower bound of the allowed range of the frequency.
|
|
52
|
+
*/
|
|
53
|
+
frequency: number | null;
|
|
54
|
+
/**
|
|
55
|
+
* If present, indicates that the frequency is a range - so to repeat between [frequency] and [frequencyMax] times within the period or period range.
|
|
56
|
+
*/
|
|
57
|
+
frequencyMax: number | null;
|
|
58
|
+
/**
|
|
59
|
+
* The number of minutes from the event. If the event code does not indicate whether the minutes is before or after the event, then the offset is assumed to be after the event.
|
|
60
|
+
*/
|
|
61
|
+
offset: number | null;
|
|
62
|
+
/**
|
|
63
|
+
* Indicates the duration of time over which repetitions are to occur; e.g. to express "3 times per day", 3 would be the frequency and "1 day" would be the period. If periodMax is present, this element indicates the lower bound of the allowed range of the period length.
|
|
64
|
+
*/
|
|
65
|
+
period: number | null;
|
|
66
|
+
/**
|
|
67
|
+
* If present, indicates that the period is a range from [period] to [periodMax], allowing expressing concepts such as "do this once every 3-5 days.
|
|
68
|
+
*/
|
|
69
|
+
periodMax: number | null;
|
|
70
|
+
/**
|
|
71
|
+
* The units of time for the period in UCUM units.
|
|
72
|
+
*/
|
|
73
|
+
periodUnit: string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Specified time of day for action to take place.
|
|
76
|
+
*/
|
|
77
|
+
timeOfDay: (string | null)[] | null;
|
|
78
|
+
/**
|
|
79
|
+
* An approximate time period during the day, potentially linked to an event of daily living that indicates when the action should occur.
|
|
80
|
+
*/
|
|
81
|
+
when: (string | null)[] | null;
|
|
82
|
+
};
|
|
83
|
+
/**
|
|
84
|
+
* Specifies an event that may occur multiple times.
|
|
85
|
+
*
|
|
86
|
+
* @category Models
|
|
87
|
+
* @title Timing
|
|
88
|
+
* @excerpt Specifies an event that may occur multiple times
|
|
89
|
+
*/
|
|
90
|
+
export type Timing = {
|
|
91
|
+
id: string | null;
|
|
92
|
+
/** Identifies specific times when the event occurs. */
|
|
93
|
+
event: (string | null)[] | null;
|
|
94
|
+
/**
|
|
95
|
+
* A code for the timing schedule (or just text in code.text).
|
|
96
|
+
* Some codes such as BID are ubiquitous, but many institutions
|
|
97
|
+
* define their own additional codes. If a code is provided, the
|
|
98
|
+
* code is understood to be a complete statement of whatever is
|
|
99
|
+
* specified in the structured timing data, and either the code
|
|
100
|
+
* or the data may be used to interpret the Timing, with the exception
|
|
101
|
+
* that .repeat.bounds still applies over the code (and is not
|
|
102
|
+
* contained in the code).
|
|
103
|
+
*/
|
|
104
|
+
code: CodeableConcept | null;
|
|
105
|
+
/** A set of rules that describe when the event is scheduled. */
|
|
106
|
+
repeat: TimingRepeat | null;
|
|
107
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { CodeableConcept, Period, Ratio } from "./index.js";
|
|
2
|
+
import { Quantity } from "./quantity.js";
|
|
3
|
+
import { Range } from "./range.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a value that can be one of several types.
|
|
6
|
+
*
|
|
7
|
+
* @category Models
|
|
8
|
+
* @title Value
|
|
9
|
+
* @excerpt Represents a value that can be one of several types
|
|
10
|
+
*/
|
|
11
|
+
export type Value = {
|
|
12
|
+
valueQuantity: Quantity | null;
|
|
13
|
+
valueCodeableConcept: CodeableConcept | null;
|
|
14
|
+
valueString: string | null;
|
|
15
|
+
valueBoolean: boolean | null;
|
|
16
|
+
valueDateTime: string | null;
|
|
17
|
+
valueTime: string | null;
|
|
18
|
+
valueInteger: number | null;
|
|
19
|
+
valueRatio: Ratio | null;
|
|
20
|
+
valueRange: Range | null;
|
|
21
|
+
valuePeriod: Period | null;
|
|
22
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
import type { Annotation, CodeableConcept, EntryBundle, IdentifiedResourceEntry, Identifier, Meta, Narrative, Period, Reference } from "../common/index.js";
|
|
2
|
+
import { Timing } from "../common/timing.js";
|
|
3
|
+
import { Condition } from "./condition.js";
|
|
4
|
+
/**
|
|
5
|
+
* Represents a care plan resource.
|
|
6
|
+
*
|
|
7
|
+
* @category Models
|
|
8
|
+
* @title CarePlan
|
|
9
|
+
* @excerpt Represents a care plan resource.
|
|
10
|
+
*/
|
|
11
|
+
export type CarePlan = {
|
|
12
|
+
/** A set of rules under which this content was created */
|
|
13
|
+
resourceType: string | null;
|
|
14
|
+
/** Logical id of this artifact */
|
|
15
|
+
id: string;
|
|
16
|
+
/** Identifiers for this care plan */
|
|
17
|
+
identifier: (Identifier | null)[] | null;
|
|
18
|
+
/** Metadata about the resource */
|
|
19
|
+
meta: Meta | null;
|
|
20
|
+
/** Text summary of the resource, for human interpretation */
|
|
21
|
+
text: Narrative | null;
|
|
22
|
+
/** Human-readable description of the care plan */
|
|
23
|
+
description: string | null;
|
|
24
|
+
/** Human-friendly name for the care plan.*/
|
|
25
|
+
title: string | null;
|
|
26
|
+
/**
|
|
27
|
+
* Identifies what "kind" of plan this is to support differentiation between
|
|
28
|
+
* multiple co-existing plans; e.g. "Home health", "psychiatric", "asthma",
|
|
29
|
+
* "disease management", "wellness plan", etc.
|
|
30
|
+
*/
|
|
31
|
+
category: (CodeableConcept | null)[] | null;
|
|
32
|
+
/** Indicates when the plan did (or is intended to) come into effect and end. */
|
|
33
|
+
period: Period | null;
|
|
34
|
+
/**
|
|
35
|
+
* Represents when this particular CarePlan record was created in the system,
|
|
36
|
+
* which is often a system-generated date.
|
|
37
|
+
*/
|
|
38
|
+
created: string | null;
|
|
39
|
+
/** General notes about the care plan not covered elsewhere. */
|
|
40
|
+
note: (Annotation | null)[] | null;
|
|
41
|
+
/**
|
|
42
|
+
* Indicates whether the plan is currently being acted upon,
|
|
43
|
+
* represents future intentions or is now a historical record.
|
|
44
|
+
*/
|
|
45
|
+
status: string | null;
|
|
46
|
+
/**
|
|
47
|
+
* Indicates the level of authority/intentionality associated
|
|
48
|
+
* with the care plan and where the care plan fits into the workflow chain.
|
|
49
|
+
*/
|
|
50
|
+
intent: string | null;
|
|
51
|
+
/**
|
|
52
|
+
* Identifies a planned action to occur as part of the plan. For example,
|
|
53
|
+
* a medication to be used, lab tests to perform, self-monitoring,
|
|
54
|
+
* education, etc.
|
|
55
|
+
*/
|
|
56
|
+
activity: (CarePlanActivity | null)[] | null;
|
|
57
|
+
/**
|
|
58
|
+
* Identifies the conditions/problems/concerns/diagnoses/etc. whose
|
|
59
|
+
* management and/or mitigation are handled by this plan.
|
|
60
|
+
*/
|
|
61
|
+
addresses: (Reference<Condition> | null)[] | null;
|
|
62
|
+
/**
|
|
63
|
+
* Identifies the patient or group whose intended care is described by the plan.
|
|
64
|
+
*/
|
|
65
|
+
subject: Reference | null;
|
|
66
|
+
};
|
|
67
|
+
/**
|
|
68
|
+
* Represents a planned activity within a care plan.
|
|
69
|
+
*
|
|
70
|
+
* @category Models
|
|
71
|
+
* @title CarePlanActivity
|
|
72
|
+
* @excerpt Represents a planned activity within a care plan
|
|
73
|
+
*/
|
|
74
|
+
export type CarePlanActivity = {
|
|
75
|
+
/**
|
|
76
|
+
* A simple summary of a planned activity suitable for a general care plan
|
|
77
|
+
* system (e.g. form driven) that doesn't know about specific resources such
|
|
78
|
+
* as procedure etc.
|
|
79
|
+
*/
|
|
80
|
+
detail: CarePlanDetail | null;
|
|
81
|
+
};
|
|
82
|
+
/**
|
|
83
|
+
* A simple summary of a planned activity suitable for a general care plan
|
|
84
|
+
* system (e.g. form driven) that doesn't know about specific resources such
|
|
85
|
+
* as procedure etc.
|
|
86
|
+
*
|
|
87
|
+
* @category Models
|
|
88
|
+
* @title CarePlanDetail
|
|
89
|
+
* @excerpt A simple summary of a planned activity suitable for a general care plan system.
|
|
90
|
+
*/
|
|
91
|
+
export type CarePlanDetail = {
|
|
92
|
+
/**
|
|
93
|
+
* A description of the kind of resource the in-line definition of a care plan
|
|
94
|
+
* activity is representing. The CarePlan.activity.detail is an in-line definition
|
|
95
|
+
* when a resource is not referenced using CarePlan.activity.reference. For example,
|
|
96
|
+
* a MedicationRequest, a ServiceRequest, or a CommunicationRequest.
|
|
97
|
+
*/
|
|
98
|
+
kind: string | null;
|
|
99
|
+
/**
|
|
100
|
+
* Detailed description of the type of planned activity; e.g. what lab test,
|
|
101
|
+
* what procedure, what kind of encounter.
|
|
102
|
+
*/
|
|
103
|
+
code: CodeableConcept | null;
|
|
104
|
+
/** Identifies what progress is being made for the specific activity. */
|
|
105
|
+
status: string | null;
|
|
106
|
+
/**
|
|
107
|
+
* Indicates when the activity is scheduled to occur.
|
|
108
|
+
*/
|
|
109
|
+
scheduledPeriod: Period | null;
|
|
110
|
+
/**
|
|
111
|
+
* Indicates when the activity is scheduled to occur (as a string).
|
|
112
|
+
*/
|
|
113
|
+
scheduledString: string | null;
|
|
114
|
+
/** Indicates when the activity is scheduled to occur (as a timing). */
|
|
115
|
+
scheduledTiming: Timing | null;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Represents an entry in a care plan bundle.
|
|
119
|
+
* Contains a care plan resource and metadata.
|
|
120
|
+
*
|
|
121
|
+
* @category Models
|
|
122
|
+
* @title CarePlanEntry
|
|
123
|
+
* @excerpt Represents an entry in a care plan bundle
|
|
124
|
+
*/
|
|
125
|
+
export type CarePlanEntry = IdentifiedResourceEntry<CarePlan>;
|
|
126
|
+
/**
|
|
127
|
+
* Bundle of care plan search results.
|
|
128
|
+
* Contains multiple care plan entries from search operations.
|
|
129
|
+
*
|
|
130
|
+
* @category Models
|
|
131
|
+
* @title CarePlanBundle
|
|
132
|
+
* @excerpt Bundle of care plan search results
|
|
133
|
+
*/
|
|
134
|
+
export type CarePlanBundle = EntryBundle<CarePlanEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import type { Annotation, CodeableConcept, EntryBundle, Extension, IdentifiedResourceEntry, Identifier, Meta, Narrative, Patient, Period, Practitioner, Reference } from "../common/index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Represents a condition resource.
|
|
4
|
+
*
|
|
5
|
+
* @category Models
|
|
6
|
+
* @title Condition
|
|
7
|
+
* @excerpt Represents a condition resource.
|
|
8
|
+
*/
|
|
9
|
+
export type Condition = {
|
|
10
|
+
/** Resource type */
|
|
11
|
+
resourceType: string | null;
|
|
12
|
+
/**
|
|
13
|
+
* The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
|
|
14
|
+
*/
|
|
15
|
+
id: string;
|
|
16
|
+
/** Identifiers for this condition */
|
|
17
|
+
identifier: (Identifier | null)[] | null;
|
|
18
|
+
/**
|
|
19
|
+
* The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
|
|
20
|
+
*/
|
|
21
|
+
meta: Meta | null;
|
|
22
|
+
/** Text summary of the resource, for human interpretation. */
|
|
23
|
+
text: Narrative | null;
|
|
24
|
+
/** Additional condition extensions. */
|
|
25
|
+
extension: (Extension | null)[] | null;
|
|
26
|
+
/**
|
|
27
|
+
* Identification of the condition, problem or diagnosis.
|
|
28
|
+
*/
|
|
29
|
+
code: CodeableConcept | null;
|
|
30
|
+
/**
|
|
31
|
+
* The clinical status of the condition.
|
|
32
|
+
*/
|
|
33
|
+
clinicalStatus: CodeableConcept | null;
|
|
34
|
+
/**
|
|
35
|
+
* None
|
|
36
|
+
*/
|
|
37
|
+
onsetDateTime: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* The recordedDate represents when this particular Condition record was created in the system, which is often a system-generated date.
|
|
40
|
+
*/
|
|
41
|
+
recordedDate: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* Individual who recorded the record and takes responsibility for its content.
|
|
44
|
+
*/
|
|
45
|
+
recorder: Reference<Patient | Practitioner> | null;
|
|
46
|
+
/**
|
|
47
|
+
* Additional information about the Condition. This is a general notes/comments entry for description of the Condition, its diagnosis and prognosis.
|
|
48
|
+
*/
|
|
49
|
+
note: (Annotation | null)[] | null;
|
|
50
|
+
/**
|
|
51
|
+
* None
|
|
52
|
+
*/
|
|
53
|
+
onsetPeriod: Period | null;
|
|
54
|
+
/**
|
|
55
|
+
* None
|
|
56
|
+
*/
|
|
57
|
+
abatementDateTime: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* None
|
|
60
|
+
*/
|
|
61
|
+
abatementPeriod: Period | null;
|
|
62
|
+
/**
|
|
63
|
+
* The patient the condition record is associated with.
|
|
64
|
+
*/
|
|
65
|
+
subject: Reference<Patient> | null;
|
|
66
|
+
/**
|
|
67
|
+
* A category assigned to the condition.
|
|
68
|
+
*/
|
|
69
|
+
category: CodeableConcept[] | null;
|
|
70
|
+
/**
|
|
71
|
+
* A subjective assessment of the severity of the condition as evaluated by the clinician.
|
|
72
|
+
*/
|
|
73
|
+
severity: CodeableConcept | null;
|
|
74
|
+
/**
|
|
75
|
+
* The verification status to support the clinical status of the condition.
|
|
76
|
+
*/
|
|
77
|
+
verificationStatus: CodeableConcept | null;
|
|
78
|
+
/**
|
|
79
|
+
* The anatomical location where this condition manifests itself.
|
|
80
|
+
*/
|
|
81
|
+
bodySite: CodeableConcept[] | null;
|
|
82
|
+
/** Individual who is making the condition statement. */
|
|
83
|
+
asserter: Reference<Patient> | null;
|
|
84
|
+
};
|
|
85
|
+
/**
|
|
86
|
+
* Represents an entry in a condition bundle.
|
|
87
|
+
* Contains a condition resource and metadata.
|
|
88
|
+
*
|
|
89
|
+
* @category Models
|
|
90
|
+
* @title ConditionEntry
|
|
91
|
+
* @excerpt Represents an entry in a condition bundle
|
|
92
|
+
*/
|
|
93
|
+
export type ConditionEntry = IdentifiedResourceEntry<Condition>;
|
|
94
|
+
/**
|
|
95
|
+
* Bundle of condition search results.
|
|
96
|
+
* Contains multiple conditions from search operations.
|
|
97
|
+
*
|
|
98
|
+
* @category Models
|
|
99
|
+
* @title ConditionBundle
|
|
100
|
+
* @excerpt Bundle of condition search results
|
|
101
|
+
*/
|
|
102
|
+
export type ConditionBundle = EntryBundle<ConditionEntry>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|