@healthcloudai/hc-sdk 3.28.0 → 3.29.0

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.
Files changed (41) hide show
  1. package/dist/index.cjs +65 -0
  2. package/dist/index.d.cts +755 -5
  3. package/dist/index.d.ts +755 -5
  4. package/dist/index.js +65 -0
  5. package/docs/clients/PatientClient.md +5 -0
  6. package/docs/clients/ProviderClient.md +3 -0
  7. package/docs/docs-manifest.json +23 -3
  8. package/docs/examples/index.md +8 -0
  9. package/docs/index.md +8 -0
  10. package/docs/models/AvailabilityWindow.md +19 -0
  11. package/docs/models/BookPracticeAppointmentRequest.md +18 -0
  12. package/docs/models/CreatePracticeInviteRequest.md +17 -0
  13. package/docs/models/GetPatientResponse.md +1 -0
  14. package/docs/models/PatientDemographics.md +1 -0
  15. package/docs/models/PracticeAppointment.md +26 -0
  16. package/docs/models/PracticeAppointmentResponse.md +17 -0
  17. package/docs/models/PracticeAppointmentsResponse.md +19 -0
  18. package/docs/models/PracticeAvailability.md +22 -0
  19. package/docs/models/PracticeAvailabilityResponse.md +18 -0
  20. package/docs/models/PracticeInviteResponse.md +20 -0
  21. package/docs/models/PracticeSlot.md +19 -0
  22. package/docs/models/PracticeSlotsResponse.md +21 -0
  23. package/docs/models/ProviderPatientProfile.md +1 -0
  24. package/docs/models/ReschedulePracticeAppointmentRequest.md +17 -0
  25. package/docs/models/index.md +12 -0
  26. package/docs/models/patient.RegisterRequest.md +1 -0
  27. package/docs/models/patient.RegisterResponse.md +1 -0
  28. package/docs/operations/fieldagent.listPatients.md +1 -0
  29. package/docs/operations/patient.bookPracticeAppointment.md +180 -0
  30. package/docs/operations/patient.cancelPracticeAppointment.md +158 -0
  31. package/docs/operations/patient.getPatient.md +1 -0
  32. package/docs/operations/patient.getPatientSidebarPatientSidebar.md +1 -0
  33. package/docs/operations/patient.listPracticeAppointmentSlots.md +149 -0
  34. package/docs/operations/patient.listPracticeAppointments.md +156 -0
  35. package/docs/operations/patient.register.md +4 -1
  36. package/docs/operations/patient.reschedulePracticeAppointment.md +182 -0
  37. package/docs/operations/provider.createPracticeInvite.md +140 -0
  38. package/docs/operations/provider.getPatientProfile.md +1 -0
  39. package/docs/operations/provider.getPracticeAvailability.md +136 -0
  40. package/docs/operations/provider.setPracticeAvailability.md +168 -0
  41. package/package.json +1 -1
@@ -351,6 +351,7 @@
351
351
  - [AthenaUploadPrescriptionCardImageResponse](AthenaUploadPrescriptionCardImageResponse.md)
352
352
  - [AthenaVitalFailedReading](AthenaVitalFailedReading.md)
353
353
  - [AthenaVitalsMirrorResult](AthenaVitalsMirrorResult.md)
354
+ - [PracticeAvailabilityWindow](AvailabilityWindow.md)
354
355
  - [BloodPressureVital](BloodPressureVital.md)
355
356
  - [BodyHeight](BodyHeight.md)
356
357
  - [BodyHeightVital](BodyHeightVital.md)
@@ -359,6 +360,7 @@
359
360
  - [BodyWeight](BodyWeight.md)
360
361
  - [BodyWeightVital](BodyWeightVital.md)
361
362
  - [BookAppointmentRequest](BookAppointmentRequest.md)
363
+ - [BookPracticeAppointmentRequest](BookPracticeAppointmentRequest.md)
362
364
  - [CalAssignScheduleToEventTypeRequest](CalAssignScheduleToEventTypeRequest.md)
363
365
  - [CalAssignScheduleToEventTypeResponse](CalAssignScheduleToEventTypeResponse.md)
