@healthcloudai/hc-sdk 3.19.1 → 3.21.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.
package/dist/index.js CHANGED
@@ -935,6 +935,85 @@ var MCPClient = class extends BaseServiceClient {
935
935
  }
936
936
  };
937
937
 
938
+ // src/models/openapi-generated/patient/models/ObservedIntakeResponse.ts
939
+ function ObservedIntakeResponseFromJSON(json) {
940
+ return ObservedIntakeResponseFromJSONTyped(json, false);
941
+ }
942
+ function ObservedIntakeResponseFromJSONTyped(json, ignoreDiscriminator) {
943
+ if (json == null) {
944
+ return json;
945
+ }
946
+ return {
947
+ "error_messages": json["error_messages"]
948
+ };
949
+ }
950
+
951
+ // src/models/openapi-generated/patient/models/IntakeOperationResponse.ts
952
+ function IntakeOperationResponseFromJSON(json) {
953
+ return IntakeOperationResponseFromJSONTyped(json, false);
954
+ }
955
+ function IntakeOperationResponseFromJSONTyped(json, ignoreDiscriminator) {
956
+ if (json == null) {
957
+ return json;
958
+ }
959
+ return {
960
+ "idempotency_key": json["idempotency_key"],
961
+ "patient_id": json["patient_id"],
962
+ "request_hash": json["request_hash"],
963
+ "response_body": json["response_body"] === void 0 ? void 0 : json["response_body"] === null ? null : ObservedIntakeResponseFromJSON(json["response_body"]),
964
+ "response_code": json["response_code"] === void 0 ? void 0 : json["response_code"] === null ? null : json["response_code"],
965
+ "status": json["status"]
966
+ };
967
+ }
968
+
969
+ // src/clients/intakeOperations.ts
970
+ var sections = /* @__PURE__ */ new Set(["allergies", "cancer_cases", "family_history", "gyn_history", "perinatal_history", "medications", "problems", "social_history", "surgical_history", "vaccines"]);
971
+ var record = (value) => !!value && typeof value === "object" && !Array.isArray(value);
972
+ function intakeOperationKey(key) {
973
+ if (typeof key !== "string" || key.length !== 36 || !/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/.test(key)) {
974
+ throw new Error("A canonical UUID operation key is required");
975
+ }
976
+ return key;
977
+ }
978
+ function intakeRequestSnapshot(request) {
979
+ const invalid = () => new Error("Valid bounded raw intake terms are required");
980
+ if (!record(request) || Object.keys(request).sort().join(",") !== "idempotency_key,section,summary") throw invalid();
981
+ const key = intakeOperationKey(request.idempotency_key);
982
+ if (!sections.has(request.section)) throw invalid();
983
+ const raw = request.summary;
984
+ if (typeof raw === "string" ? !raw.trim() : !record(raw) || Object.keys(raw).length !== 1 || !Object.prototype.hasOwnProperty.call(raw, request.section)) throw invalid();
985
+ let visited = 0;
986
+ function snapshot(value, depth) {
987
+ if (depth > 16 || ++visited > 65536) throw invalid();
988
+ if (value === null || typeof value === "string" || typeof value === "boolean") return value;
989
+ if (typeof value === "number" && Number.isFinite(value)) return value;
990
+ if (!value || typeof value !== "object" || Object.getOwnPropertySymbols(value).length) throw invalid();
991
+ const array = Array.isArray(value);
992
+ if (!array && Object.getPrototypeOf(value) !== Object.prototype && Object.getPrototypeOf(value) !== null) throw invalid();
993
+ const names = Object.getOwnPropertyNames(value).filter((name) => !(array && name === "length"));
994
+ if (array && (names.length !== value.length || names.some((name, index) => name !== String(index)))) throw invalid();
995
+ const entries = names.map((name) => {
996
+ const descriptor = Object.getOwnPropertyDescriptor(value, name);
997
+ if (!descriptor.enumerable || !("value" in descriptor)) throw invalid();
998
+ return [name, snapshot(descriptor.value, depth + 1)];
999
+ });
1000
+ return array ? entries.map(([, item]) => item) : Object.fromEntries(entries);
1001
+ }
1002
+ const summary = snapshot(raw, 0);
1003
+ if (new TextEncoder().encode(JSON.stringify(summary)).length > 65536) throw invalid();
1004
+ return { idempotency_key: key, section: request.section, summary };
1005
+ }
1006
+ function intakeOperationResponse(value, key) {
1007
+ const invalid = () => new Error("Invalid or mismatched intake operation response; reconcile the original key");
1008
+ const required = ["idempotency_key", "patient_id", "request_hash", "status"];
1009
+ if (!record(value) || required.some((name) => !Object.prototype.hasOwnProperty.call(value, name)) || Object.keys(value).some((name) => ![...required, "response_code", "response_body"].includes(name)) || value.idempotency_key !== key || typeof value.patient_id !== "string" || value.patient_id.length > 64 || !/^[A-Za-z0-9.-]+$/.test(value.patient_id) || value.patient_id.trim() !== value.patient_id || typeof value.request_hash !== "string" || value.request_hash.length !== 64 || !/^[0-9a-f]{64}$/.test(value.request_hash) || typeof value.status !== "string" || !["reserved", "dispatching", "unknown", "recorded"].includes(value.status)) throw invalid();
1010
+ const code = value.response_code, body = value.response_body;
1011
+ if (value.status === "recorded") {
1012
+ if (typeof code !== "number" || !Number.isInteger(code) || code < 100 || code > 599 || !record(body) || Object.keys(body).join(",") !== "error_messages" || !Array.isArray(body.error_messages) || body.error_messages.length > 100 || body.error_messages.some((item) => typeof item !== "string" || Array.from(item).length > 4e3)) throw invalid();
1013
+ } else if (code != null || body != null) throw invalid();
1014
+ return IntakeOperationResponseFromJSON(value);
1015
+ }
1016
+
938
1017
  // src/models/openapi-generated/patient/models/StediClaimsResponse.ts
