@icanbwell/bwell-sdk-ts 2.0.0-alpha.0-rc.1758310056 → 2.0.0-alpha.0-rc.1758311895

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.
@@ -29,3 +29,5 @@ export type { Specimen } from "./specimen.js";
29
29
  export type { ServiceRequest } from "./service-request.js";
30
30
  export type { Practitioner } from "./practitioner.js";
31
31
  export type { Patient } from "./patient.js";
32
+ export type { PractitionerRole } from "./practitioner-role.js";
33
+ export type { RelatedPerson } from "./related-person.js";
@@ -0,0 +1,42 @@
1
+ import { CodeableConcept } from "./codeable-concept.js";
2
+ import { ContactPoint } from "./contact-point.js";
3
+ import { Endpoint } from "./endpoint.js";
4
+ import { Identifier } from "./identifier.js";
5
+ import { Location } from "./location.js";
6
+ import { Organization } from "./organization.js";
7
+ import { Period } from "./period.js";
8
+ import { Practitioner } from "./practitioner.js";
9
+ import { Reference } from "./reference.js";
10
+ /**
11
+ * The types of services that may be provided by a practitioner for a organization.
12
+ *
13
+ * @category Models
14
+ * @title PractitionerRole
15
+ * @excerpt The types of services that may be provided by a practitioner for a organization.
16
+ */
17
+ export type PractitionerRole = {
18
+ /** The type of resource, always "PractitionerRole". */
19
+ resourceType: "PractitionerRole";
20
+ /** Logical id of the practitioner role resource. */
21
+ id: string | null;
22
+ /** Business identifiers for the practitioner role. */
23
+ identifier: (Identifier | null)[] | null;
24
+ /** Reference to the practitioner who is performing the role. */
25
+ practitioner: Reference<Practitioner> | null;
26
+ /** Reference to the organization where the practitioner is performing the role. */
27
+ organization: Reference<Organization> | null;
28
+ /** Roles which this practitioner is authorized to perform (e.g., doctor, nurse). */
29
+ code: (CodeableConcept | null)[] | null;
30
+ /** Specific specialties practiced by the practitioner in this role. */
31
+ specialty: (CodeableConcept | null)[] | null;
32
+ /** Locations where the practitioner provides care. */
33
+ location: (Reference<Location> | null)[] | null;
34
+ /** Contact details for the practitioner relevant to this role. */
35
+ telecom: (ContactPoint | null)[] | null;
36
+ /** Whether this practitioner role record is in active use. */
37
+ active: boolean | null;
38
+ /** Endpoints associated with the practitioner for this role. */
39
+ endpoint: (Reference<Endpoint> | null)[] | null;
40
+ /** The period during which the practitioner is authorized to perform the role. */
41
+ period: Period | null;
42
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,34 @@
1
+ import { Address } from "./address.js";
2
+ import { CodeableConcept } from "./codeable-concept.js";
3
+ import { ContactPoint } from "./contact-point.js";
4
+ import { HumanName } from "./human-name.js";
5
+ import { Identifier } from "./identifier.js";
6
+ import { Patient } from "./patient.js";
7
+ import { Reference } from "./reference.js";
8
+ /**
9
+ * Represents a personal or non-healthcare-specific relationship.
10
+ *
11
+ * @category Models
12
+ * @title RelatedPerson
13
+ * @excerpt Represents a personal or non-healthcare-specific relationship.
14
+ */
15
+ export type RelatedPerson = {
16
+ /** The type of resource, always "RelatedPerson". */
17
+ resourceType: "RelatedPerson";
18
+ /** Logical id of the related person resource. */
19
+ id: string;
20
+ /** Whether this related person record is in active use. */
21
+ active: boolean | null;
22
+ /** A list of names associated with the related person. */
23
+ name: (HumanName | null)[] | null;
24
+ /** A list of identifiers for the related person. */
25
+ identifier: (Identifier | null)[] | null;
26
+ /** A list of contact points (e.g., phone, email) for the related person. */
27
+ telecom: (ContactPoint | null)[] | null;
28
+ /** A list of addresses for the related person. */
29
+ address: (Address | null)[] | null;
30
+ /** The nature of the relationship between the patient and the related person. */
31
+ relationship: (CodeableConcept | null)[] | null;
32
+ /** Reference to the patient associated with this related person. */
33
+ patient: Reference<Patient> | null;
34
+ };
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,61 @@
1
+ import { CodeableConcept, EntryBundle, IdentifiedResourceEntry, Identifier, Meta, Organization, Practitioner, Reference, RelatedPerson } from "../common/index.js";
2
+ import { PractitionerRole } from "../common/practitioner-role.js";
3
+ /**
4
+ * A care team resource representing a set of people, organizations, and/or other care teams coordinating to deliver care.
5
+ *
6
+ * @category Models
7
+ * @title CareTeam
8
+ * @excerpt A care team represents people, organizations, and other care teams coordinating to deliver care.
9
+ */
10
+ export type CareTeam = {
11
+ /** The type of resource, always "CareTeam". */
12
+ resourceType: "CareTeam";
13
+ /** Logical id of the care team resource. */
14
+ id: string;
15
+ /** Business identifiers for the care team. */
16
+ identifier: (Identifier | null)[] | null;
17
+ /** Metadata about the resource. */
18
+ meta: Meta | null;
19
+ /** Status of the care team (e.g., active, suspended, inactive). */
20
+ status: string | null;
21
+ /** Name of the care team. */
22
+ name: string | null;
23
+ /** Category of the care team (e.g., long-term care, encounter-focused). */
24
+ category: (CodeableConcept | null)[] | null;
25
+ /** List of participants in the care team. */
26
+ participant: (CareTeamParticipant | null)[] | null;
27
+ };
28
+ /**
29
+ * Participant in a care team.
30
+ *
31
+ * @category Models
32
+ * @title CareTeamParticipant
33
+ * @excerpt Participant in a care team.
34
+ */
35
+ export type CareTeamParticipant = {
36
+ /** Roles of the participant in the care team. */
37
+ role: (CodeableConcept | null)[] | null;
38
+ /** Member reference and details. */
39
+ member: Reference<CareTeamParticipantMember> | null;
40
+ };
41
+ type CareTeamParticipantMemberOrganization = {
42
+ organizationName: string;
43
+ } & Omit<Organization, "name">;
44
+ type CareTeamParticipantMember = CareTeamParticipantMemberOrganization | Practitioner | PractitionerRole | RelatedPerson;
45
+ /**
46
+ * An entry in a care team bundle.
47
+ *
48
+ * @category Models
49
+ * @title CareTeamEntry
50
+ * @excerpt An entry in a care team bundle.
51
+ */
52
+ export type CareTeamEntry = IdentifiedResourceEntry<CareTeam>;
53
+ /**
54
+ * Bundle containing care team search results.
55
+ *
56
+ * @category Models
57
+ * @title CareTeamBundle
58
+ * @excerpt Bundle containing care team search results
59
+ */
60
+ export type CareTeamBundle = EntryBundle<CareTeamEntry>;
61
+ export {};
@@ -0,0 +1 @@
1
+ export {};
@@ -19,3 +19,4 @@ 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 { CareTeamBundle, CareTeam } from "./care-team.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icanbwell/bwell-sdk-ts",
3
- "version": "2.0.0-alpha.0-rc.1758310056",
3
+ "version": "2.0.0-alpha.0-rc.1758311895",
4
4
  "description": "b.well TypeScript SDK",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",