364
366
  - [CalAvailableSlotsResponse](CalAvailableSlotsResponse.md)
@@ -465,6 +467,7 @@
465
467
  - [CreateMedicationRequest](CreateMedicationRequest.md)
466
468
  - [CreateMedicationResponse](CreateMedicationResponse.md)
467
469
  - [CreateTelehealthTokenRequest](CreatePatientTokenRequest.md)
470
+ - [CreatePracticeInviteRequest](CreatePracticeInviteRequest.md)
468
471
  - [CreateProviderPatientRequest](CreateProviderPatientRequest.md)
469
472
  - [CreateTelehealthTokenRequest](CreateProviderTokenRequest.md)
470
473
  - [CreateQuestionnaireRequest](CreateQuestionnaireRequest.md)
@@ -1497,6 +1500,14 @@
1497
1500
  - [PolicyDocument](PolicyDocument.md)
1498
1501
  - [PortalRole](PortalRole.md)
1499
1502
  - [PositionCode](PositionCode.md)
1503
+ - [PracticeAppointment](PracticeAppointment.md)
1504
+ - [PracticeAppointmentResponse](PracticeAppointmentResponse.md)
1505
+ - [PracticeAppointmentsResponse](PracticeAppointmentsResponse.md)
1506
+ - [PracticeAvailability](PracticeAvailability.md)
1507
+ - [PracticeAvailabilityResponse](PracticeAvailabilityResponse.md)
1508
+ - [PracticeInviteResponse](PracticeInviteResponse.md)
1509
+ - [PracticeSlot](PracticeSlot.md)
1510
+ - [PracticeSlotsResponse](PracticeSlotsResponse.md)
1500
1511
  - [Practitioner](Practitioner.md)
1501
1512
  - [PreferredPharmacy](PreferredPharmacy.md)
1502
1513
  - [PresenceRecord](PresenceRecord.md)
@@ -1663,6 +1674,7 @@
1663
1674
  - [ReplaceInsuranceRequest](ReplaceInsuranceRequest.md)
1664
1675
  - [ReplaceInsuranceResponse](ReplaceInsuranceResponse.md)
1665
1676
  - [RescheduleAppointmentRequest](RescheduleAppointmentRequest.md)
1677
+ - [ReschedulePracticeAppointmentRequest](ReschedulePracticeAppointmentRequest.md)
1666
1678
  - [RespiratoryRate](RespiratoryRate.md)
1667
1679
  - [RetireInsuranceRequest](RetireInsuranceRequest.md)
1668
1680
  - [RetireInsuranceResponse](RetireInsuranceResponse.md)
@@ -28,6 +28,7 @@ Type: `object`
28
28
  | `ethnicity` | [`Ethnicity`](./Ethnicity.md) | No | | | `null` | Yes | Hispanic or Latino ethnicity status, optional. Mirrored to Athena `ethnicitycode`. |
29
29
  | `first_name` | `string` | Yes | | | | No | Patient's given (first) name. |
30
30
  | `flags` | `object|null` | No | | | `null` | Yes | Boolean feature/state flags keyed by flag name. Recognized key: AUTO_VERIFY_EMAIL — if true, skips email OTP verification and auto-logs the patient in. |
31
+ | `invite_code` | `string|null` | No | | | `null` | Yes | A practice's invite code. A valid, unused, unexpired code makes the new patient that practice's patient (see `practice_id` on the patient). An invalid, expired or used code rejects the registration with 400 and a `code` of invalid_invite, invite_expired or invite_used; the patient is never registered without the practice they were invited to. |
31
32
  | `last_name` | `string` | Yes | | | | No | Patient's family (last) name. |
32
33
  | `marital_status` | [`MaritalStatus`](./MaritalStatus.md) | No | | | `null` | Yes | Marital status, optional. Mirrored to Athena `maritalstatus`. |
33
34
  | `password` | `string` | Yes | | | | No | Initial password, minimum 8 characters. |
@@ -20,6 +20,7 @@ Type: `object`
20
20
  | `fhir_patient_id` | `string` | Yes | | | | No | Newly created FHIR Patient resource ID. |