939
1018
  function StediClaimsResponseFromJSON(json) {
940
1019
  return StediClaimsResponseFromJSONTyped(json, false);
@@ -2805,6 +2884,20 @@ var PatientClient = class extends BaseServiceClient {
2805
2884
  body: payload
2806
2885
  });
2807
2886
  }
2887
+ /** Submit exact approved terms once. Pending/unknown remains unresolved;
2888
+ * recorded HTTP evidence is not independent proof of clinical success.
2889
+ * After transport failure, look up the original key. No retries or fallback.
2890
+ */
2891
+ async submitPatientIntakeOperation(request) {
2892
+ const body = intakeRequestSnapshot(request);
2893
+ const response = await this.send("POST", "/patients/intake/operations", { body });
2894
+ return intakeOperationResponse(response, body.idempotency_key);
2895
+ }
2896
+ /** Read the original key without writing. A 404 does not prove no effect. */
2897
+ async getPatientIntakeOperation(idempotencyKey) {
2898
+ const key = intakeOperationKey(idempotencyKey);
2899
+ return intakeOperationResponse(await this.send("GET", `/patients/intake/operations/${key}`), key);
2900
+ }
2808
2901
  /** GET /patients/attributes - get the authenticated patient's arbitrary JSON attributes. */
2809
2902
  getAttributes() {
2810
2903
  return this.send("GET", "/patients/attributes", {});
@@ -3440,6 +3533,18 @@ var ProviderClient = class extends BaseServiceClient {
3440
3533
  verifyEmail(request) {
3441
3534
  return this.send("POST", "/auth/verify-email", { body: withTenantId(request, this.getTenantId()), auth: false });
3442
3535
  }
3536
+ /** Send a new email verification code (POST /auth/resend-verification-code). Public: the practitioner has no token yet. */
3537
+ resendEmailVerification(request) {
3538
+ return this.send("POST", "/auth/resend-verification-code", { body: withTenantId(request, this.getTenantId()), auth: false });
3539
+ }
3540
+ /**
3541
+ * Sign out (POST /auth/logout): Cognito revokes the access token and the session's refresh tokens, so a token copied
3542
+ * from a browser is useless afterwards. Needs the practitioner's current access token; one that has already
3543
+ * expired cannot be revoked and is rejected with 401, which callers can ignore after clearing their own copy.
3544
+ */
3545
+ logout() {
3546
+ return this.send("POST", "/auth/logout", {});
3547
+ }
3443
3548
  resetPassword(request) {
3444
3549
  return this.send("POST", "/auth/reset-password", { body: withTenantId(request, this.getTenantId()), auth: false });
3445
3550
  }
@@ -56,6 +56,7 @@
56
56
  - [`getFlags`](../operations/patient.getPatientFlags.md) — Get patient flags
57
57
  - [`getPatientFlagsOperation`](../operations/patient.getPatientFlagsOperation.md) — Look up a keyed patient flag receipt
58
58
  - [`getPatientIntake`](../operations/patient.getPatientIntake.md) — Get own patient intake submission and delivery status
59
+ - [`getPatientIntakeOperation`](../operations/patient.getPatientIntakeOperation.md) — Read the logged-in patient's keyed intake journal state
59
60
  - [`getPatientSidebar`](../operations/patient.getPatientSidebarPatientSidebar.md) — Get the patient sidebar summary
60
61
  - [`getPhoto`](../operations/patient.getPhoto.md) — Get a patient photo
61
62
  - [`getPreferredPharmacy`](../operations/patient.getPreferredPharmacy.md) — Get preferred pharmacy
@@ -86,6 +87,7 @@
86
87
  - [`setPreferredPharmacy`](../operations/patient.setPreferredPharmacy.md) — Set preferred pharmacy
87
88
  - [`createCurrentScreeningSymptoms`](../operations/patient.submitCurrentSymptomsScreeningsCurrentSymptoms.md) — Submit current symptoms
88
89
  - [`submitPatientIntake`](../operations/patient.submitPatientIntake.md) — Submit patient-reported health record intake
90
+ - [`submitPatientIntakeOperation`](../operations/patient.submitPatientIntakeOperation.md) — Execute or replay one keyed agent intake operation
89
91
  - [`submitRawX12InsuranceEligibility`](../operations/patient.submitPatientRawX12Eligibility.md) — Submit a raw X12 270 eligibility request
90
92
  - [`submitSummary`](../operations/patient.submitSummary.md) — Write raw conversation/summary text onto an encounter's FHIR notes and, when Athena-linked, Athena's Reason for Visit/Screening/HPI sections
91
93
  - [`updateAddress`](../operations/patient.updateAddress.md) — Update home address
@@ -16,8 +16,10 @@
16
16
  - [`listEncounters`](../operations/provider.listEncounters.md) — List tenant encounters
17
17
  - [`listPractitionerLocations`](../operations/provider.listPractitionerLocations.md) — List the practitioner's practice locations
18
18
  - [`login`](../operations/provider.login.md) — Log in a practitioner
19
+ - [`logout`](../operations/provider.logout.md) — Sign out the practitioner and revoke their tokens
19
20
  - [`refreshToken`](../operations/provider.refreshToken.md) — Refresh practitioner access tokens
20
21
  - [`register`](../operations/provider.register.md) — Register a practitioner
22
+ - [`resendEmailVerification`](../operations/provider.resendVerificationCode.md) — Resend the email verification OTP
21
23
  - [`resetPassword`](../operations/provider.resetPassword.md) — Start a password reset
22
24
  - [`setPractitionerPortalRoles`](../operations/provider.setPractitionerPortalRoles.md) — Set a practitioner's provider-portal roles (platform admin only)
23
25
  - [`updateEncounterClinicalNote`](../operations/provider.updateEncounterClinicalNote.md) — Update encounter notes and assessment
@@ -1,5 +1,5 @@
1
1
  {
2
- "docsDataContentDigest": "sha256:fca49659fb1bef13a9514270a34c5078b44a30938c424413511a2a7d2294176e",
2
+ "docsDataContentDigest": "sha256:88a0aadd3400544fa7395dfe762aa6d04c595a8e2109855a7d9e58221f8fe0cb",
3
3
  "generatedFiles": [
4
4
  "authentication.md",
5
5
  "clients/AmsClient.md",
@@ -1214,6 +1214,8 @@
1214
1214
  "models/InitHealthRecordImportResponse.md",
1215
1215
  "models/Insurance.md",
1216
1216
  "models/InsurancePriority.md",
1217
+ "models/IntakeOperationError.md",
1218
+ "models/IntakeOperationResponse.md",
1217
1219
  "models/InterpretationCode.md",
1218
1220
  "models/IntoleranceType.md",
1219
1221
  "models/IntraocularPressure.md",
@@ -1264,6 +1266,7 @@
1264
1266
  "models/LocationAddress.md",
1265
1267
  "models/LocationHours.md",
1266
1268
  "models/LocationStatus.md",
1269
+ "models/LogoutResponse.md",
1267
1270
  "models/MaritalStatus.md",
1268
1271
  "models/McpFieldagentRequest.md",
1269
1272
  "models/McpFieldagentResponse.md",
@@ -1299,6 +1302,7 @@
1299
1302
  "models/NppesVerifyProviderResponse.md",
1300
1303
  "models/ObservationComponent.md",
1301
1304
  "models/ObservationStatus.md",
1305
+ "models/ObservedIntakeResponse.md",
1302
1306
  "models/OnboardEncounterPayload.md",
1303
1307
  "models/OnboardEncounterStepResult.md",
1304
1308
  "models/OnboardPatientAttributes.md",
@@ -1807,6 +1811,7 @@
1807
1811
  "models/StripeVerifyConnectionResponse.md",
1808
1812
  "models/SubmitCurrentSymptomsScreeningsCurrentSymptomsRequest.md",
1809
1813
  "models/SubmitCurrentSymptomsScreeningsCurrentSymptomsResponse.md",
1814
+ "models/SubmitIntakeOperationRequest.md",
1810
1815
  "models/SubmitSummaryRequest.md",
1811
1816
  "models/SubscriberRelationship.md",
1812
1817
  "models/SubstanceStatus.md",
@@ -1835,6 +1840,7 @@
1835
1840
  "models/UberUpdateDeliveryRequest.md",
1836
1841
  "models/UberWaypoint.md",
1837
1842
  "models/UnknownFlagOperation.md",
1843
+ "models/UnknownIntakeOperation.md",
1838
1844
  "models/UpdateAddressRequest.md",
1839
1845
  "models/UpdateAddressResponse.md",
1840
1846
  "models/UpdateAgentRequest.md",
@@ -2163,6 +2169,8 @@
2163
2169
  "models/provider.RefreshTokenResponse.md",
2164
2170
  "models/provider.RegisterRequest.md",
2165
2171
  "models/provider.RegisterResponse.md",
2172
+ "models/provider.ResendVerificationCodeRequest.md",
2173
+ "models/provider.ResendVerificationCodeResponse.md",
2166
2174
  "models/provider.ResetPasswordRequest.md",
2167
2175
  "models/provider.ResetPasswordResponse.md",
2168
2176
  "models/provider.ResponseAnswer.md",
@@ -3125,6 +3133,7 @@
3125
3133
  "operations/patient.getPatientFlags.md",
3126
3134
  "operations/patient.getPatientFlagsOperation.md",
3127
3135
  "operations/patient.getPatientIntake.md",
3136
+ "operations/patient.getPatientIntakeOperation.md",
3128
3137
  "operations/patient.getPatientSidebarPatientSidebar.md",
3129
3138
  "operations/patient.getPhoto.md",
3130
3139
  "operations/patient.getPreferredPharmacy.md",
@@ -3160,6 +3169,7 @@
3160
3169
  "operations/patient.setPreferredPharmacy.md",
3161
3170
  "operations/patient.submitCurrentSymptomsScreeningsCurrentSymptoms.md",
3162
3171
  "operations/patient.submitPatientIntake.md",
3172
+ "operations/patient.submitPatientIntakeOperation.md",
3163
3173
  "operations/patient.submitPatientRawX12Eligibility.md",
3164
3174
  "operations/patient.submitSummary.md",
3165
3175
  "operations/patient.updateAddress.md",
@@ -3206,8 +3216,10 @@
3206
3216
  "operations/provider.listEncounters.md",
3207
3217
  "operations/provider.listPractitionerLocations.md",
3208
3218
  "operations/provider.login.md",
3219
+ "operations/provider.logout.md",
3209
3220
  "operations/provider.refreshToken.md",
3210
3221
  "operations/provider.register.md",
3222
+ "operations/provider.resendVerificationCode.md",
3211
3223
  "operations/provider.resetPassword.md",
3212
3224
  "operations/provider.setPractitionerPortalRoles.md",
3213
3225
  "operations/provider.updateEncounterClinicalNote.md",
@@ -3230,7 +3242,7 @@
3230
3242
  "operations/vitals.recordVitals.md"
3231
3243
  ],
3232
3244
  "language": "nodejs",
3233
- "modelCount": 2125,
3234
- "operationCount": 1048,
3245
+ "modelCount": 2133,
3246
+ "operationCount": 1052,
3235
3247
  "schemaVersion": 1
3236
3248
  }
@@ -947,6 +947,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
947
947
  - [Get patient flags](../operations/patient.getPatientFlags.md)
948
948
  - [Look up a keyed patient flag receipt](../operations/patient.getPatientFlagsOperation.md)
949
949
  - [Get own patient intake submission and delivery status](../operations/patient.getPatientIntake.md)
950
+ - [Read the logged-in patient's keyed intake journal state](../operations/patient.getPatientIntakeOperation.md)
950
951
  - [Get the patient sidebar summary](../operations/patient.getPatientSidebarPatientSidebar.md)
951
952
  - [Get a patient photo](../operations/patient.getPhoto.md)
952
953
  - [Get preferred pharmacy](../operations/patient.getPreferredPharmacy.md)
@@ -982,6 +983,7 @@ Generated call examples use exact public surface signatures. Workflow examples r
982
983
  - [Set preferred pharmacy](../operations/patient.setPreferredPharmacy.md)
983
984
  - [Submit current symptoms](../operations/patient.submitCurrentSymptomsScreeningsCurrentSymptoms.md)
984
985
  - [Submit patient-reported health record intake](../operations/patient.submitPatientIntake.md)
986
+ - [Execute or replay one keyed agent intake operation](../operations/patient.submitPatientIntakeOperation.md)
985
987
  - [Submit a raw X12 270 eligibility request](../operations/patient.submitPatientRawX12Eligibility.md)
986
988
  - [Write raw conversation/summary text onto an encounter's FHIR notes and, when Athena-linked, Athena's Reason for Visit/Screening/HPI sections](../operations/patient.submitSummary.md)
987
989
  - [Update home address](../operations/patient.updateAddress.md)
@@ -1028,8 +1030,10 @@ Generated call examples use exact public surface signatures. Workflow examples r
1028
1030
  - [List tenant encounters](../operations/provider.listEncounters.md)
1029
1031
  - [List the practitioner's practice locations](../operations/provider.listPractitionerLocations.md)
1030
1032
  - [Log in a practitioner](../operations/provider.login.md)
1033
+ - [Sign out the practitioner and revoke their tokens](../operations/provider.logout.md)
1031
1034
  - [Refresh practitioner access tokens](../operations/provider.refreshToken.md)
1032
1035
  - [Register a practitioner](../operations/provider.register.md)
1036
+ - [Resend the email verification OTP](../operations/provider.resendVerificationCode.md)
1033
1037
  - [Start a password reset](../operations/provider.resetPassword.md)
1034
1038
  - [Set a practitioner's provider-portal roles (platform admin only)](../operations/provider.setPractitionerPortalRoles.md)
1035
1039
  - [Update encounter notes and assessment](../operations/provider.updateEncounterClinicalNote.md)
package/docs/index.md CHANGED
@@ -955,6 +955,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
955
955
  - [Get patient flags](operations/patient.getPatientFlags.md) (`patient.getPatientFlags`)
956
956
  - [Look up a keyed patient flag receipt](operations/patient.getPatientFlagsOperation.md) (`patient.getPatientFlagsOperation`)
957
957
  - [Get own patient intake submission and delivery status](operations/patient.getPatientIntake.md) (`patient.getPatientIntake`)
958
+ - [Read the logged-in patient's keyed intake journal state](operations/patient.getPatientIntakeOperation.md) (`patient.getPatientIntakeOperation`)
958
959
  - [Get the patient sidebar summary](operations/patient.getPatientSidebarPatientSidebar.md) (`patient.getPatientSidebarPatientSidebar`)
959
960
  - [Get a patient photo](operations/patient.getPhoto.md) (`patient.getPhoto`)
960
961
  - [Get preferred pharmacy](operations/patient.getPreferredPharmacy.md) (`patient.getPreferredPharmacy`)
@@ -990,6 +991,7 @@ This directory is generated from the shared structured docs data. Do not edit ge
990
991
  - [Set preferred pharmacy](operations/patient.setPreferredPharmacy.md) (`patient.setPreferredPharmacy`)
991
992
  - [Submit current symptoms](operations/patient.submitCurrentSymptomsScreeningsCurrentSymptoms.md) (`patient.submitCurrentSymptomsScreeningsCurrentSymptoms`)
992
993
  - [Submit patient-reported health record intake](operations/patient.submitPatientIntake.md) (`patient.submitPatientIntake`)
994
+ - [Execute or replay one keyed agent intake operation](operations/patient.submitPatientIntakeOperation.md) (`patient.submitPatientIntakeOperation`)
993
995
  - [Submit a raw X12 270 eligibility request](operations/patient.submitPatientRawX12Eligibility.md) (`patient.submitPatientRawX12Eligibility`)
994
996
  - [Write raw conversation/summary text onto an encounter's FHIR notes and, when Athena-linked, Athena's Reason for Visit/Screening/HPI sections](operations/patient.submitSummary.md) (`patient.submitSummary`)
995
997
  - [Update home address](operations/patient.updateAddress.md) (`patient.updateAddress`)
@@ -1036,8 +1038,10 @@ This directory is generated from the shared structured docs data. Do not edit ge
1036
1038
  - [List tenant encounters](operations/provider.listEncounters.md) (`provider.listEncounters`)
1037
1039
  - [List the practitioner's practice locations](operations/provider.listPractitionerLocations.md) (`provider.listPractitionerLocations`)
1038
1040
  - [Log in a practitioner](operations/provider.login.md) (`provider.login`)
1041
+ - [Sign out the practitioner and revoke their tokens](operations/provider.logout.md) (`provider.logout`)
1039
1042
  - [Refresh practitioner access tokens](operations/provider.refreshToken.md) (`provider.refreshToken`)
1040
1043
  - [Register a practitioner](operations/provider.register.md) (`provider.register`)
1044
+ - [Resend the email verification OTP](operations/provider.resendVerificationCode.md) (`provider.resendVerificationCode`)
1041
1045
  - [Start a password reset](operations/provider.resetPassword.md) (`provider.resetPassword`)
1042
1046
  - [Set a practitioner's provider-portal roles (platform admin only)](operations/provider.setPractitionerPortalRoles.md) (`provider.setPractitionerPortalRoles`)
1043
1047
  - [Update encounter notes and assessment](operations/provider.updateEncounterClinicalNote.md) (`provider.updateEncounterClinicalNote`)
@@ -0,0 +1,18 @@
1
+ # IntakeOperationError
2
+
3
+ Model ID: `IntakeOperationError`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `error` | `string` | Yes | | | | No | |
14
+ | `outcome` | [`UnknownIntakeOperation`](./UnknownIntakeOperation.md) | No | | | | Yes | |
15
+
16
+ ## Example
17
+
18
+ None declared in canonical OpenAPI.
@@ -0,0 +1,22 @@
1
+ # IntakeOperationResponse
2
+
3
+ Model ID: `IntakeOperationResponse`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `idempotency_key` | `string` | Yes | | | | No | |
14
+ | `patient_id` | `string` | Yes | | | | No | |
15
+ | `request_hash` | `string` | Yes | | | | No | |
16
+ | `response_body` | [`ObservedIntakeResponse`](./ObservedIntakeResponse.md) | No | | | | Yes | |
17
+ | `response_code` | `integer|null` | No | | | | Yes | |
18
+ | `status` | `string` | Yes | | reserved, dispatching, unknown, recorded | | No | |
19
+
20
+ ## Example
21
+
22
+ None declared in canonical OpenAPI.
@@ -0,0 +1,17 @@
1
+ # ProviderLogoutResponse
2
+
3
+ Model ID: `LogoutResponse`
4
+
5
+ Response for POST /auth/logout.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `message` | `string` | Yes | | | | No | Human-readable confirmation that the practitioner's tokens were revoked. |
14
+
15
+ ## Example
16
+
17
+ None declared in canonical OpenAPI.
@@ -0,0 +1,17 @@
1
+ # ObservedIntakeResponse
2
+
3
+ Model ID: `ObservedIntakeResponse`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `error_messages` | `array` | Yes | | | | No | |
14
+
15
+ ## Example
16
+
17
+ None declared in canonical OpenAPI.
@@ -0,0 +1,19 @@
1
+ # SubmitIntakeOperationRequest
2
+
3
+ Model ID: `SubmitIntakeOperationRequest`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `idempotency_key` | `string` | Yes | | | | No | |
14
+ | `section` | `string` | Yes | | allergies, cancer_cases, family_history, gyn_history, perinatal_history, medications, problems, social_history, surgical_history, vaccines | | No | |
15
+ | `summary` | `object|string` | Yes | | | | No | Exact reviewed raw text or matching single-section object. Bounded to 65536 canonical JSON UTF-8 bytes and 16 levels before storage; existing clinical input validation still applies. |
16
+
17
+ ## Example
18
+
19
+ None declared in canonical OpenAPI.
@@ -0,0 +1,18 @@
1
+ # UnknownIntakeOperation
2
+
3
+ Model ID: `UnknownIntakeOperation`
4
+
5
+ No description.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `idempotency_key` | `string` | Yes | | | | No | |
14
+ | `status` | `string` | No | | | `"unknown"` | No | |
15
+
16
+ ## Example
17
+
18
+ None declared in canonical OpenAPI.
@@ -1216,6 +1216,8 @@
1216
1216
  - [InitHealthRecordImportResponse](InitHealthRecordImportResponse.md)
1217
1217
  - [Insurance](Insurance.md)
1218
1218
  - [InsurancePriority](InsurancePriority.md)
1219
+ - [IntakeOperationError](IntakeOperationError.md)
1220
+ - [IntakeOperationResponse](IntakeOperationResponse.md)
1219
1221
  - [InterpretationCode](InterpretationCode.md)
1220
1222
  - [IntoleranceType](IntoleranceType.md)
1221
1223
  - [IntraocularPressure](IntraocularPressure.md)
@@ -1266,6 +1268,7 @@
1266
1268
  - [LocationAddress](LocationAddress.md)
1267
1269
  - [LocationHours](LocationHours.md)
1268
1270
  - [LocationStatus](LocationStatus.md)
1271
+ - [ProviderLogoutResponse](LogoutResponse.md)
1269
1272
  - [MaritalStatus](MaritalStatus.md)
1270
1273
  - [mcp.ConnectResponse](mcp.ConnectResponse.md)
1271
1274
  - [McpJsonRpcRequest](McpFieldagentRequest.md)
@@ -1302,6 +1305,7 @@
1302
1305
  - [NppesVerifyProviderResponse](NppesVerifyProviderResponse.md)
1303
1306
  - [ObservationComponent](ObservationComponent.md)
1304
1307
  - [ObservationStatus](ObservationStatus.md)
1308
+ - [ObservedIntakeResponse](ObservedIntakeResponse.md)
1305
1309
  - [OnboardEncounterPayload](OnboardEncounterPayload.md)
1306
1310
  - [OnboardEncounterStepResult](OnboardEncounterStepResult.md)
1307
1311
  - [OnboardingProgressRequest](OnboardingProgressRequest.md)
@@ -1507,6 +1511,8 @@
1507
1511
  - [ProviderRefreshTokenResponse](provider.RefreshTokenResponse.md)
1508
1512
  - [ProviderRegisterRequest](provider.RegisterRequest.md)
1509
1513
  - [ProviderRegisterResponse](provider.RegisterResponse.md)
1514
+ - [ProviderResendVerificationCodeRequest](provider.ResendVerificationCodeRequest.md)
1515
+ - [ProviderResendVerificationCodeResponse](provider.ResendVerificationCodeResponse.md)
1510
1516
  - [ProviderResetPasswordRequest](provider.ResetPasswordRequest.md)
1511
1517
  - [ProviderResetPasswordResponse](provider.ResetPasswordResponse.md)
1512
1518
  - [ResponseAnswer](provider.ResponseAnswer.md)
@@ -1918,6 +1924,7 @@
1918
1924
  - [StripeVerifyConnectionResponse](StripeVerifyConnectionResponse.md)
1919
1925
  - [SubmitCurrentSymptomsScreeningsCurrentSymptomsRequest](SubmitCurrentSymptomsScreeningsCurrentSymptomsRequest.md)
1920
1926
  - [SubmitCurrentSymptomsResponse](SubmitCurrentSymptomsScreeningsCurrentSymptomsResponse.md)
1927
+ - [SubmitIntakeOperationRequest](SubmitIntakeOperationRequest.md)
1921
1928
  - [SubmitSummaryRequest](SubmitSummaryRequest.md)
1922
1929
  - [SubscriberRelationship](SubscriberRelationship.md)
1923
1930
  - [SubstanceStatus](SubstanceStatus.md)
@@ -1948,6 +1955,7 @@
1948
1955
  - [UberUpdateDeliveryRequest](UberUpdateDeliveryRequest.md)
1949
1956
  - [UberWaypoint](UberWaypoint.md)
1950
1957
  - [UnknownFlagOperation](UnknownFlagOperation.md)
1958
+ - [UnknownIntakeOperation](UnknownIntakeOperation.md)
1951
1959
  - [UpdateAddressRequest](UpdateAddressRequest.md)
1952
1960
  - [UpdateAddressResponse](UpdateAddressResponse.md)
1953
1961
  - [UpdateAgentRequest](UpdateAgentRequest.md)
@@ -0,0 +1,18 @@
1
+ # ProviderResendVerificationCodeRequest
2
+
3
+ Model ID: `provider.ResendVerificationCodeRequest`
4
+
5
+ Request body for POST /auth/resend-verification-code.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `email` | `string` | No | email | | | No | Practitioner's registered email address. |
14
+ | `tenant_id` | `string` | No | | | | No | Tenant whose practitioner Cognito pool should issue the code. |
15
+
16
+ ## Example
17
+
18
+ None declared in canonical OpenAPI.
@@ -0,0 +1,17 @@
1
+ # ProviderResendVerificationCodeResponse
2
+
3
+ Model ID: `provider.ResendVerificationCodeResponse`
4
+
5
+ Result of resending an email-verification OTP.
6
+
7
+ Type: `object`
8
+
9
+ ## Fields
10
+
11
+ | Field | Type | Required | Format | Allowed values | Default | Nullable | Description |
12
+ |---|---|---:|---|---|---|---:|---|
13
+ | `email_otp_sent` | `boolean` | Yes | | | | No | Whether the OTP email was dispatched. |
14
+
15
+ ## Example
16
+
17
+ None declared in canonical OpenAPI.