@crvouga/mockingbird-service-odx 0.1.0 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog — @crvouga/mockingbird-service-odx
2
2
 
3
+ ## 1.0.0 (2026-09-24)
4
+
5
+ ### ⚠️ Breaking changes
6
+
7
+ - vendor branding for every service; purge internal mocks and consumer names ([f689534](https://github.com/crvouga/mockingbird/commit/f6895343543550dafcb7d76b426cae7635e03226))
8
+
9
+ ### Dependencies
10
+
11
+ - `@crvouga/mockingbird-service-sqlite`
12
+
13
+ ## 0.2.0 (2026-09-23)
14
+
15
+ ### Features
16
+
17
+ - replace self-hosted Vault and Turborepo cache with GitHub ([963ecd8](https://github.com/crvouga/mockingbird/commit/963ecd862e50f2782acf16aaef0d25c518f87afc))
18
+
3
19
  ## 0.1.0 (2026-09-22)
4
20
 
5
21
  Initial release.
package/README.md CHANGED
@@ -6,7 +6,7 @@ imports (HL7 v2 ORU and structured results), the Functional Health Report (JSON
6
6
  webhook registrations, and the signed `PatientTest` webhooks ODX posts back.
7
7
 
8
8
  > **The vendor was retired 2026-07-22.** Our queue paths are gated only by the
9
- > `geviti-pdf-enabled` flag (default `false`), so a local stack with no PostHog still calls ODX.
9
+ > `acme-pdf-enabled` flag (default `false`), so a local stack with no PostHog still calls ODX.
10
10
  > The cheaper fix is to turn that flag on through the PostHog mock
11
11
  > (`@crvouga/mockingbird-service-posthog`); use this mock when a suite must exercise the ODX
12
12
  > path itself (bio-age webhooks, the Healthie PDF upload, migrations).
@@ -27,6 +27,8 @@ Fetch server.
27
27
 
28
28
  ## Usage
29
29
 
30
+ The real base URL is `https://odxinstanceresource.azure-api.net/<partner>`; the partner segment is
31
+ your account's slug.
30
32
  Point `OPTIMAL_URL` at the mock (it is overridable; no path prefix is needed), keep any
31
33
  `OPTIMAL_API_KEY` and `OPTIMAL_PRACTICE_ID`. Pre-register the backend's webhook, or let
32
34
  `manageWebhooks` register it through `POST /v1/webhook` as it does in production:
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createRuntime
3
- } from "./chunk-OYDT3HEE.js";
3
+ } from "./chunk-ZSOYBZKL.js";
4
4
 
5
5
  // ../../adapters/node/dist/cli.js
6
6
  import { readFile } from "node:fs/promises";
@@ -356,4 +356,4 @@ export {
356
356
  createServer2 as createServer,
357
357
  serveTarget
358
358
  };
359
- //# sourceMappingURL=chunk-23TC3WDO.js.map
359
+ //# sourceMappingURL=chunk-BVVYBLQB.js.map
@@ -1251,7 +1251,7 @@ var restoreNamespace = (sqlite, namespace, snapshot) => {
1251
1251
  };
1252
1252
 
1253
1253
  // ../core/dist/version.js
1254
- var PACKAGE_VERSION = true ? "0.1.0" : UNRELEASED_VERSION;
1254
+ var PACKAGE_VERSION = true ? "1.0.0" : UNRELEASED_VERSION;
1255
1255
 
1256
1256
  // ../core/dist/signing.js
1257
1257
  var encoder = new TextEncoder();
@@ -2397,7 +2397,7 @@ var labElement = (labId, element) => ({
2397
2397
  });
2398
2398
 
2399
2399
  // src/generated/openapi.ts
2400
- var document = JSON.parse(`{"openapi":"3.1.0","info":{"title":"Optimal DX partner API (Mockingbird subset)","description":"Stateful mock of the Optimal DX (ODX) partner API our backend calls: partner labs and their\\nbiomarker elements, practice patients (create, update, delete, partner link, search), lab\\nresults (structured and HL7 v2 ORU imports), the Functional Health Report (JSON or PDF), and\\nwebhook registrations whose signing keys verify the PatientTest webhooks the mock posts.\\nODX publishes no spec; the contract is hand-authored from our consumer's wire shapes. The\\nvendor was retired 2026-07-22 but queue paths still call it while \`geviti-pdf-enabled\` is off.\\n","version":"1","x-mockingbird-upstream":{"note":"Hand-authored from optimal.dx.service.ts / optimal.dx.types.ts, the webhook guard and DTO (odx-signature.guard.ts, odx-webhook-data.dto.ts) and the QA harness (packages/qa odx-client.ts)."}},"servers":[{"url":"https://odxinstanceresource.azure-api.net/geviti"}],"security":[{"apiKey":[]}],"paths":{"/v1/partner/labs":{"get":{"operationId":"ListPartnerLabs","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"Labs this partner can import from","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Lab"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/elements/{labId}":{"parameters":[{"name":"labId","in":"path","required":true,"schema":{"type":"string","enum":["1","2","3","999"]}}],"get":{"operationId":"ListElements","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"The lab's biomarker elements (with the codes HL7 OBX-3 is mapped by)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LabElement"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient":{"parameters":[{"$ref":"#/components/parameters/PracticeId"}],"post":{"operationId":"CreatePatient","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientRequest"}}}},"responses":{"200":{"description":"Created patient","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Patient"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/practice/{practiceId}/patient/{patientId}":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"}],"put":{"operationId":"UpdatePatient","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientRequest"}}}},"responses":{"200":{"description":"Updated patient","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Patient"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"operationId":"DeletePatient","description":"Used by the QA harness teardown (via the send-odx-api-request dev tool).","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/partner/{localUserId}":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"},{"name":"localUserId","in":"path","required":true,"description":"Our user id, stored as the patient's partner (external) id.","schema":{"type":"string","pattern":"^[0-9]{1,9}$"}}],"post":{"operationId":"LinkPartnerUser","description":"Our client posts the literal body \`false\`.","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"boolean"}}}},"responses":{"200":{"description":"Linked","content":{"application/json":{"schema":{"type":"boolean"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patients":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"name":"email","in":"query","schema":{"type":"string","enum":["ada@example.com","nobody@example.com"]}},{"name":"firstName","in":"query","schema":{"type":"string","enum":["Ada","Grace"]}},{"name":"lastName","in":"query","schema":{"type":"string","enum":["Lovelace","Hopper"]}},{"name":"dateOfBirth","in":"query","schema":{"type":"string","enum":["1985-12-10","1906-12-09"]}}],"get":{"operationId":"ListPatients","description":"All patients, or a search when any filter is given (404 when nothing matches).","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"Matching patients","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Patient"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/testresults":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"}],"post":{"operationId":"CreateTestResults","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestResultsRequest"}}}},"responses":{"200":{"description":"The imported patient test","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientTest"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/test":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"}],"post":{"operationId":"CreatePatientTest","description":"Import an HL7 v2 ORU^R01 message; OBX-3 codes map to elements by their elementReferences.","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hl7Request"}}}},"responses":{"200":{"description":"The imported patient test","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientTest"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/test/{patientTestId}":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"},{"name":"patientTestId","in":"path","required":true,"schema":{"type":"string","description":"Ids are assigned sequentially from 700001 (parity walks reuse them).","enum":["700001","700002","999999"]}}],"put":{"operationId":"UpdatePatientTest","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hl7Request"}}}},"responses":{"200":{"description":"The re-imported patient test","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientTest"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/tests":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"}],"get":{"operationId":"ListPatientTests","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"The patient's tests, oldest first","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PatientTest"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/reports/FunctionalHealthReport":{"post":{"operationId":"GenerateFunctionalHealthReport","description":"\`outputType: Json\` answers the report as JSON; \`Pdf\` answers application/pdf bytes.","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportRequest"}}}},"responses":{"200":{"description":"The report","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report"}},"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/webhooks":{"get":{"operationId":"ListWebhooks","description":"Our webhook guard calls this on every inbound webhook to fetch the signing key.","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"Registered webhooks, with their signing keys","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/webhook":{"post":{"operationId":"RegisterWebhook","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRequest"}}}},"responses":{"200":{"description":"Registered","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/webhook/{partnerWebhookId}":{"parameters":[{"name":"partnerWebhookId","in":"path","required":true,"schema":{"type":"string","description":"Ids are assigned sequentially from 1.","enum":["1","2","999999"]}}],"put":{"operationId":"UpdateWebhook","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRequest"}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}}},"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"ApiKey"}},"parameters":{"PracticeId":{"name":"practiceId","in":"path","required":true,"description":"OPTIMAL_PRACTICE_ID. Parity walks use one fixed practice.","schema":{"type":"string","enum":["3f0c0c43-7d2b-4b8e-9a50-9c1f0c6c0001"]}},"PatientId":{"name":"patientId","in":"path","required":true,"schema":{"type":"string","description":"Ids are assigned sequentially from 100001 (parity walks reuse them).","enum":["100001","100002","999999"]}}},"responses":{"Unauthorized":{"description":"Missing or invalid ApiKey (Azure API Management's answer)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"Unknown patient, test, lab or webhook","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"ValidationProblem":{"description":"ASP.NET validation problem details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Error":{"type":"object","description":"\`{Message}\` (ODX), \`{statusCode, message}\` (API Management) or ASP.NET problem details.","properties":{"Message":{"type":"string"},"message":{"type":"string"},"statusCode":{"type":"integer"},"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"Lab":{"type":"object","required":["labId","name"],"properties":{"labId":{"type":"integer"},"name":{"type":"string"},"isCurrentLab":{"type":"boolean"}}},"LabElement":{"type":"object","required":["labId","elementId","elementName","elementReferences"],"properties":{"labId":{"type":"integer"},"elementId":{"type":"integer"},"elementName":{"type":"string"},"elementGenderType":{"type":"string"},"cuUnit":{"type":"string"},"siUnit":{"type":"string"},"cuToSiConversionFactor":{"type":"number"},"elementReferences":{"type":"array","items":{"type":"object","required":["elementCode","elementName"],"properties":{"elementCode":{"type":"string"},"elementName":{"type":"string"}}}}}},"PatientRequest":{"type":"object","required":["firstName","lastName","gender","email"],"properties":{"firstName":{"type":"string","minLength":1,"maxLength":60,"enum":["Ada","Grace","Katherine"]},"lastName":{"type":"string","minLength":1,"maxLength":60,"enum":["Lovelace","Hopper","Johnson"]},"nickname":{"type":["string","null"],"maxLength":60},"dateOfBirth":{"type":["string","null"],"enum":["1985-12-10","1906-12-09",null]},"gender":{"type":"string","enum":["Male","Female"]},"email":{"type":"string","enum":["ada@example.com","grace@example.com"]},"userId":{"type":"string","maxLength":40},"workspaceId":{"type":"integer","minimum":0,"maximum":10}}},"Patient":{"type":"object","required":["patientId","practiceId","firstName","lastName","gender","email","createdDate","lastUpdatedDate"],"properties":{"patientId":{"type":"integer"},"practiceId":{"type":"string"},"createdDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"lastUpdatedDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"userTitle":{"type":["string","null"]},"userFirstName":{"type":["string","null"]},"userLastName":{"type":["string","null"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"nickname":{"type":["string","null"]},"dateOfBirth":{"type":["string","null"]},"gender":{"type":"string"},"homePhone":{"type":["string","null"]},"workPhone":{"type":["string","null"]},"mobile":{"type":["string","null"]},"email":{"type":"string"},"address":{"type":["string","null"]},"address2":{"type":["string","null"]},"address3":{"type":["string","null"]},"city":{"type":["string","null"]},"province":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"country":{"type":["string","null"]},"userId":{"type":["string","null"]},"workspaceId":{"type":"integer"}}},"TestResultsRequest":{"type":"object","required":["labProfileId","labId","testDate","unitType","results"],"properties":{"labProfileId":{"type":"integer","enum":[1,2]},"labId":{"type":"string","enum":["1","2"]},"testDate":{"type":"string","enum":["2025-01-15T00:00:00.000Z","2025-06-15T00:00:00.000Z"]},"unitType":{"type":"string","enum":["ConventionalUS","SI"]},"userId":{"type":"string","maxLength":40},"menstrualPhase":{"type":"string","enum":["Unknown","Follicular","Ovulation","Luteal","PostMenopausal"]},"isFasting":{"type":"boolean"},"results":{"type":"array","maxItems":5,"items":{"type":"object","required":["elementId"],"properties":{"elementId":{"type":"integer","enum":[494,496,506,537,999]},"value":{"type":"number","minimum":0,"maximum":500},"comparison":{"type":["string","null"],"enum":["<",">","",null]},"observationDateTime":{"type":"string","maxLength":40}}}}}},"Hl7Request":{"type":"object","required":["labProfileId","labId","testDate","unitType","hl7"],"properties":{"labProfileId":{"type":"integer","enum":[1,2]},"labId":{"type":"integer","enum":[1,2,999]},"testDate":{"type":"string","enum":["2025-01-15T00:00:00.000Z","2025-06-15T00:00:00.000Z"]},"unitType":{"type":"string","enum":["ConventionalUS","SI"]},"userId":{"type":"string","maxLength":40},"externalReference":{"type":["string","null"],"maxLength":60},"externalMessageControlId":{"type":["string","null"],"maxLength":60},"externalPatientTestId":{"type":["string","null"],"maxLength":60},"menstrualPhase":{"type":"string","enum":["Unknown","Follicular","Ovulation","Luteal","PostMenopausal"]},"isFasting":{"type":"boolean"},"hl7":{"type":"string","enum":["MSH|^~\\\\&|LAB|AHA|GEVITI|GEVITI|20250115000000||ORU^R01|BL-001|P|2.3\\rPID|1||E2E-1||Test^Patient||19800101|M\\rOBR|1|||^^^Geviti|||20250115\\rOBX|1|NM|1751-7^Albumin||4.2|g/dL|3.5-5.5|N|||F|||20250115\\rOBX|2|NM|2160-0^Creatinine||1.1|mg/dL|0.6-1.3|N|||F|||20250115\\r","MSH|^~\\\\&|LAB|AHA|GEVITI|GEVITI|20250615000000||ORU^R01|IM-001|P|2.3\\rPID|1||E2E-1||Test^Patient||19800101|F\\rOBR|1|||^^^Geviti|||20250615\\rOBX|1|NM|30522-7^hs-CRP||<0.2|mg/L|0-3|N|||F|||20250615\\rOBX|2|NM|ZZZ-1^Unmapped Marker||12|U/L||N|||F|||20250615\\r","not an hl7 message"]}}},"PatientTestElement":{"type":"object","required":["elementId","elementName","unit","comparison"],"properties":{"elementValue":{"type":"number"},"comparison":{"type":"string"},"unit":{"type":"string"},"elementId":{"type":"integer"},"elementName":{"type":"string"},"optimalRangeLow":{"type":"number"},"optimalRangeHigh":{"type":"number"},"standardRangeLow":{"type":"number"},"standardRangeHigh":{"type":"number"}}},"PatientTest":{"type":"object","required":["patientTestId","patientId","labProfileId","testDate","unitType","createdDate","lastUpdatedDate","practiceId","labId","results","menstrualPhase","isFasting"],"properties":{"patientTestId":{"type":"integer"},"patientId":{"type":"integer"},"labProfileId":{"type":"integer"},"testDate":{"type":"string"},"unitType":{"type":"string"},"createdDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"lastUpdatedDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"userId":{"type":["string","null"]},"practiceId":{"type":"string"},"labId":{"type":"integer"},"externalReference":{"type":["string","null"]},"externalMessageControlId":{"type":["string","null"]},"externalPatientTestId":{"type":["string","null"]},"results":{"type":"array","items":{"$ref":"#/components/schemas/PatientTestElement"}},"importLogs":{"type":["array","null"],"items":{"type":"object","properties":{"observationIdentifier":{"type":["string","null"]},"observationIdentifierText":{"type":["string","null"]},"status":{"type":["string","null"]}}}},"menstrualPhase":{"type":"string"},"isFasting":{"type":"boolean"}}},"ReportRequest":{"type":"object","required":["patientTestId","patientId","outputType"],"properties":{"patientTestId":{"type":"integer","enum":[700001,999999]},"patientId":{"type":"integer","enum":[100001,999999]},"unitType":{"type":"string","enum":["ConventionalUS"]},"practiceId":{"type":"string","enum":["3f0c0c43-7d2b-4b8e-9a50-9c1f0c6c0001"]},"outputType":{"type":"string","enum":["Json","Pdf","Xml"]},"theme":{"type":"string","enum":["Geviti"]},"themeId":{"type":"integer","enum":[21]},"recipientId":{"type":"string","enum":["15","0"]},"cultureCode":{"type":"string","enum":["en-US"]},"reports":{"type":"array","maxItems":3,"items":{"type":"string","enum":["1","2","3"]}},"addMarginForBinding":{"type":"boolean"},"userId":{"type":"string","maxLength":40}}},"Report":{"type":"object","required":["metadata","labs","elements","sections"],"properties":{"metadata":{"type":"object","required":["practiceId","patientId","patientTestId","recipient","reports","unitType"],"properties":{"practiceId":{"type":"string"},"patientId":{"type":"integer"},"patientTestId":{"type":"integer"},"recipient":{"type":"string"},"reports":{"type":"array","items":{"type":"string"}},"unitType":{"type":"string"}}},"labs":{"type":"array","items":{"$ref":"#/components/schemas/Lab"}},"elements":{"type":"array","items":{"$ref":"#/components/schemas/PatientTestElement"}},"sections":{"type":"array","items":{"type":"object","required":["name","reports"],"properties":{"name":{"type":"string"},"reports":{"type":"array","items":{"type":"object","required":["reportId","name","content"],"properties":{"reportId":{"type":"integer"},"name":{"type":"string"},"content":{"type":"object"}}}}}}}}},"WebhookRequest":{"type":"object","required":["entityEvents","webhookUrl"],"properties":{"entityEvents":{"type":"object","required":["PatientTest"],"properties":{"PatientTest":{"type":"array","minItems":1,"items":{"type":"string","enum":["Created","Updated","Deleted"]}}}},"webhookUrl":{"type":"string","enum":["https://backend.example.test/odx/webhook","https://staging.example.test/odx/webhook"]}}},"Webhook":{"type":"object","required":["partnerWebhookId","signingKey","createDate","entityEvents","webhookUrl"],"properties":{"partnerWebhookId":{"type":"integer"},"signingKey":{"type":"string","x-mockingbird-volatile":{"kind":"token"}},"createDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"entityEvents":{"type":"object","properties":{"PatientTest":{"type":"array","items":{"type":"string"}}}},"webhookUrl":{"type":"string"}}}}}}`);
2400
+ var document = JSON.parse(`{"openapi":"3.1.0","info":{"title":"Optimal DX partner API (Mockingbird subset)","description":"Stateful mock of the Optimal DX (ODX) partner API our backend calls: partner labs and their\\nbiomarker elements, practice patients (create, update, delete, partner link, search), lab\\nresults (structured and HL7 v2 ORU imports), the Functional Health Report (JSON or PDF), and\\nwebhook registrations whose signing keys verify the PatientTest webhooks the mock posts.\\nODX publishes no spec; the contract is hand-authored from our consumer's wire shapes. The\\nvendor was retired 2026-07-22 but queue paths still call it while the consumer app's PDF flag (\`acme-pdf-enabled\`) is off.\\n","version":"1","x-mockingbird-upstream":{"note":"Hand-authored from optimal.dx.service.ts / optimal.dx.types.ts, the webhook guard and DTO (odx-signature.guard.ts, odx-webhook-data.dto.ts) and the QA harness (packages/qa odx-client.ts)."}},"servers":[{"url":"https://odxinstanceresource.azure-api.net/{partner}","description":"The partner segment is your account's slug.","variables":{"partner":{"default":"acme"}}}],"security":[{"apiKey":[]}],"paths":{"/v1/partner/labs":{"get":{"operationId":"ListPartnerLabs","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"Labs this partner can import from","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Lab"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/elements/{labId}":{"parameters":[{"name":"labId","in":"path","required":true,"schema":{"type":"string","enum":["1","2","3","999"]}}],"get":{"operationId":"ListElements","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"The lab's biomarker elements (with the codes HL7 OBX-3 is mapped by)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LabElement"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient":{"parameters":[{"$ref":"#/components/parameters/PracticeId"}],"post":{"operationId":"CreatePatient","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientRequest"}}}},"responses":{"200":{"description":"Created patient","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Patient"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/practice/{practiceId}/patient/{patientId}":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"}],"put":{"operationId":"UpdatePatient","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientRequest"}}}},"responses":{"200":{"description":"Updated patient","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Patient"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}},"delete":{"operationId":"DeletePatient","description":"Used by the QA harness teardown (via the send-odx-api-request dev tool).","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"responses":{"204":{"description":"Deleted"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/partner/{localUserId}":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"},{"name":"localUserId","in":"path","required":true,"description":"Our user id, stored as the patient's partner (external) id.","schema":{"type":"string","pattern":"^[0-9]{1,9}$"}}],"post":{"operationId":"LinkPartnerUser","description":"Our client posts the literal body \`false\`.","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"boolean"}}}},"responses":{"200":{"description":"Linked","content":{"application/json":{"schema":{"type":"boolean"}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patients":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"name":"email","in":"query","schema":{"type":"string","enum":["ada@example.com","nobody@example.com"]}},{"name":"firstName","in":"query","schema":{"type":"string","enum":["Ada","Grace"]}},{"name":"lastName","in":"query","schema":{"type":"string","enum":["Lovelace","Hopper"]}},{"name":"dateOfBirth","in":"query","schema":{"type":"string","enum":["1985-12-10","1906-12-09"]}}],"get":{"operationId":"ListPatients","description":"All patients, or a search when any filter is given (404 when nothing matches).","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"Matching patients","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Patient"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/testresults":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"}],"post":{"operationId":"CreateTestResults","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TestResultsRequest"}}}},"responses":{"200":{"description":"The imported patient test","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientTest"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/test":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"}],"post":{"operationId":"CreatePatientTest","description":"Import an HL7 v2 ORU^R01 message; OBX-3 codes map to elements by their elementReferences.","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hl7Request"}}}},"responses":{"200":{"description":"The imported patient test","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientTest"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/test/{patientTestId}":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"},{"name":"patientTestId","in":"path","required":true,"schema":{"type":"string","description":"Ids are assigned sequentially from 700001 (parity walks reuse them).","enum":["700001","700002","999999"]}}],"put":{"operationId":"UpdatePatientTest","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Hl7Request"}}}},"responses":{"200":{"description":"The re-imported patient test","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PatientTest"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/practice/{practiceId}/patient/{patientId}/tests":{"parameters":[{"$ref":"#/components/parameters/PracticeId"},{"$ref":"#/components/parameters/PatientId"}],"get":{"operationId":"ListPatientTests","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"The patient's tests, oldest first","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PatientTest"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/reports/FunctionalHealthReport":{"post":{"operationId":"GenerateFunctionalHealthReport","description":"\`outputType: Json\` answers the report as JSON; \`Pdf\` answers application/pdf bytes.","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportRequest"}}}},"responses":{"200":{"description":"The report","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Report"}},"application/pdf":{"schema":{"type":"string","format":"binary"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}},"/v1/webhooks":{"get":{"operationId":"ListWebhooks","description":"Our webhook guard calls this on every inbound webhook to fetch the signing key.","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":true}},"responses":{"200":{"description":"Registered webhooks, with their signing keys","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Webhook"}}}}},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/webhook":{"post":{"operationId":"RegisterWebhook","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRequest"}}}},"responses":{"200":{"description":"Registered","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"}}}},"/v1/webhook/{partnerWebhookId}":{"parameters":[{"name":"partnerWebhookId","in":"path","required":true,"schema":{"type":"string","description":"Ids are assigned sequentially from 1.","enum":["1","2","999999"]}}],"put":{"operationId":"UpdateWebhook","x-mockingbird":{"supported":true,"parity":{"enabled":true,"safe":false}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookRequest"}}}},"responses":{"200":{"description":"Updated","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Webhook"}}}},"400":{"$ref":"#/components/responses/ValidationProblem"},"401":{"$ref":"#/components/responses/Unauthorized"},"404":{"$ref":"#/components/responses/NotFound"}}}}},"components":{"securitySchemes":{"apiKey":{"type":"apiKey","in":"header","name":"ApiKey"}},"parameters":{"PracticeId":{"name":"practiceId","in":"path","required":true,"description":"OPTIMAL_PRACTICE_ID. Parity walks use one fixed practice.","schema":{"type":"string","enum":["3f0c0c43-7d2b-4b8e-9a50-9c1f0c6c0001"]}},"PatientId":{"name":"patientId","in":"path","required":true,"schema":{"type":"string","description":"Ids are assigned sequentially from 100001 (parity walks reuse them).","enum":["100001","100002","999999"]}}},"responses":{"Unauthorized":{"description":"Missing or invalid ApiKey (Azure API Management's answer)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"NotFound":{"description":"Unknown patient, test, lab or webhook","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"ValidationProblem":{"description":"ASP.NET validation problem details","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}},"schemas":{"Error":{"type":"object","description":"\`{Message}\` (ODX), \`{statusCode, message}\` (API Management) or ASP.NET problem details.","properties":{"Message":{"type":"string"},"message":{"type":"string"},"statusCode":{"type":"integer"},"type":{"type":"string"},"title":{"type":"string"},"status":{"type":"integer"},"errors":{"type":"object","additionalProperties":{"type":"array","items":{"type":"string"}}}}},"Lab":{"type":"object","required":["labId","name"],"properties":{"labId":{"type":"integer"},"name":{"type":"string"},"isCurrentLab":{"type":"boolean"}}},"LabElement":{"type":"object","required":["labId","elementId","elementName","elementReferences"],"properties":{"labId":{"type":"integer"},"elementId":{"type":"integer"},"elementName":{"type":"string"},"elementGenderType":{"type":"string"},"cuUnit":{"type":"string"},"siUnit":{"type":"string"},"cuToSiConversionFactor":{"type":"number"},"elementReferences":{"type":"array","items":{"type":"object","required":["elementCode","elementName"],"properties":{"elementCode":{"type":"string"},"elementName":{"type":"string"}}}}}},"PatientRequest":{"type":"object","required":["firstName","lastName","gender","email"],"properties":{"firstName":{"type":"string","minLength":1,"maxLength":60,"enum":["Ada","Grace","Katherine"]},"lastName":{"type":"string","minLength":1,"maxLength":60,"enum":["Lovelace","Hopper","Johnson"]},"nickname":{"type":["string","null"],"maxLength":60},"dateOfBirth":{"type":["string","null"],"enum":["1985-12-10","1906-12-09",null]},"gender":{"type":"string","enum":["Male","Female"]},"email":{"type":"string","enum":["ada@example.com","grace@example.com"]},"userId":{"type":"string","maxLength":40},"workspaceId":{"type":"integer","minimum":0,"maximum":10}}},"Patient":{"type":"object","required":["patientId","practiceId","firstName","lastName","gender","email","createdDate","lastUpdatedDate"],"properties":{"patientId":{"type":"integer"},"practiceId":{"type":"string"},"createdDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"lastUpdatedDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"userTitle":{"type":["string","null"]},"userFirstName":{"type":["string","null"]},"userLastName":{"type":["string","null"]},"firstName":{"type":"string"},"lastName":{"type":"string"},"nickname":{"type":["string","null"]},"dateOfBirth":{"type":["string","null"]},"gender":{"type":"string"},"homePhone":{"type":["string","null"]},"workPhone":{"type":["string","null"]},"mobile":{"type":["string","null"]},"email":{"type":"string"},"address":{"type":["string","null"]},"address2":{"type":["string","null"]},"address3":{"type":["string","null"]},"city":{"type":["string","null"]},"province":{"type":["string","null"]},"postalCode":{"type":["string","null"]},"country":{"type":["string","null"]},"userId":{"type":["string","null"]},"workspaceId":{"type":"integer"}}},"TestResultsRequest":{"type":"object","required":["labProfileId","labId","testDate","unitType","results"],"properties":{"labProfileId":{"type":"integer","enum":[1,2]},"labId":{"type":"string","enum":["1","2"]},"testDate":{"type":"string","enum":["2025-01-15T00:00:00.000Z","2025-06-15T00:00:00.000Z"]},"unitType":{"type":"string","enum":["ConventionalUS","SI"]},"userId":{"type":"string","maxLength":40},"menstrualPhase":{"type":"string","enum":["Unknown","Follicular","Ovulation","Luteal","PostMenopausal"]},"isFasting":{"type":"boolean"},"results":{"type":"array","maxItems":5,"items":{"type":"object","required":["elementId"],"properties":{"elementId":{"type":"integer","enum":[494,496,506,537,999]},"value":{"type":"number","minimum":0,"maximum":500},"comparison":{"type":["string","null"],"enum":["<",">","",null]},"observationDateTime":{"type":"string","maxLength":40}}}}}},"Hl7Request":{"type":"object","required":["labProfileId","labId","testDate","unitType","hl7"],"properties":{"labProfileId":{"type":"integer","enum":[1,2]},"labId":{"type":"integer","enum":[1,2,999]},"testDate":{"type":"string","enum":["2025-01-15T00:00:00.000Z","2025-06-15T00:00:00.000Z"]},"unitType":{"type":"string","enum":["ConventionalUS","SI"]},"userId":{"type":"string","maxLength":40},"externalReference":{"type":["string","null"],"maxLength":60},"externalMessageControlId":{"type":["string","null"],"maxLength":60},"externalPatientTestId":{"type":["string","null"],"maxLength":60},"menstrualPhase":{"type":"string","enum":["Unknown","Follicular","Ovulation","Luteal","PostMenopausal"]},"isFasting":{"type":"boolean"},"hl7":{"type":"string","enum":["MSH|^~\\\\&|LAB|AHA|ACME|ACME|20250115000000||ORU^R01|BL-001|P|2.3\\rPID|1||E2E-1||Test^Patient||19800101|M\\rOBR|1|||^^^Acme|||20250115\\rOBX|1|NM|1751-7^Albumin||4.2|g/dL|3.5-5.5|N|||F|||20250115\\rOBX|2|NM|2160-0^Creatinine||1.1|mg/dL|0.6-1.3|N|||F|||20250115\\r","MSH|^~\\\\&|LAB|AHA|ACME|ACME|20250615000000||ORU^R01|IM-001|P|2.3\\rPID|1||E2E-1||Test^Patient||19800101|F\\rOBR|1|||^^^Acme|||20250615\\rOBX|1|NM|30522-7^hs-CRP||<0.2|mg/L|0-3|N|||F|||20250615\\rOBX|2|NM|ZZZ-1^Unmapped Marker||12|U/L||N|||F|||20250615\\r","not an hl7 message"]}}},"PatientTestElement":{"type":"object","required":["elementId","elementName","unit","comparison"],"properties":{"elementValue":{"type":"number"},"comparison":{"type":"string"},"unit":{"type":"string"},"elementId":{"type":"integer"},"elementName":{"type":"string"},"optimalRangeLow":{"type":"number"},"optimalRangeHigh":{"type":"number"},"standardRangeLow":{"type":"number"},"standardRangeHigh":{"type":"number"}}},"PatientTest":{"type":"object","required":["patientTestId","patientId","labProfileId","testDate","unitType","createdDate","lastUpdatedDate","practiceId","labId","results","menstrualPhase","isFasting"],"properties":{"patientTestId":{"type":"integer"},"patientId":{"type":"integer"},"labProfileId":{"type":"integer"},"testDate":{"type":"string"},"unitType":{"type":"string"},"createdDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"lastUpdatedDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"userId":{"type":["string","null"]},"practiceId":{"type":"string"},"labId":{"type":"integer"},"externalReference":{"type":["string","null"]},"externalMessageControlId":{"type":["string","null"]},"externalPatientTestId":{"type":["string","null"]},"results":{"type":"array","items":{"$ref":"#/components/schemas/PatientTestElement"}},"importLogs":{"type":["array","null"],"items":{"type":"object","properties":{"observationIdentifier":{"type":["string","null"]},"observationIdentifierText":{"type":["string","null"]},"status":{"type":["string","null"]}}}},"menstrualPhase":{"type":"string"},"isFasting":{"type":"boolean"}}},"ReportRequest":{"type":"object","required":["patientTestId","patientId","outputType"],"properties":{"patientTestId":{"type":"integer","enum":[700001,999999]},"patientId":{"type":"integer","enum":[100001,999999]},"unitType":{"type":"string","enum":["ConventionalUS"]},"practiceId":{"type":"string","enum":["3f0c0c43-7d2b-4b8e-9a50-9c1f0c6c0001"]},"outputType":{"type":"string","enum":["Json","Pdf","Xml"]},"theme":{"type":"string","enum":["Acme"]},"themeId":{"type":"integer","enum":[21]},"recipientId":{"type":"string","enum":["15","0"]},"cultureCode":{"type":"string","enum":["en-US"]},"reports":{"type":"array","maxItems":3,"items":{"type":"string","enum":["1","2","3"]}},"addMarginForBinding":{"type":"boolean"},"userId":{"type":"string","maxLength":40}}},"Report":{"type":"object","required":["metadata","labs","elements","sections"],"properties":{"metadata":{"type":"object","required":["practiceId","patientId","patientTestId","recipient","reports","unitType"],"properties":{"practiceId":{"type":"string"},"patientId":{"type":"integer"},"patientTestId":{"type":"integer"},"recipient":{"type":"string"},"reports":{"type":"array","items":{"type":"string"}},"unitType":{"type":"string"}}},"labs":{"type":"array","items":{"$ref":"#/components/schemas/Lab"}},"elements":{"type":"array","items":{"$ref":"#/components/schemas/PatientTestElement"}},"sections":{"type":"array","items":{"type":"object","required":["name","reports"],"properties":{"name":{"type":"string"},"reports":{"type":"array","items":{"type":"object","required":["reportId","name","content"],"properties":{"reportId":{"type":"integer"},"name":{"type":"string"},"content":{"type":"object"}}}}}}}}},"WebhookRequest":{"type":"object","required":["entityEvents","webhookUrl"],"properties":{"entityEvents":{"type":"object","required":["PatientTest"],"properties":{"PatientTest":{"type":"array","minItems":1,"items":{"type":"string","enum":["Created","Updated","Deleted"]}}}},"webhookUrl":{"type":"string","enum":["https://backend.example.test/odx/webhook","https://staging.example.test/odx/webhook"]}}},"Webhook":{"type":"object","required":["partnerWebhookId","signingKey","createDate","entityEvents","webhookUrl"],"properties":{"partnerWebhookId":{"type":"integer"},"signingKey":{"type":"string","x-mockingbird-volatile":{"kind":"token"}},"createDate":{"type":"string","x-mockingbird-volatile":{"kind":"timestamp"}},"entityEvents":{"type":"object","properties":{"PatientTest":{"type":"array","items":{"type":"string"}}}},"webhookUrl":{"type":"string"}}}}}}`);
2401
2401
  var operationIds = ["ListPartnerLabs", "ListElements", "CreatePatient", "UpdatePatient", "DeletePatient", "LinkPartnerUser", "ListPatients", "CreateTestResults", "CreatePatientTest", "UpdatePatientTest", "ListPatientTests", "GenerateFunctionalHealthReport", "ListWebhooks", "RegisterWebhook", "UpdateWebhook"];
2402
2402
  var supportedOperationIds = ["ListPartnerLabs", "ListElements", "CreatePatient", "UpdatePatient", "DeletePatient", "LinkPartnerUser", "ListPatients", "CreateTestResults", "CreatePatientTest", "UpdatePatientTest", "ListPatientTests", "GenerateFunctionalHealthReport", "ListWebhooks", "RegisterWebhook", "UpdateWebhook"];
2403
2403
 
@@ -2477,8 +2477,8 @@ var band = (r) => {
2477
2477
 
2478
2478
  // src/report.ts
2479
2479
  var RECIPIENTS = {
2480
- "15": "Patient (Geviti)",
2481
- "16": "Practitioner (Geviti)",
2480
+ "15": "Patient (Acme)",
2481
+ "16": "Practitioner (Acme)",
2482
2482
  "1": "Patient",
2483
2483
  "2": "Practitioner"
2484
2484
  };
@@ -3239,4 +3239,4 @@ export {
3239
3239
  apiKeyCredential,
3240
3240
  OdxAPI
3241
3241
  };
3242
- //# sourceMappingURL=chunk-OYDT3HEE.js.map
3242
+ //# sourceMappingURL=chunk-ZSOYBZKL.js.map