phenoml 0.0.7 → 0.0.9
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/cjs/BaseClient.d.ts +3 -3
- package/dist/cjs/Client.d.ts +5 -2
- package/dist/cjs/Client.js +14 -9
- package/dist/cjs/api/resources/agent/client/Client.d.ts +4 -2
- package/dist/cjs/api/resources/agent/client/Client.js +42 -28
- package/dist/cjs/api/resources/agent/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/agent/client/requests/AgentChatRequest.d.ts +12 -0
- package/dist/cjs/api/resources/agent/client/requests/AgentGetChatMessagesRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/agent/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/NotFoundError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/agent/errors/index.js +1 -1
- package/dist/cjs/api/resources/agent/index.d.ts +3 -3
- package/dist/cjs/api/resources/agent/index.js +3 -3
- package/dist/cjs/api/resources/agent/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/index.js +4 -4
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +16 -20
- package/dist/cjs/api/resources/agent/resources/prompts/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/agent/resources/prompts/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/agent/resources/prompts/index.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/index.js +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/types/PromptsListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/agent/resources/prompts/types/index.js +1 -1
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/AgentListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/AgentPromptsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/AgentResponse.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/JsonPatch.d.ts +1 -1
- package/dist/cjs/api/resources/agent/types/index.d.ts +7 -7
- package/dist/cjs/api/resources/agent/types/index.js +7 -7
- package/dist/cjs/api/resources/authtoken/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/client/Client.js +1 -1
- package/dist/cjs/api/resources/authtoken/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/index.d.ts +2 -2
- package/dist/cjs/api/resources/authtoken/index.js +2 -2
- package/dist/cjs/api/resources/authtoken/resources/auth/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/authtoken/resources/auth/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/resources/auth/index.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/resources/auth/index.js +1 -1
- package/dist/cjs/api/resources/authtoken/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/resources/index.js +4 -4
- package/dist/cjs/api/resources/cohort/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/cohort/client/Client.js +6 -10
- package/dist/cjs/api/resources/cohort/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/cohort/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/cohort/errors/index.js +1 -1
- package/dist/cjs/api/resources/cohort/index.d.ts +2 -2
- package/dist/cjs/api/resources/cohort/index.js +2 -2
- package/dist/cjs/api/resources/cohort/types/CohortResponse.d.ts +1 -1
- package/dist/cjs/api/resources/construe/client/Client.d.ts +2 -20
- package/dist/cjs/api/resources/construe/client/Client.js +7 -85
- package/dist/cjs/api/resources/construe/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/construe/client/requests/ExtractRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/client/requests/index.d.ts +2 -3
- package/dist/cjs/api/resources/construe/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/ConflictError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/FailedDependencyError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/construe/errors/index.js +1 -1
- package/dist/cjs/api/resources/construe/index.d.ts +2 -2
- package/dist/cjs/api/resources/construe/index.js +2 -2
- package/dist/cjs/api/resources/construe/types/ExtractCodesResult.d.ts +1 -1
- package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.d.ts +28 -2
- package/dist/cjs/api/resources/construe/types/ExtractRequestConfig.js +14 -2
- package/dist/cjs/api/resources/construe/types/ExtractRequestSystem.d.ts +2 -0
- package/dist/cjs/api/resources/construe/types/index.d.ts +2 -6
- package/dist/cjs/api/resources/construe/types/index.js +2 -6
- package/dist/cjs/api/resources/fhir/client/Client.d.ts +20 -11
- package/dist/cjs/api/resources/fhir/client/Client.js +48 -37
- package/dist/cjs/api/resources/fhir/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/fhir/client/requests/FhirCreateRequest.d.ts +12 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirDeleteRequest.d.ts +11 -2
- package/dist/cjs/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.ts +12 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirPatchRequest.d.ts +18 -6
- package/dist/cjs/api/resources/fhir/client/requests/FhirSearchRequest.d.ts +13 -3
- package/dist/cjs/api/resources/fhir/client/requests/FhirUpsertRequest.d.ts +12 -3
- package/dist/cjs/api/resources/fhir/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/fhir/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/errors/NotFoundError.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/errors/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhir/errors/index.js +2 -2
- package/dist/cjs/api/resources/fhir/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhir/index.js +2 -2
- package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhir/types/index.d.ts +3 -3
- package/dist/cjs/api/resources/fhir/types/index.js +3 -3
- package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +19 -23
- package/dist/cjs/api/resources/fhirProvider/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.ts +3 -2
- package/dist/cjs/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.d.ts +3 -2
- package/dist/cjs/api/resources/fhirProvider/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/fhirProvider/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/NotFoundError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/index.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/index.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/index.js +2 -2
- package/dist/cjs/api/resources/fhirProvider/types/AuthMethod.d.ts +2 -1
- package/dist/cjs/api/resources/fhirProvider/types/AuthMethod.js +2 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderListResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderTemplate.d.ts +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/Role.d.ts +22 -0
- package/dist/cjs/api/resources/fhirProvider/types/Role.js +25 -0
- package/dist/cjs/api/resources/fhirProvider/types/index.d.ts +8 -7
- package/dist/cjs/api/resources/fhirProvider/types/index.js +8 -7
- package/dist/cjs/api/resources/index.d.ts +1 -0
- package/dist/cjs/api/resources/index.js +2 -1
- package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +9 -13
- package/dist/cjs/api/resources/lang2Fhir/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/lang2Fhir/client/requests/index.d.ts +4 -4
- package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/FailedDependencyError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/index.d.ts +2 -2
- package/dist/cjs/api/resources/lang2Fhir/errors/index.js +2 -2
- package/dist/cjs/api/resources/lang2Fhir/index.d.ts +2 -2
- package/dist/cjs/api/resources/lang2Fhir/index.js +2 -2
- package/dist/cjs/api/resources/lang2Fhir/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/lang2Fhir/types/index.js +1 -1
- package/dist/cjs/api/resources/summary/client/Client.d.ts +125 -0
- package/dist/cjs/api/resources/summary/client/Client.js +510 -0
- package/dist/cjs/api/resources/summary/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/summary/client/index.js +17 -0
- package/dist/cjs/api/resources/summary/client/requests/CreateSummaryRequest.d.ts +37 -0
- package/dist/cjs/api/resources/summary/client/requests/CreateSummaryRequest.js +16 -0
- package/dist/cjs/api/resources/summary/client/requests/CreateSummaryTemplateRequest.d.ts +23 -0
- package/dist/cjs/api/resources/summary/client/requests/UpdateSummaryTemplateRequest.d.ts +18 -0
- package/dist/cjs/api/resources/summary/client/requests/index.d.ts +3 -0
- package/dist/cjs/api/resources/summary/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/summary/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/BadRequestError.js +50 -0
- package/dist/cjs/api/resources/summary/errors/ForbiddenError.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/ForbiddenError.js +50 -0
- package/dist/cjs/api/resources/summary/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/InternalServerError.js +50 -0
- package/dist/cjs/api/resources/summary/errors/NotFoundError.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/NotFoundError.js +50 -0
- package/dist/cjs/api/resources/summary/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/UnauthorizedError.js +50 -0
- package/dist/cjs/api/resources/summary/errors/index.d.ts +5 -0
- package/dist/cjs/api/resources/summary/errors/index.js +21 -0
- package/dist/cjs/api/resources/summary/index.d.ts +3 -0
- package/dist/cjs/api/resources/summary/index.js +19 -0
- package/dist/cjs/api/resources/summary/types/CreateSummaryResponse.d.ts +8 -0
- package/dist/cjs/api/resources/summary/types/CreateSummaryTemplateResponse.d.ts +7 -0
- package/dist/cjs/api/resources/summary/types/FhirBundle.d.ts +13 -0
- package/dist/cjs/api/resources/summary/types/FhirResource.d.ts +6 -0
- package/dist/cjs/api/resources/summary/types/FhirResource.js +3 -0
- package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +4 -0
- package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.js +3 -0
- package/dist/cjs/api/resources/summary/types/SummaryGetTemplateResponse.d.ts +5 -0
- package/dist/cjs/api/resources/summary/types/SummaryGetTemplateResponse.js +3 -0
- package/dist/cjs/api/resources/summary/types/SummaryListTemplatesResponse.d.ts +5 -0
- package/dist/cjs/api/resources/summary/types/SummaryListTemplatesResponse.js +3 -0
- package/dist/cjs/api/resources/summary/types/SummaryTemplate.d.ts +15 -0
- package/dist/cjs/api/resources/summary/types/SummaryTemplate.js +3 -0
- package/dist/cjs/api/resources/summary/types/SummaryUpdateTemplateResponse.d.ts +6 -0
- package/dist/cjs/api/resources/summary/types/SummaryUpdateTemplateResponse.js +3 -0
- package/dist/cjs/api/resources/summary/types/index.d.ts +9 -0
- package/dist/cjs/api/resources/summary/types/index.js +25 -0
- package/dist/cjs/api/resources/tools/client/Client.d.ts +8 -2
- package/dist/cjs/api/resources/tools/client/Client.js +43 -15
- package/dist/cjs/api/resources/tools/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/client/requests/CohortRequest.d.ts +12 -0
- package/dist/cjs/api/resources/tools/client/requests/Lang2FhirAndCreateRequest.d.ts +12 -0
- package/dist/cjs/api/resources/tools/client/requests/Lang2FhirAndSearchRequest.d.ts +12 -0
- package/dist/cjs/api/resources/tools/client/requests/index.d.ts +3 -3
- package/dist/cjs/api/resources/tools/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/FailedDependencyError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/tools/errors/index.d.ts +2 -2
- package/dist/cjs/api/resources/tools/errors/index.js +2 -2
- package/dist/cjs/api/resources/tools/index.d.ts +2 -2
- package/dist/cjs/api/resources/tools/index.js +2 -2
- package/dist/cjs/api/resources/tools/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/index.js +4 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/Client.js +11 -15
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.js +4 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +13 -17
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/types/CohortResponse.d.ts +1 -1
- package/dist/cjs/api/resources/tools/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/types/index.js +1 -1
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/workflows/client/Client.js +19 -23
- package/dist/cjs/api/resources/workflows/client/index.d.ts +0 -1
- package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +5 -5
- package/dist/cjs/api/resources/workflows/errors/BadRequestError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/ForbiddenError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/InternalServerError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/NotFoundError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/errors/index.d.ts +2 -2
- package/dist/cjs/api/resources/workflows/errors/index.js +2 -2
- package/dist/cjs/api/resources/workflows/index.d.ts +2 -2
- package/dist/cjs/api/resources/workflows/index.js +2 -2
- package/dist/cjs/api/resources/workflows/types/CreateWorkflowResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/ListWorkflowsResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/StepOperation.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowDefinition.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowGraph.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowStep.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.d.ts +1 -1
- package/dist/cjs/api/resources/workflows/types/index.d.ts +11 -11
- package/dist/cjs/api/resources/workflows/types/index.js +11 -11
- package/dist/cjs/core/fetcher/EndpointSupplier.d.ts +1 -1
- package/dist/cjs/core/fetcher/Fetcher.js +2 -1
- package/dist/cjs/core/fetcher/getErrorResponseBody.js +2 -1
- package/dist/cjs/core/fetcher/getResponseBody.js +3 -3
- package/dist/cjs/core/fetcher/makeRequest.js +2 -2
- package/dist/cjs/core/fetcher/requestWithRetries.js +3 -3
- package/dist/cjs/core/index.d.ts +2 -2
- package/dist/cjs/core/index.js +2 -2
- package/dist/cjs/core/url/encodePathParam.d.ts +1 -0
- package/dist/cjs/core/url/encodePathParam.js +21 -0
- package/dist/cjs/core/url/index.d.ts +1 -0
- package/dist/cjs/core/url/index.js +3 -1
- package/dist/cjs/core/url/join.js +3 -3
- package/dist/cjs/errors/phenomlError.d.ts +1 -1
- package/dist/cjs/errors/phenomlError.js +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +3 -3
- package/dist/esm/BaseClient.mjs +1 -2
- package/dist/esm/Client.d.mts +5 -2
- package/dist/esm/Client.mjs +10 -6
- package/dist/esm/api/resources/agent/client/Client.d.mts +4 -2
- package/dist/esm/api/resources/agent/client/Client.mjs +42 -28
- package/dist/esm/api/resources/agent/client/index.d.mts +0 -1
- package/dist/esm/api/resources/agent/client/index.mjs +0 -1
- package/dist/esm/api/resources/agent/client/requests/AgentChatRequest.d.mts +12 -0
- package/dist/esm/api/resources/agent/client/requests/AgentGetChatMessagesRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/client/requests/AgentGetChatMessagesRequest.mjs +1 -1
- package/dist/esm/api/resources/agent/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/agent/client/requests/index.mjs +1 -3
- package/dist/esm/api/resources/agent/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/NotFoundError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/NotFoundError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/agent/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/agent/errors/index.mjs +1 -1
- package/dist/esm/api/resources/agent/index.d.mts +3 -3
- package/dist/esm/api/resources/agent/index.mjs +3 -3
- package/dist/esm/api/resources/agent/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/index.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +16 -20
- package/dist/esm/api/resources/agent/resources/prompts/client/index.d.mts +0 -1
- package/dist/esm/api/resources/agent/resources/prompts/client/index.mjs +0 -1
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/agent/resources/prompts/client/requests/index.mjs +1 -2
- package/dist/esm/api/resources/agent/resources/prompts/index.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/index.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/PromptsListResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/index.d.mts +1 -1
- package/dist/esm/api/resources/agent/resources/prompts/types/index.mjs +1 -1
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/types/AgentListResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/AgentListResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/types/AgentPromptsResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/AgentPromptsResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/types/AgentResponse.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/AgentResponse.mjs +1 -1
- package/dist/esm/api/resources/agent/types/JsonPatch.d.mts +1 -1
- package/dist/esm/api/resources/agent/types/JsonPatch.mjs +1 -1
- package/dist/esm/api/resources/agent/types/index.d.mts +7 -7
- package/dist/esm/api/resources/agent/types/index.mjs +7 -7
- package/dist/esm/api/resources/authtoken/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/client/Client.mjs +1 -3
- package/dist/esm/api/resources/authtoken/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/authtoken/index.d.mts +2 -2
- package/dist/esm/api/resources/authtoken/index.mjs +2 -2
- package/dist/esm/api/resources/authtoken/resources/auth/client/index.d.mts +0 -1
- package/dist/esm/api/resources/authtoken/resources/auth/client/index.mjs +0 -1
- package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/resources/auth/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/authtoken/resources/auth/index.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/resources/auth/index.mjs +1 -1
- package/dist/esm/api/resources/authtoken/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/resources/index.mjs +1 -1
- package/dist/esm/api/resources/cohort/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/cohort/client/Client.mjs +6 -10
- package/dist/esm/api/resources/cohort/client/index.d.mts +0 -1
- package/dist/esm/api/resources/cohort/client/index.mjs +0 -1
- package/dist/esm/api/resources/cohort/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/cohort/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/cohort/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/cohort/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/cohort/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/cohort/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/cohort/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/cohort/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/cohort/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/cohort/errors/index.mjs +1 -1
- package/dist/esm/api/resources/cohort/index.d.mts +2 -2
- package/dist/esm/api/resources/cohort/index.mjs +2 -2
- package/dist/esm/api/resources/cohort/types/CohortResponse.d.mts +1 -1
- package/dist/esm/api/resources/cohort/types/CohortResponse.mjs +1 -1
- package/dist/esm/api/resources/construe/client/Client.d.mts +2 -20
- package/dist/esm/api/resources/construe/client/Client.mjs +7 -85
- package/dist/esm/api/resources/construe/client/index.d.mts +0 -1
- package/dist/esm/api/resources/construe/client/index.mjs +0 -1
- package/dist/esm/api/resources/construe/client/requests/ExtractRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/client/requests/ExtractRequest.mjs +1 -1
- package/dist/esm/api/resources/construe/client/requests/index.d.mts +2 -3
- package/dist/esm/api/resources/construe/client/requests/index.mjs +1 -3
- package/dist/esm/api/resources/construe/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/ConflictError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/ConflictError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/FailedDependencyError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/FailedDependencyError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/construe/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/construe/errors/index.mjs +1 -1
- package/dist/esm/api/resources/construe/index.d.mts +2 -2
- package/dist/esm/api/resources/construe/index.mjs +2 -2
- package/dist/esm/api/resources/construe/types/ExtractCodesResult.d.mts +1 -1
- package/dist/esm/api/resources/construe/types/ExtractCodesResult.mjs +1 -1
- package/dist/esm/api/resources/construe/types/ExtractRequestConfig.d.mts +28 -2
- package/dist/esm/api/resources/construe/types/ExtractRequestConfig.mjs +14 -2
- package/dist/esm/api/resources/construe/types/ExtractRequestSystem.d.mts +2 -0
- package/dist/esm/api/resources/construe/types/index.d.mts +2 -6
- package/dist/esm/api/resources/construe/types/index.mjs +2 -6
- package/dist/esm/api/resources/fhir/client/Client.d.mts +20 -11
- package/dist/esm/api/resources/fhir/client/Client.mjs +48 -37
- package/dist/esm/api/resources/fhir/client/index.d.mts +0 -1
- package/dist/esm/api/resources/fhir/client/index.mjs +0 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirCreateRequest.d.mts +12 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirCreateRequest.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirDeleteRequest.d.mts +11 -2
- package/dist/esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.d.mts +12 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirExecuteBundleRequest.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirPatchRequest.d.mts +18 -6
- package/dist/esm/api/resources/fhir/client/requests/FhirPatchRequest.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/requests/FhirSearchRequest.d.mts +13 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.d.mts +12 -3
- package/dist/esm/api/resources/fhir/client/requests/FhirUpsertRequest.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/fhir/client/requests/index.mjs +1 -6
- package/dist/esm/api/resources/fhir/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/fhir/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/fhir/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/fhir/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/fhir/errors/NotFoundError.d.mts +1 -1
- package/dist/esm/api/resources/fhir/errors/NotFoundError.mjs +0 -1
- package/dist/esm/api/resources/fhir/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/fhir/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/fhir/errors/index.d.mts +2 -2
- package/dist/esm/api/resources/fhir/errors/index.mjs +2 -2
- package/dist/esm/api/resources/fhir/index.d.mts +2 -2
- package/dist/esm/api/resources/fhir/index.mjs +2 -2
- package/dist/esm/api/resources/fhir/types/FhirSearchResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhir/types/FhirSearchResponse.mjs +1 -1
- package/dist/esm/api/resources/fhir/types/index.d.mts +3 -3
- package/dist/esm/api/resources/fhir/types/index.mjs +3 -3
- package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +19 -23
- package/dist/esm/api/resources/fhirProvider/client/index.d.mts +0 -1
- package/dist/esm/api/resources/fhirProvider/client/index.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.d.mts +3 -2
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderAddAuthConfigRequest.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.d.mts +3 -2
- package/dist/esm/api/resources/fhirProvider/client/requests/FhirProviderCreateRequest.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/fhirProvider/client/requests/index.mjs +1 -4
- package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/fhirProvider/errors/index.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/index.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/index.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/index.mjs +2 -2
- package/dist/esm/api/resources/fhirProvider/types/AuthMethod.d.mts +2 -1
- package/dist/esm/api/resources/fhirProvider/types/AuthMethod.mjs +2 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderAuthConfig.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderListResponse.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderRemoveAuthConfigResponse.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderResponse.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderSetActiveAuthConfigResponse.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.d.mts +1 -1
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderTemplate.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/types/Role.d.mts +22 -0
- package/dist/esm/api/resources/fhirProvider/types/Role.mjs +22 -0
- package/dist/esm/api/resources/fhirProvider/types/index.d.mts +8 -7
- package/dist/esm/api/resources/fhirProvider/types/index.mjs +8 -7
- package/dist/esm/api/resources/index.d.mts +1 -0
- package/dist/esm/api/resources/index.mjs +1 -0
- package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +9 -13
- package/dist/esm/api/resources/lang2Fhir/client/index.d.mts +0 -1
- package/dist/esm/api/resources/lang2Fhir/client/index.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/client/requests/index.d.mts +4 -4
- package/dist/esm/api/resources/lang2Fhir/client/requests/index.mjs +1 -4
- package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/FailedDependencyError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/index.d.mts +2 -2
- package/dist/esm/api/resources/lang2Fhir/errors/index.mjs +2 -2
- package/dist/esm/api/resources/lang2Fhir/index.d.mts +2 -2
- package/dist/esm/api/resources/lang2Fhir/index.mjs +2 -2
- package/dist/esm/api/resources/lang2Fhir/types/index.d.mts +1 -1
- package/dist/esm/api/resources/lang2Fhir/types/index.mjs +1 -1
- package/dist/esm/api/resources/summary/client/Client.d.mts +125 -0
- package/dist/esm/api/resources/summary/client/Client.mjs +473 -0
- package/dist/esm/api/resources/summary/client/index.d.mts +1 -0
- package/dist/esm/api/resources/summary/client/index.mjs +1 -0
- package/dist/esm/api/resources/summary/client/requests/CreateSummaryRequest.d.mts +37 -0
- package/dist/esm/api/resources/summary/client/requests/CreateSummaryRequest.mjs +13 -0
- package/dist/esm/api/resources/summary/client/requests/CreateSummaryTemplateRequest.d.mts +23 -0
- package/dist/esm/api/resources/summary/client/requests/UpdateSummaryTemplateRequest.d.mts +18 -0
- package/dist/esm/api/resources/summary/client/requests/index.d.mts +3 -0
- package/dist/esm/api/resources/summary/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/summary/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/BadRequestError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/ForbiddenError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/ForbiddenError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/InternalServerError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/NotFoundError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/NotFoundError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/UnauthorizedError.mjs +13 -0
- package/dist/esm/api/resources/summary/errors/index.d.mts +5 -0
- package/dist/esm/api/resources/summary/errors/index.mjs +5 -0
- package/dist/esm/api/resources/summary/index.d.mts +3 -0
- package/dist/esm/api/resources/summary/index.mjs +3 -0
- package/dist/esm/api/resources/summary/types/CreateSummaryResponse.d.mts +8 -0
- package/dist/esm/api/resources/summary/types/CreateSummaryTemplateResponse.d.mts +7 -0
- package/dist/esm/api/resources/summary/types/FhirBundle.d.mts +13 -0
- package/dist/esm/api/resources/summary/types/FhirResource.d.mts +6 -0
- package/dist/esm/api/resources/summary/types/FhirResource.mjs +2 -0
- package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +4 -0
- package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.mjs +2 -0
- package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +5 -0
- package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.mjs +2 -0
- package/dist/esm/api/resources/summary/types/SummaryListTemplatesResponse.d.mts +5 -0
- package/dist/esm/api/resources/summary/types/SummaryListTemplatesResponse.mjs +2 -0
- package/dist/esm/api/resources/summary/types/SummaryTemplate.d.mts +15 -0
- package/dist/esm/api/resources/summary/types/SummaryTemplate.mjs +2 -0
- package/dist/esm/api/resources/summary/types/SummaryUpdateTemplateResponse.d.mts +6 -0
- package/dist/esm/api/resources/summary/types/SummaryUpdateTemplateResponse.mjs +2 -0
- package/dist/esm/api/resources/summary/types/index.d.mts +9 -0
- package/dist/esm/api/resources/summary/types/index.mjs +9 -0
- package/dist/esm/api/resources/tools/client/Client.d.mts +8 -2
- package/dist/esm/api/resources/tools/client/Client.mjs +43 -15
- package/dist/esm/api/resources/tools/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/client/index.mjs +0 -1
- package/dist/esm/api/resources/tools/client/requests/CohortRequest.d.mts +12 -0
- package/dist/esm/api/resources/tools/client/requests/Lang2FhirAndCreateRequest.d.mts +12 -0
- package/dist/esm/api/resources/tools/client/requests/Lang2FhirAndSearchRequest.d.mts +12 -0
- package/dist/esm/api/resources/tools/client/requests/index.d.mts +3 -3
- package/dist/esm/api/resources/tools/client/requests/index.mjs +1 -3
- package/dist/esm/api/resources/tools/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/FailedDependencyError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/FailedDependencyError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/tools/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/tools/errors/index.d.mts +2 -2
- package/dist/esm/api/resources/tools/errors/index.mjs +2 -2
- package/dist/esm/api/resources/tools/index.d.mts +2 -2
- package/dist/esm/api/resources/tools/index.mjs +2 -2
- package/dist/esm/api/resources/tools/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tools/resources/mcpServer/client/Client.mjs +11 -15
- package/dist/esm/api/resources/tools/resources/mcpServer/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/client/index.mjs +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +13 -17
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.mjs +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.mjs +1 -1
- package/dist/esm/api/resources/tools/types/CohortResponse.d.mts +1 -1
- package/dist/esm/api/resources/tools/types/CohortResponse.mjs +1 -1
- package/dist/esm/api/resources/tools/types/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/types/index.mjs +1 -1
- package/dist/esm/api/resources/workflows/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/workflows/client/Client.mjs +19 -23
- package/dist/esm/api/resources/workflows/client/index.d.mts +0 -1
- package/dist/esm/api/resources/workflows/client/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/client/requests/index.d.mts +5 -5
- package/dist/esm/api/resources/workflows/client/requests/index.mjs +1 -5
- package/dist/esm/api/resources/workflows/errors/BadRequestError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/BadRequestError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/ForbiddenError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/ForbiddenError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/InternalServerError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/InternalServerError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/NotFoundError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/NotFoundError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/UnauthorizedError.d.mts +1 -1
- package/dist/esm/api/resources/workflows/errors/UnauthorizedError.mjs +0 -1
- package/dist/esm/api/resources/workflows/errors/index.d.mts +2 -2
- package/dist/esm/api/resources/workflows/errors/index.mjs +2 -2
- package/dist/esm/api/resources/workflows/index.d.mts +2 -2
- package/dist/esm/api/resources/workflows/index.mjs +2 -2
- package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/CreateWorkflowResponse.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/ListWorkflowsResponse.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/StepOperation.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/StepOperation.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowDefinition.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowDefinition.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowGraph.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowGraph.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowResponse.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowStep.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowStep.mjs +0 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.d.mts +1 -1
- package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.mjs +1 -1
- package/dist/esm/api/resources/workflows/types/index.d.mts +11 -11
- package/dist/esm/api/resources/workflows/types/index.mjs +11 -11
- package/dist/esm/core/fetcher/EndpointSupplier.d.mts +1 -1
- package/dist/esm/core/fetcher/EndpointSupplier.mjs +0 -1
- package/dist/esm/core/fetcher/Fetcher.mjs +2 -1
- package/dist/esm/core/fetcher/getErrorResponseBody.mjs +2 -1
- package/dist/esm/core/fetcher/getResponseBody.mjs +3 -3
- package/dist/esm/core/fetcher/makeRequest.mjs +2 -2
- package/dist/esm/core/fetcher/requestWithRetries.mjs +3 -3
- package/dist/esm/core/index.d.mts +2 -2
- package/dist/esm/core/index.mjs +2 -2
- package/dist/esm/core/url/encodePathParam.d.mts +1 -0
- package/dist/esm/core/url/encodePathParam.mjs +18 -0
- package/dist/esm/core/url/index.d.mts +1 -0
- package/dist/esm/core/url/index.mjs +1 -0
- package/dist/esm/core/url/join.mjs +3 -3
- package/dist/esm/errors/phenomlError.d.mts +1 -1
- package/dist/esm/errors/phenomlError.mjs +1 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +16 -15
- package/reference.md +903 -591
- package/dist/cjs/api/resources/construe/client/requests/ConstrueCohortRequest.d.ts +0 -23
- package/dist/cjs/api/resources/construe/types/BadRequestErrorBody.d.ts +0 -6
- package/dist/cjs/api/resources/construe/types/ConstrueCohortResponse.d.ts +0 -46
- package/dist/cjs/api/resources/construe/types/InternalServerErrorBody.d.ts +0 -6
- package/dist/cjs/api/resources/construe/types/UnauthorizedErrorBody.d.ts +0 -6
- package/dist/esm/api/resources/construe/client/requests/ConstrueCohortRequest.d.mts +0 -23
- package/dist/esm/api/resources/construe/types/BadRequestErrorBody.d.mts +0 -6
- package/dist/esm/api/resources/construe/types/ConstrueCohortResponse.d.mts +0 -46
- package/dist/esm/api/resources/construe/types/InternalServerErrorBody.d.mts +0 -6
- package/dist/esm/api/resources/construe/types/UnauthorizedErrorBody.d.mts +0 -6
- /package/dist/cjs/api/resources/{construe/client/requests/ConstrueCohortRequest.js → summary/client/requests/CreateSummaryTemplateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{construe/types/BadRequestErrorBody.js → summary/client/requests/UpdateSummaryTemplateRequest.js} +0 -0
- /package/dist/cjs/api/resources/{construe/types/ConstrueCohortResponse.js → summary/types/CreateSummaryResponse.js} +0 -0
- /package/dist/cjs/api/resources/{construe/types/InternalServerErrorBody.js → summary/types/CreateSummaryTemplateResponse.js} +0 -0
- /package/dist/cjs/api/resources/{construe/types/UnauthorizedErrorBody.js → summary/types/FhirBundle.js} +0 -0
- /package/dist/esm/api/resources/{construe/client/requests/ConstrueCohortRequest.mjs → summary/client/requests/CreateSummaryTemplateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{construe/types/BadRequestErrorBody.mjs → summary/client/requests/UpdateSummaryTemplateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{construe/types/ConstrueCohortResponse.mjs → summary/types/CreateSummaryResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{construe/types/InternalServerErrorBody.mjs → summary/types/CreateSummaryTemplateResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{construe/types/UnauthorizedErrorBody.mjs → summary/types/FhirBundle.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
# Reference
|
|
2
|
-
|
|
3
2
|
## Agent
|
|
4
|
-
|
|
5
3
|
<details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">create</a>({ ...params }) -> phenoml.AgentResponse</code></summary>
|
|
6
4
|
<dl>
|
|
7
5
|
<dd>
|
|
@@ -15,7 +13,6 @@
|
|
|
15
13
|
<dd>
|
|
16
14
|
|
|
17
15
|
Creates a new PhenoAgent with specified configuration
|
|
18
|
-
|
|
19
16
|
</dd>
|
|
20
17
|
</dl>
|
|
21
18
|
</dd>
|
|
@@ -33,10 +30,10 @@ Creates a new PhenoAgent with specified configuration
|
|
|
33
30
|
await client.agent.create({
|
|
34
31
|
name: "name",
|
|
35
32
|
prompts: ["prompt_123", "prompt_456"],
|
|
36
|
-
is_active: true
|
|
33
|
+
is_active: true
|
|
37
34
|
});
|
|
38
|
-
```
|
|
39
35
|
|
|
36
|
+
```
|
|
40
37
|
</dd>
|
|
41
38
|
</dl>
|
|
42
39
|
</dd>
|
|
@@ -50,21 +47,22 @@ await client.agent.create({
|
|
|
50
47
|
<dl>
|
|
51
48
|
<dd>
|
|
52
49
|
|
|
53
|
-
**request:** `phenoml.AgentCreateRequest`
|
|
54
|
-
|
|
50
|
+
**request:** `phenoml.AgentCreateRequest`
|
|
51
|
+
|
|
55
52
|
</dd>
|
|
56
53
|
</dl>
|
|
57
54
|
|
|
58
55
|
<dl>
|
|
59
56
|
<dd>
|
|
60
57
|
|
|
61
|
-
**requestOptions:** `Agent.RequestOptions`
|
|
62
|
-
|
|
58
|
+
**requestOptions:** `Agent.RequestOptions`
|
|
59
|
+
|
|
63
60
|
</dd>
|
|
64
61
|
</dl>
|
|
65
62
|
</dd>
|
|
66
63
|
</dl>
|
|
67
64
|
|
|
65
|
+
|
|
68
66
|
</dd>
|
|
69
67
|
</dl>
|
|
70
68
|
</details>
|
|
@@ -82,7 +80,6 @@ await client.agent.create({
|
|
|
82
80
|
<dd>
|
|
83
81
|
|
|
84
82
|
Retrieves a list of PhenoAgents belonging to the authenticated user
|
|
85
|
-
|
|
86
83
|
</dd>
|
|
87
84
|
</dl>
|
|
88
85
|
</dd>
|
|
@@ -99,10 +96,10 @@ Retrieves a list of PhenoAgents belonging to the authenticated user
|
|
|
99
96
|
```typescript
|
|
100
97
|
await client.agent.list({
|
|
101
98
|
is_active: true,
|
|
102
|
-
tags: "tags"
|
|
99
|
+
tags: "tags"
|
|
103
100
|
});
|
|
104
|
-
```
|
|
105
101
|
|
|
102
|
+
```
|
|
106
103
|
</dd>
|
|
107
104
|
</dl>
|
|
108
105
|
</dd>
|
|
@@ -116,21 +113,22 @@ await client.agent.list({
|
|
|
116
113
|
<dl>
|
|
117
114
|
<dd>
|
|
118
115
|
|
|
119
|
-
**request:** `phenoml.agent.AgentListRequest`
|
|
120
|
-
|
|
116
|
+
**request:** `phenoml.agent.AgentListRequest`
|
|
117
|
+
|
|
121
118
|
</dd>
|
|
122
119
|
</dl>
|
|
123
120
|
|
|
124
121
|
<dl>
|
|
125
122
|
<dd>
|
|
126
123
|
|
|
127
|
-
**requestOptions:** `Agent.RequestOptions`
|
|
128
|
-
|
|
124
|
+
**requestOptions:** `Agent.RequestOptions`
|
|
125
|
+
|
|
129
126
|
</dd>
|
|
130
127
|
</dl>
|
|
131
128
|
</dd>
|
|
132
129
|
</dl>
|
|
133
130
|
|
|
131
|
+
|
|
134
132
|
</dd>
|
|
135
133
|
</dl>
|
|
136
134
|
</details>
|
|
@@ -148,7 +146,6 @@ await client.agent.list({
|
|
|
148
146
|
<dd>
|
|
149
147
|
|
|
150
148
|
Retrieves a specific agent by its ID
|
|
151
|
-
|
|
152
149
|
</dd>
|
|
153
150
|
</dl>
|
|
154
151
|
</dd>
|
|
@@ -164,8 +161,8 @@ Retrieves a specific agent by its ID
|
|
|
164
161
|
|
|
165
162
|
```typescript
|
|
166
163
|
await client.agent.get("id");
|
|
167
|
-
```
|
|
168
164
|
|
|
165
|
+
```
|
|
169
166
|
</dd>
|
|
170
167
|
</dl>
|
|
171
168
|
</dd>
|
|
@@ -180,20 +177,21 @@ await client.agent.get("id");
|
|
|
180
177
|
<dd>
|
|
181
178
|
|
|
182
179
|
**id:** `string` — Agent ID
|
|
183
|
-
|
|
180
|
+
|
|
184
181
|
</dd>
|
|
185
182
|
</dl>
|
|
186
183
|
|
|
187
184
|
<dl>
|
|
188
185
|
<dd>
|
|
189
186
|
|
|
190
|
-
**requestOptions:** `Agent.RequestOptions`
|
|
191
|
-
|
|
187
|
+
**requestOptions:** `Agent.RequestOptions`
|
|
188
|
+
|
|
192
189
|
</dd>
|
|
193
190
|
</dl>
|
|
194
191
|
</dd>
|
|
195
192
|
</dl>
|
|
196
193
|
|
|
194
|
+
|
|
197
195
|
</dd>
|
|
198
196
|
</dl>
|
|
199
197
|
</details>
|
|
@@ -211,7 +209,6 @@ await client.agent.get("id");
|
|
|
211
209
|
<dd>
|
|
212
210
|
|
|
213
211
|
Updates an existing agent's configuration
|
|
214
|
-
|
|
215
212
|
</dd>
|
|
216
213
|
</dl>
|
|
217
214
|
</dd>
|
|
@@ -229,10 +226,10 @@ Updates an existing agent's configuration
|
|
|
229
226
|
await client.agent.update("id", {
|
|
230
227
|
name: "name",
|
|
231
228
|
prompts: ["prompt_123", "prompt_456"],
|
|
232
|
-
is_active: true
|
|
229
|
+
is_active: true
|
|
233
230
|
});
|
|
234
|
-
```
|
|
235
231
|
|
|
232
|
+
```
|
|
236
233
|
</dd>
|
|
237
234
|
</dl>
|
|
238
235
|
</dd>
|
|
@@ -247,28 +244,29 @@ await client.agent.update("id", {
|
|
|
247
244
|
<dd>
|
|
248
245
|
|
|
249
246
|
**id:** `string` — Agent ID
|
|
250
|
-
|
|
247
|
+
|
|
251
248
|
</dd>
|
|
252
249
|
</dl>
|
|
253
250
|
|
|
254
251
|
<dl>
|
|
255
252
|
<dd>
|
|
256
253
|
|
|
257
|
-
**request:** `phenoml.AgentCreateRequest`
|
|
258
|
-
|
|
254
|
+
**request:** `phenoml.AgentCreateRequest`
|
|
255
|
+
|
|
259
256
|
</dd>
|
|
260
257
|
</dl>
|
|
261
258
|
|
|
262
259
|
<dl>
|
|
263
260
|
<dd>
|
|
264
261
|
|
|
265
|
-
**requestOptions:** `Agent.RequestOptions`
|
|
266
|
-
|
|
262
|
+
**requestOptions:** `Agent.RequestOptions`
|
|
263
|
+
|
|
267
264
|
</dd>
|
|
268
265
|
</dl>
|
|
269
266
|
</dd>
|
|
270
267
|
</dl>
|
|
271
268
|
|
|
269
|
+
|
|
272
270
|
</dd>
|
|
273
271
|
</dl>
|
|
274
272
|
</details>
|
|
@@ -286,7 +284,6 @@ await client.agent.update("id", {
|
|
|
286
284
|
<dd>
|
|
287
285
|
|
|
288
286
|
Deletes an existing agent
|
|
289
|
-
|
|
290
287
|
</dd>
|
|
291
288
|
</dl>
|
|
292
289
|
</dd>
|
|
@@ -302,8 +299,8 @@ Deletes an existing agent
|
|
|
302
299
|
|
|
303
300
|
```typescript
|
|
304
301
|
await client.agent.delete("id");
|
|
305
|
-
```
|
|
306
302
|
|
|
303
|
+
```
|
|
307
304
|
</dd>
|
|
308
305
|
</dl>
|
|
309
306
|
</dd>
|
|
@@ -318,20 +315,21 @@ await client.agent.delete("id");
|
|
|
318
315
|
<dd>
|
|
319
316
|
|
|
320
317
|
**id:** `string` — Agent ID
|
|
321
|
-
|
|
318
|
+
|
|
322
319
|
</dd>
|
|
323
320
|
</dl>
|
|
324
321
|
|
|
325
322
|
<dl>
|
|
326
323
|
<dd>
|
|
327
324
|
|
|
328
|
-
**requestOptions:** `Agent.RequestOptions`
|
|
329
|
-
|
|
325
|
+
**requestOptions:** `Agent.RequestOptions`
|
|
326
|
+
|
|
330
327
|
</dd>
|
|
331
328
|
</dl>
|
|
332
329
|
</dd>
|
|
333
330
|
</dl>
|
|
334
331
|
|
|
332
|
+
|
|
335
333
|
</dd>
|
|
336
334
|
</dl>
|
|
337
335
|
</details>
|
|
@@ -349,7 +347,6 @@ await client.agent.delete("id");
|
|
|
349
347
|
<dd>
|
|
350
348
|
|
|
351
349
|
Patches an existing agent's configuration
|
|
352
|
-
|
|
353
350
|
</dd>
|
|
354
351
|
</dl>
|
|
355
352
|
</dd>
|
|
@@ -364,24 +361,20 @@ Patches an existing agent's configuration
|
|
|
364
361
|
<dd>
|
|
365
362
|
|
|
366
363
|
```typescript
|
|
367
|
-
await client.agent.patch("id", [
|
|
368
|
-
{
|
|
364
|
+
await client.agent.patch("id", [{
|
|
369
365
|
op: "replace",
|
|
370
366
|
path: "/name",
|
|
371
|
-
value: "Updated Agent Name"
|
|
372
|
-
},
|
|
373
|
-
{
|
|
367
|
+
value: "Updated Agent Name"
|
|
368
|
+
}, {
|
|
374
369
|
op: "add",
|
|
375
370
|
path: "/tags/-",
|
|
376
|
-
value: "new-tag"
|
|
377
|
-
},
|
|
378
|
-
{
|
|
371
|
+
value: "new-tag"
|
|
372
|
+
}, {
|
|
379
373
|
op: "remove",
|
|
380
|
-
path: "/description"
|
|
381
|
-
}
|
|
382
|
-
]);
|
|
383
|
-
```
|
|
374
|
+
path: "/description"
|
|
375
|
+
}]);
|
|
384
376
|
|
|
377
|
+
```
|
|
385
378
|
</dd>
|
|
386
379
|
</dl>
|
|
387
380
|
</dd>
|
|
@@ -396,28 +389,29 @@ await client.agent.patch("id", [
|
|
|
396
389
|
<dd>
|
|
397
390
|
|
|
398
391
|
**id:** `string` — Agent ID
|
|
399
|
-
|
|
392
|
+
|
|
400
393
|
</dd>
|
|
401
394
|
</dl>
|
|
402
395
|
|
|
403
396
|
<dl>
|
|
404
397
|
<dd>
|
|
405
398
|
|
|
406
|
-
**request:** `phenoml.JsonPatch`
|
|
407
|
-
|
|
399
|
+
**request:** `phenoml.JsonPatch`
|
|
400
|
+
|
|
408
401
|
</dd>
|
|
409
402
|
</dl>
|
|
410
403
|
|
|
411
404
|
<dl>
|
|
412
405
|
<dd>
|
|
413
406
|
|
|
414
|
-
**requestOptions:** `Agent.RequestOptions`
|
|
415
|
-
|
|
407
|
+
**requestOptions:** `Agent.RequestOptions`
|
|
408
|
+
|
|
416
409
|
</dd>
|
|
417
410
|
</dl>
|
|
418
411
|
</dd>
|
|
419
412
|
</dl>
|
|
420
413
|
|
|
414
|
+
|
|
421
415
|
</dd>
|
|
422
416
|
</dl>
|
|
423
417
|
</details>
|
|
@@ -435,7 +429,6 @@ await client.agent.patch("id", [
|
|
|
435
429
|
<dd>
|
|
436
430
|
|
|
437
431
|
Send a message to an agent and receive a response
|
|
438
|
-
|
|
439
432
|
</dd>
|
|
440
433
|
</dl>
|
|
441
434
|
</dd>
|
|
@@ -451,11 +444,13 @@ Send a message to an agent and receive a response
|
|
|
451
444
|
|
|
452
445
|
```typescript
|
|
453
446
|
await client.agent.chat({
|
|
447
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
448
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
|
|
454
449
|
message: "What is the patient's current condition?",
|
|
455
|
-
agent_id: "agent-123"
|
|
450
|
+
agent_id: "agent-123"
|
|
456
451
|
});
|
|
457
|
-
```
|
|
458
452
|
|
|
453
|
+
```
|
|
459
454
|
</dd>
|
|
460
455
|
</dl>
|
|
461
456
|
</dd>
|
|
@@ -469,21 +464,22 @@ await client.agent.chat({
|
|
|
469
464
|
<dl>
|
|
470
465
|
<dd>
|
|
471
466
|
|
|
472
|
-
**request:** `phenoml.agent.AgentChatRequest`
|
|
473
|
-
|
|
467
|
+
**request:** `phenoml.agent.AgentChatRequest`
|
|
468
|
+
|
|
474
469
|
</dd>
|
|
475
470
|
</dl>
|
|
476
471
|
|
|
477
472
|
<dl>
|
|
478
473
|
<dd>
|
|
479
474
|
|
|
480
|
-
**requestOptions:** `Agent.RequestOptions`
|
|
481
|
-
|
|
475
|
+
**requestOptions:** `Agent.RequestOptions`
|
|
476
|
+
|
|
482
477
|
</dd>
|
|
483
478
|
</dl>
|
|
484
479
|
</dd>
|
|
485
480
|
</dl>
|
|
486
481
|
|
|
482
|
+
|
|
487
483
|
</dd>
|
|
488
484
|
</dl>
|
|
489
485
|
</details>
|
|
@@ -501,7 +497,6 @@ await client.agent.chat({
|
|
|
501
497
|
<dd>
|
|
502
498
|
|
|
503
499
|
Retrieves a list of chat messages for a given chat session
|
|
504
|
-
|
|
505
500
|
</dd>
|
|
506
501
|
</dl>
|
|
507
502
|
</dd>
|
|
@@ -520,10 +515,10 @@ await client.agent.getChatMessages({
|
|
|
520
515
|
chat_session_id: "chat_session_id",
|
|
521
516
|
num_messages: 1,
|
|
522
517
|
role: "role",
|
|
523
|
-
order: "asc"
|
|
518
|
+
order: "asc"
|
|
524
519
|
});
|
|
525
|
-
```
|
|
526
520
|
|
|
521
|
+
```
|
|
527
522
|
</dd>
|
|
528
523
|
</dl>
|
|
529
524
|
</dd>
|
|
@@ -537,27 +532,27 @@ await client.agent.getChatMessages({
|
|
|
537
532
|
<dl>
|
|
538
533
|
<dd>
|
|
539
534
|
|
|
540
|
-
**request:** `phenoml.agent.AgentGetChatMessagesRequest`
|
|
541
|
-
|
|
535
|
+
**request:** `phenoml.agent.AgentGetChatMessagesRequest`
|
|
536
|
+
|
|
542
537
|
</dd>
|
|
543
538
|
</dl>
|
|
544
539
|
|
|
545
540
|
<dl>
|
|
546
541
|
<dd>
|
|
547
542
|
|
|
548
|
-
**requestOptions:** `Agent.RequestOptions`
|
|
549
|
-
|
|
543
|
+
**requestOptions:** `Agent.RequestOptions`
|
|
544
|
+
|
|
550
545
|
</dd>
|
|
551
546
|
</dl>
|
|
552
547
|
</dd>
|
|
553
548
|
</dl>
|
|
554
549
|
|
|
550
|
+
|
|
555
551
|
</dd>
|
|
556
552
|
</dl>
|
|
557
553
|
</details>
|
|
558
554
|
|
|
559
555
|
## Agent Prompts
|
|
560
|
-
|
|
561
556
|
<details><summary><code>client.agent.prompts.<a href="/src/api/resources/agent/resources/prompts/client/Client.ts">create</a>({ ...params }) -> phenoml.AgentPromptsResponse</code></summary>
|
|
562
557
|
<dl>
|
|
563
558
|
<dd>
|
|
@@ -571,7 +566,6 @@ await client.agent.getChatMessages({
|
|
|
571
566
|
<dd>
|
|
572
567
|
|
|
573
568
|
Creates a new agent prompt
|
|
574
|
-
|
|
575
569
|
</dd>
|
|
576
570
|
</dl>
|
|
577
571
|
</dd>
|
|
@@ -589,10 +583,10 @@ Creates a new agent prompt
|
|
|
589
583
|
await client.agent.prompts.create({
|
|
590
584
|
name: "Medical Assistant System Prompt",
|
|
591
585
|
content: "You are a helpful medical assistant specialized in FHIR data processing...",
|
|
592
|
-
is_active: true
|
|
586
|
+
is_active: true
|
|
593
587
|
});
|
|
594
|
-
```
|
|
595
588
|
|
|
589
|
+
```
|
|
596
590
|
</dd>
|
|
597
591
|
</dl>
|
|
598
592
|
</dd>
|
|
@@ -606,21 +600,22 @@ await client.agent.prompts.create({
|
|
|
606
600
|
<dl>
|
|
607
601
|
<dd>
|
|
608
602
|
|
|
609
|
-
**request:** `phenoml.agent.AgentPromptsCreateRequest`
|
|
610
|
-
|
|
603
|
+
**request:** `phenoml.agent.AgentPromptsCreateRequest`
|
|
604
|
+
|
|
611
605
|
</dd>
|
|
612
606
|
</dl>
|
|
613
607
|
|
|
614
608
|
<dl>
|
|
615
609
|
<dd>
|
|
616
610
|
|
|
617
|
-
**requestOptions:** `Prompts.RequestOptions`
|
|
618
|
-
|
|
611
|
+
**requestOptions:** `Prompts.RequestOptions`
|
|
612
|
+
|
|
619
613
|
</dd>
|
|
620
614
|
</dl>
|
|
621
615
|
</dd>
|
|
622
616
|
</dl>
|
|
623
617
|
|
|
618
|
+
|
|
624
619
|
</dd>
|
|
625
620
|
</dl>
|
|
626
621
|
</details>
|
|
@@ -638,7 +633,6 @@ await client.agent.prompts.create({
|
|
|
638
633
|
<dd>
|
|
639
634
|
|
|
640
635
|
Retrieves a list of agent prompts belonging to the authenticated user
|
|
641
|
-
|
|
642
636
|
</dd>
|
|
643
637
|
</dl>
|
|
644
638
|
</dd>
|
|
@@ -654,8 +648,8 @@ Retrieves a list of agent prompts belonging to the authenticated user
|
|
|
654
648
|
|
|
655
649
|
```typescript
|
|
656
650
|
await client.agent.prompts.list();
|
|
657
|
-
```
|
|
658
651
|
|
|
652
|
+
```
|
|
659
653
|
</dd>
|
|
660
654
|
</dl>
|
|
661
655
|
</dd>
|
|
@@ -669,13 +663,14 @@ await client.agent.prompts.list();
|
|
|
669
663
|
<dl>
|
|
670
664
|
<dd>
|
|
671
665
|
|
|
672
|
-
**requestOptions:** `Prompts.RequestOptions`
|
|
673
|
-
|
|
666
|
+
**requestOptions:** `Prompts.RequestOptions`
|
|
667
|
+
|
|
674
668
|
</dd>
|
|
675
669
|
</dl>
|
|
676
670
|
</dd>
|
|
677
671
|
</dl>
|
|
678
672
|
|
|
673
|
+
|
|
679
674
|
</dd>
|
|
680
675
|
</dl>
|
|
681
676
|
</details>
|
|
@@ -693,7 +688,6 @@ await client.agent.prompts.list();
|
|
|
693
688
|
<dd>
|
|
694
689
|
|
|
695
690
|
Retrieves a specific prompt by its ID
|
|
696
|
-
|
|
697
691
|
</dd>
|
|
698
692
|
</dl>
|
|
699
693
|
</dd>
|
|
@@ -709,8 +703,8 @@ Retrieves a specific prompt by its ID
|
|
|
709
703
|
|
|
710
704
|
```typescript
|
|
711
705
|
await client.agent.prompts.get("id");
|
|
712
|
-
```
|
|
713
706
|
|
|
707
|
+
```
|
|
714
708
|
</dd>
|
|
715
709
|
</dl>
|
|
716
710
|
</dd>
|
|
@@ -725,20 +719,21 @@ await client.agent.prompts.get("id");
|
|
|
725
719
|
<dd>
|
|
726
720
|
|
|
727
721
|
**id:** `string` — Prompt ID
|
|
728
|
-
|
|
722
|
+
|
|
729
723
|
</dd>
|
|
730
724
|
</dl>
|
|
731
725
|
|
|
732
726
|
<dl>
|
|
733
727
|
<dd>
|
|
734
728
|
|
|
735
|
-
**requestOptions:** `Prompts.RequestOptions`
|
|
736
|
-
|
|
729
|
+
**requestOptions:** `Prompts.RequestOptions`
|
|
730
|
+
|
|
737
731
|
</dd>
|
|
738
732
|
</dl>
|
|
739
733
|
</dd>
|
|
740
734
|
</dl>
|
|
741
735
|
|
|
736
|
+
|
|
742
737
|
</dd>
|
|
743
738
|
</dl>
|
|
744
739
|
</details>
|
|
@@ -756,7 +751,6 @@ await client.agent.prompts.get("id");
|
|
|
756
751
|
<dd>
|
|
757
752
|
|
|
758
753
|
Updates an existing prompt
|
|
759
|
-
|
|
760
754
|
</dd>
|
|
761
755
|
</dl>
|
|
762
756
|
</dd>
|
|
@@ -772,8 +766,8 @@ Updates an existing prompt
|
|
|
772
766
|
|
|
773
767
|
```typescript
|
|
774
768
|
await client.agent.prompts.update("id");
|
|
775
|
-
```
|
|
776
769
|
|
|
770
|
+
```
|
|
777
771
|
</dd>
|
|
778
772
|
</dl>
|
|
779
773
|
</dd>
|
|
@@ -788,28 +782,29 @@ await client.agent.prompts.update("id");
|
|
|
788
782
|
<dd>
|
|
789
783
|
|
|
790
784
|
**id:** `string` — Prompt ID
|
|
791
|
-
|
|
785
|
+
|
|
792
786
|
</dd>
|
|
793
787
|
</dl>
|
|
794
788
|
|
|
795
789
|
<dl>
|
|
796
790
|
<dd>
|
|
797
791
|
|
|
798
|
-
**request:** `phenoml.agent.AgentPromptsUpdateRequest`
|
|
799
|
-
|
|
792
|
+
**request:** `phenoml.agent.AgentPromptsUpdateRequest`
|
|
793
|
+
|
|
800
794
|
</dd>
|
|
801
795
|
</dl>
|
|
802
796
|
|
|
803
797
|
<dl>
|
|
804
798
|
<dd>
|
|
805
799
|
|
|
806
|
-
**requestOptions:** `Prompts.RequestOptions`
|
|
807
|
-
|
|
800
|
+
**requestOptions:** `Prompts.RequestOptions`
|
|
801
|
+
|
|
808
802
|
</dd>
|
|
809
803
|
</dl>
|
|
810
804
|
</dd>
|
|
811
805
|
</dl>
|
|
812
806
|
|
|
807
|
+
|
|
813
808
|
</dd>
|
|
814
809
|
</dl>
|
|
815
810
|
</details>
|
|
@@ -827,7 +822,6 @@ await client.agent.prompts.update("id");
|
|
|
827
822
|
<dd>
|
|
828
823
|
|
|
829
824
|
Soft deletes a prompt by setting is_active to false
|
|
830
|
-
|
|
831
825
|
</dd>
|
|
832
826
|
</dl>
|
|
833
827
|
</dd>
|
|
@@ -843,8 +837,8 @@ Soft deletes a prompt by setting is_active to false
|
|
|
843
837
|
|
|
844
838
|
```typescript
|
|
845
839
|
await client.agent.prompts.delete("id");
|
|
846
|
-
```
|
|
847
840
|
|
|
841
|
+
```
|
|
848
842
|
</dd>
|
|
849
843
|
</dl>
|
|
850
844
|
</dd>
|
|
@@ -859,20 +853,21 @@ await client.agent.prompts.delete("id");
|
|
|
859
853
|
<dd>
|
|
860
854
|
|
|
861
855
|
**id:** `string` — Prompt ID
|
|
862
|
-
|
|
856
|
+
|
|
863
857
|
</dd>
|
|
864
858
|
</dl>
|
|
865
859
|
|
|
866
860
|
<dl>
|
|
867
861
|
<dd>
|
|
868
862
|
|
|
869
|
-
**requestOptions:** `Prompts.RequestOptions`
|
|
870
|
-
|
|
863
|
+
**requestOptions:** `Prompts.RequestOptions`
|
|
864
|
+
|
|
871
865
|
</dd>
|
|
872
866
|
</dl>
|
|
873
867
|
</dd>
|
|
874
868
|
</dl>
|
|
875
869
|
|
|
870
|
+
|
|
876
871
|
</dd>
|
|
877
872
|
</dl>
|
|
878
873
|
</details>
|
|
@@ -890,7 +885,6 @@ await client.agent.prompts.delete("id");
|
|
|
890
885
|
<dd>
|
|
891
886
|
|
|
892
887
|
Patches an existing prompt
|
|
893
|
-
|
|
894
888
|
</dd>
|
|
895
889
|
</dl>
|
|
896
890
|
</dd>
|
|
@@ -905,24 +899,20 @@ Patches an existing prompt
|
|
|
905
899
|
<dd>
|
|
906
900
|
|
|
907
901
|
```typescript
|
|
908
|
-
await client.agent.prompts.patch("id", [
|
|
909
|
-
{
|
|
902
|
+
await client.agent.prompts.patch("id", [{
|
|
910
903
|
op: "replace",
|
|
911
904
|
path: "/name",
|
|
912
|
-
value: "Updated Agent Name"
|
|
913
|
-
},
|
|
914
|
-
{
|
|
905
|
+
value: "Updated Agent Name"
|
|
906
|
+
}, {
|
|
915
907
|
op: "add",
|
|
916
908
|
path: "/tags/-",
|
|
917
|
-
value: "new-tag"
|
|
918
|
-
},
|
|
919
|
-
{
|
|
909
|
+
value: "new-tag"
|
|
910
|
+
}, {
|
|
920
911
|
op: "remove",
|
|
921
|
-
path: "/description"
|
|
922
|
-
}
|
|
923
|
-
]);
|
|
924
|
-
```
|
|
912
|
+
path: "/description"
|
|
913
|
+
}]);
|
|
925
914
|
|
|
915
|
+
```
|
|
926
916
|
</dd>
|
|
927
917
|
</dl>
|
|
928
918
|
</dd>
|
|
@@ -937,28 +927,29 @@ await client.agent.prompts.patch("id", [
|
|
|
937
927
|
<dd>
|
|
938
928
|
|
|
939
929
|
**id:** `string` — Agent Prompt ID
|
|
940
|
-
|
|
930
|
+
|
|
941
931
|
</dd>
|
|
942
932
|
</dl>
|
|
943
933
|
|
|
944
934
|
<dl>
|
|
945
935
|
<dd>
|
|
946
936
|
|
|
947
|
-
**request:** `phenoml.JsonPatch`
|
|
948
|
-
|
|
937
|
+
**request:** `phenoml.JsonPatch`
|
|
938
|
+
|
|
949
939
|
</dd>
|
|
950
940
|
</dl>
|
|
951
941
|
|
|
952
942
|
<dl>
|
|
953
943
|
<dd>
|
|
954
944
|
|
|
955
|
-
**requestOptions:** `Prompts.RequestOptions`
|
|
956
|
-
|
|
945
|
+
**requestOptions:** `Prompts.RequestOptions`
|
|
946
|
+
|
|
957
947
|
</dd>
|
|
958
948
|
</dl>
|
|
959
949
|
</dd>
|
|
960
950
|
</dl>
|
|
961
951
|
|
|
952
|
+
|
|
962
953
|
</dd>
|
|
963
954
|
</dl>
|
|
964
955
|
</details>
|
|
@@ -976,7 +967,6 @@ await client.agent.prompts.patch("id", [
|
|
|
976
967
|
<dd>
|
|
977
968
|
|
|
978
969
|
Loads default agent prompts for the authenticated user
|
|
979
|
-
|
|
980
970
|
</dd>
|
|
981
971
|
</dl>
|
|
982
972
|
</dd>
|
|
@@ -992,8 +982,8 @@ Loads default agent prompts for the authenticated user
|
|
|
992
982
|
|
|
993
983
|
```typescript
|
|
994
984
|
await client.agent.prompts.loadDefaults();
|
|
995
|
-
```
|
|
996
985
|
|
|
986
|
+
```
|
|
997
987
|
</dd>
|
|
998
988
|
</dl>
|
|
999
989
|
</dd>
|
|
@@ -1007,19 +997,19 @@ await client.agent.prompts.loadDefaults();
|
|
|
1007
997
|
<dl>
|
|
1008
998
|
<dd>
|
|
1009
999
|
|
|
1010
|
-
**requestOptions:** `Prompts.RequestOptions`
|
|
1011
|
-
|
|
1000
|
+
**requestOptions:** `Prompts.RequestOptions`
|
|
1001
|
+
|
|
1012
1002
|
</dd>
|
|
1013
1003
|
</dl>
|
|
1014
1004
|
</dd>
|
|
1015
1005
|
</dl>
|
|
1016
1006
|
|
|
1007
|
+
|
|
1017
1008
|
</dd>
|
|
1018
1009
|
</dl>
|
|
1019
1010
|
</details>
|
|
1020
1011
|
|
|
1021
1012
|
## Authtoken Auth
|
|
1022
|
-
|
|
1023
1013
|
<details><summary><code>client.authtoken.auth.<a href="/src/api/resources/authtoken/resources/auth/client/Client.ts">generateToken</a>({ ...params }) -> phenoml.AuthGenerateTokenResponse</code></summary>
|
|
1024
1014
|
<dl>
|
|
1025
1015
|
<dd>
|
|
@@ -1033,7 +1023,6 @@ await client.agent.prompts.loadDefaults();
|
|
|
1033
1023
|
<dd>
|
|
1034
1024
|
|
|
1035
1025
|
Obtain an access token using client credentials
|
|
1036
|
-
|
|
1037
1026
|
</dd>
|
|
1038
1027
|
</dl>
|
|
1039
1028
|
</dd>
|
|
@@ -1050,10 +1039,10 @@ Obtain an access token using client credentials
|
|
|
1050
1039
|
```typescript
|
|
1051
1040
|
await client.authtoken.auth.generateToken({
|
|
1052
1041
|
username: "username",
|
|
1053
|
-
password: "password"
|
|
1042
|
+
password: "password"
|
|
1054
1043
|
});
|
|
1055
|
-
```
|
|
1056
1044
|
|
|
1045
|
+
```
|
|
1057
1046
|
</dd>
|
|
1058
1047
|
</dl>
|
|
1059
1048
|
</dd>
|
|
@@ -1067,27 +1056,27 @@ await client.authtoken.auth.generateToken({
|
|
|
1067
1056
|
<dl>
|
|
1068
1057
|
<dd>
|
|
1069
1058
|
|
|
1070
|
-
**request:** `phenoml.authtoken.AuthGenerateTokenRequest`
|
|
1071
|
-
|
|
1059
|
+
**request:** `phenoml.authtoken.AuthGenerateTokenRequest`
|
|
1060
|
+
|
|
1072
1061
|
</dd>
|
|
1073
1062
|
</dl>
|
|
1074
1063
|
|
|
1075
1064
|
<dl>
|
|
1076
1065
|
<dd>
|
|
1077
1066
|
|
|
1078
|
-
**requestOptions:** `Auth.RequestOptions`
|
|
1079
|
-
|
|
1067
|
+
**requestOptions:** `Auth.RequestOptions`
|
|
1068
|
+
|
|
1080
1069
|
</dd>
|
|
1081
1070
|
</dl>
|
|
1082
1071
|
</dd>
|
|
1083
1072
|
</dl>
|
|
1084
1073
|
|
|
1074
|
+
|
|
1085
1075
|
</dd>
|
|
1086
1076
|
</dl>
|
|
1087
1077
|
</details>
|
|
1088
1078
|
|
|
1089
1079
|
## Cohort
|
|
1090
|
-
|
|
1091
1080
|
<details><summary><code>client.cohort.<a href="/src/api/resources/cohort/client/Client.ts">analyze</a>({ ...params }) -> phenoml.CohortResponse</code></summary>
|
|
1092
1081
|
<dl>
|
|
1093
1082
|
<dd>
|
|
@@ -1101,7 +1090,6 @@ await client.authtoken.auth.generateToken({
|
|
|
1101
1090
|
<dd>
|
|
1102
1091
|
|
|
1103
1092
|
Converts natural language text into structured FHIR search queries for patient cohort analysis
|
|
1104
|
-
|
|
1105
1093
|
</dd>
|
|
1106
1094
|
</dl>
|
|
1107
1095
|
</dd>
|
|
@@ -1117,10 +1105,10 @@ Converts natural language text into structured FHIR search queries for patient c
|
|
|
1117
1105
|
|
|
1118
1106
|
```typescript
|
|
1119
1107
|
await client.cohort.analyze({
|
|
1120
|
-
text: "female patients over 65 with diabetes but not hypertension"
|
|
1108
|
+
text: "female patients over 65 with diabetes but not hypertension"
|
|
1121
1109
|
});
|
|
1122
|
-
```
|
|
1123
1110
|
|
|
1111
|
+
```
|
|
1124
1112
|
</dd>
|
|
1125
1113
|
</dl>
|
|
1126
1114
|
</dd>
|
|
@@ -1134,27 +1122,27 @@ await client.cohort.analyze({
|
|
|
1134
1122
|
<dl>
|
|
1135
1123
|
<dd>
|
|
1136
1124
|
|
|
1137
|
-
**request:** `phenoml.cohort.CohortRequest`
|
|
1138
|
-
|
|
1125
|
+
**request:** `phenoml.cohort.CohortRequest`
|
|
1126
|
+
|
|
1139
1127
|
</dd>
|
|
1140
1128
|
</dl>
|
|
1141
1129
|
|
|
1142
1130
|
<dl>
|
|
1143
1131
|
<dd>
|
|
1144
1132
|
|
|
1145
|
-
**requestOptions:** `Cohort.RequestOptions`
|
|
1146
|
-
|
|
1133
|
+
**requestOptions:** `Cohort.RequestOptions`
|
|
1134
|
+
|
|
1147
1135
|
</dd>
|
|
1148
1136
|
</dl>
|
|
1149
1137
|
</dd>
|
|
1150
1138
|
</dl>
|
|
1151
1139
|
|
|
1140
|
+
|
|
1152
1141
|
</dd>
|
|
1153
1142
|
</dl>
|
|
1154
1143
|
</details>
|
|
1155
1144
|
|
|
1156
1145
|
## Construe
|
|
1157
|
-
|
|
1158
1146
|
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">uploadCodeSystem</a>({ ...params }) -> phenoml.ConstrueUploadCodeSystemResponse</code></summary>
|
|
1159
1147
|
<dl>
|
|
1160
1148
|
<dd>
|
|
@@ -1170,7 +1158,6 @@ await client.cohort.analyze({
|
|
|
1170
1158
|
Upload a custom medical code system with codes and descriptions for use in code extraction.
|
|
1171
1159
|
Upon upload, construe generates embeddings for all of the codes in the code system and stores them in the vector database so you can
|
|
1172
1160
|
subsequently use the code system for construe/extract and lang2fhir/create (coming soon!)
|
|
1173
|
-
|
|
1174
1161
|
</dd>
|
|
1175
1162
|
</dl>
|
|
1176
1163
|
</dd>
|
|
@@ -1189,10 +1176,10 @@ await client.construe.uploadCodeSystem({
|
|
|
1189
1176
|
name: "CUSTOM_CODES",
|
|
1190
1177
|
version: "1.0",
|
|
1191
1178
|
format: "json",
|
|
1192
|
-
file: "file"
|
|
1179
|
+
file: "file"
|
|
1193
1180
|
});
|
|
1194
|
-
```
|
|
1195
1181
|
|
|
1182
|
+
```
|
|
1196
1183
|
</dd>
|
|
1197
1184
|
</dl>
|
|
1198
1185
|
</dd>
|
|
@@ -1206,21 +1193,22 @@ await client.construe.uploadCodeSystem({
|
|
|
1206
1193
|
<dl>
|
|
1207
1194
|
<dd>
|
|
1208
1195
|
|
|
1209
|
-
**request:** `phenoml.construe.UploadRequest`
|
|
1210
|
-
|
|
1196
|
+
**request:** `phenoml.construe.UploadRequest`
|
|
1197
|
+
|
|
1211
1198
|
</dd>
|
|
1212
1199
|
</dl>
|
|
1213
1200
|
|
|
1214
1201
|
<dl>
|
|
1215
1202
|
<dd>
|
|
1216
1203
|
|
|
1217
|
-
**requestOptions:** `Construe.RequestOptions`
|
|
1218
|
-
|
|
1204
|
+
**requestOptions:** `Construe.RequestOptions`
|
|
1205
|
+
|
|
1219
1206
|
</dd>
|
|
1220
1207
|
</dl>
|
|
1221
1208
|
</dd>
|
|
1222
1209
|
</dl>
|
|
1223
1210
|
|
|
1211
|
+
|
|
1224
1212
|
</dd>
|
|
1225
1213
|
</dl>
|
|
1226
1214
|
</details>
|
|
@@ -1238,7 +1226,6 @@ await client.construe.uploadCodeSystem({
|
|
|
1238
1226
|
<dd>
|
|
1239
1227
|
|
|
1240
1228
|
Converts natural language text into structured medical codes
|
|
1241
|
-
|
|
1242
1229
|
</dd>
|
|
1243
1230
|
</dl>
|
|
1244
1231
|
</dd>
|
|
@@ -1254,76 +1241,10 @@ Converts natural language text into structured medical codes
|
|
|
1254
1241
|
|
|
1255
1242
|
```typescript
|
|
1256
1243
|
await client.construe.extractCodes({
|
|
1257
|
-
text: "Patient is a 14-year-old female, previously healthy, who is here for evaluation of abnormal renal ultrasound with atrophic right kidney"
|
|
1244
|
+
text: "Patient is a 14-year-old female, previously healthy, who is here for evaluation of abnormal renal ultrasound with atrophic right kidney"
|
|
1258
1245
|
});
|
|
1259
|
-
```
|
|
1260
|
-
|
|
1261
|
-
</dd>
|
|
1262
|
-
</dl>
|
|
1263
|
-
</dd>
|
|
1264
|
-
</dl>
|
|
1265
|
-
|
|
1266
|
-
#### ⚙️ Parameters
|
|
1267
|
-
|
|
1268
|
-
<dl>
|
|
1269
|
-
<dd>
|
|
1270
|
-
|
|
1271
|
-
<dl>
|
|
1272
|
-
<dd>
|
|
1273
|
-
|
|
1274
|
-
**request:** `phenoml.construe.ExtractRequest`
|
|
1275
|
-
|
|
1276
|
-
</dd>
|
|
1277
|
-
</dl>
|
|
1278
|
-
|
|
1279
|
-
<dl>
|
|
1280
|
-
<dd>
|
|
1281
|
-
|
|
1282
|
-
**requestOptions:** `Construe.RequestOptions`
|
|
1283
|
-
|
|
1284
|
-
</dd>
|
|
1285
|
-
</dl>
|
|
1286
|
-
</dd>
|
|
1287
|
-
</dl>
|
|
1288
|
-
|
|
1289
|
-
</dd>
|
|
1290
|
-
</dl>
|
|
1291
|
-
</details>
|
|
1292
|
-
|
|
1293
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">cohort</a>({ ...params }) -> phenoml.ConstrueCohortResponse</code></summary>
|
|
1294
|
-
<dl>
|
|
1295
|
-
<dd>
|
|
1296
1246
|
|
|
1297
|
-
#### 📝 Description
|
|
1298
|
-
|
|
1299
|
-
<dl>
|
|
1300
|
-
<dd>
|
|
1301
|
-
|
|
1302
|
-
<dl>
|
|
1303
|
-
<dd>
|
|
1304
|
-
|
|
1305
|
-
Creates a patient cohort based on a natural language description.
|
|
1306
|
-
Translates the description into FHIR search queries and optional SQL queries.
|
|
1307
|
-
|
|
1308
|
-
</dd>
|
|
1309
|
-
</dl>
|
|
1310
|
-
</dd>
|
|
1311
|
-
</dl>
|
|
1312
|
-
|
|
1313
|
-
#### 🔌 Usage
|
|
1314
|
-
|
|
1315
|
-
<dl>
|
|
1316
|
-
<dd>
|
|
1317
|
-
|
|
1318
|
-
<dl>
|
|
1319
|
-
<dd>
|
|
1320
|
-
|
|
1321
|
-
```typescript
|
|
1322
|
-
await client.construe.cohort({
|
|
1323
|
-
text: "Between 20 and 40 years old with hyperlipidemia",
|
|
1324
|
-
});
|
|
1325
1247
|
```
|
|
1326
|
-
|
|
1327
1248
|
</dd>
|
|
1328
1249
|
</dl>
|
|
1329
1250
|
</dd>
|
|
@@ -1337,27 +1258,27 @@ await client.construe.cohort({
|
|
|
1337
1258
|
<dl>
|
|
1338
1259
|
<dd>
|
|
1339
1260
|
|
|
1340
|
-
**request:** `phenoml.construe.
|
|
1341
|
-
|
|
1261
|
+
**request:** `phenoml.construe.ExtractRequest`
|
|
1262
|
+
|
|
1342
1263
|
</dd>
|
|
1343
1264
|
</dl>
|
|
1344
1265
|
|
|
1345
1266
|
<dl>
|
|
1346
1267
|
<dd>
|
|
1347
1268
|
|
|
1348
|
-
**requestOptions:** `Construe.RequestOptions`
|
|
1349
|
-
|
|
1269
|
+
**requestOptions:** `Construe.RequestOptions`
|
|
1270
|
+
|
|
1350
1271
|
</dd>
|
|
1351
1272
|
</dl>
|
|
1352
1273
|
</dd>
|
|
1353
1274
|
</dl>
|
|
1354
1275
|
|
|
1276
|
+
|
|
1355
1277
|
</dd>
|
|
1356
1278
|
</dl>
|
|
1357
1279
|
</details>
|
|
1358
1280
|
|
|
1359
1281
|
## Fhir
|
|
1360
|
-
|
|
1361
1282
|
<details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">search</a>(fhirProviderId, fhirPath, { ...params }) -> phenoml.FhirSearchResponse</code></summary>
|
|
1362
1283
|
<dl>
|
|
1363
1284
|
<dd>
|
|
@@ -1373,7 +1294,6 @@ await client.construe.cohort({
|
|
|
1373
1294
|
Retrieves FHIR resources from the specified provider. Supports both individual resource retrieval and search operations based on the FHIR path and query parameters.
|
|
1374
1295
|
|
|
1375
1296
|
The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
1376
|
-
|
|
1377
1297
|
</dd>
|
|
1378
1298
|
</dl>
|
|
1379
1299
|
</dd>
|
|
@@ -1389,10 +1309,11 @@ The request is proxied to the configured FHIR server with appropriate authentica
|
|
|
1389
1309
|
|
|
1390
1310
|
```typescript
|
|
1391
1311
|
await client.fhir.search("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
1392
|
-
"X-Phenoml-On-Behalf-Of": "
|
|
1312
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
1313
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
1393
1314
|
});
|
|
1394
|
-
```
|
|
1395
1315
|
|
|
1316
|
+
```
|
|
1396
1317
|
</dd>
|
|
1397
1318
|
</dl>
|
|
1398
1319
|
</dd>
|
|
@@ -1406,49 +1327,48 @@ await client.fhir.search("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
|
1406
1327
|
<dl>
|
|
1407
1328
|
<dd>
|
|
1408
1329
|
|
|
1409
|
-
**fhirProviderId:** `string`
|
|
1330
|
+
**fhirProviderId:** `string`
|
|
1410
1331
|
|
|
1411
1332
|
The ID of the FHIR provider to use. Can be either:
|
|
1412
|
-
|
|
1413
1333
|
- A UUID representing the provider ID
|
|
1414
1334
|
- A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
1415
|
-
|
|
1335
|
+
|
|
1416
1336
|
</dd>
|
|
1417
1337
|
</dl>
|
|
1418
1338
|
|
|
1419
1339
|
<dl>
|
|
1420
1340
|
<dd>
|
|
1421
1341
|
|
|
1422
|
-
**fhirPath:** `string`
|
|
1342
|
+
**fhirPath:** `string`
|
|
1423
1343
|
|
|
1424
1344
|
The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
1425
1345
|
Examples:
|
|
1426
|
-
|
|
1427
1346
|
- "Patient" (for resource type operations)
|
|
1428
1347
|
- "Patient/123" (for specific resource operations)
|
|
1429
|
-
- "Patient/123
|
|
1430
|
-
|
|
1348
|
+
- "Patient/123/_history" (for history operations)
|
|
1349
|
+
|
|
1431
1350
|
</dd>
|
|
1432
1351
|
</dl>
|
|
1433
1352
|
|
|
1434
1353
|
<dl>
|
|
1435
1354
|
<dd>
|
|
1436
1355
|
|
|
1437
|
-
**request:** `phenoml.fhir.FhirSearchRequest`
|
|
1438
|
-
|
|
1356
|
+
**request:** `phenoml.fhir.FhirSearchRequest`
|
|
1357
|
+
|
|
1439
1358
|
</dd>
|
|
1440
1359
|
</dl>
|
|
1441
1360
|
|
|
1442
1361
|
<dl>
|
|
1443
1362
|
<dd>
|
|
1444
1363
|
|
|
1445
|
-
**requestOptions:** `Fhir.RequestOptions`
|
|
1446
|
-
|
|
1364
|
+
**requestOptions:** `Fhir.RequestOptions`
|
|
1365
|
+
|
|
1447
1366
|
</dd>
|
|
1448
1367
|
</dl>
|
|
1449
1368
|
</dd>
|
|
1450
1369
|
</dl>
|
|
1451
1370
|
|
|
1371
|
+
|
|
1452
1372
|
</dd>
|
|
1453
1373
|
</dl>
|
|
1454
1374
|
</details>
|
|
@@ -1468,7 +1388,6 @@ Examples:
|
|
|
1468
1388
|
Creates a new FHIR resource on the specified provider. The request body should contain a valid FHIR resource in JSON format.
|
|
1469
1389
|
|
|
1470
1390
|
The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
1471
|
-
|
|
1472
1391
|
</dd>
|
|
1473
1392
|
</dl>
|
|
1474
1393
|
</dd>
|
|
@@ -1484,21 +1403,24 @@ The request is proxied to the configured FHIR server with appropriate authentica
|
|
|
1484
1403
|
|
|
1485
1404
|
```typescript
|
|
1486
1405
|
await client.fhir.create("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
1487
|
-
"X-Phenoml-On-Behalf-Of": "
|
|
1406
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
1407
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
|
|
1488
1408
|
body: {
|
|
1489
1409
|
resourceType: "Patient",
|
|
1490
1410
|
name: [
|
|
1491
1411
|
{
|
|
1492
|
-
family: "Doe",
|
|
1493
|
-
given: [
|
|
1494
|
-
|
|
1412
|
+
"family": "Doe",
|
|
1413
|
+
"given": [
|
|
1414
|
+
"Jane"
|
|
1415
|
+
]
|
|
1416
|
+
}
|
|
1495
1417
|
],
|
|
1496
1418
|
gender: "female",
|
|
1497
|
-
birthDate: "1990-01-01"
|
|
1498
|
-
}
|
|
1419
|
+
birthDate: "1990-01-01"
|
|
1420
|
+
}
|
|
1499
1421
|
});
|
|
1500
|
-
```
|
|
1501
1422
|
|
|
1423
|
+
```
|
|
1502
1424
|
</dd>
|
|
1503
1425
|
</dl>
|
|
1504
1426
|
</dd>
|
|
@@ -1512,49 +1434,48 @@ await client.fhir.create("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
|
1512
1434
|
<dl>
|
|
1513
1435
|
<dd>
|
|
1514
1436
|
|
|
1515
|
-
**fhirProviderId:** `string`
|
|
1437
|
+
**fhirProviderId:** `string`
|
|
1516
1438
|
|
|
1517
1439
|
The ID of the FHIR provider to use. Can be either:
|
|
1518
|
-
|
|
1519
1440
|
- A UUID representing the provider ID
|
|
1520
1441
|
- A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
1521
|
-
|
|
1442
|
+
|
|
1522
1443
|
</dd>
|
|
1523
1444
|
</dl>
|
|
1524
1445
|
|
|
1525
1446
|
<dl>
|
|
1526
1447
|
<dd>
|
|
1527
1448
|
|
|
1528
|
-
**fhirPath:** `string`
|
|
1449
|
+
**fhirPath:** `string`
|
|
1529
1450
|
|
|
1530
1451
|
The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
1531
1452
|
Examples:
|
|
1532
|
-
|
|
1533
1453
|
- "Patient" (for resource type operations)
|
|
1534
1454
|
- "Patient/123" (for specific resource operations)
|
|
1535
|
-
- "Patient/123
|
|
1536
|
-
|
|
1455
|
+
- "Patient/123/_history" (for history operations)
|
|
1456
|
+
|
|
1537
1457
|
</dd>
|
|
1538
1458
|
</dl>
|
|
1539
1459
|
|
|
1540
1460
|
<dl>
|
|
1541
1461
|
<dd>
|
|
1542
1462
|
|
|
1543
|
-
**request:** `phenoml.fhir.FhirCreateRequest`
|
|
1544
|
-
|
|
1463
|
+
**request:** `phenoml.fhir.FhirCreateRequest`
|
|
1464
|
+
|
|
1545
1465
|
</dd>
|
|
1546
1466
|
</dl>
|
|
1547
1467
|
|
|
1548
1468
|
<dl>
|
|
1549
1469
|
<dd>
|
|
1550
1470
|
|
|
1551
|
-
**requestOptions:** `Fhir.RequestOptions`
|
|
1552
|
-
|
|
1471
|
+
**requestOptions:** `Fhir.RequestOptions`
|
|
1472
|
+
|
|
1553
1473
|
</dd>
|
|
1554
1474
|
</dl>
|
|
1555
1475
|
</dd>
|
|
1556
1476
|
</dl>
|
|
1557
1477
|
|
|
1478
|
+
|
|
1558
1479
|
</dd>
|
|
1559
1480
|
</dl>
|
|
1560
1481
|
</details>
|
|
@@ -1574,7 +1495,6 @@ Examples:
|
|
|
1574
1495
|
Creates or updates a FHIR resource on the specified provider. If the resource exists, it will be updated; otherwise, it will be created.
|
|
1575
1496
|
|
|
1576
1497
|
The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
1577
|
-
|
|
1578
1498
|
</dd>
|
|
1579
1499
|
</dl>
|
|
1580
1500
|
</dd>
|
|
@@ -1590,22 +1510,26 @@ The request is proxied to the configured FHIR server with appropriate authentica
|
|
|
1590
1510
|
|
|
1591
1511
|
```typescript
|
|
1592
1512
|
await client.fhir.upsert("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
1593
|
-
"X-Phenoml-On-Behalf-Of": "
|
|
1513
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
1514
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
|
|
1594
1515
|
body: {
|
|
1595
1516
|
resourceType: "Patient",
|
|
1596
1517
|
id: "123",
|
|
1597
1518
|
name: [
|
|
1598
1519
|
{
|
|
1599
|
-
family: "Doe",
|
|
1600
|
-
given: [
|
|
1601
|
-
|
|
1520
|
+
"family": "Doe",
|
|
1521
|
+
"given": [
|
|
1522
|
+
"John",
|
|
1523
|
+
"Updated"
|
|
1524
|
+
]
|
|
1525
|
+
}
|
|
1602
1526
|
],
|
|
1603
1527
|
gender: "male",
|
|
1604
|
-
birthDate: "1985-05-15"
|
|
1605
|
-
}
|
|
1528
|
+
birthDate: "1985-05-15"
|
|
1529
|
+
}
|
|
1606
1530
|
});
|
|
1607
|
-
```
|
|
1608
1531
|
|
|
1532
|
+
```
|
|
1609
1533
|
</dd>
|
|
1610
1534
|
</dl>
|
|
1611
1535
|
</dd>
|
|
@@ -1619,49 +1543,48 @@ await client.fhir.upsert("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
|
1619
1543
|
<dl>
|
|
1620
1544
|
<dd>
|
|
1621
1545
|
|
|
1622
|
-
**fhirProviderId:** `string`
|
|
1546
|
+
**fhirProviderId:** `string`
|
|
1623
1547
|
|
|
1624
1548
|
The ID of the FHIR provider to use. Can be either:
|
|
1625
|
-
|
|
1626
1549
|
- A UUID representing the provider ID
|
|
1627
1550
|
- A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
1628
|
-
|
|
1551
|
+
|
|
1629
1552
|
</dd>
|
|
1630
1553
|
</dl>
|
|
1631
1554
|
|
|
1632
1555
|
<dl>
|
|
1633
1556
|
<dd>
|
|
1634
1557
|
|
|
1635
|
-
**fhirPath:** `string`
|
|
1558
|
+
**fhirPath:** `string`
|
|
1636
1559
|
|
|
1637
1560
|
The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
1638
1561
|
Examples:
|
|
1639
|
-
|
|
1640
1562
|
- "Patient" (for resource type operations)
|
|
1641
1563
|
- "Patient/123" (for specific resource operations)
|
|
1642
|
-
- "Patient/123
|
|
1643
|
-
|
|
1564
|
+
- "Patient/123/_history" (for history operations)
|
|
1565
|
+
|
|
1644
1566
|
</dd>
|
|
1645
1567
|
</dl>
|
|
1646
1568
|
|
|
1647
1569
|
<dl>
|
|
1648
1570
|
<dd>
|
|
1649
1571
|
|
|
1650
|
-
**request:** `phenoml.fhir.FhirUpsertRequest`
|
|
1651
|
-
|
|
1572
|
+
**request:** `phenoml.fhir.FhirUpsertRequest`
|
|
1573
|
+
|
|
1652
1574
|
</dd>
|
|
1653
1575
|
</dl>
|
|
1654
1576
|
|
|
1655
1577
|
<dl>
|
|
1656
1578
|
<dd>
|
|
1657
1579
|
|
|
1658
|
-
**requestOptions:** `Fhir.RequestOptions`
|
|
1659
|
-
|
|
1580
|
+
**requestOptions:** `Fhir.RequestOptions`
|
|
1581
|
+
|
|
1660
1582
|
</dd>
|
|
1661
1583
|
</dl>
|
|
1662
1584
|
</dd>
|
|
1663
1585
|
</dl>
|
|
1664
1586
|
|
|
1587
|
+
|
|
1665
1588
|
</dd>
|
|
1666
1589
|
</dl>
|
|
1667
1590
|
</details>
|
|
@@ -1681,7 +1604,6 @@ Examples:
|
|
|
1681
1604
|
Deletes a FHIR resource from the specified provider.
|
|
1682
1605
|
|
|
1683
1606
|
The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
1684
|
-
|
|
1685
1607
|
</dd>
|
|
1686
1608
|
</dl>
|
|
1687
1609
|
</dd>
|
|
@@ -1697,10 +1619,11 @@ The request is proxied to the configured FHIR server with appropriate authentica
|
|
|
1697
1619
|
|
|
1698
1620
|
```typescript
|
|
1699
1621
|
await client.fhir.delete("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
1700
|
-
"X-Phenoml-On-Behalf-Of": "
|
|
1622
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
1623
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c..."
|
|
1701
1624
|
});
|
|
1702
|
-
```
|
|
1703
1625
|
|
|
1626
|
+
```
|
|
1704
1627
|
</dd>
|
|
1705
1628
|
</dl>
|
|
1706
1629
|
</dd>
|
|
@@ -1714,49 +1637,48 @@ await client.fhir.delete("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
|
1714
1637
|
<dl>
|
|
1715
1638
|
<dd>
|
|
1716
1639
|
|
|
1717
|
-
**fhirProviderId:** `string`
|
|
1640
|
+
**fhirProviderId:** `string`
|
|
1718
1641
|
|
|
1719
1642
|
The ID of the FHIR provider to use. Can be either:
|
|
1720
|
-
|
|
1721
1643
|
- A UUID representing the provider ID
|
|
1722
1644
|
- A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
1723
|
-
|
|
1645
|
+
|
|
1724
1646
|
</dd>
|
|
1725
1647
|
</dl>
|
|
1726
1648
|
|
|
1727
1649
|
<dl>
|
|
1728
1650
|
<dd>
|
|
1729
1651
|
|
|
1730
|
-
**fhirPath:** `string`
|
|
1652
|
+
**fhirPath:** `string`
|
|
1731
1653
|
|
|
1732
1654
|
The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
1733
1655
|
Examples:
|
|
1734
|
-
|
|
1735
1656
|
- "Patient" (for resource type operations)
|
|
1736
1657
|
- "Patient/123" (for specific resource operations)
|
|
1737
|
-
- "Patient/123
|
|
1738
|
-
|
|
1658
|
+
- "Patient/123/_history" (for history operations)
|
|
1659
|
+
|
|
1739
1660
|
</dd>
|
|
1740
1661
|
</dl>
|
|
1741
1662
|
|
|
1742
1663
|
<dl>
|
|
1743
1664
|
<dd>
|
|
1744
1665
|
|
|
1745
|
-
**request:** `phenoml.fhir.FhirDeleteRequest`
|
|
1746
|
-
|
|
1666
|
+
**request:** `phenoml.fhir.FhirDeleteRequest`
|
|
1667
|
+
|
|
1747
1668
|
</dd>
|
|
1748
1669
|
</dl>
|
|
1749
1670
|
|
|
1750
1671
|
<dl>
|
|
1751
1672
|
<dd>
|
|
1752
1673
|
|
|
1753
|
-
**requestOptions:** `Fhir.RequestOptions`
|
|
1754
|
-
|
|
1674
|
+
**requestOptions:** `Fhir.RequestOptions`
|
|
1675
|
+
|
|
1755
1676
|
</dd>
|
|
1756
1677
|
</dl>
|
|
1757
1678
|
</dd>
|
|
1758
1679
|
</dl>
|
|
1759
1680
|
|
|
1681
|
+
|
|
1760
1682
|
</dd>
|
|
1761
1683
|
</dl>
|
|
1762
1684
|
</details>
|
|
@@ -1776,13 +1698,11 @@ Examples:
|
|
|
1776
1698
|
Partially updates a FHIR resource on the specified provider using JSON Patch operations as defined in RFC 6902.
|
|
1777
1699
|
|
|
1778
1700
|
The request body should contain an array of JSON Patch operations. Each operation specifies:
|
|
1779
|
-
|
|
1780
1701
|
- `op`: The operation type (add, remove, replace, move, copy, test)
|
|
1781
1702
|
- `path`: JSON Pointer to the target location in the resource
|
|
1782
1703
|
- `value`: The value to use (required for add, replace, and test operations)
|
|
1783
1704
|
|
|
1784
1705
|
The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
1785
|
-
|
|
1786
1706
|
</dd>
|
|
1787
1707
|
</dl>
|
|
1788
1708
|
</dd>
|
|
@@ -1798,17 +1718,16 @@ The request is proxied to the configured FHIR server with appropriate authentica
|
|
|
1798
1718
|
|
|
1799
1719
|
```typescript
|
|
1800
1720
|
await client.fhir.patch("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
1801
|
-
"X-Phenoml-On-Behalf-Of": "
|
|
1802
|
-
|
|
1803
|
-
|
|
1721
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
1722
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
|
|
1723
|
+
body: [{
|
|
1804
1724
|
op: "replace",
|
|
1805
1725
|
path: "/name/0/family",
|
|
1806
|
-
value: "NewFamilyName"
|
|
1807
|
-
}
|
|
1808
|
-
],
|
|
1726
|
+
value: "NewFamilyName"
|
|
1727
|
+
}]
|
|
1809
1728
|
});
|
|
1810
|
-
```
|
|
1811
1729
|
|
|
1730
|
+
```
|
|
1812
1731
|
</dd>
|
|
1813
1732
|
</dl>
|
|
1814
1733
|
</dd>
|
|
@@ -1822,49 +1741,48 @@ await client.fhir.patch("550e8400-e29b-41d4-a716-446655440000", "Patient", {
|
|
|
1822
1741
|
<dl>
|
|
1823
1742
|
<dd>
|
|
1824
1743
|
|
|
1825
|
-
**fhirProviderId:** `string`
|
|
1744
|
+
**fhirProviderId:** `string`
|
|
1826
1745
|
|
|
1827
1746
|
The ID of the FHIR provider to use. Can be either:
|
|
1828
|
-
|
|
1829
1747
|
- A UUID representing the provider ID
|
|
1830
1748
|
- A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
1831
|
-
|
|
1749
|
+
|
|
1832
1750
|
</dd>
|
|
1833
1751
|
</dl>
|
|
1834
1752
|
|
|
1835
1753
|
<dl>
|
|
1836
1754
|
<dd>
|
|
1837
1755
|
|
|
1838
|
-
**fhirPath:** `string`
|
|
1756
|
+
**fhirPath:** `string`
|
|
1839
1757
|
|
|
1840
1758
|
The FHIR resource path to operate on. This follows FHIR RESTful API conventions.
|
|
1841
1759
|
Examples:
|
|
1842
|
-
|
|
1843
1760
|
- "Patient" (for resource type operations)
|
|
1844
1761
|
- "Patient/123" (for specific resource operations)
|
|
1845
|
-
- "Patient/123
|
|
1846
|
-
|
|
1762
|
+
- "Patient/123/_history" (for history operations)
|
|
1763
|
+
|
|
1847
1764
|
</dd>
|
|
1848
1765
|
</dl>
|
|
1849
1766
|
|
|
1850
1767
|
<dl>
|
|
1851
1768
|
<dd>
|
|
1852
1769
|
|
|
1853
|
-
**request:** `phenoml.fhir.FhirPatchRequest`
|
|
1854
|
-
|
|
1770
|
+
**request:** `phenoml.fhir.FhirPatchRequest`
|
|
1771
|
+
|
|
1855
1772
|
</dd>
|
|
1856
1773
|
</dl>
|
|
1857
1774
|
|
|
1858
1775
|
<dl>
|
|
1859
1776
|
<dd>
|
|
1860
1777
|
|
|
1861
|
-
**requestOptions:** `Fhir.RequestOptions`
|
|
1862
|
-
|
|
1778
|
+
**requestOptions:** `Fhir.RequestOptions`
|
|
1779
|
+
|
|
1863
1780
|
</dd>
|
|
1864
1781
|
</dl>
|
|
1865
1782
|
</dd>
|
|
1866
1783
|
</dl>
|
|
1867
1784
|
|
|
1785
|
+
|
|
1868
1786
|
</dd>
|
|
1869
1787
|
</dl>
|
|
1870
1788
|
</details>
|
|
@@ -1886,7 +1804,6 @@ Executes a FHIR Bundle transaction or batch operation on the specified provider.
|
|
|
1886
1804
|
The request body should contain a valid FHIR Bundle resource with transaction or batch type.
|
|
1887
1805
|
|
|
1888
1806
|
The request is proxied to the configured FHIR server with appropriate authentication headers.
|
|
1889
|
-
|
|
1890
1807
|
</dd>
|
|
1891
1808
|
</dl>
|
|
1892
1809
|
</dd>
|
|
@@ -1902,43 +1819,43 @@ The request is proxied to the configured FHIR server with appropriate authentica
|
|
|
1902
1819
|
|
|
1903
1820
|
```typescript
|
|
1904
1821
|
await client.fhir.executeBundle("550e8400-e29b-41d4-a716-446655440000", {
|
|
1905
|
-
"X-Phenoml-On-Behalf-Of": "
|
|
1822
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
1823
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
|
|
1906
1824
|
body: {
|
|
1907
1825
|
resourceType: "Bundle",
|
|
1908
|
-
entry: [
|
|
1909
|
-
{
|
|
1826
|
+
entry: [{
|
|
1910
1827
|
resource: {
|
|
1911
|
-
resourceType: "Patient",
|
|
1912
|
-
name: [
|
|
1828
|
+
"resourceType": "Patient",
|
|
1829
|
+
"name": [
|
|
1913
1830
|
{
|
|
1914
|
-
family: "Doe",
|
|
1915
|
-
given: [
|
|
1916
|
-
|
|
1917
|
-
|
|
1831
|
+
"family": "Doe",
|
|
1832
|
+
"given": [
|
|
1833
|
+
"John"
|
|
1834
|
+
]
|
|
1835
|
+
}
|
|
1836
|
+
]
|
|
1918
1837
|
},
|
|
1919
1838
|
request: {
|
|
1920
1839
|
method: "POST",
|
|
1921
|
-
url: "Patient"
|
|
1922
|
-
}
|
|
1923
|
-
},
|
|
1924
|
-
{
|
|
1840
|
+
url: "Patient"
|
|
1841
|
+
}
|
|
1842
|
+
}, {
|
|
1925
1843
|
resource: {
|
|
1926
|
-
resourceType: "Observation",
|
|
1927
|
-
status: "final",
|
|
1928
|
-
subject: {
|
|
1929
|
-
reference: "Patient/123"
|
|
1930
|
-
}
|
|
1844
|
+
"resourceType": "Observation",
|
|
1845
|
+
"status": "final",
|
|
1846
|
+
"subject": {
|
|
1847
|
+
"reference": "Patient/123"
|
|
1848
|
+
}
|
|
1931
1849
|
},
|
|
1932
1850
|
request: {
|
|
1933
1851
|
method: "POST",
|
|
1934
|
-
url: "Observation"
|
|
1935
|
-
}
|
|
1936
|
-
}
|
|
1937
|
-
|
|
1938
|
-
},
|
|
1852
|
+
url: "Observation"
|
|
1853
|
+
}
|
|
1854
|
+
}]
|
|
1855
|
+
}
|
|
1939
1856
|
});
|
|
1940
|
-
```
|
|
1941
1857
|
|
|
1858
|
+
```
|
|
1942
1859
|
</dd>
|
|
1943
1860
|
</dl>
|
|
1944
1861
|
</dd>
|
|
@@ -1952,40 +1869,39 @@ await client.fhir.executeBundle("550e8400-e29b-41d4-a716-446655440000", {
|
|
|
1952
1869
|
<dl>
|
|
1953
1870
|
<dd>
|
|
1954
1871
|
|
|
1955
|
-
**fhirProviderId:** `string`
|
|
1872
|
+
**fhirProviderId:** `string`
|
|
1956
1873
|
|
|
1957
1874
|
The ID of the FHIR provider to use. Can be either:
|
|
1958
|
-
|
|
1959
1875
|
- A UUID representing the provider ID
|
|
1960
1876
|
- A provider name (legacy support - will just use the most recently updated provider with this name)
|
|
1961
|
-
|
|
1877
|
+
|
|
1962
1878
|
</dd>
|
|
1963
1879
|
</dl>
|
|
1964
1880
|
|
|
1965
1881
|
<dl>
|
|
1966
1882
|
<dd>
|
|
1967
1883
|
|
|
1968
|
-
**request:** `phenoml.fhir.FhirExecuteBundleRequest`
|
|
1969
|
-
|
|
1884
|
+
**request:** `phenoml.fhir.FhirExecuteBundleRequest`
|
|
1885
|
+
|
|
1970
1886
|
</dd>
|
|
1971
1887
|
</dl>
|
|
1972
1888
|
|
|
1973
1889
|
<dl>
|
|
1974
1890
|
<dd>
|
|
1975
1891
|
|
|
1976
|
-
**requestOptions:** `Fhir.RequestOptions`
|
|
1977
|
-
|
|
1892
|
+
**requestOptions:** `Fhir.RequestOptions`
|
|
1893
|
+
|
|
1978
1894
|
</dd>
|
|
1979
1895
|
</dl>
|
|
1980
1896
|
</dd>
|
|
1981
1897
|
</dl>
|
|
1982
1898
|
|
|
1899
|
+
|
|
1983
1900
|
</dd>
|
|
1984
1901
|
</dl>
|
|
1985
1902
|
</details>
|
|
1986
1903
|
|
|
1987
1904
|
## FhirProvider
|
|
1988
|
-
|
|
1989
1905
|
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">create</a>({ ...params }) -> phenoml.FhirProviderResponse</code></summary>
|
|
1990
1906
|
<dl>
|
|
1991
1907
|
<dd>
|
|
@@ -1999,7 +1915,6 @@ The ID of the FHIR provider to use. Can be either:
|
|
|
1999
1915
|
<dd>
|
|
2000
1916
|
|
|
2001
1917
|
Creates a new FHIR provider configuration with authentication credentials
|
|
2002
|
-
|
|
2003
1918
|
</dd>
|
|
2004
1919
|
</dl>
|
|
2005
1920
|
</dd>
|
|
@@ -2018,10 +1933,73 @@ await client.fhirProvider.create({
|
|
|
2018
1933
|
name: "Epic Sandbox",
|
|
2019
1934
|
provider: "athenahealth",
|
|
2020
1935
|
auth_method: "client_secret",
|
|
2021
|
-
base_url: "https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4"
|
|
1936
|
+
base_url: "https://fhir.epic.com/interconnect-fhir-oauth/api/FHIR/R4"
|
|
2022
1937
|
});
|
|
1938
|
+
|
|
2023
1939
|
```
|
|
1940
|
+
</dd>
|
|
1941
|
+
</dl>
|
|
1942
|
+
</dd>
|
|
1943
|
+
</dl>
|
|
1944
|
+
|
|
1945
|
+
#### ⚙️ Parameters
|
|
1946
|
+
|
|
1947
|
+
<dl>
|
|
1948
|
+
<dd>
|
|
1949
|
+
|
|
1950
|
+
<dl>
|
|
1951
|
+
<dd>
|
|
1952
|
+
|
|
1953
|
+
**request:** `phenoml.fhirProvider.FhirProviderCreateRequest`
|
|
1954
|
+
|
|
1955
|
+
</dd>
|
|
1956
|
+
</dl>
|
|
1957
|
+
|
|
1958
|
+
<dl>
|
|
1959
|
+
<dd>
|
|
1960
|
+
|
|
1961
|
+
**requestOptions:** `FhirProvider.RequestOptions`
|
|
1962
|
+
|
|
1963
|
+
</dd>
|
|
1964
|
+
</dl>
|
|
1965
|
+
</dd>
|
|
1966
|
+
</dl>
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
</dd>
|
|
1970
|
+
</dl>
|
|
1971
|
+
</details>
|
|
1972
|
+
|
|
1973
|
+
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">list</a>() -> phenoml.FhirProviderListResponse</code></summary>
|
|
1974
|
+
<dl>
|
|
1975
|
+
<dd>
|
|
1976
|
+
|
|
1977
|
+
#### 📝 Description
|
|
1978
|
+
|
|
1979
|
+
<dl>
|
|
1980
|
+
<dd>
|
|
1981
|
+
|
|
1982
|
+
<dl>
|
|
1983
|
+
<dd>
|
|
1984
|
+
|
|
1985
|
+
Retrieves a list of all active FHIR providers for the authenticated user
|
|
1986
|
+
</dd>
|
|
1987
|
+
</dl>
|
|
1988
|
+
</dd>
|
|
1989
|
+
</dl>
|
|
2024
1990
|
|
|
1991
|
+
#### 🔌 Usage
|
|
1992
|
+
|
|
1993
|
+
<dl>
|
|
1994
|
+
<dd>
|
|
1995
|
+
|
|
1996
|
+
<dl>
|
|
1997
|
+
<dd>
|
|
1998
|
+
|
|
1999
|
+
```typescript
|
|
2000
|
+
await client.fhirProvider.list();
|
|
2001
|
+
|
|
2002
|
+
```
|
|
2025
2003
|
</dd>
|
|
2026
2004
|
</dl>
|
|
2027
2005
|
</dd>
|
|
@@ -2035,26 +2013,82 @@ await client.fhirProvider.create({
|
|
|
2035
2013
|
<dl>
|
|
2036
2014
|
<dd>
|
|
2037
2015
|
|
|
2038
|
-
**
|
|
2016
|
+
**requestOptions:** `FhirProvider.RequestOptions`
|
|
2017
|
+
|
|
2018
|
+
</dd>
|
|
2019
|
+
</dl>
|
|
2020
|
+
</dd>
|
|
2021
|
+
</dl>
|
|
2022
|
+
|
|
2023
|
+
|
|
2024
|
+
</dd>
|
|
2025
|
+
</dl>
|
|
2026
|
+
</details>
|
|
2027
|
+
|
|
2028
|
+
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">get</a>(fhirProviderId) -> phenoml.FhirProviderResponse</code></summary>
|
|
2029
|
+
<dl>
|
|
2030
|
+
<dd>
|
|
2031
|
+
|
|
2032
|
+
#### 📝 Description
|
|
2033
|
+
|
|
2034
|
+
<dl>
|
|
2035
|
+
<dd>
|
|
2036
|
+
|
|
2037
|
+
<dl>
|
|
2038
|
+
<dd>
|
|
2039
|
+
|
|
2040
|
+
Retrieves a specific FHIR provider configuration by its ID
|
|
2041
|
+
</dd>
|
|
2042
|
+
</dl>
|
|
2043
|
+
</dd>
|
|
2044
|
+
</dl>
|
|
2045
|
+
|
|
2046
|
+
#### 🔌 Usage
|
|
2047
|
+
|
|
2048
|
+
<dl>
|
|
2049
|
+
<dd>
|
|
2050
|
+
|
|
2051
|
+
<dl>
|
|
2052
|
+
<dd>
|
|
2053
|
+
|
|
2054
|
+
```typescript
|
|
2055
|
+
await client.fhirProvider.get("fhir_provider_id");
|
|
2039
2056
|
|
|
2057
|
+
```
|
|
2058
|
+
</dd>
|
|
2059
|
+
</dl>
|
|
2040
2060
|
</dd>
|
|
2041
2061
|
</dl>
|
|
2042
2062
|
|
|
2063
|
+
#### ⚙️ Parameters
|
|
2064
|
+
|
|
2043
2065
|
<dl>
|
|
2044
2066
|
<dd>
|
|
2045
2067
|
|
|
2046
|
-
|
|
2068
|
+
<dl>
|
|
2069
|
+
<dd>
|
|
2047
2070
|
|
|
2071
|
+
**fhirProviderId:** `string` — ID of the FHIR provider to retrieve
|
|
2072
|
+
|
|
2048
2073
|
</dd>
|
|
2049
2074
|
</dl>
|
|
2075
|
+
|
|
2076
|
+
<dl>
|
|
2077
|
+
<dd>
|
|
2078
|
+
|
|
2079
|
+
**requestOptions:** `FhirProvider.RequestOptions`
|
|
2080
|
+
|
|
2050
2081
|
</dd>
|
|
2051
2082
|
</dl>
|
|
2083
|
+
</dd>
|
|
2084
|
+
</dl>
|
|
2085
|
+
|
|
2052
2086
|
|
|
2053
2087
|
</dd>
|
|
2054
2088
|
</dl>
|
|
2055
2089
|
</details>
|
|
2056
2090
|
|
|
2057
|
-
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">
|
|
2091
|
+
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">delete</a>(fhirProviderId) -> phenoml.FhirProviderDeleteResponse</code></summary>
|
|
2058
2092
|
<dl>
|
|
2059
2093
|
<dd>
|
|
2060
2094
|
|
|
@@ -2066,8 +2100,70 @@ await client.fhirProvider.create({
|
|
|
2066
2100
|
<dl>
|
|
2067
2101
|
<dd>
|
|
2068
2102
|
|
|
2069
|
-
|
|
2103
|
+
Soft deletes a FHIR provider by setting is_active to false
|
|
2104
|
+
</dd>
|
|
2105
|
+
</dl>
|
|
2106
|
+
</dd>
|
|
2107
|
+
</dl>
|
|
2108
|
+
|
|
2109
|
+
#### 🔌 Usage
|
|
2110
|
+
|
|
2111
|
+
<dl>
|
|
2112
|
+
<dd>
|
|
2113
|
+
|
|
2114
|
+
<dl>
|
|
2115
|
+
<dd>
|
|
2116
|
+
|
|
2117
|
+
```typescript
|
|
2118
|
+
await client.fhirProvider.delete("fhir_provider_id");
|
|
2119
|
+
|
|
2120
|
+
```
|
|
2121
|
+
</dd>
|
|
2122
|
+
</dl>
|
|
2123
|
+
</dd>
|
|
2124
|
+
</dl>
|
|
2125
|
+
|
|
2126
|
+
#### ⚙️ Parameters
|
|
2127
|
+
|
|
2128
|
+
<dl>
|
|
2129
|
+
<dd>
|
|
2130
|
+
|
|
2131
|
+
<dl>
|
|
2132
|
+
<dd>
|
|
2070
2133
|
|
|
2134
|
+
**fhirProviderId:** `string` — ID of the FHIR provider to delete
|
|
2135
|
+
|
|
2136
|
+
</dd>
|
|
2137
|
+
</dl>
|
|
2138
|
+
|
|
2139
|
+
<dl>
|
|
2140
|
+
<dd>
|
|
2141
|
+
|
|
2142
|
+
**requestOptions:** `FhirProvider.RequestOptions`
|
|
2143
|
+
|
|
2144
|
+
</dd>
|
|
2145
|
+
</dl>
|
|
2146
|
+
</dd>
|
|
2147
|
+
</dl>
|
|
2148
|
+
|
|
2149
|
+
|
|
2150
|
+
</dd>
|
|
2151
|
+
</dl>
|
|
2152
|
+
</details>
|
|
2153
|
+
|
|
2154
|
+
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">addAuthConfig</a>(fhirProviderId, { ...params }) -> phenoml.FhirProviderResponse</code></summary>
|
|
2155
|
+
<dl>
|
|
2156
|
+
<dd>
|
|
2157
|
+
|
|
2158
|
+
#### 📝 Description
|
|
2159
|
+
|
|
2160
|
+
<dl>
|
|
2161
|
+
<dd>
|
|
2162
|
+
|
|
2163
|
+
<dl>
|
|
2164
|
+
<dd>
|
|
2165
|
+
|
|
2166
|
+
Adds a new authentication configuration to an existing FHIR provider. This enables key rotation and multiple auth configurations per provider.
|
|
2071
2167
|
</dd>
|
|
2072
2168
|
</dl>
|
|
2073
2169
|
</dd>
|
|
@@ -2082,9 +2178,84 @@ Retrieves a list of all active FHIR providers for the authenticated user
|
|
|
2082
2178
|
<dd>
|
|
2083
2179
|
|
|
2084
2180
|
```typescript
|
|
2085
|
-
await client.fhirProvider.
|
|
2181
|
+
await client.fhirProvider.addAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad", {
|
|
2182
|
+
auth_method: "client_secret"
|
|
2183
|
+
});
|
|
2184
|
+
|
|
2086
2185
|
```
|
|
2186
|
+
</dd>
|
|
2187
|
+
</dl>
|
|
2188
|
+
</dd>
|
|
2189
|
+
</dl>
|
|
2190
|
+
|
|
2191
|
+
#### ⚙️ Parameters
|
|
2192
|
+
|
|
2193
|
+
<dl>
|
|
2194
|
+
<dd>
|
|
2087
2195
|
|
|
2196
|
+
<dl>
|
|
2197
|
+
<dd>
|
|
2198
|
+
|
|
2199
|
+
**fhirProviderId:** `string` — ID of the FHIR provider to add auth config to
|
|
2200
|
+
|
|
2201
|
+
</dd>
|
|
2202
|
+
</dl>
|
|
2203
|
+
|
|
2204
|
+
<dl>
|
|
2205
|
+
<dd>
|
|
2206
|
+
|
|
2207
|
+
**request:** `phenoml.fhirProvider.FhirProviderAddAuthConfigRequest`
|
|
2208
|
+
|
|
2209
|
+
</dd>
|
|
2210
|
+
</dl>
|
|
2211
|
+
|
|
2212
|
+
<dl>
|
|
2213
|
+
<dd>
|
|
2214
|
+
|
|
2215
|
+
**requestOptions:** `FhirProvider.RequestOptions`
|
|
2216
|
+
|
|
2217
|
+
</dd>
|
|
2218
|
+
</dl>
|
|
2219
|
+
</dd>
|
|
2220
|
+
</dl>
|
|
2221
|
+
|
|
2222
|
+
|
|
2223
|
+
</dd>
|
|
2224
|
+
</dl>
|
|
2225
|
+
</details>
|
|
2226
|
+
|
|
2227
|
+
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">setActiveAuthConfig</a>(fhirProviderId, { ...params }) -> phenoml.FhirProviderSetActiveAuthConfigResponse</code></summary>
|
|
2228
|
+
<dl>
|
|
2229
|
+
<dd>
|
|
2230
|
+
|
|
2231
|
+
#### 📝 Description
|
|
2232
|
+
|
|
2233
|
+
<dl>
|
|
2234
|
+
<dd>
|
|
2235
|
+
|
|
2236
|
+
<dl>
|
|
2237
|
+
<dd>
|
|
2238
|
+
|
|
2239
|
+
Sets which authentication configuration should be active for a FHIR provider. Only one auth config can be active at a time.
|
|
2240
|
+
</dd>
|
|
2241
|
+
</dl>
|
|
2242
|
+
</dd>
|
|
2243
|
+
</dl>
|
|
2244
|
+
|
|
2245
|
+
#### 🔌 Usage
|
|
2246
|
+
|
|
2247
|
+
<dl>
|
|
2248
|
+
<dd>
|
|
2249
|
+
|
|
2250
|
+
<dl>
|
|
2251
|
+
<dd>
|
|
2252
|
+
|
|
2253
|
+
```typescript
|
|
2254
|
+
await client.fhirProvider.setActiveAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad", {
|
|
2255
|
+
auth_config_id: "auth-config-123"
|
|
2256
|
+
});
|
|
2257
|
+
|
|
2258
|
+
```
|
|
2088
2259
|
</dd>
|
|
2089
2260
|
</dl>
|
|
2090
2261
|
</dd>
|
|
@@ -2098,18 +2269,35 @@ await client.fhirProvider.list();
|
|
|
2098
2269
|
<dl>
|
|
2099
2270
|
<dd>
|
|
2100
2271
|
|
|
2101
|
-
**
|
|
2272
|
+
**fhirProviderId:** `string` — ID of the FHIR provider
|
|
2273
|
+
|
|
2274
|
+
</dd>
|
|
2275
|
+
</dl>
|
|
2102
2276
|
|
|
2277
|
+
<dl>
|
|
2278
|
+
<dd>
|
|
2279
|
+
|
|
2280
|
+
**request:** `phenoml.fhirProvider.FhirProviderSetActiveAuthConfigRequest`
|
|
2281
|
+
|
|
2103
2282
|
</dd>
|
|
2104
2283
|
</dl>
|
|
2284
|
+
|
|
2285
|
+
<dl>
|
|
2286
|
+
<dd>
|
|
2287
|
+
|
|
2288
|
+
**requestOptions:** `FhirProvider.RequestOptions`
|
|
2289
|
+
|
|
2105
2290
|
</dd>
|
|
2106
2291
|
</dl>
|
|
2292
|
+
</dd>
|
|
2293
|
+
</dl>
|
|
2294
|
+
|
|
2107
2295
|
|
|
2108
2296
|
</dd>
|
|
2109
2297
|
</dl>
|
|
2110
2298
|
</details>
|
|
2111
2299
|
|
|
2112
|
-
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">
|
|
2300
|
+
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">removeAuthConfig</a>(fhirProviderId, { ...params }) -> phenoml.FhirProviderRemoveAuthConfigResponse</code></summary>
|
|
2113
2301
|
<dl>
|
|
2114
2302
|
<dd>
|
|
2115
2303
|
|
|
@@ -2121,8 +2309,148 @@ await client.fhirProvider.list();
|
|
|
2121
2309
|
<dl>
|
|
2122
2310
|
<dd>
|
|
2123
2311
|
|
|
2124
|
-
|
|
2312
|
+
Removes an authentication configuration from a FHIR provider. Cannot remove the currently active auth configuration.
|
|
2313
|
+
</dd>
|
|
2314
|
+
</dl>
|
|
2315
|
+
</dd>
|
|
2316
|
+
</dl>
|
|
2317
|
+
|
|
2318
|
+
#### 🔌 Usage
|
|
2319
|
+
|
|
2320
|
+
<dl>
|
|
2321
|
+
<dd>
|
|
2322
|
+
|
|
2323
|
+
<dl>
|
|
2324
|
+
<dd>
|
|
2325
|
+
|
|
2326
|
+
```typescript
|
|
2327
|
+
await client.fhirProvider.removeAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad", {
|
|
2328
|
+
auth_config_id: "auth-config-123"
|
|
2329
|
+
});
|
|
2330
|
+
|
|
2331
|
+
```
|
|
2332
|
+
</dd>
|
|
2333
|
+
</dl>
|
|
2334
|
+
</dd>
|
|
2335
|
+
</dl>
|
|
2336
|
+
|
|
2337
|
+
#### ⚙️ Parameters
|
|
2338
|
+
|
|
2339
|
+
<dl>
|
|
2340
|
+
<dd>
|
|
2341
|
+
|
|
2342
|
+
<dl>
|
|
2343
|
+
<dd>
|
|
2344
|
+
|
|
2345
|
+
**fhirProviderId:** `string` — ID of the FHIR provider
|
|
2346
|
+
|
|
2347
|
+
</dd>
|
|
2348
|
+
</dl>
|
|
2349
|
+
|
|
2350
|
+
<dl>
|
|
2351
|
+
<dd>
|
|
2352
|
+
|
|
2353
|
+
**request:** `phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest`
|
|
2354
|
+
|
|
2355
|
+
</dd>
|
|
2356
|
+
</dl>
|
|
2357
|
+
|
|
2358
|
+
<dl>
|
|
2359
|
+
<dd>
|
|
2360
|
+
|
|
2361
|
+
**requestOptions:** `FhirProvider.RequestOptions`
|
|
2362
|
+
|
|
2363
|
+
</dd>
|
|
2364
|
+
</dl>
|
|
2365
|
+
</dd>
|
|
2366
|
+
</dl>
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
</dd>
|
|
2370
|
+
</dl>
|
|
2371
|
+
</details>
|
|
2372
|
+
|
|
2373
|
+
## Lang2Fhir
|
|
2374
|
+
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">create</a>({ ...params }) -> phenoml.FhirResource</code></summary>
|
|
2375
|
+
<dl>
|
|
2376
|
+
<dd>
|
|
2377
|
+
|
|
2378
|
+
#### 📝 Description
|
|
2379
|
+
|
|
2380
|
+
<dl>
|
|
2381
|
+
<dd>
|
|
2382
|
+
|
|
2383
|
+
<dl>
|
|
2384
|
+
<dd>
|
|
2385
|
+
|
|
2386
|
+
Converts natural language text into a structured FHIR resource
|
|
2387
|
+
</dd>
|
|
2388
|
+
</dl>
|
|
2389
|
+
</dd>
|
|
2390
|
+
</dl>
|
|
2391
|
+
|
|
2392
|
+
#### 🔌 Usage
|
|
2393
|
+
|
|
2394
|
+
<dl>
|
|
2395
|
+
<dd>
|
|
2396
|
+
|
|
2397
|
+
<dl>
|
|
2398
|
+
<dd>
|
|
2399
|
+
|
|
2400
|
+
```typescript
|
|
2401
|
+
await client.lang2Fhir.create({
|
|
2402
|
+
version: "R4",
|
|
2403
|
+
resource: "auto",
|
|
2404
|
+
text: "Patient has severe asthma with acute exacerbation"
|
|
2405
|
+
});
|
|
2406
|
+
|
|
2407
|
+
```
|
|
2408
|
+
</dd>
|
|
2409
|
+
</dl>
|
|
2410
|
+
</dd>
|
|
2411
|
+
</dl>
|
|
2412
|
+
|
|
2413
|
+
#### ⚙️ Parameters
|
|
2414
|
+
|
|
2415
|
+
<dl>
|
|
2416
|
+
<dd>
|
|
2417
|
+
|
|
2418
|
+
<dl>
|
|
2419
|
+
<dd>
|
|
2420
|
+
|
|
2421
|
+
**request:** `phenoml.lang2Fhir.CreateRequest`
|
|
2422
|
+
|
|
2423
|
+
</dd>
|
|
2424
|
+
</dl>
|
|
2425
|
+
|
|
2426
|
+
<dl>
|
|
2427
|
+
<dd>
|
|
2428
|
+
|
|
2429
|
+
**requestOptions:** `Lang2Fhir.RequestOptions`
|
|
2430
|
+
|
|
2431
|
+
</dd>
|
|
2432
|
+
</dl>
|
|
2433
|
+
</dd>
|
|
2434
|
+
</dl>
|
|
2435
|
+
|
|
2436
|
+
|
|
2437
|
+
</dd>
|
|
2438
|
+
</dl>
|
|
2439
|
+
</details>
|
|
2440
|
+
|
|
2441
|
+
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">search</a>({ ...params }) -> phenoml.SearchResponse</code></summary>
|
|
2442
|
+
<dl>
|
|
2443
|
+
<dd>
|
|
2444
|
+
|
|
2445
|
+
#### 📝 Description
|
|
2446
|
+
|
|
2447
|
+
<dl>
|
|
2448
|
+
<dd>
|
|
2449
|
+
|
|
2450
|
+
<dl>
|
|
2451
|
+
<dd>
|
|
2125
2452
|
|
|
2453
|
+
Converts natural language text into FHIR search parameters
|
|
2126
2454
|
</dd>
|
|
2127
2455
|
</dl>
|
|
2128
2456
|
</dd>
|
|
@@ -2137,9 +2465,11 @@ Retrieves a specific FHIR provider configuration by its ID
|
|
|
2137
2465
|
<dd>
|
|
2138
2466
|
|
|
2139
2467
|
```typescript
|
|
2140
|
-
await client.
|
|
2141
|
-
|
|
2468
|
+
await client.lang2Fhir.search({
|
|
2469
|
+
text: "Appointments between March 2-9, 2025"
|
|
2470
|
+
});
|
|
2142
2471
|
|
|
2472
|
+
```
|
|
2143
2473
|
</dd>
|
|
2144
2474
|
</dl>
|
|
2145
2475
|
</dd>
|
|
@@ -2153,26 +2483,27 @@ await client.fhirProvider.get("fhir_provider_id");
|
|
|
2153
2483
|
<dl>
|
|
2154
2484
|
<dd>
|
|
2155
2485
|
|
|
2156
|
-
**
|
|
2157
|
-
|
|
2486
|
+
**request:** `phenoml.lang2Fhir.SearchRequest`
|
|
2487
|
+
|
|
2158
2488
|
</dd>
|
|
2159
2489
|
</dl>
|
|
2160
2490
|
|
|
2161
2491
|
<dl>
|
|
2162
2492
|
<dd>
|
|
2163
2493
|
|
|
2164
|
-
**requestOptions:** `
|
|
2165
|
-
|
|
2494
|
+
**requestOptions:** `Lang2Fhir.RequestOptions`
|
|
2495
|
+
|
|
2166
2496
|
</dd>
|
|
2167
2497
|
</dl>
|
|
2168
2498
|
</dd>
|
|
2169
2499
|
</dl>
|
|
2170
2500
|
|
|
2501
|
+
|
|
2171
2502
|
</dd>
|
|
2172
2503
|
</dl>
|
|
2173
2504
|
</details>
|
|
2174
2505
|
|
|
2175
|
-
<details><summary><code>client.
|
|
2506
|
+
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">uploadProfile</a>({ ...params }) -> phenoml.Lang2FhirUploadProfileResponse</code></summary>
|
|
2176
2507
|
<dl>
|
|
2177
2508
|
<dd>
|
|
2178
2509
|
|
|
@@ -2184,8 +2515,7 @@ await client.fhirProvider.get("fhir_provider_id");
|
|
|
2184
2515
|
<dl>
|
|
2185
2516
|
<dd>
|
|
2186
2517
|
|
|
2187
|
-
|
|
2188
|
-
|
|
2518
|
+
Upload a custom FHIR StructureDefinition profile for use with the lang2fhir service
|
|
2189
2519
|
</dd>
|
|
2190
2520
|
</dl>
|
|
2191
2521
|
</dd>
|
|
@@ -2200,9 +2530,13 @@ Soft deletes a FHIR provider by setting is_active to false
|
|
|
2200
2530
|
<dd>
|
|
2201
2531
|
|
|
2202
2532
|
```typescript
|
|
2203
|
-
await client.
|
|
2204
|
-
|
|
2533
|
+
await client.lang2Fhir.uploadProfile({
|
|
2534
|
+
version: "version",
|
|
2535
|
+
resource: "custom-patient",
|
|
2536
|
+
profile: "profile"
|
|
2537
|
+
});
|
|
2205
2538
|
|
|
2539
|
+
```
|
|
2206
2540
|
</dd>
|
|
2207
2541
|
</dl>
|
|
2208
2542
|
</dd>
|
|
@@ -2216,26 +2550,27 @@ await client.fhirProvider.delete("fhir_provider_id");
|
|
|
2216
2550
|
<dl>
|
|
2217
2551
|
<dd>
|
|
2218
2552
|
|
|
2219
|
-
**
|
|
2220
|
-
|
|
2553
|
+
**request:** `phenoml.lang2Fhir.ProfileUploadRequest`
|
|
2554
|
+
|
|
2221
2555
|
</dd>
|
|
2222
2556
|
</dl>
|
|
2223
2557
|
|
|
2224
2558
|
<dl>
|
|
2225
2559
|
<dd>
|
|
2226
2560
|
|
|
2227
|
-
**requestOptions:** `
|
|
2228
|
-
|
|
2561
|
+
**requestOptions:** `Lang2Fhir.RequestOptions`
|
|
2562
|
+
|
|
2229
2563
|
</dd>
|
|
2230
2564
|
</dl>
|
|
2231
2565
|
</dd>
|
|
2232
2566
|
</dl>
|
|
2233
2567
|
|
|
2568
|
+
|
|
2234
2569
|
</dd>
|
|
2235
2570
|
</dl>
|
|
2236
2571
|
</details>
|
|
2237
2572
|
|
|
2238
|
-
<details><summary><code>client.
|
|
2573
|
+
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">document</a>({ ...params }) -> phenoml.FhirResource</code></summary>
|
|
2239
2574
|
<dl>
|
|
2240
2575
|
<dd>
|
|
2241
2576
|
|
|
@@ -2247,8 +2582,7 @@ await client.fhirProvider.delete("fhir_provider_id");
|
|
|
2247
2582
|
<dl>
|
|
2248
2583
|
<dd>
|
|
2249
2584
|
|
|
2250
|
-
|
|
2251
|
-
|
|
2585
|
+
Extracts text from a document (PDF or image) and converts it into a structured FHIR resource
|
|
2252
2586
|
</dd>
|
|
2253
2587
|
</dl>
|
|
2254
2588
|
</dd>
|
|
@@ -2263,11 +2597,14 @@ Adds a new authentication configuration to an existing FHIR provider. This enabl
|
|
|
2263
2597
|
<dd>
|
|
2264
2598
|
|
|
2265
2599
|
```typescript
|
|
2266
|
-
await client.
|
|
2267
|
-
|
|
2600
|
+
await client.lang2Fhir.document({
|
|
2601
|
+
version: "R4",
|
|
2602
|
+
resource: "questionnaire",
|
|
2603
|
+
content: "content",
|
|
2604
|
+
fileType: "application/pdf"
|
|
2268
2605
|
});
|
|
2269
|
-
```
|
|
2270
2606
|
|
|
2607
|
+
```
|
|
2271
2608
|
</dd>
|
|
2272
2609
|
</dl>
|
|
2273
2610
|
</dd>
|
|
@@ -2281,34 +2618,28 @@ await client.fhirProvider.addAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad",
|
|
|
2281
2618
|
<dl>
|
|
2282
2619
|
<dd>
|
|
2283
2620
|
|
|
2284
|
-
**
|
|
2285
|
-
|
|
2286
|
-
</dd>
|
|
2287
|
-
</dl>
|
|
2288
|
-
|
|
2289
|
-
<dl>
|
|
2290
|
-
<dd>
|
|
2291
|
-
|
|
2292
|
-
**request:** `phenoml.fhirProvider.FhirProviderAddAuthConfigRequest`
|
|
2293
|
-
|
|
2621
|
+
**request:** `phenoml.lang2Fhir.DocumentRequest`
|
|
2622
|
+
|
|
2294
2623
|
</dd>
|
|
2295
2624
|
</dl>
|
|
2296
2625
|
|
|
2297
2626
|
<dl>
|
|
2298
2627
|
<dd>
|
|
2299
2628
|
|
|
2300
|
-
**requestOptions:** `
|
|
2301
|
-
|
|
2629
|
+
**requestOptions:** `Lang2Fhir.RequestOptions`
|
|
2630
|
+
|
|
2302
2631
|
</dd>
|
|
2303
2632
|
</dl>
|
|
2304
2633
|
</dd>
|
|
2305
2634
|
</dl>
|
|
2306
2635
|
|
|
2636
|
+
|
|
2307
2637
|
</dd>
|
|
2308
2638
|
</dl>
|
|
2309
2639
|
</details>
|
|
2310
2640
|
|
|
2311
|
-
|
|
2641
|
+
## Summary
|
|
2642
|
+
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">listTemplates</a>() -> phenoml.SummaryListTemplatesResponse</code></summary>
|
|
2312
2643
|
<dl>
|
|
2313
2644
|
<dd>
|
|
2314
2645
|
|
|
@@ -2320,8 +2651,7 @@ await client.fhirProvider.addAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad",
|
|
|
2320
2651
|
<dl>
|
|
2321
2652
|
<dd>
|
|
2322
2653
|
|
|
2323
|
-
|
|
2324
|
-
|
|
2654
|
+
Retrieves all summary templates for the authenticated user
|
|
2325
2655
|
</dd>
|
|
2326
2656
|
</dl>
|
|
2327
2657
|
</dd>
|
|
@@ -2336,11 +2666,9 @@ Sets which authentication configuration should be active for a FHIR provider. On
|
|
|
2336
2666
|
<dd>
|
|
2337
2667
|
|
|
2338
2668
|
```typescript
|
|
2339
|
-
await client.
|
|
2340
|
-
auth_config_id: "auth-config-123",
|
|
2341
|
-
});
|
|
2342
|
-
```
|
|
2669
|
+
await client.summary.listTemplates();
|
|
2343
2670
|
|
|
2671
|
+
```
|
|
2344
2672
|
</dd>
|
|
2345
2673
|
</dl>
|
|
2346
2674
|
</dd>
|
|
@@ -2354,34 +2682,19 @@ await client.fhirProvider.setActiveAuthConfig("1716d214-de93-43a4-aa6b-a878d864e
|
|
|
2354
2682
|
<dl>
|
|
2355
2683
|
<dd>
|
|
2356
2684
|
|
|
2357
|
-
**
|
|
2358
|
-
|
|
2685
|
+
**requestOptions:** `Summary.RequestOptions`
|
|
2686
|
+
|
|
2359
2687
|
</dd>
|
|
2360
2688
|
</dl>
|
|
2361
|
-
|
|
2362
|
-
<dl>
|
|
2363
|
-
<dd>
|
|
2364
|
-
|
|
2365
|
-
**request:** `phenoml.fhirProvider.FhirProviderSetActiveAuthConfigRequest`
|
|
2366
|
-
|
|
2367
2689
|
</dd>
|
|
2368
2690
|
</dl>
|
|
2369
2691
|
|
|
2370
|
-
<dl>
|
|
2371
|
-
<dd>
|
|
2372
|
-
|
|
2373
|
-
**requestOptions:** `FhirProvider.RequestOptions`
|
|
2374
|
-
|
|
2375
|
-
</dd>
|
|
2376
|
-
</dl>
|
|
2377
|
-
</dd>
|
|
2378
|
-
</dl>
|
|
2379
2692
|
|
|
2380
2693
|
</dd>
|
|
2381
2694
|
</dl>
|
|
2382
2695
|
</details>
|
|
2383
2696
|
|
|
2384
|
-
<details><summary><code>client.
|
|
2697
|
+
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">createTemplate</a>({ ...params }) -> phenoml.CreateSummaryTemplateResponse</code></summary>
|
|
2385
2698
|
<dl>
|
|
2386
2699
|
<dd>
|
|
2387
2700
|
|
|
@@ -2393,8 +2706,7 @@ await client.fhirProvider.setActiveAuthConfig("1716d214-de93-43a4-aa6b-a878d864e
|
|
|
2393
2706
|
<dl>
|
|
2394
2707
|
<dd>
|
|
2395
2708
|
|
|
2396
|
-
|
|
2397
|
-
|
|
2709
|
+
Creates a summary template from an example using LLM function calling
|
|
2398
2710
|
</dd>
|
|
2399
2711
|
</dl>
|
|
2400
2712
|
</dd>
|
|
@@ -2409,11 +2721,14 @@ Removes an authentication configuration from a FHIR provider. Cannot remove the
|
|
|
2409
2721
|
<dd>
|
|
2410
2722
|
|
|
2411
2723
|
```typescript
|
|
2412
|
-
await client.
|
|
2413
|
-
|
|
2724
|
+
await client.summary.createTemplate({
|
|
2725
|
+
name: "name",
|
|
2726
|
+
example_summary: "Patient John Doe, age 45, presents with hypertension diagnosed on 2024-01-15.",
|
|
2727
|
+
target_resources: ["Patient", "Condition", "Observation"],
|
|
2728
|
+
mode: "mode"
|
|
2414
2729
|
});
|
|
2415
|
-
```
|
|
2416
2730
|
|
|
2731
|
+
```
|
|
2417
2732
|
</dd>
|
|
2418
2733
|
</dl>
|
|
2419
2734
|
</dd>
|
|
@@ -2427,36 +2742,27 @@ await client.fhirProvider.removeAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad
|
|
|
2427
2742
|
<dl>
|
|
2428
2743
|
<dd>
|
|
2429
2744
|
|
|
2430
|
-
**
|
|
2431
|
-
|
|
2432
|
-
</dd>
|
|
2433
|
-
</dl>
|
|
2434
|
-
|
|
2435
|
-
<dl>
|
|
2436
|
-
<dd>
|
|
2437
|
-
|
|
2438
|
-
**request:** `phenoml.fhirProvider.FhirProviderRemoveAuthConfigRequest`
|
|
2439
|
-
|
|
2745
|
+
**request:** `phenoml.summary.CreateSummaryTemplateRequest`
|
|
2746
|
+
|
|
2440
2747
|
</dd>
|
|
2441
2748
|
</dl>
|
|
2442
2749
|
|
|
2443
2750
|
<dl>
|
|
2444
2751
|
<dd>
|
|
2445
2752
|
|
|
2446
|
-
**requestOptions:** `
|
|
2447
|
-
|
|
2753
|
+
**requestOptions:** `Summary.RequestOptions`
|
|
2754
|
+
|
|
2448
2755
|
</dd>
|
|
2449
2756
|
</dl>
|
|
2450
2757
|
</dd>
|
|
2451
2758
|
</dl>
|
|
2452
2759
|
|
|
2760
|
+
|
|
2453
2761
|
</dd>
|
|
2454
2762
|
</dl>
|
|
2455
2763
|
</details>
|
|
2456
2764
|
|
|
2457
|
-
|
|
2458
|
-
|
|
2459
|
-
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">create</a>({ ...params }) -> phenoml.FhirResource</code></summary>
|
|
2765
|
+
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">getTemplate</a>(id) -> phenoml.SummaryGetTemplateResponse</code></summary>
|
|
2460
2766
|
<dl>
|
|
2461
2767
|
<dd>
|
|
2462
2768
|
|
|
@@ -2468,8 +2774,7 @@ await client.fhirProvider.removeAuthConfig("1716d214-de93-43a4-aa6b-a878d864e2ad
|
|
|
2468
2774
|
<dl>
|
|
2469
2775
|
<dd>
|
|
2470
2776
|
|
|
2471
|
-
|
|
2472
|
-
|
|
2777
|
+
Retrieves a specific summary template
|
|
2473
2778
|
</dd>
|
|
2474
2779
|
</dl>
|
|
2475
2780
|
</dd>
|
|
@@ -2484,13 +2789,9 @@ Converts natural language text into a structured FHIR resource
|
|
|
2484
2789
|
<dd>
|
|
2485
2790
|
|
|
2486
2791
|
```typescript
|
|
2487
|
-
await client.
|
|
2488
|
-
version: "R4",
|
|
2489
|
-
resource: "auto",
|
|
2490
|
-
text: "Patient has severe asthma with acute exacerbation",
|
|
2491
|
-
});
|
|
2492
|
-
```
|
|
2792
|
+
await client.summary.getTemplate("id");
|
|
2493
2793
|
|
|
2794
|
+
```
|
|
2494
2795
|
</dd>
|
|
2495
2796
|
</dl>
|
|
2496
2797
|
</dd>
|
|
@@ -2504,26 +2805,27 @@ await client.lang2Fhir.create({
|
|
|
2504
2805
|
<dl>
|
|
2505
2806
|
<dd>
|
|
2506
2807
|
|
|
2507
|
-
**
|
|
2508
|
-
|
|
2808
|
+
**id:** `string` — Template ID
|
|
2809
|
+
|
|
2509
2810
|
</dd>
|
|
2510
2811
|
</dl>
|
|
2511
2812
|
|
|
2512
2813
|
<dl>
|
|
2513
2814
|
<dd>
|
|
2514
2815
|
|
|
2515
|
-
**requestOptions:** `
|
|
2516
|
-
|
|
2816
|
+
**requestOptions:** `Summary.RequestOptions`
|
|
2817
|
+
|
|
2517
2818
|
</dd>
|
|
2518
2819
|
</dl>
|
|
2519
2820
|
</dd>
|
|
2520
2821
|
</dl>
|
|
2521
2822
|
|
|
2823
|
+
|
|
2522
2824
|
</dd>
|
|
2523
2825
|
</dl>
|
|
2524
2826
|
</details>
|
|
2525
2827
|
|
|
2526
|
-
<details><summary><code>client.
|
|
2828
|
+
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">updateTemplate</a>(id, { ...params }) -> phenoml.SummaryUpdateTemplateResponse</code></summary>
|
|
2527
2829
|
<dl>
|
|
2528
2830
|
<dd>
|
|
2529
2831
|
|
|
@@ -2535,8 +2837,7 @@ await client.lang2Fhir.create({
|
|
|
2535
2837
|
<dl>
|
|
2536
2838
|
<dd>
|
|
2537
2839
|
|
|
2538
|
-
|
|
2539
|
-
|
|
2840
|
+
Updates an existing summary template
|
|
2540
2841
|
</dd>
|
|
2541
2842
|
</dl>
|
|
2542
2843
|
</dd>
|
|
@@ -2551,11 +2852,14 @@ Converts natural language text into FHIR search parameters
|
|
|
2551
2852
|
<dd>
|
|
2552
2853
|
|
|
2553
2854
|
```typescript
|
|
2554
|
-
await client.
|
|
2555
|
-
|
|
2855
|
+
await client.summary.updateTemplate("id", {
|
|
2856
|
+
name: "name",
|
|
2857
|
+
template: "template",
|
|
2858
|
+
target_resources: ["target_resources"],
|
|
2859
|
+
mode: "mode"
|
|
2556
2860
|
});
|
|
2557
|
-
```
|
|
2558
2861
|
|
|
2862
|
+
```
|
|
2559
2863
|
</dd>
|
|
2560
2864
|
</dl>
|
|
2561
2865
|
</dd>
|
|
@@ -2569,26 +2873,35 @@ await client.lang2Fhir.search({
|
|
|
2569
2873
|
<dl>
|
|
2570
2874
|
<dd>
|
|
2571
2875
|
|
|
2572
|
-
**
|
|
2573
|
-
|
|
2876
|
+
**id:** `string` — Template ID
|
|
2877
|
+
|
|
2574
2878
|
</dd>
|
|
2575
2879
|
</dl>
|
|
2576
2880
|
|
|
2577
2881
|
<dl>
|
|
2578
2882
|
<dd>
|
|
2579
2883
|
|
|
2580
|
-
**
|
|
2884
|
+
**request:** `phenoml.summary.UpdateSummaryTemplateRequest`
|
|
2885
|
+
|
|
2886
|
+
</dd>
|
|
2887
|
+
</dl>
|
|
2888
|
+
|
|
2889
|
+
<dl>
|
|
2890
|
+
<dd>
|
|
2581
2891
|
|
|
2892
|
+
**requestOptions:** `Summary.RequestOptions`
|
|
2893
|
+
|
|
2582
2894
|
</dd>
|
|
2583
2895
|
</dl>
|
|
2584
2896
|
</dd>
|
|
2585
2897
|
</dl>
|
|
2586
2898
|
|
|
2899
|
+
|
|
2587
2900
|
</dd>
|
|
2588
2901
|
</dl>
|
|
2589
2902
|
</details>
|
|
2590
2903
|
|
|
2591
|
-
<details><summary><code>client.
|
|
2904
|
+
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">deleteTemplate</a>(id) -> phenoml.SummaryDeleteTemplateResponse</code></summary>
|
|
2592
2905
|
<dl>
|
|
2593
2906
|
<dd>
|
|
2594
2907
|
|
|
@@ -2600,8 +2913,7 @@ await client.lang2Fhir.search({
|
|
|
2600
2913
|
<dl>
|
|
2601
2914
|
<dd>
|
|
2602
2915
|
|
|
2603
|
-
|
|
2604
|
-
|
|
2916
|
+
Deletes a summary template
|
|
2605
2917
|
</dd>
|
|
2606
2918
|
</dl>
|
|
2607
2919
|
</dd>
|
|
@@ -2616,13 +2928,9 @@ Upload a custom FHIR StructureDefinition profile for use with the lang2fhir serv
|
|
|
2616
2928
|
<dd>
|
|
2617
2929
|
|
|
2618
2930
|
```typescript
|
|
2619
|
-
await client.
|
|
2620
|
-
version: "version",
|
|
2621
|
-
resource: "custom-patient",
|
|
2622
|
-
profile: "profile",
|
|
2623
|
-
});
|
|
2624
|
-
```
|
|
2931
|
+
await client.summary.deleteTemplate("id");
|
|
2625
2932
|
|
|
2933
|
+
```
|
|
2626
2934
|
</dd>
|
|
2627
2935
|
</dl>
|
|
2628
2936
|
</dd>
|
|
@@ -2636,26 +2944,27 @@ await client.lang2Fhir.uploadProfile({
|
|
|
2636
2944
|
<dl>
|
|
2637
2945
|
<dd>
|
|
2638
2946
|
|
|
2639
|
-
**
|
|
2640
|
-
|
|
2947
|
+
**id:** `string` — Template ID
|
|
2948
|
+
|
|
2641
2949
|
</dd>
|
|
2642
2950
|
</dl>
|
|
2643
2951
|
|
|
2644
2952
|
<dl>
|
|
2645
2953
|
<dd>
|
|
2646
2954
|
|
|
2647
|
-
**requestOptions:** `
|
|
2648
|
-
|
|
2955
|
+
**requestOptions:** `Summary.RequestOptions`
|
|
2956
|
+
|
|
2649
2957
|
</dd>
|
|
2650
2958
|
</dl>
|
|
2651
2959
|
</dd>
|
|
2652
2960
|
</dl>
|
|
2653
2961
|
|
|
2962
|
+
|
|
2654
2963
|
</dd>
|
|
2655
2964
|
</dl>
|
|
2656
2965
|
</details>
|
|
2657
2966
|
|
|
2658
|
-
<details><summary><code>client.
|
|
2967
|
+
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">create</a>({ ...params }) -> phenoml.CreateSummaryResponse</code></summary>
|
|
2659
2968
|
<dl>
|
|
2660
2969
|
<dd>
|
|
2661
2970
|
|
|
@@ -2667,8 +2976,9 @@ await client.lang2Fhir.uploadProfile({
|
|
|
2667
2976
|
<dl>
|
|
2668
2977
|
<dd>
|
|
2669
2978
|
|
|
2670
|
-
|
|
2671
|
-
|
|
2979
|
+
Creates a summary from FHIR resources using one of two modes:
|
|
2980
|
+
- **narrative**: Uses a template to substitute FHIR data into placeholders (requires template_id)
|
|
2981
|
+
- **flatten**: Flattens FHIR resources into a searchable format for RAG/search (no template needed)
|
|
2672
2982
|
</dd>
|
|
2673
2983
|
</dl>
|
|
2674
2984
|
</dd>
|
|
@@ -2683,14 +2993,13 @@ Extracts text from a document (PDF or image) and converts it into a structured F
|
|
|
2683
2993
|
<dd>
|
|
2684
2994
|
|
|
2685
2995
|
```typescript
|
|
2686
|
-
await client.
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
fileType: "application/pdf",
|
|
2996
|
+
await client.summary.create({
|
|
2997
|
+
fhir_resources: {
|
|
2998
|
+
resourceType: "resourceType"
|
|
2999
|
+
}
|
|
2691
3000
|
});
|
|
2692
|
-
```
|
|
2693
3001
|
|
|
3002
|
+
```
|
|
2694
3003
|
</dd>
|
|
2695
3004
|
</dl>
|
|
2696
3005
|
</dd>
|
|
@@ -2704,27 +3013,27 @@ await client.lang2Fhir.document({
|
|
|
2704
3013
|
<dl>
|
|
2705
3014
|
<dd>
|
|
2706
3015
|
|
|
2707
|
-
**request:** `phenoml.
|
|
2708
|
-
|
|
3016
|
+
**request:** `phenoml.summary.CreateSummaryRequest`
|
|
3017
|
+
|
|
2709
3018
|
</dd>
|
|
2710
3019
|
</dl>
|
|
2711
3020
|
|
|
2712
3021
|
<dl>
|
|
2713
3022
|
<dd>
|
|
2714
3023
|
|
|
2715
|
-
**requestOptions:** `
|
|
2716
|
-
|
|
3024
|
+
**requestOptions:** `Summary.RequestOptions`
|
|
3025
|
+
|
|
2717
3026
|
</dd>
|
|
2718
3027
|
</dl>
|
|
2719
3028
|
</dd>
|
|
2720
3029
|
</dl>
|
|
2721
3030
|
|
|
3031
|
+
|
|
2722
3032
|
</dd>
|
|
2723
3033
|
</dl>
|
|
2724
3034
|
</details>
|
|
2725
3035
|
|
|
2726
3036
|
## Tools
|
|
2727
|
-
|
|
2728
3037
|
<details><summary><code>client.tools.<a href="/src/api/resources/tools/client/Client.ts">createFhirResource</a>({ ...params }) -> phenoml.Lang2FhirAndCreateResponse</code></summary>
|
|
2729
3038
|
<dl>
|
|
2730
3039
|
<dd>
|
|
@@ -2738,7 +3047,6 @@ await client.lang2Fhir.document({
|
|
|
2738
3047
|
<dd>
|
|
2739
3048
|
|
|
2740
3049
|
Converts natural language to FHIR resource and optionally stores it in a FHIR server
|
|
2741
|
-
|
|
2742
3050
|
</dd>
|
|
2743
3051
|
</dl>
|
|
2744
3052
|
</dd>
|
|
@@ -2754,11 +3062,13 @@ Converts natural language to FHIR resource and optionally stores it in a FHIR se
|
|
|
2754
3062
|
|
|
2755
3063
|
```typescript
|
|
2756
3064
|
await client.tools.createFhirResource({
|
|
3065
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
3066
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
|
|
2757
3067
|
resource: "auto",
|
|
2758
|
-
text: "Patient John Doe has severe asthma with acute exacerbation"
|
|
3068
|
+
text: "Patient John Doe has severe asthma with acute exacerbation"
|
|
2759
3069
|
});
|
|
2760
|
-
```
|
|
2761
3070
|
|
|
3071
|
+
```
|
|
2762
3072
|
</dd>
|
|
2763
3073
|
</dl>
|
|
2764
3074
|
</dd>
|
|
@@ -2772,21 +3082,22 @@ await client.tools.createFhirResource({
|
|
|
2772
3082
|
<dl>
|
|
2773
3083
|
<dd>
|
|
2774
3084
|
|
|
2775
|
-
**request:** `phenoml.tools.Lang2FhirAndCreateRequest`
|
|
2776
|
-
|
|
3085
|
+
**request:** `phenoml.tools.Lang2FhirAndCreateRequest`
|
|
3086
|
+
|
|
2777
3087
|
</dd>
|
|
2778
3088
|
</dl>
|
|
2779
3089
|
|
|
2780
3090
|
<dl>
|
|
2781
3091
|
<dd>
|
|
2782
3092
|
|
|
2783
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
2784
|
-
|
|
3093
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
3094
|
+
|
|
2785
3095
|
</dd>
|
|
2786
3096
|
</dl>
|
|
2787
3097
|
</dd>
|
|
2788
3098
|
</dl>
|
|
2789
3099
|
|
|
3100
|
+
|
|
2790
3101
|
</dd>
|
|
2791
3102
|
</dl>
|
|
2792
3103
|
</details>
|
|
@@ -2804,7 +3115,6 @@ await client.tools.createFhirResource({
|
|
|
2804
3115
|
<dd>
|
|
2805
3116
|
|
|
2806
3117
|
Converts natural language to FHIR search parameters and executes search in FHIR server
|
|
2807
|
-
|
|
2808
3118
|
</dd>
|
|
2809
3119
|
</dl>
|
|
2810
3120
|
</dd>
|
|
@@ -2820,10 +3130,12 @@ Converts natural language to FHIR search parameters and executes search in FHIR
|
|
|
2820
3130
|
|
|
2821
3131
|
```typescript
|
|
2822
3132
|
await client.tools.searchFhirResources({
|
|
2823
|
-
|
|
3133
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
3134
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
|
|
3135
|
+
text: "Find all appointments for patient John Doe next week"
|
|
2824
3136
|
});
|
|
2825
|
-
```
|
|
2826
3137
|
|
|
3138
|
+
```
|
|
2827
3139
|
</dd>
|
|
2828
3140
|
</dl>
|
|
2829
3141
|
</dd>
|
|
@@ -2837,21 +3149,22 @@ await client.tools.searchFhirResources({
|
|
|
2837
3149
|
<dl>
|
|
2838
3150
|
<dd>
|
|
2839
3151
|
|
|
2840
|
-
**request:** `phenoml.tools.Lang2FhirAndSearchRequest`
|
|
2841
|
-
|
|
3152
|
+
**request:** `phenoml.tools.Lang2FhirAndSearchRequest`
|
|
3153
|
+
|
|
2842
3154
|
</dd>
|
|
2843
3155
|
</dl>
|
|
2844
3156
|
|
|
2845
3157
|
<dl>
|
|
2846
3158
|
<dd>
|
|
2847
3159
|
|
|
2848
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
2849
|
-
|
|
3160
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
3161
|
+
|
|
2850
3162
|
</dd>
|
|
2851
3163
|
</dl>
|
|
2852
3164
|
</dd>
|
|
2853
3165
|
</dl>
|
|
2854
3166
|
|
|
3167
|
+
|
|
2855
3168
|
</dd>
|
|
2856
3169
|
</dl>
|
|
2857
3170
|
</details>
|
|
@@ -2869,7 +3182,6 @@ await client.tools.searchFhirResources({
|
|
|
2869
3182
|
<dd>
|
|
2870
3183
|
|
|
2871
3184
|
Uses LLM to extract search concepts from natural language and builds patient cohorts with inclusion/exclusion criteria
|
|
2872
|
-
|
|
2873
3185
|
</dd>
|
|
2874
3186
|
</dl>
|
|
2875
3187
|
</dd>
|
|
@@ -2885,11 +3197,13 @@ Uses LLM to extract search concepts from natural language and builds patient coh
|
|
|
2885
3197
|
|
|
2886
3198
|
```typescript
|
|
2887
3199
|
await client.tools.analyzeCohort({
|
|
3200
|
+
"X-Phenoml-On-Behalf-Of": "Patient/550e8400-e29b-41d4-a716-446655440000",
|
|
3201
|
+
"X-Phenoml-Fhir-Provider": "550e8400-e29b-41d4-a716-446655440000:eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c...",
|
|
2888
3202
|
text: "female patients over 20 with diabetes but not hypertension",
|
|
2889
|
-
provider: "550e8400-e29b-41d4-a716-446655440000"
|
|
3203
|
+
provider: "550e8400-e29b-41d4-a716-446655440000"
|
|
2890
3204
|
});
|
|
2891
|
-
```
|
|
2892
3205
|
|
|
3206
|
+
```
|
|
2893
3207
|
</dd>
|
|
2894
3208
|
</dl>
|
|
2895
3209
|
</dd>
|
|
@@ -2903,27 +3217,27 @@ await client.tools.analyzeCohort({
|
|
|
2903
3217
|
<dl>
|
|
2904
3218
|
<dd>
|
|
2905
3219
|
|
|
2906
|
-
**request:** `phenoml.tools.CohortRequest`
|
|
2907
|
-
|
|
3220
|
+
**request:** `phenoml.tools.CohortRequest`
|
|
3221
|
+
|
|
2908
3222
|
</dd>
|
|
2909
3223
|
</dl>
|
|
2910
3224
|
|
|
2911
3225
|
<dl>
|
|
2912
3226
|
<dd>
|
|
2913
3227
|
|
|
2914
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
2915
|
-
|
|
3228
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
3229
|
+
|
|
2916
3230
|
</dd>
|
|
2917
3231
|
</dl>
|
|
2918
3232
|
</dd>
|
|
2919
3233
|
</dl>
|
|
2920
3234
|
|
|
3235
|
+
|
|
2921
3236
|
</dd>
|
|
2922
3237
|
</dl>
|
|
2923
3238
|
</details>
|
|
2924
3239
|
|
|
2925
3240
|
## Tools McpServer
|
|
2926
|
-
|
|
2927
3241
|
<details><summary><code>client.tools.mcpServer.<a href="/src/api/resources/tools/resources/mcpServer/client/Client.ts">create</a>({ ...params }) -> phenoml.McpServerResponse</code></summary>
|
|
2928
3242
|
<dl>
|
|
2929
3243
|
<dd>
|
|
@@ -2937,7 +3251,6 @@ await client.tools.analyzeCohort({
|
|
|
2937
3251
|
<dd>
|
|
2938
3252
|
|
|
2939
3253
|
Creates a new MCP server
|
|
2940
|
-
|
|
2941
3254
|
</dd>
|
|
2942
3255
|
</dl>
|
|
2943
3256
|
</dd>
|
|
@@ -2954,10 +3267,10 @@ Creates a new MCP server
|
|
|
2954
3267
|
```typescript
|
|
2955
3268
|
await client.tools.mcpServer.create({
|
|
2956
3269
|
name: "My MCP Server",
|
|
2957
|
-
mcp_server_url: "https://mcp.example.com"
|
|
3270
|
+
mcp_server_url: "https://mcp.example.com"
|
|
2958
3271
|
});
|
|
2959
|
-
```
|
|
2960
3272
|
|
|
3273
|
+
```
|
|
2961
3274
|
</dd>
|
|
2962
3275
|
</dl>
|
|
2963
3276
|
</dd>
|
|
@@ -2971,21 +3284,22 @@ await client.tools.mcpServer.create({
|
|
|
2971
3284
|
<dl>
|
|
2972
3285
|
<dd>
|
|
2973
3286
|
|
|
2974
|
-
**request:** `phenoml.tools.McpServerCreateRequest`
|
|
2975
|
-
|
|
3287
|
+
**request:** `phenoml.tools.McpServerCreateRequest`
|
|
3288
|
+
|
|
2976
3289
|
</dd>
|
|
2977
3290
|
</dl>
|
|
2978
3291
|
|
|
2979
3292
|
<dl>
|
|
2980
3293
|
<dd>
|
|
2981
3294
|
|
|
2982
|
-
**requestOptions:** `McpServer.RequestOptions`
|
|
2983
|
-
|
|
3295
|
+
**requestOptions:** `McpServer.RequestOptions`
|
|
3296
|
+
|
|
2984
3297
|
</dd>
|
|
2985
3298
|
</dl>
|
|
2986
3299
|
</dd>
|
|
2987
3300
|
</dl>
|
|
2988
3301
|
|
|
3302
|
+
|
|
2989
3303
|
</dd>
|
|
2990
3304
|
</dl>
|
|
2991
3305
|
</details>
|
|
@@ -3003,7 +3317,6 @@ await client.tools.mcpServer.create({
|
|
|
3003
3317
|
<dd>
|
|
3004
3318
|
|
|
3005
3319
|
Lists all MCP servers for a specific user
|
|
3006
|
-
|
|
3007
3320
|
</dd>
|
|
3008
3321
|
</dl>
|
|
3009
3322
|
</dd>
|
|
@@ -3019,8 +3332,8 @@ Lists all MCP servers for a specific user
|
|
|
3019
3332
|
|
|
3020
3333
|
```typescript
|
|
3021
3334
|
await client.tools.mcpServer.list();
|
|
3022
|
-
```
|
|
3023
3335
|
|
|
3336
|
+
```
|
|
3024
3337
|
</dd>
|
|
3025
3338
|
</dl>
|
|
3026
3339
|
</dd>
|
|
@@ -3034,13 +3347,14 @@ await client.tools.mcpServer.list();
|
|
|
3034
3347
|
<dl>
|
|
3035
3348
|
<dd>
|
|
3036
3349
|
|
|
3037
|
-
**requestOptions:** `McpServer.RequestOptions`
|
|
3038
|
-
|
|
3350
|
+
**requestOptions:** `McpServer.RequestOptions`
|
|
3351
|
+
|
|
3039
3352
|
</dd>
|
|
3040
3353
|
</dl>
|
|
3041
3354
|
</dd>
|
|
3042
3355
|
</dl>
|
|
3043
3356
|
|
|
3357
|
+
|
|
3044
3358
|
</dd>
|
|
3045
3359
|
</dl>
|
|
3046
3360
|
</details>
|
|
@@ -3058,7 +3372,6 @@ await client.tools.mcpServer.list();
|
|
|
3058
3372
|
<dd>
|
|
3059
3373
|
|
|
3060
3374
|
Gets a MCP server by ID
|
|
3061
|
-
|
|
3062
3375
|
</dd>
|
|
3063
3376
|
</dl>
|
|
3064
3377
|
</dd>
|
|
@@ -3074,8 +3387,8 @@ Gets a MCP server by ID
|
|
|
3074
3387
|
|
|
3075
3388
|
```typescript
|
|
3076
3389
|
await client.tools.mcpServer.get("mcp_server_id");
|
|
3077
|
-
```
|
|
3078
3390
|
|
|
3391
|
+
```
|
|
3079
3392
|
</dd>
|
|
3080
3393
|
</dl>
|
|
3081
3394
|
</dd>
|
|
@@ -3090,20 +3403,21 @@ await client.tools.mcpServer.get("mcp_server_id");
|
|
|
3090
3403
|
<dd>
|
|
3091
3404
|
|
|
3092
3405
|
**mcpServerId:** `string` — ID of the MCP server to retrieve
|
|
3093
|
-
|
|
3406
|
+
|
|
3094
3407
|
</dd>
|
|
3095
3408
|
</dl>
|
|
3096
3409
|
|
|
3097
3410
|
<dl>
|
|
3098
3411
|
<dd>
|
|
3099
3412
|
|
|
3100
|
-
**requestOptions:** `McpServer.RequestOptions`
|
|
3101
|
-
|
|
3413
|
+
**requestOptions:** `McpServer.RequestOptions`
|
|
3414
|
+
|
|
3102
3415
|
</dd>
|
|
3103
3416
|
</dl>
|
|
3104
3417
|
</dd>
|
|
3105
3418
|
</dl>
|
|
3106
3419
|
|
|
3420
|
+
|
|
3107
3421
|
</dd>
|
|
3108
3422
|
</dl>
|
|
3109
3423
|
</details>
|
|
@@ -3121,7 +3435,6 @@ await client.tools.mcpServer.get("mcp_server_id");
|
|
|
3121
3435
|
<dd>
|
|
3122
3436
|
|
|
3123
3437
|
Deletes a MCP server by ID
|
|
3124
|
-
|
|
3125
3438
|
</dd>
|
|
3126
3439
|
</dl>
|
|
3127
3440
|
</dd>
|
|
@@ -3137,8 +3450,8 @@ Deletes a MCP server by ID
|
|
|
3137
3450
|
|
|
3138
3451
|
```typescript
|
|
3139
3452
|
await client.tools.mcpServer.delete("mcp_server_id");
|
|
3140
|
-
```
|
|
3141
3453
|
|
|
3454
|
+
```
|
|
3142
3455
|
</dd>
|
|
3143
3456
|
</dl>
|
|
3144
3457
|
</dd>
|
|
@@ -3153,26 +3466,26 @@ await client.tools.mcpServer.delete("mcp_server_id");
|
|
|
3153
3466
|
<dd>
|
|
3154
3467
|
|
|
3155
3468
|
**mcpServerId:** `string` — ID of the MCP server to delete
|
|
3156
|
-
|
|
3469
|
+
|
|
3157
3470
|
</dd>
|
|
3158
3471
|
</dl>
|
|
3159
3472
|
|
|
3160
3473
|
<dl>
|
|
3161
3474
|
<dd>
|
|
3162
3475
|
|
|
3163
|
-
**requestOptions:** `McpServer.RequestOptions`
|
|
3164
|
-
|
|
3476
|
+
**requestOptions:** `McpServer.RequestOptions`
|
|
3477
|
+
|
|
3165
3478
|
</dd>
|
|
3166
3479
|
</dl>
|
|
3167
3480
|
</dd>
|
|
3168
3481
|
</dl>
|
|
3169
3482
|
|
|
3483
|
+
|
|
3170
3484
|
</dd>
|
|
3171
3485
|
</dl>
|
|
3172
3486
|
</details>
|
|
3173
3487
|
|
|
3174
3488
|
## Tools McpServer Tools
|
|
3175
|
-
|
|
3176
3489
|
<details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">list</a>(mcpServerId) -> phenoml.McpServerToolResponse</code></summary>
|
|
3177
3490
|
<dl>
|
|
3178
3491
|
<dd>
|
|
@@ -3186,7 +3499,6 @@ await client.tools.mcpServer.delete("mcp_server_id");
|
|
|
3186
3499
|
<dd>
|
|
3187
3500
|
|
|
3188
3501
|
Lists all MCP server tools for a specific MCP server
|
|
3189
|
-
|
|
3190
3502
|
</dd>
|
|
3191
3503
|
</dl>
|
|
3192
3504
|
</dd>
|
|
@@ -3202,8 +3514,8 @@ Lists all MCP server tools for a specific MCP server
|
|
|
3202
3514
|
|
|
3203
3515
|
```typescript
|
|
3204
3516
|
await client.tools.mcpServer.tools.list("mcp_server_id");
|
|
3205
|
-
```
|
|
3206
3517
|
|
|
3518
|
+
```
|
|
3207
3519
|
</dd>
|
|
3208
3520
|
</dl>
|
|
3209
3521
|
</dd>
|
|
@@ -3218,20 +3530,21 @@ await client.tools.mcpServer.tools.list("mcp_server_id");
|
|
|
3218
3530
|
<dd>
|
|
3219
3531
|
|
|
3220
3532
|
**mcpServerId:** `string` — ID of the MCP server to list tools for
|
|
3221
|
-
|
|
3533
|
+
|
|
3222
3534
|
</dd>
|
|
3223
3535
|
</dl>
|
|
3224
3536
|
|
|
3225
3537
|
<dl>
|
|
3226
3538
|
<dd>
|
|
3227
3539
|
|
|
3228
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
3229
|
-
|
|
3540
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
3541
|
+
|
|
3230
3542
|
</dd>
|
|
3231
3543
|
</dl>
|
|
3232
3544
|
</dd>
|
|
3233
3545
|
</dl>
|
|
3234
3546
|
|
|
3547
|
+
|
|
3235
3548
|
</dd>
|
|
3236
3549
|
</dl>
|
|
3237
3550
|
</details>
|
|
@@ -3249,7 +3562,6 @@ await client.tools.mcpServer.tools.list("mcp_server_id");
|
|
|
3249
3562
|
<dd>
|
|
3250
3563
|
|
|
3251
3564
|
Gets a MCP server tool by ID
|
|
3252
|
-
|
|
3253
3565
|
</dd>
|
|
3254
3566
|
</dl>
|
|
3255
3567
|
</dd>
|
|
@@ -3265,8 +3577,8 @@ Gets a MCP server tool by ID
|
|
|
3265
3577
|
|
|
3266
3578
|
```typescript
|
|
3267
3579
|
await client.tools.mcpServer.tools.get("mcp_server_tool_id");
|
|
3268
|
-
```
|
|
3269
3580
|
|
|
3581
|
+
```
|
|
3270
3582
|
</dd>
|
|
3271
3583
|
</dl>
|
|
3272
3584
|
</dd>
|
|
@@ -3281,20 +3593,21 @@ await client.tools.mcpServer.tools.get("mcp_server_tool_id");
|
|
|
3281
3593
|
<dd>
|
|
3282
3594
|
|
|
3283
3595
|
**mcpServerToolId:** `string` — ID of the MCP server tool to retrieve
|
|
3284
|
-
|
|
3596
|
+
|
|
3285
3597
|
</dd>
|
|
3286
3598
|
</dl>
|
|
3287
3599
|
|
|
3288
3600
|
<dl>
|
|
3289
3601
|
<dd>
|
|
3290
3602
|
|
|
3291
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
3292
|
-
|
|
3603
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
3604
|
+
|
|
3293
3605
|
</dd>
|
|
3294
3606
|
</dl>
|
|
3295
3607
|
</dd>
|
|
3296
3608
|
</dl>
|
|
3297
3609
|
|
|
3610
|
+
|
|
3298
3611
|
</dd>
|
|
3299
3612
|
</dl>
|
|
3300
3613
|
</details>
|
|
@@ -3312,7 +3625,6 @@ await client.tools.mcpServer.tools.get("mcp_server_tool_id");
|
|
|
3312
3625
|
<dd>
|
|
3313
3626
|
|
|
3314
3627
|
Deletes a MCP server tool by ID
|
|
3315
|
-
|
|
3316
3628
|
</dd>
|
|
3317
3629
|
</dl>
|
|
3318
3630
|
</dd>
|
|
@@ -3328,8 +3640,8 @@ Deletes a MCP server tool by ID
|
|
|
3328
3640
|
|
|
3329
3641
|
```typescript
|
|
3330
3642
|
await client.tools.mcpServer.tools.delete("mcp_server_tool_id");
|
|
3331
|
-
```
|
|
3332
3643
|
|
|
3644
|
+
```
|
|
3333
3645
|
</dd>
|
|
3334
3646
|
</dl>
|
|
3335
3647
|
</dd>
|
|
@@ -3344,20 +3656,21 @@ await client.tools.mcpServer.tools.delete("mcp_server_tool_id");
|
|
|
3344
3656
|
<dd>
|
|
3345
3657
|
|
|
3346
3658
|
**mcpServerToolId:** `string` — ID of the MCP server tool to delete
|
|
3347
|
-
|
|
3659
|
+
|
|
3348
3660
|
</dd>
|
|
3349
3661
|
</dl>
|
|
3350
3662
|
|
|
3351
3663
|
<dl>
|
|
3352
3664
|
<dd>
|
|
3353
3665
|
|
|
3354
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
3355
|
-
|
|
3666
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
3667
|
+
|
|
3356
3668
|
</dd>
|
|
3357
3669
|
</dl>
|
|
3358
3670
|
</dd>
|
|
3359
3671
|
</dl>
|
|
3360
3672
|
|
|
3673
|
+
|
|
3361
3674
|
</dd>
|
|
3362
3675
|
</dl>
|
|
3363
3676
|
</details>
|
|
@@ -3375,7 +3688,6 @@ await client.tools.mcpServer.tools.delete("mcp_server_tool_id");
|
|
|
3375
3688
|
<dd>
|
|
3376
3689
|
|
|
3377
3690
|
Calls a MCP server tool
|
|
3378
|
-
|
|
3379
3691
|
</dd>
|
|
3380
3692
|
</dl>
|
|
3381
3693
|
</dd>
|
|
@@ -3392,11 +3704,11 @@ Calls a MCP server tool
|
|
|
3392
3704
|
```typescript
|
|
3393
3705
|
await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
|
|
3394
3706
|
arguments: {
|
|
3395
|
-
title: "PhenoML Agent API"
|
|
3396
|
-
}
|
|
3707
|
+
"title": "PhenoML Agent API"
|
|
3708
|
+
}
|
|
3397
3709
|
});
|
|
3398
|
-
```
|
|
3399
3710
|
|
|
3711
|
+
```
|
|
3400
3712
|
</dd>
|
|
3401
3713
|
</dl>
|
|
3402
3714
|
</dd>
|
|
@@ -3411,34 +3723,34 @@ await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
|
|
|
3411
3723
|
<dd>
|
|
3412
3724
|
|
|
3413
3725
|
**mcpServerToolId:** `string` — ID of the MCP server tool to call
|
|
3414
|
-
|
|
3726
|
+
|
|
3415
3727
|
</dd>
|
|
3416
3728
|
</dl>
|
|
3417
3729
|
|
|
3418
3730
|
<dl>
|
|
3419
3731
|
<dd>
|
|
3420
3732
|
|
|
3421
|
-
**request:** `phenoml.tools.mcpServer.McpServerToolCallRequest`
|
|
3422
|
-
|
|
3733
|
+
**request:** `phenoml.tools.mcpServer.McpServerToolCallRequest`
|
|
3734
|
+
|
|
3423
3735
|
</dd>
|
|
3424
3736
|
</dl>
|
|
3425
3737
|
|
|
3426
3738
|
<dl>
|
|
3427
3739
|
<dd>
|
|
3428
3740
|
|
|
3429
|
-
**requestOptions:** `Tools.RequestOptions`
|
|
3430
|
-
|
|
3741
|
+
**requestOptions:** `Tools.RequestOptions`
|
|
3742
|
+
|
|
3431
3743
|
</dd>
|
|
3432
3744
|
</dl>
|
|
3433
3745
|
</dd>
|
|
3434
3746
|
</dl>
|
|
3435
3747
|
|
|
3748
|
+
|
|
3436
3749
|
</dd>
|
|
3437
3750
|
</dl>
|
|
3438
3751
|
</details>
|
|
3439
3752
|
|
|
3440
3753
|
## Workflows
|
|
3441
|
-
|
|
3442
3754
|
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">list</a>({ ...params }) -> phenoml.ListWorkflowsResponse</code></summary>
|
|
3443
3755
|
<dl>
|
|
3444
3756
|
<dd>
|
|
@@ -3452,7 +3764,6 @@ await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
|
|
|
3452
3764
|
<dd>
|
|
3453
3765
|
|
|
3454
3766
|
Retrieves all workflow definitions for the authenticated user
|
|
3455
|
-
|
|
3456
3767
|
</dd>
|
|
3457
3768
|
</dl>
|
|
3458
3769
|
</dd>
|
|
@@ -3468,10 +3779,10 @@ Retrieves all workflow definitions for the authenticated user
|
|
|
3468
3779
|
|
|
3469
3780
|
```typescript
|
|
3470
3781
|
await client.workflows.list({
|
|
3471
|
-
verbose: true
|
|
3782
|
+
verbose: true
|
|
3472
3783
|
});
|
|
3473
|
-
```
|
|
3474
3784
|
|
|
3785
|
+
```
|
|
3475
3786
|
</dd>
|
|
3476
3787
|
</dl>
|
|
3477
3788
|
</dd>
|
|
@@ -3485,21 +3796,22 @@ await client.workflows.list({
|
|
|
3485
3796
|
<dl>
|
|
3486
3797
|
<dd>
|
|
3487
3798
|
|
|
3488
|
-
**request:** `phenoml.workflows.WorkflowsListRequest`
|
|
3489
|
-
|
|
3799
|
+
**request:** `phenoml.workflows.WorkflowsListRequest`
|
|
3800
|
+
|
|
3490
3801
|
</dd>
|
|
3491
3802
|
</dl>
|
|
3492
3803
|
|
|
3493
3804
|
<dl>
|
|
3494
3805
|
<dd>
|
|
3495
3806
|
|
|
3496
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3497
|
-
|
|
3807
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3808
|
+
|
|
3498
3809
|
</dd>
|
|
3499
3810
|
</dl>
|
|
3500
3811
|
</dd>
|
|
3501
3812
|
</dl>
|
|
3502
3813
|
|
|
3814
|
+
|
|
3503
3815
|
</dd>
|
|
3504
3816
|
</dl>
|
|
3505
3817
|
</details>
|
|
@@ -3517,7 +3829,6 @@ await client.workflows.list({
|
|
|
3517
3829
|
<dd>
|
|
3518
3830
|
|
|
3519
3831
|
Creates a new workflow definition with graph generation from workflow instructions
|
|
3520
|
-
|
|
3521
3832
|
</dd>
|
|
3522
3833
|
</dl>
|
|
3523
3834
|
</dd>
|
|
@@ -3537,14 +3848,14 @@ await client.workflows.create({
|
|
|
3537
3848
|
name: "Patient Data Mapping Workflow",
|
|
3538
3849
|
workflow_instructions: "Given diagnosis data, find the patient and create condition record",
|
|
3539
3850
|
sample_data: {
|
|
3540
|
-
patient_last_name: "Rippin",
|
|
3541
|
-
patient_first_name: "Clay",
|
|
3542
|
-
diagnosis_code: "I10"
|
|
3851
|
+
"patient_last_name": "Rippin",
|
|
3852
|
+
"patient_first_name": "Clay",
|
|
3853
|
+
"diagnosis_code": "I10"
|
|
3543
3854
|
},
|
|
3544
|
-
fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000"
|
|
3855
|
+
fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000"
|
|
3545
3856
|
});
|
|
3546
|
-
```
|
|
3547
3857
|
|
|
3858
|
+
```
|
|
3548
3859
|
</dd>
|
|
3549
3860
|
</dl>
|
|
3550
3861
|
</dd>
|
|
@@ -3558,21 +3869,22 @@ await client.workflows.create({
|
|
|
3558
3869
|
<dl>
|
|
3559
3870
|
<dd>
|
|
3560
3871
|
|
|
3561
|
-
**request:** `phenoml.workflows.CreateWorkflowRequest`
|
|
3562
|
-
|
|
3872
|
+
**request:** `phenoml.workflows.CreateWorkflowRequest`
|
|
3873
|
+
|
|
3563
3874
|
</dd>
|
|
3564
3875
|
</dl>
|
|
3565
3876
|
|
|
3566
3877
|
<dl>
|
|
3567
3878
|
<dd>
|
|
3568
3879
|
|
|
3569
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3570
|
-
|
|
3880
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3881
|
+
|
|
3571
3882
|
</dd>
|
|
3572
3883
|
</dl>
|
|
3573
3884
|
</dd>
|
|
3574
3885
|
</dl>
|
|
3575
3886
|
|
|
3887
|
+
|
|
3576
3888
|
</dd>
|
|
3577
3889
|
</dl>
|
|
3578
3890
|
</details>
|
|
@@ -3590,7 +3902,6 @@ await client.workflows.create({
|
|
|
3590
3902
|
<dd>
|
|
3591
3903
|
|
|
3592
3904
|
Retrieves a workflow definition by its ID
|
|
3593
|
-
|
|
3594
3905
|
</dd>
|
|
3595
3906
|
</dl>
|
|
3596
3907
|
</dd>
|
|
@@ -3606,10 +3917,10 @@ Retrieves a workflow definition by its ID
|
|
|
3606
3917
|
|
|
3607
3918
|
```typescript
|
|
3608
3919
|
await client.workflows.get("id", {
|
|
3609
|
-
verbose: true
|
|
3920
|
+
verbose: true
|
|
3610
3921
|
});
|
|
3611
|
-
```
|
|
3612
3922
|
|
|
3923
|
+
```
|
|
3613
3924
|
</dd>
|
|
3614
3925
|
</dl>
|
|
3615
3926
|
</dd>
|
|
@@ -3624,28 +3935,29 @@ await client.workflows.get("id", {
|
|
|
3624
3935
|
<dd>
|
|
3625
3936
|
|
|
3626
3937
|
**id:** `string` — ID of the workflow to retrieve
|
|
3627
|
-
|
|
3938
|
+
|
|
3628
3939
|
</dd>
|
|
3629
3940
|
</dl>
|
|
3630
3941
|
|
|
3631
3942
|
<dl>
|
|
3632
3943
|
<dd>
|
|
3633
3944
|
|
|
3634
|
-
**request:** `phenoml.workflows.WorkflowsGetRequest`
|
|
3635
|
-
|
|
3945
|
+
**request:** `phenoml.workflows.WorkflowsGetRequest`
|
|
3946
|
+
|
|
3636
3947
|
</dd>
|
|
3637
3948
|
</dl>
|
|
3638
3949
|
|
|
3639
3950
|
<dl>
|
|
3640
3951
|
<dd>
|
|
3641
3952
|
|
|
3642
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3643
|
-
|
|
3953
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
3954
|
+
|
|
3644
3955
|
</dd>
|
|
3645
3956
|
</dl>
|
|
3646
3957
|
</dd>
|
|
3647
3958
|
</dl>
|
|
3648
3959
|
|
|
3960
|
+
|
|
3649
3961
|
</dd>
|
|
3650
3962
|
</dl>
|
|
3651
3963
|
</details>
|
|
@@ -3663,7 +3975,6 @@ await client.workflows.get("id", {
|
|
|
3663
3975
|
<dd>
|
|
3664
3976
|
|
|
3665
3977
|
Updates an existing workflow definition
|
|
3666
|
-
|
|
3667
3978
|
</dd>
|
|
3668
3979
|
</dl>
|
|
3669
3980
|
</dd>
|
|
@@ -3683,14 +3994,14 @@ await client.workflows.update("id", {
|
|
|
3683
3994
|
name: "Updated Patient Data Mapping Workflow",
|
|
3684
3995
|
workflow_instructions: "Given diagnosis data, find the patient and create condition record",
|
|
3685
3996
|
sample_data: {
|
|
3686
|
-
patient_last_name: "Smith",
|
|
3687
|
-
patient_first_name: "John",
|
|
3688
|
-
diagnosis_code: "E11"
|
|
3997
|
+
"patient_last_name": "Smith",
|
|
3998
|
+
"patient_first_name": "John",
|
|
3999
|
+
"diagnosis_code": "E11"
|
|
3689
4000
|
},
|
|
3690
|
-
fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000"
|
|
4001
|
+
fhir_provider_id: "550e8400-e29b-41d4-a716-446655440000"
|
|
3691
4002
|
});
|
|
3692
|
-
```
|
|
3693
4003
|
|
|
4004
|
+
```
|
|
3694
4005
|
</dd>
|
|
3695
4006
|
</dl>
|
|
3696
4007
|
</dd>
|
|
@@ -3705,28 +4016,29 @@ await client.workflows.update("id", {
|
|
|
3705
4016
|
<dd>
|
|
3706
4017
|
|
|
3707
4018
|
**id:** `string` — ID of the workflow to update
|
|
3708
|
-
|
|
4019
|
+
|
|
3709
4020
|
</dd>
|
|
3710
4021
|
</dl>
|
|
3711
4022
|
|
|
3712
4023
|
<dl>
|
|
3713
4024
|
<dd>
|
|
3714
4025
|
|
|
3715
|
-
**request:** `phenoml.workflows.UpdateWorkflowRequest`
|
|
3716
|
-
|
|
4026
|
+
**request:** `phenoml.workflows.UpdateWorkflowRequest`
|
|
4027
|
+
|
|
3717
4028
|
</dd>
|
|
3718
4029
|
</dl>
|
|
3719
4030
|
|
|
3720
4031
|
<dl>
|
|
3721
4032
|
<dd>
|
|
3722
4033
|
|
|
3723
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3724
|
-
|
|
4034
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
4035
|
+
|
|
3725
4036
|
</dd>
|
|
3726
4037
|
</dl>
|
|
3727
4038
|
</dd>
|
|
3728
4039
|
</dl>
|
|
3729
4040
|
|
|
4041
|
+
|
|
3730
4042
|
</dd>
|
|
3731
4043
|
</dl>
|
|
3732
4044
|
</details>
|
|
@@ -3744,7 +4056,6 @@ await client.workflows.update("id", {
|
|
|
3744
4056
|
<dd>
|
|
3745
4057
|
|
|
3746
4058
|
Deletes a workflow definition by its ID
|
|
3747
|
-
|
|
3748
4059
|
</dd>
|
|
3749
4060
|
</dl>
|
|
3750
4061
|
</dd>
|
|
@@ -3760,8 +4071,8 @@ Deletes a workflow definition by its ID
|
|
|
3760
4071
|
|
|
3761
4072
|
```typescript
|
|
3762
4073
|
await client.workflows.delete("id");
|
|
3763
|
-
```
|
|
3764
4074
|
|
|
4075
|
+
```
|
|
3765
4076
|
</dd>
|
|
3766
4077
|
</dl>
|
|
3767
4078
|
</dd>
|
|
@@ -3776,20 +4087,21 @@ await client.workflows.delete("id");
|
|
|
3776
4087
|
<dd>
|
|
3777
4088
|
|
|
3778
4089
|
**id:** `string` — ID of the workflow to delete
|
|
3779
|
-
|
|
4090
|
+
|
|
3780
4091
|
</dd>
|
|
3781
4092
|
</dl>
|
|
3782
4093
|
|
|
3783
4094
|
<dl>
|
|
3784
4095
|
<dd>
|
|
3785
4096
|
|
|
3786
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3787
|
-
|
|
4097
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
4098
|
+
|
|
3788
4099
|
</dd>
|
|
3789
4100
|
</dl>
|
|
3790
4101
|
</dd>
|
|
3791
4102
|
</dl>
|
|
3792
4103
|
|
|
4104
|
+
|
|
3793
4105
|
</dd>
|
|
3794
4106
|
</dl>
|
|
3795
4107
|
</details>
|
|
@@ -3807,7 +4119,6 @@ await client.workflows.delete("id");
|
|
|
3807
4119
|
<dd>
|
|
3808
4120
|
|
|
3809
4121
|
Executes a workflow with provided input data and returns results
|
|
3810
|
-
|
|
3811
4122
|
</dd>
|
|
3812
4123
|
</dl>
|
|
3813
4124
|
</dd>
|
|
@@ -3824,14 +4135,14 @@ Executes a workflow with provided input data and returns results
|
|
|
3824
4135
|
```typescript
|
|
3825
4136
|
await client.workflows.execute("id", {
|
|
3826
4137
|
input_data: {
|
|
3827
|
-
patient_last_name: "Johnson",
|
|
3828
|
-
patient_first_name: "Mary",
|
|
3829
|
-
diagnosis_code: "M79.3",
|
|
3830
|
-
encounter_date: "2024-01-15"
|
|
3831
|
-
}
|
|
4138
|
+
"patient_last_name": "Johnson",
|
|
4139
|
+
"patient_first_name": "Mary",
|
|
4140
|
+
"diagnosis_code": "M79.3",
|
|
4141
|
+
"encounter_date": "2024-01-15"
|
|
4142
|
+
}
|
|
3832
4143
|
});
|
|
3833
|
-
```
|
|
3834
4144
|
|
|
4145
|
+
```
|
|
3835
4146
|
</dd>
|
|
3836
4147
|
</dl>
|
|
3837
4148
|
</dd>
|
|
@@ -3846,28 +4157,29 @@ await client.workflows.execute("id", {
|
|
|
3846
4157
|
<dd>
|
|
3847
4158
|
|
|
3848
4159
|
**id:** `string` — ID of the workflow to execute
|
|
3849
|
-
|
|
4160
|
+
|
|
3850
4161
|
</dd>
|
|
3851
4162
|
</dl>
|
|
3852
4163
|
|
|
3853
4164
|
<dl>
|
|
3854
4165
|
<dd>
|
|
3855
4166
|
|
|
3856
|
-
**request:** `phenoml.workflows.ExecuteWorkflowRequest`
|
|
3857
|
-
|
|
4167
|
+
**request:** `phenoml.workflows.ExecuteWorkflowRequest`
|
|
4168
|
+
|
|
3858
4169
|
</dd>
|
|
3859
4170
|
</dl>
|
|
3860
4171
|
|
|
3861
4172
|
<dl>
|
|
3862
4173
|
<dd>
|
|
3863
4174
|
|
|
3864
|
-
**requestOptions:** `Workflows.RequestOptions`
|
|
3865
|
-
|
|
4175
|
+
**requestOptions:** `Workflows.RequestOptions`
|
|
4176
|
+
|
|
3866
4177
|
</dd>
|
|
3867
4178
|
</dl>
|
|
3868
4179
|
</dd>
|
|
3869
4180
|
</dl>
|
|
3870
4181
|
|
|
4182
|
+
|
|
3871
4183
|
</dd>
|
|
3872
4184
|
</dl>
|
|
3873
4185
|
</details>
|