21
21
  | `id_token` | `string|null` | No | | | | Yes | Cognito ID token, present only when the tenant's flow auto-signs the user in after registration. |
22
22
  | `openloop_drivers_license_status` | `string|null` | No | | | | Yes | Outcome of mirroring the driver's license image to the patient's Healthie (OpenLoop) account, present only when a driver's license image was submitted with registration. |
23
+ | `practice_id` | `string|null` | No | | | | Yes | The practice the new patient now belongs to, present only when the registration used a valid `invite_code`. |
23
24
  | `steadymd_drivers_license_status` | `string|null` | No | | | | Yes | Outcome of mirroring the driver's license image to the patient's SteadyMD intake, present only when a driver's license image was submitted with registration. |
24
25
  | `telehealth_id` | `integer|null` | Yes | | | | Yes | Telehealth platform numeric user ID assigned at registration. |
25
26
 
@@ -142,6 +142,7 @@ None declared in canonical OpenAPI.
142
142
  "patient_id": "00000000-0000-0000-0000-000000000000",
143
143
  "phones": [],
144
144
  "photo_binary_id": "string",
145
+ "practice_id": "string",
145
146
  "preferred_language": "en",
146
147
  "preferred_pharmacy": {
147
148
  "address_city": "string",
@@ -0,0 +1,180 @@
1
+ # Book a telehealth appointment with the patient's practice
2
+
3
+ Operation ID: `patient.bookPracticeAppointment`
4
+
5
+ Books the slot (`slot_id` from GET /practice-appointment-slots). Two patients cannot take one slot: the loser gets 409 `slot_taken`. 409 `no_practice` when the patient has no practice, 409 `slot_unavailable` when the time is no longer a bookable slot, 502 `mirror_failed` when an Athena-integrated tenant's Athena booking failed (nothing is booked). The patient and the practice are notified. The response carries the video link.
6
+
7
+ ## Public method
8
+
9
+ `bookPracticeAppointment`
10
+
11
+ Signature: `patient.bookPracticeAppointment(request)`
12
+
13
+ Return type: `Promise<PracticeAppointmentResponse>`
14
+
15
+ ## Authentication
16
+
17
+ Classification: **AUTHENTICATED**
18
+
19
+ Schemes: `bearerAuth`
20
+
21
+ ## Prerequisites
22
+
23
+ None documented.
24
+
25
+ ## HTTP
26
+
27
+ `POST /practice-appointments`
28
+
29
+ ## Path parameters
30
+
31
+ None.
32
+
33
+ ## Query parameters
34
+
35
+ None.
36
+
37
+ ## Body parameters
38
+
39
+ | Name | Type | Required | Format | Allowed values | Default | Nullable | Description |
40
+ |---|---|---:|---|---|---|---:|---|
41
+ | `body` | [`BookPracticeAppointmentRequest`](../models/BookPracticeAppointmentRequest.md) | Yes | | | | No | |
42
+
43
+ Request model: [`BookPracticeAppointmentRequest`](../models/BookPracticeAppointmentRequest.md)
44
+
45
+ ## Request example
46
+
47
+ ```json
48
+ {
49
+ "reason": "string",
50
+ "slot_id": "string"
51
+ }
52
+ ```
53
+
54
+ ## Success responses
55
+
56
+ | Status | Shape | Content type | Description |
57
+ |---|---|---|---|
58
+ | `201` | [`PracticeAppointmentResponse`](../models/PracticeAppointmentResponse.md) | application/json | The booked appointment |
59
+
60
+ ## Success response examples
61
+
62
+ ### 201
63
+
64
+ ```json
65
+ {
66
+ "appointment": {
67
+ "appointment_id": "string",
68
+ "end": "2026-01-01T09:00:00Z",
69
+ "practice_display": "string",
70
+ "practice_id": "string",
71
+ "previous_appointment_id": "string",
72
+ "reason": "string",
73
+ "slot_id": "string",
74
+ "start": "2026-01-01T09:00:00Z",
75
+ "status": "string",
76
+ "telehealth_link": "string"
77
+ }
78
+ }
79
+ ```
80
+
81
+ ## Common errors
82
+
83
+ | Status | Shape | Content type | Description |
84
+ |---|---|---|---|
85
+ | `400` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
86
+ | `401` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | Authorization required — missing or invalid Bearer JWT |
87
+ | `404` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
88
+ | `409` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
89
+ | `502` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
90
+
91
+ ## Error examples
92
+
93
+ ### 400
94
+
95
+ ```json
96
+ {
97
+ "details": [
98
+ {}
99
+ ],
100
+ "error": "string"
101
+ }
102
+ ```
103
+
104
+ ### 401 — Missing or invalid access token
105
+
106
+ ```json
107
+ {
108
+ "error": "Authorization required"
109
+ }
110
+ ```
111
+
112
+ ### 404
113
+
114
+ ```json
115
+ {
116
+ "details": [
117
+ {}
118
+ ],
119
+ "error": "string"
120
+ }
121
+ ```
122
+
123
+ ### 409
124
+
125
+ ```json
126
+ {
127
+ "details": [
128
+ {}
129
+ ],
130
+ "error": "string"
131
+ }
132
+ ```
133
+
134
+ ### 502
135
+
136
+ ```json
137
+ {
138
+ "details": [
139
+ {}
140
+ ],
141
+ "error": "string"
142
+ }
143
+ ```
144
+
145
+ ## NodeJS / TypeScript implementation
146
+
147
+ ```ts
148
+ import { HCSDK } from "@healthcloudai/hc-sdk";
149
+ ```
150
+
151
+ ```ts
152
+ const request = {
153
+ "reason": "string",
154
+ "slot_id": "string"
155
+ };
156
+
157
+ const result = await patient.bookPracticeAppointment(request);
158
+ ```
159
+
160
+ ## cURL
161
+
162
+ ```bash
163
+ curl -X POST \
164
+ -H 'Authorization: Bearer <ACCESS_TOKEN>' \
165
+ -H 'Content-Type: application/json' \
166
+ -d '{"reason":"string","slot_id":"string"}' \
167
+ 'https://dev-api-patient.health.cloud/practice-appointments'
168
+ ```
169
+
170
+ ## Notes
171
+
172
+ None.
173
+
174
+ ## Prepared Test Console scenario
175
+
176
+ No canonical scenario is currently associated.
177
+
178
+ ## Real response
179
+
180
+ No approved real integration response is currently published. Unapproved candidates are never rendered as examples.
@@ -0,0 +1,158 @@
1
+ # Cancel a telehealth appointment with the patient's practice
2
+
3
+ Operation ID: `patient.cancelPracticeAppointment`
4
+
5
+ Cancels one of the caller's own practice appointments at any time before it starts (there is no cancellation window). Repeating a cancellation changes nothing. 404 for anyone else's appointment, 409 `already_started` once it has begun. The slot is free again. The patient and the practice are notified.
6
+
7
+ ## Public method
8
+
9
+ `cancelPracticeAppointment`
10
+
11
+ Signature: `patient.cancelPracticeAppointment(appointmentId)`
12
+
13
+ Return type: `Promise<PracticeAppointmentResponse>`
14
+
15
+ ## Authentication
16
+
17
+ Classification: **AUTHENTICATED**
18
+
19
+ Schemes: `bearerAuth`
20
+
21
+ ## Prerequisites
22
+
23
+ None documented.
24
+
25
+ ## HTTP
26
+
27
+ `POST /practice-appointments/{appointment_id}/cancel`
28
+
29
+ ## Path parameters
30
+
31
+ | Name | Type | Required | Format | Allowed values | Default | Nullable | Description |
32
+ |---|---|---:|---|---|---|---:|---|
33
+ | `appointment_id` | `string` | Yes | | | | No | |
34
+
35
+ ## Query parameters
36
+
37
+ None.
38
+
39
+ ## Body parameters
40
+
41
+ None.
42
+
43
+ Request model: None.
44
+
45
+ ## Request example
46
+
47
+ None declared in canonical OpenAPI.
48
+
49
+ ## Success responses
50
+
51
+ | Status | Shape | Content type | Description |
52
+ |---|---|---|---|
53
+ | `200` | [`PracticeAppointmentResponse`](../models/PracticeAppointmentResponse.md) | application/json | The cancelled appointment |
54
+
55
+ ## Success response examples
56
+
57
+ ### 200
58
+
59
+ ```json
60
+ {
61
+ "appointment": {
62
+ "appointment_id": "string",
63
+ "end": "2026-01-01T09:00:00Z",
64
+ "practice_display": "string",
65
+ "practice_id": "string",
66
+ "previous_appointment_id": "string",
67
+ "reason": "string",
68
+ "slot_id": "string",
69
+ "start": "2026-01-01T09:00:00Z",
70
+ "status": "string",
71
+ "telehealth_link": "string"
72
+ }
73
+ }
74
+ ```
75
+
76
+ ## Common errors
77
+
78
+ | Status | Shape | Content type | Description |
79
+ |---|---|---|---|
80
+ | `401` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | Authorization required — missing or invalid Bearer JWT |
81
+ | `404` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
82
+ | `409` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
83
+ | `502` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
84
+
85
+ ## Error examples
86
+
87
+ ### 401 — Missing or invalid access token
88
+
89
+ ```json
90
+ {
91
+ "error": "Authorization required"
92
+ }
93
+ ```
94
+
95
+ ### 404
96
+
97
+ ```json
98
+ {
99
+ "details": [
100
+ {}
101
+ ],
102
+ "error": "string"
103
+ }
104
+ ```
105
+
106
+ ### 409
107
+
108
+ ```json
109
+ {
110
+ "details": [
111
+ {}
112
+ ],
113
+ "error": "string"
114
+ }
115
+ ```
116
+
117
+ ### 502
118
+
119
+ ```json
120
+ {
121
+ "details": [
122
+ {}
123
+ ],
124
+ "error": "string"
125
+ }
126
+ ```
127
+
128
+ ## NodeJS / TypeScript implementation
129
+
130
+ ```ts
131
+ import { HCSDK } from "@healthcloudai/hc-sdk";
132
+ ```
133
+
134
+ ```ts
135
+ const appointmentId = "<APPOINTMENT_ID>";
136
+
137
+ const result = await patient.cancelPracticeAppointment(appointmentId);
138
+ ```
139
+
140
+ ## cURL
141
+
142
+ ```bash
143
+ curl -X POST \
144
+ -H 'Authorization: Bearer <ACCESS_TOKEN>' \
145
+ 'https://dev-api-patient.health.cloud/practice-appointments/%3CAPPOINTMENT_ID%3E/cancel'
146
+ ```
147
+
148
+ ## Notes
149
+
150
+ None.
151
+
152
+ ## Prepared Test Console scenario
153
+
154
+ No canonical scenario is currently associated.
155
+
156
+ ## Real response
157
+
158
+ No approved real integration response is currently published. Unapproved candidates are never rendered as examples.
@@ -132,6 +132,7 @@ None declared in canonical OpenAPI.
132
132
  "patient_id": "00000000-0000-0000-0000-000000000000",
133
133
  "phones": [],
134
134
  "photo_binary_id": "string",
135
+ "practice_id": "string",
135
136
  "preferred_language": "en",
136
137
  "preferred_pharmacy": {
137
138
  "address_city": "string",
@@ -136,6 +136,7 @@ None declared in canonical OpenAPI.
136
136
  "patient_id": "00000000-0000-0000-0000-000000000000",
137
137
  "phones": [],
138
138
  "photo_binary_id": "string",
139
+ "practice_id": "string",
139
140
  "preferred_language": "en",
140
141
  "preferred_pharmacy": {
141
142
  "address_city": "string",
@@ -0,0 +1,149 @@
1
+ # List the free telehealth slots of the patient's practice
2
+
3
+ Operation ID: `patient.listPracticeAppointmentSlots`
4
+
5
+ Telehealth slots of the practice the patient belongs to (`practice_id` on the patient), computed from now plus the practice's lead time up to its booking horizon, from the hours its onboarding set, minus appointments already booked. Optional `from` and `to` (ISO 8601) narrow the range (at most 31 days). A patient with no practice gets `practice_id: null` and no slots. Times carry the practice's UTC offset.
6
+
7
+ ## Public method
8
+
9
+ `listPracticeAppointmentSlots`
10
+
11
+ Signature: `patient.listPracticeAppointmentSlots(query)`
12
+
13
+ Return type: `Promise<PracticeSlotsResponse>`
14
+
15
+ ## Authentication
16
+
17
+ Classification: **AUTHENTICATED**
18
+
19
+ Schemes: `bearerAuth`
20
+
21
+ ## Prerequisites
22
+
23
+ None documented.
24
+
25
+ ## HTTP
26
+
27
+ `GET /practice-appointment-slots`
28
+
29
+ ## Path parameters
30
+
31
+ None.
32
+
33
+ ## Query parameters
34
+
35
+ | Name | Type | Required | Format | Allowed values | Default | Nullable | Description |
36
+ |---|---|---:|---|---|---|---:|---|
37
+ | `from` | `string` | No | | | | No | |
38
+ | `to` | `string` | No | | | | No | |
39
+
40
+ ## Body parameters
41
+
42
+ None.
43
+
44
+ Request model: None.
45
+
46
+ ## Request example
47
+
48
+ None declared in canonical OpenAPI.
49
+
50
+ ## Success responses
51
+
52
+ | Status | Shape | Content type | Description |
53
+ |---|---|---|---|
54
+ | `200` | [`PracticeSlotsResponse`](../models/PracticeSlotsResponse.md) | application/json | The free slots |
55
+
56
+ ## Success response examples
57
+
58
+ ### 200
59
+
60
+ ```json
61
+ {
62
+ "practice_display": "string",
63
+ "practice_id": "string",
64
+ "slot_minutes": 0,
65
+ "slots": [
66
+ {
67
+ "end": "2026-01-01T09:00:00Z",
68
+ "slot_id": "string",
69
+ "start": "2026-01-01T09:00:00Z"
70
+ }
71
+ ],
72
+ "timezone": "string"
73
+ }
74
+ ```
75
+
76
+ ## Common errors
77
+
78
+ | Status | Shape | Content type | Description |
79
+ |---|---|---|---|
80
+ | `400` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
81
+ | `401` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | Authorization required — missing or invalid Bearer JWT |
82
+ | `404` | [`patient.ErrorResponse`](../models/patient.ErrorResponse.md) | application/json | |
83
+
84
+ ## Error examples
85
+
86
+ ### 400
87
+
88
+ ```json
89
+ {
90
+ "details": [
91
+ {}
92
+ ],
93
+ "error": "string"
94
+ }
95
+ ```
96
+
97
+ ### 401 — Missing or invalid access token
98
+
99
+ ```json
100
+ {
101
+ "error": "Authorization required"
102
+ }
103
+ ```
104
+
105
+ ### 404
106
+
107
+ ```json
108
+ {
109
+ "details": [
110
+ {}
111
+ ],
112
+ "error": "string"
113
+ }
114
+ ```
115
+
116
+ ## NodeJS / TypeScript implementation
117
+
118
+ ```ts
119
+ import { HCSDK } from "@healthcloudai/hc-sdk";
120
+ ```
121
+
122
+ ```ts
123
+ const query = {
124
+ "from": "<FROM>",
125
+ "to": "<TO>"
126
+ };
127
+
128
+ const result = await patient.listPracticeAppointmentSlots(query);
129
+ ```
130
+
131
+ ## cURL
132
+
133
+ ```bash
134
+ curl -X GET \
135
+ -H 'Authorization: Bearer <ACCESS_TOKEN>' \
136
+ 'https://dev-api-patient.health.cloud/practice-appointment-slots?from=%3CFROM%3E&to=%3CTO%3E'
137
+ ```
138
+
139
+ ## Notes
140
+
141
+ None.
142
+
143
+ ## Prepared Test Console scenario
144
+
145
+ No canonical scenario is currently associated.
146
+
147
+ ## Real response
148
+
149
+ No approved real integration response is currently published. Unapproved candidates are never rendered as examples.