phenoml 14.0.0 → 16.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/resources/agent/client/Client.d.ts +5 -5
- package/dist/cjs/api/resources/agent/client/Client.js +2 -2
- package/dist/cjs/api/resources/agent/client/requests/AgentChatRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/client/requests/AgentStreamChatRequest.d.ts +1 -1
- package/dist/cjs/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.d.ts → GetChatMessagesRequest.d.ts} +3 -3
- package/dist/{esm/api/resources/agent/client/requests/AgentListRequest.d.mts → cjs/api/resources/agent/client/requests/ListRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.d.ts → DeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/types/GetChatMessagesRequestOrder.d.ts +5 -0
- package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesRequestOrder.js → GetChatMessagesRequestOrder.js} +2 -2
- package/dist/cjs/api/resources/agent/types/GetChatMessagesRequestRole.d.ts +7 -0
- package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesRequestRole.js → GetChatMessagesRequestRole.js} +2 -2
- package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.d.ts → GetChatMessagesResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/types/{AgentListResponse.d.ts → ListResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/agent/types/index.d.ts +5 -5
- package/dist/cjs/api/resources/agent/types/index.js +5 -5
- package/dist/cjs/api/resources/authtoken/client/Client.d.ts +26 -4
- package/dist/cjs/api/resources/authtoken/client/Client.js +109 -4
- package/dist/cjs/api/resources/authtoken/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/authtoken/client/index.js +15 -0
- package/dist/cjs/api/resources/authtoken/exports.d.ts +0 -1
- package/dist/cjs/api/resources/authtoken/exports.js +0 -1
- package/dist/cjs/api/resources/authtoken/index.d.ts +0 -1
- package/dist/cjs/api/resources/authtoken/index.js +0 -1
- package/dist/cjs/api/resources/construe/client/Client.d.ts +35 -35
- package/dist/cjs/api/resources/construe/client/Client.js +43 -43
- package/dist/cjs/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.d.ts → DeleteCodeSystemRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/construe/client/requests/DeleteConstrueCodesSystemsCodesystemRequest.d.mts → cjs/api/resources/construe/client/requests/ExportCodeSystemRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.mts → cjs/api/resources/construe/client/requests/GetCodeRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.d.ts → GetCodeSystemRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.d.ts → ListCodesRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.d.ts → SearchSemanticRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.mts → cjs/api/resources/construe/client/requests/SearchTextRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/client/requests/index.d.ts +7 -7
- package/dist/{esm/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.mts → cjs/api/resources/construe/types/UploadCodeSystemResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/construe/types/index.d.ts +1 -1
- package/dist/cjs/api/resources/construe/types/index.js +1 -1
- package/dist/cjs/api/resources/fhir/client/Client.d.ts +12 -12
- package/dist/cjs/api/resources/fhir/client/Client.js +6 -6
- package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.d.ts → CreateRequest.d.ts} +1 -1
- package/dist/{esm/api/resources/fhir/client/requests/FhirDeleteRequest.d.mts → cjs/api/resources/fhir/client/requests/DeleteRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.d.ts → ExecuteBundleRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.d.ts → PatchRequest.d.ts} +2 -2
- package/dist/cjs/api/resources/fhir/client/requests/{FhirSearchRequest.d.ts → SearchRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/{FhirUpsertRequest.d.ts → UpsertRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/fhir/client/requests/index.d.ts +6 -6
- package/dist/cjs/api/resources/fhir/types/{FhirPatchRequestBodyItem.d.ts → PatchRequestBodyItem.d.ts} +3 -3
- package/dist/cjs/api/resources/fhir/types/{FhirPatchRequestBodyItem.js → PatchRequestBodyItem.js} +5 -5
- package/dist/cjs/api/resources/fhir/types/SearchResponse.d.ts +2 -0
- package/dist/cjs/api/resources/fhir/types/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhir/types/index.js +2 -2
- package/dist/cjs/api/resources/fhirProvider/client/Client.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +1 -4
- package/dist/{esm/api/resources/agent/types/AgentDeleteResponse.d.mts → cjs/api/resources/fhirProvider/types/DeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.d.ts → RemoveAuthConfigResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/fhirProvider/types/index.d.ts +2 -2
- package/dist/cjs/api/resources/fhirProvider/types/index.js +2 -2
- package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +4 -4
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +4 -4
- package/dist/cjs/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.d.ts → UploadProfileResponse.d.ts} +1 -1
- 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 +3 -88
- package/dist/cjs/api/resources/summary/client/Client.js +4 -309
- package/dist/cjs/api/resources/summary/client/requests/index.d.ts +0 -2
- package/dist/cjs/api/resources/summary/exports.d.ts +1 -0
- package/dist/cjs/api/resources/summary/exports.js +1 -0
- package/dist/cjs/api/resources/summary/index.d.ts +1 -0
- package/dist/cjs/api/resources/summary/index.js +1 -0
- package/dist/cjs/api/resources/summary/resources/index.d.ts +3 -0
- package/dist/cjs/api/resources/{authtoken → summary}/resources/index.js +4 -3
- package/dist/cjs/api/resources/summary/resources/templates/client/Client.d.ts +101 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/Client.js +366 -0
- package/dist/cjs/api/resources/summary/resources/templates/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/summary/resources/templates/exports.d.ts +2 -0
- package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/exports.js +2 -2
- package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.d.ts +1 -0
- package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.js +1 -0
- package/dist/cjs/api/resources/{workflows/types/WorkflowsDeleteResponse.d.ts → summary/resources/templates/types/TemplatesDeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.d.ts → resources/templates/types/TemplatesGetResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.d.ts → resources/templates/types/TemplatesListResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.ts → resources/templates/types/TemplatesUpdateResponse.d.ts} +2 -2
- package/dist/cjs/api/resources/summary/resources/templates/types/index.d.ts +4 -0
- package/dist/cjs/api/resources/summary/resources/templates/types/index.js +20 -0
- package/dist/cjs/api/resources/summary/types/index.d.ts +0 -4
- package/dist/cjs/api/resources/summary/types/index.js +0 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/index.js +0 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.ts +0 -21
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/Client.js +0 -68
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.ts +1 -1
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/index.js +0 -15
- package/dist/cjs/api/resources/tools/types/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/types/index.js +0 -1
- package/dist/cjs/api/resources/workflows/client/Client.d.ts +7 -6
- package/dist/cjs/api/resources/workflows/client/Client.js +8 -14
- package/dist/{esm/api/resources/workflows/client/requests/WorkflowsGetRequest.d.mts → cjs/api/resources/workflows/client/requests/GetRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/client/requests/{WorkflowsGetRequest.d.ts → ListRequest.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/client/requests/index.d.ts +2 -2
- package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.d.ts +5 -0
- package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.js +54 -0
- package/dist/cjs/api/resources/workflows/errors/index.d.ts +1 -0
- package/dist/cjs/api/resources/workflows/errors/index.js +1 -0
- package/dist/{esm/api/resources/workflows/types/WorkflowsDeleteResponse.d.mts → cjs/api/resources/workflows/types/DeleteResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/types/{WorkflowsGetResponse.d.ts → GetResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/types/{WorkflowsUpdateResponse.d.ts → UpdateResponse.d.ts} +1 -1
- package/dist/cjs/api/resources/workflows/types/index.d.ts +3 -3
- package/dist/cjs/api/resources/workflows/types/index.js +3 -3
- package/dist/cjs/auth/OAuthAuthProvider.js +2 -2
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/resources/agent/client/Client.d.mts +5 -5
- package/dist/esm/api/resources/agent/client/Client.mjs +2 -2
- package/dist/esm/api/resources/agent/client/requests/AgentChatRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/client/requests/AgentStreamChatRequest.d.mts +1 -1
- package/dist/esm/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.d.mts → GetChatMessagesRequest.d.mts} +3 -3
- package/dist/{cjs/api/resources/agent/client/requests/AgentListRequest.d.ts → esm/api/resources/agent/client/requests/ListRequest.d.mts} +1 -1
- package/dist/esm/api/resources/agent/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/agent/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/agent/types/GetChatMessagesRequestOrder.d.mts +5 -0
- package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesRequestOrder.mjs → GetChatMessagesRequestOrder.mjs} +1 -1
- package/dist/esm/api/resources/agent/types/GetChatMessagesRequestRole.d.mts +7 -0
- package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesRequestRole.mjs → GetChatMessagesRequestRole.mjs} +1 -1
- package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.d.mts → GetChatMessagesResponse.d.mts} +1 -1
- package/dist/esm/api/resources/agent/types/{AgentListResponse.d.mts → ListResponse.d.mts} +1 -1
- package/dist/esm/api/resources/agent/types/index.d.mts +5 -5
- package/dist/esm/api/resources/agent/types/index.mjs +5 -5
- package/dist/esm/api/resources/authtoken/client/Client.d.mts +26 -4
- package/dist/esm/api/resources/authtoken/client/Client.mjs +76 -4
- package/dist/esm/api/resources/authtoken/client/index.d.mts +1 -1
- package/dist/esm/api/resources/authtoken/client/index.mjs +1 -1
- package/dist/esm/api/resources/authtoken/exports.d.mts +0 -1
- package/dist/esm/api/resources/authtoken/exports.mjs +0 -1
- package/dist/esm/api/resources/authtoken/index.d.mts +0 -1
- package/dist/esm/api/resources/authtoken/index.mjs +0 -1
- package/dist/esm/api/resources/construe/client/Client.d.mts +35 -35
- package/dist/esm/api/resources/construe/client/Client.mjs +43 -43
- package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.d.mts → DeleteCodeSystemRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesSystemsCodesystemExportRequest.d.ts → esm/api/resources/construe/client/requests/ExportCodeSystemRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemCodeIdRequest.d.ts → esm/api/resources/construe/client/requests/GetCodeRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.d.mts → GetCodeSystemRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.d.mts → ListCodesRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.d.mts → SearchSemanticRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/construe/client/requests/GetConstrueCodesCodesystemSearchTextRequest.d.ts → esm/api/resources/construe/client/requests/SearchTextRequest.d.mts} +1 -1
- package/dist/esm/api/resources/construe/client/requests/index.d.mts +7 -7
- package/dist/{cjs/api/resources/construe/types/ConstrueUploadCodeSystemResponse.d.ts → esm/api/resources/construe/types/UploadCodeSystemResponse.d.mts} +1 -1
- package/dist/esm/api/resources/construe/types/index.d.mts +1 -1
- package/dist/esm/api/resources/construe/types/index.mjs +1 -1
- package/dist/esm/api/resources/fhir/client/Client.d.mts +12 -12
- package/dist/esm/api/resources/fhir/client/Client.mjs +6 -6
- package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.d.mts → CreateRequest.d.mts} +1 -1
- package/dist/{cjs/api/resources/fhir/client/requests/FhirDeleteRequest.d.ts → esm/api/resources/fhir/client/requests/DeleteRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.d.mts → ExecuteBundleRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.d.mts → PatchRequest.d.mts} +2 -2
- package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.d.mts → SearchRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.d.mts → UpsertRequest.d.mts} +1 -1
- package/dist/esm/api/resources/fhir/client/requests/index.d.mts +6 -6
- package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.d.mts → PatchRequestBodyItem.d.mts} +3 -3
- package/dist/esm/api/resources/fhir/types/{FhirPatchRequestBodyItem.mjs → PatchRequestBodyItem.mjs} +4 -4
- package/dist/esm/api/resources/fhir/types/SearchResponse.d.mts +2 -0
- package/dist/esm/api/resources/fhir/types/index.d.mts +2 -2
- package/dist/esm/api/resources/fhir/types/index.mjs +2 -2
- package/dist/esm/api/resources/fhirProvider/client/Client.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +1 -4
- package/dist/esm/api/resources/fhirProvider/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.d.mts → RemoveAuthConfigResponse.d.mts} +1 -1
- package/dist/esm/api/resources/fhirProvider/types/index.d.mts +2 -2
- package/dist/esm/api/resources/fhirProvider/types/index.mjs +2 -2
- package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +4 -4
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +4 -4
- package/dist/esm/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.d.mts → UploadProfileResponse.d.mts} +1 -1
- 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 +3 -88
- package/dist/esm/api/resources/summary/client/Client.mjs +4 -309
- package/dist/esm/api/resources/summary/client/requests/index.d.mts +0 -2
- package/dist/esm/api/resources/summary/exports.d.mts +1 -0
- package/dist/esm/api/resources/summary/exports.mjs +1 -0
- package/dist/esm/api/resources/summary/index.d.mts +1 -0
- package/dist/esm/api/resources/summary/index.mjs +1 -0
- package/dist/esm/api/resources/summary/resources/index.d.mts +3 -0
- package/dist/esm/api/resources/summary/resources/index.mjs +3 -0
- package/dist/esm/api/resources/summary/resources/templates/client/Client.d.mts +101 -0
- package/dist/esm/api/resources/summary/resources/templates/client/Client.mjs +329 -0
- package/dist/esm/api/resources/summary/resources/templates/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/summary/resources/templates/exports.d.mts +2 -0
- package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/exports.mjs +1 -1
- package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.d.mts +1 -0
- package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/index.mjs +1 -0
- package/dist/esm/api/resources/summary/resources/templates/types/TemplatesDeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/summary/resources/templates/types/TemplatesGetResponse.d.mts +5 -0
- package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.d.mts → resources/templates/types/TemplatesListResponse.d.mts} +2 -2
- package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.d.mts → resources/templates/types/TemplatesUpdateResponse.d.mts} +2 -2
- package/dist/esm/api/resources/summary/resources/templates/types/index.d.mts +4 -0
- package/dist/esm/api/resources/summary/resources/templates/types/index.mjs +4 -0
- package/dist/esm/api/resources/summary/types/index.d.mts +0 -4
- package/dist/esm/api/resources/summary/types/index.mjs +0 -4
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/index.mjs +0 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.d.mts +0 -21
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/Client.mjs +0 -68
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.d.mts +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/index.mjs +1 -1
- package/dist/esm/api/resources/tools/types/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/types/index.mjs +0 -1
- package/dist/esm/api/resources/workflows/client/Client.d.mts +7 -6
- package/dist/esm/api/resources/workflows/client/Client.mjs +8 -14
- package/dist/{cjs/api/resources/workflows/client/requests/WorkflowsListRequest.d.ts → esm/api/resources/workflows/client/requests/GetRequest.d.mts} +1 -1
- package/dist/esm/api/resources/workflows/client/requests/{WorkflowsListRequest.d.mts → ListRequest.d.mts} +1 -1
- package/dist/esm/api/resources/workflows/client/requests/index.d.mts +2 -2
- package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.d.mts +5 -0
- package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.mjs +17 -0
- package/dist/esm/api/resources/workflows/errors/index.d.mts +1 -0
- package/dist/esm/api/resources/workflows/errors/index.mjs +1 -0
- package/dist/esm/api/resources/workflows/types/DeleteResponse.d.mts +4 -0
- package/dist/esm/api/resources/workflows/types/{WorkflowsGetResponse.d.mts → GetResponse.d.mts} +1 -1
- package/dist/esm/api/resources/workflows/types/{WorkflowsUpdateResponse.d.mts → UpdateResponse.d.mts} +1 -1
- package/dist/esm/api/resources/workflows/types/index.d.mts +3 -3
- package/dist/esm/api/resources/workflows/types/index.mjs +3 -3
- package/dist/esm/auth/OAuthAuthProvider.mjs +2 -2
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/openapi/openapi.json +11397 -0
- package/package.json +14 -12
- package/reference.md +140 -214
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.ts +0 -5
- package/dist/cjs/api/resources/agent/types/AgentGetChatMessagesRequestRole.d.ts +0 -7
- package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.d.ts +0 -34
- package/dist/cjs/api/resources/authtoken/resources/auth/client/Client.js +0 -121
- package/dist/cjs/api/resources/authtoken/resources/auth/exports.d.ts +0 -2
- package/dist/cjs/api/resources/authtoken/resources/index.d.ts +0 -2
- package/dist/cjs/api/resources/fhir/types/FhirSearchResponse.d.ts +0 -2
- package/dist/cjs/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.ts +0 -4
- package/dist/cjs/api/resources/summary/types/SummaryDeleteTemplateResponse.d.ts +0 -4
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.d.ts +0 -12
- package/dist/cjs/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/tools/types/McpServerToolCallResponse.d.ts +0 -10
- package/dist/cjs/api/resources/workflows/types/WorkflowsGetResponse.js +0 -3
- package/dist/cjs/api/resources/workflows/types/WorkflowsUpdateResponse.js +0 -3
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestOrder.d.mts +0 -5
- package/dist/esm/api/resources/agent/types/AgentGetChatMessagesRequestRole.d.mts +0 -7
- package/dist/esm/api/resources/authtoken/resources/auth/client/Client.d.mts +0 -34
- package/dist/esm/api/resources/authtoken/resources/auth/client/Client.mjs +0 -84
- package/dist/esm/api/resources/authtoken/resources/auth/exports.d.mts +0 -2
- package/dist/esm/api/resources/authtoken/resources/index.d.mts +0 -2
- package/dist/esm/api/resources/authtoken/resources/index.mjs +0 -2
- package/dist/esm/api/resources/fhir/types/FhirSearchResponse.d.mts +0 -2
- package/dist/esm/api/resources/fhirProvider/types/FhirProviderDeleteResponse.d.mts +0 -4
- package/dist/esm/api/resources/summary/types/SummaryDeleteTemplateResponse.d.mts +0 -4
- package/dist/esm/api/resources/summary/types/SummaryGetTemplateResponse.d.mts +0 -5
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.d.mts +0 -12
- package/dist/esm/api/resources/tools/resources/mcpServer/resources/tools/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/tools/types/McpServerToolCallResponse.d.mts +0 -10
- package/dist/esm/api/resources/workflows/types/WorkflowsGetResponse.mjs +0 -2
- package/dist/esm/api/resources/workflows/types/WorkflowsUpdateResponse.mjs +0 -2
- /package/dist/cjs/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.js → GetChatMessagesRequest.js} +0 -0
- /package/dist/cjs/api/resources/agent/client/requests/{AgentListRequest.js → ListRequest.js} +0 -0
- /package/dist/cjs/api/resources/agent/types/{AgentDeleteResponse.js → DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/agent/types/{AgentGetChatMessagesResponse.js → GetChatMessagesResponse.js} +0 -0
- /package/dist/cjs/api/resources/agent/types/{AgentListResponse.js → ListResponse.js} +0 -0
- /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.js +0 -0
- /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/index.d.ts +0 -0
- /package/dist/cjs/api/resources/authtoken/{resources/auth/client → client}/requests/index.js +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.js → DeleteCodeSystemRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemCodeIdRequest.js → ExportCodeSystemRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.js → GetCodeRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.js → GetCodeSystemRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchTextRequest.js → ListCodesRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.js → SearchSemanticRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.js → SearchTextRequest.js} +0 -0
- /package/dist/cjs/api/resources/construe/types/{ConstrueUploadCodeSystemResponse.js → UploadCodeSystemResponse.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirCreateRequest.js → CreateRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirDeleteRequest.js → DeleteRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.js → ExecuteBundleRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirPatchRequest.js → PatchRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirSearchRequest.js → SearchRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/client/requests/{FhirUpsertRequest.js → UpsertRequest.js} +0 -0
- /package/dist/cjs/api/resources/fhir/types/{FhirSearchResponse.js → SearchResponse.js} +0 -0
- /package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderDeleteResponse.js → DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.js → RemoveAuthConfigResponse.js} +0 -0
- /package/dist/cjs/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.js → UploadProfileResponse.js} +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.d.ts +0 -0
- /package/dist/cjs/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.js +0 -0
- /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.js +0 -0
- /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.d.ts +0 -0
- /package/dist/cjs/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.js +0 -0
- /package/dist/cjs/api/resources/{tools/resources/mcpServer/resources/tools → summary/resources/templates}/client/requests/index.js +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryDeleteTemplateResponse.js → resources/templates/types/TemplatesDeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryGetTemplateResponse.js → resources/templates/types/TemplatesGetResponse.js} +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryListTemplatesResponse.js → resources/templates/types/TemplatesListResponse.js} +0 -0
- /package/dist/cjs/api/resources/summary/{types/SummaryUpdateTemplateResponse.js → resources/templates/types/TemplatesUpdateResponse.js} +0 -0
- /package/dist/cjs/api/resources/{tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.js → workflows/client/requests/GetRequest.js} +0 -0
- /package/dist/cjs/api/resources/{tools/types/McpServerToolCallResponse.js → workflows/client/requests/ListRequest.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{client/requests/WorkflowsGetRequest.js → types/DeleteResponse.js} +0 -0
- /package/dist/cjs/api/resources/workflows/{client/requests/WorkflowsListRequest.js → types/GetResponse.js} +0 -0
- /package/dist/cjs/api/resources/workflows/types/{WorkflowsDeleteResponse.js → UpdateResponse.js} +0 -0
- /package/dist/esm/api/resources/agent/client/requests/{AgentGetChatMessagesRequest.mjs → GetChatMessagesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/agent/client/requests/{AgentListRequest.mjs → ListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/agent/types/{AgentDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/agent/types/{AgentGetChatMessagesResponse.mjs → GetChatMessagesResponse.mjs} +0 -0
- /package/dist/esm/api/resources/agent/types/{AgentListResponse.mjs → ListResponse.mjs} +0 -0
- /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.d.mts +0 -0
- /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/ClientCredentialsRequest.mjs +0 -0
- /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/index.d.mts +0 -0
- /package/dist/esm/api/resources/authtoken/{resources/auth/client → client}/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{DeleteConstrueCodesSystemsCodesystemRequest.mjs → DeleteCodeSystemRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemCodeIdRequest.mjs → ExportCodeSystemRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemRequest.mjs → GetCodeRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchSemanticRequest.mjs → GetCodeSystemRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesCodesystemSearchTextRequest.mjs → ListCodesRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemExportRequest.mjs → SearchSemanticRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/client/requests/{GetConstrueCodesSystemsCodesystemRequest.mjs → SearchTextRequest.mjs} +0 -0
- /package/dist/esm/api/resources/construe/types/{ConstrueUploadCodeSystemResponse.mjs → UploadCodeSystemResponse.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirCreateRequest.mjs → CreateRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirDeleteRequest.mjs → DeleteRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirExecuteBundleRequest.mjs → ExecuteBundleRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirPatchRequest.mjs → PatchRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirSearchRequest.mjs → SearchRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/client/requests/{FhirUpsertRequest.mjs → UpsertRequest.mjs} +0 -0
- /package/dist/esm/api/resources/fhir/types/{FhirSearchResponse.mjs → SearchResponse.mjs} +0 -0
- /package/dist/esm/api/resources/fhirProvider/types/{FhirProviderDeleteResponse.mjs → DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/fhirProvider/types/{FhirProviderRemoveAuthConfigResponse.mjs → RemoveAuthConfigResponse.mjs} +0 -0
- /package/dist/esm/api/resources/lang2Fhir/types/{Lang2FhirUploadProfileResponse.mjs → UploadProfileResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.d.mts +0 -0
- /package/dist/esm/api/resources/{authtoken/resources/auth → summary/resources/templates}/client/index.mjs +0 -0
- /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.d.mts +0 -0
- /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/CreateSummaryTemplateRequest.mjs +0 -0
- /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.d.mts +0 -0
- /package/dist/esm/api/resources/summary/{client → resources/templates/client}/requests/UpdateSummaryTemplateRequest.mjs +0 -0
- /package/dist/esm/api/resources/{tools/resources/mcpServer/resources/tools → summary/resources/templates}/client/requests/index.mjs +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryDeleteTemplateResponse.mjs → resources/templates/types/TemplatesDeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryGetTemplateResponse.mjs → resources/templates/types/TemplatesGetResponse.mjs} +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryListTemplatesResponse.mjs → resources/templates/types/TemplatesListResponse.mjs} +0 -0
- /package/dist/esm/api/resources/summary/{types/SummaryUpdateTemplateResponse.mjs → resources/templates/types/TemplatesUpdateResponse.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/resources/mcpServer/resources/tools/client/requests/McpServerToolCallRequest.mjs → workflows/client/requests/GetRequest.mjs} +0 -0
- /package/dist/esm/api/resources/{tools/types/McpServerToolCallResponse.mjs → workflows/client/requests/ListRequest.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{client/requests/WorkflowsGetRequest.mjs → types/DeleteResponse.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/{client/requests/WorkflowsListRequest.mjs → types/GetResponse.mjs} +0 -0
- /package/dist/esm/api/resources/workflows/types/{WorkflowsDeleteResponse.mjs → UpdateResponse.mjs} +0 -0
package/reference.md
CHANGED
|
@@ -69,7 +69,7 @@ await client.agent.create({
|
|
|
69
69
|
</dl>
|
|
70
70
|
</details>
|
|
71
71
|
|
|
72
|
-
<details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">list</a>({ ...params }) -> phenoml.
|
|
72
|
+
<details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">list</a>({ ...params }) -> phenoml.ListResponse</code></summary>
|
|
73
73
|
<dl>
|
|
74
74
|
<dd>
|
|
75
75
|
|
|
@@ -114,7 +114,7 @@ await client.agent.list({
|
|
|
114
114
|
<dl>
|
|
115
115
|
<dd>
|
|
116
116
|
|
|
117
|
-
**request:** `phenoml.agent.
|
|
117
|
+
**request:** `phenoml.agent.ListRequest`
|
|
118
118
|
|
|
119
119
|
</dd>
|
|
120
120
|
</dl>
|
|
@@ -274,7 +274,7 @@ await client.agent.update("id", {
|
|
|
274
274
|
</dl>
|
|
275
275
|
</details>
|
|
276
276
|
|
|
277
|
-
<details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">delete</a>(id) -> phenoml.
|
|
277
|
+
<details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">delete</a>(id) -> phenoml.DeleteResponse</code></summary>
|
|
278
278
|
<dl>
|
|
279
279
|
<dd>
|
|
280
280
|
|
|
@@ -559,7 +559,7 @@ for await (const item of response) {
|
|
|
559
559
|
</dl>
|
|
560
560
|
</details>
|
|
561
561
|
|
|
562
|
-
<details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">getChatMessages</a>({ ...params }) -> phenoml.
|
|
562
|
+
<details><summary><code>client.agent.<a href="/src/api/resources/agent/client/Client.ts">getChatMessages</a>({ ...params }) -> phenoml.GetChatMessagesResponse</code></summary>
|
|
563
563
|
<dl>
|
|
564
564
|
<dd>
|
|
565
565
|
|
|
@@ -607,7 +607,7 @@ await client.agent.getChatMessages({
|
|
|
607
607
|
<dl>
|
|
608
608
|
<dd>
|
|
609
609
|
|
|
610
|
-
**request:** `phenoml.agent.
|
|
610
|
+
**request:** `phenoml.agent.GetChatMessagesRequest`
|
|
611
611
|
|
|
612
612
|
</dd>
|
|
613
613
|
</dl>
|
|
@@ -1030,8 +1030,8 @@ await client.agent.prompts.patch("id", [{
|
|
|
1030
1030
|
</dl>
|
|
1031
1031
|
</details>
|
|
1032
1032
|
|
|
1033
|
-
## Authtoken
|
|
1034
|
-
<details><summary><code>client.authtoken
|
|
1033
|
+
## Authtoken
|
|
1034
|
+
<details><summary><code>client.authtoken.<a href="/src/api/resources/authtoken/client/Client.ts">getToken</a>({ ...params }) -> phenoml.TokenResponse</code></summary>
|
|
1035
1035
|
<dl>
|
|
1036
1036
|
<dd>
|
|
1037
1037
|
|
|
@@ -1061,7 +1061,7 @@ returns an access token with expiration information.
|
|
|
1061
1061
|
<dd>
|
|
1062
1062
|
|
|
1063
1063
|
```typescript
|
|
1064
|
-
await client.authtoken.
|
|
1064
|
+
await client.authtoken.getToken({
|
|
1065
1065
|
client_id: "your_client_id",
|
|
1066
1066
|
client_secret: "your_client_secret"
|
|
1067
1067
|
});
|
|
@@ -1088,7 +1088,7 @@ await client.authtoken.auth.getToken({
|
|
|
1088
1088
|
<dl>
|
|
1089
1089
|
<dd>
|
|
1090
1090
|
|
|
1091
|
-
**requestOptions:** `
|
|
1091
|
+
**requestOptions:** `AuthtokenClient.RequestOptions`
|
|
1092
1092
|
|
|
1093
1093
|
</dd>
|
|
1094
1094
|
</dl>
|
|
@@ -1167,7 +1167,7 @@ await client.cohort.analyze({
|
|
|
1167
1167
|
</details>
|
|
1168
1168
|
|
|
1169
1169
|
## Construe
|
|
1170
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">uploadCodeSystem</a>({ ...params }) -> phenoml.
|
|
1170
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">uploadCodeSystem</a>({ ...params }) -> phenoml.UploadCodeSystemResponse</code></summary>
|
|
1171
1171
|
<dl>
|
|
1172
1172
|
<dd>
|
|
1173
1173
|
|
|
@@ -1315,7 +1315,7 @@ await client.construe.extractCodes({
|
|
|
1315
1315
|
</dl>
|
|
1316
1316
|
</details>
|
|
1317
1317
|
|
|
1318
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1318
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">listCodeSystems</a>() -> phenoml.ListCodeSystemsResponse</code></summary>
|
|
1319
1319
|
<dl>
|
|
1320
1320
|
<dd>
|
|
1321
1321
|
|
|
@@ -1342,7 +1342,7 @@ Returns the terminology server's catalog of available code systems, including bo
|
|
|
1342
1342
|
<dd>
|
|
1343
1343
|
|
|
1344
1344
|
```typescript
|
|
1345
|
-
await client.construe.
|
|
1345
|
+
await client.construe.listCodeSystems();
|
|
1346
1346
|
|
|
1347
1347
|
```
|
|
1348
1348
|
</dd>
|
|
@@ -1370,7 +1370,7 @@ await client.construe.listAvailableCodeSystems();
|
|
|
1370
1370
|
</dl>
|
|
1371
1371
|
</details>
|
|
1372
1372
|
|
|
1373
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1373
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">getCodeSystem</a>(codesystem, { ...params }) -> phenoml.GetCodeSystemDetailResponse</code></summary>
|
|
1374
1374
|
<dl>
|
|
1375
1375
|
<dd>
|
|
1376
1376
|
|
|
@@ -1397,7 +1397,7 @@ Returns full metadata for a single code system, including timestamps and builtin
|
|
|
1397
1397
|
<dd>
|
|
1398
1398
|
|
|
1399
1399
|
```typescript
|
|
1400
|
-
await client.construe.
|
|
1400
|
+
await client.construe.getCodeSystem("ICD-10-CM", {
|
|
1401
1401
|
version: "2025"
|
|
1402
1402
|
});
|
|
1403
1403
|
|
|
@@ -1423,7 +1423,7 @@ await client.construe.getCodeSystemDetail("ICD-10-CM", {
|
|
|
1423
1423
|
<dl>
|
|
1424
1424
|
<dd>
|
|
1425
1425
|
|
|
1426
|
-
**request:** `phenoml.construe.
|
|
1426
|
+
**request:** `phenoml.construe.GetCodeSystemRequest`
|
|
1427
1427
|
|
|
1428
1428
|
</dd>
|
|
1429
1429
|
</dl>
|
|
@@ -1443,7 +1443,7 @@ await client.construe.getCodeSystemDetail("ICD-10-CM", {
|
|
|
1443
1443
|
</dl>
|
|
1444
1444
|
</details>
|
|
1445
1445
|
|
|
1446
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1446
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">deleteCodeSystem</a>(codesystem, { ...params }) -> phenoml.DeleteCodeSystemResponse</code></summary>
|
|
1447
1447
|
<dl>
|
|
1448
1448
|
<dd>
|
|
1449
1449
|
|
|
@@ -1471,7 +1471,7 @@ Only available on dedicated instances. Large systems may take up to a minute to
|
|
|
1471
1471
|
<dd>
|
|
1472
1472
|
|
|
1473
1473
|
```typescript
|
|
1474
|
-
await client.construe.
|
|
1474
|
+
await client.construe.deleteCodeSystem("CUSTOM_CODES", {
|
|
1475
1475
|
version: "version"
|
|
1476
1476
|
});
|
|
1477
1477
|
|
|
@@ -1497,7 +1497,7 @@ await client.construe.deleteCustomCodeSystem("CUSTOM_CODES", {
|
|
|
1497
1497
|
<dl>
|
|
1498
1498
|
<dd>
|
|
1499
1499
|
|
|
1500
|
-
**request:** `phenoml.construe.
|
|
1500
|
+
**request:** `phenoml.construe.DeleteCodeSystemRequest`
|
|
1501
1501
|
|
|
1502
1502
|
</dd>
|
|
1503
1503
|
</dl>
|
|
@@ -1517,7 +1517,7 @@ await client.construe.deleteCustomCodeSystem("CUSTOM_CODES", {
|
|
|
1517
1517
|
</dl>
|
|
1518
1518
|
</details>
|
|
1519
1519
|
|
|
1520
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1520
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">exportCodeSystem</a>(codesystem, { ...params }) -> phenoml.ExportCodeSystemResponse</code></summary>
|
|
1521
1521
|
<dl>
|
|
1522
1522
|
<dd>
|
|
1523
1523
|
|
|
@@ -1546,7 +1546,7 @@ Only available on dedicated instances. Builtin systems cannot be exported.
|
|
|
1546
1546
|
<dd>
|
|
1547
1547
|
|
|
1548
1548
|
```typescript
|
|
1549
|
-
await client.construe.
|
|
1549
|
+
await client.construe.exportCodeSystem("CUSTOM_CODES", {
|
|
1550
1550
|
version: "version"
|
|
1551
1551
|
});
|
|
1552
1552
|
|
|
@@ -1572,7 +1572,7 @@ await client.construe.exportCustomCodeSystem("CUSTOM_CODES", {
|
|
|
1572
1572
|
<dl>
|
|
1573
1573
|
<dd>
|
|
1574
1574
|
|
|
1575
|
-
**request:** `phenoml.construe.
|
|
1575
|
+
**request:** `phenoml.construe.ExportCodeSystemRequest`
|
|
1576
1576
|
|
|
1577
1577
|
</dd>
|
|
1578
1578
|
</dl>
|
|
@@ -1592,7 +1592,7 @@ await client.construe.exportCustomCodeSystem("CUSTOM_CODES", {
|
|
|
1592
1592
|
</dl>
|
|
1593
1593
|
</details>
|
|
1594
1594
|
|
|
1595
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1595
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">listCodes</a>(codesystem, { ...params }) -> phenoml.ListCodesResponse</code></summary>
|
|
1596
1596
|
<dl>
|
|
1597
1597
|
<dd>
|
|
1598
1598
|
|
|
@@ -1621,7 +1621,7 @@ Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
|
|
|
1621
1621
|
<dd>
|
|
1622
1622
|
|
|
1623
1623
|
```typescript
|
|
1624
|
-
await client.construe.
|
|
1624
|
+
await client.construe.listCodes("ICD-10-CM", {
|
|
1625
1625
|
version: "2025",
|
|
1626
1626
|
cursor: "cursor",
|
|
1627
1627
|
limit: 1
|
|
@@ -1649,7 +1649,7 @@ await client.construe.listCodesInACodeSystem("ICD-10-CM", {
|
|
|
1649
1649
|
<dl>
|
|
1650
1650
|
<dd>
|
|
1651
1651
|
|
|
1652
|
-
**request:** `phenoml.construe.
|
|
1652
|
+
**request:** `phenoml.construe.ListCodesRequest`
|
|
1653
1653
|
|
|
1654
1654
|
</dd>
|
|
1655
1655
|
</dl>
|
|
@@ -1669,7 +1669,7 @@ await client.construe.listCodesInACodeSystem("ICD-10-CM", {
|
|
|
1669
1669
|
</dl>
|
|
1670
1670
|
</details>
|
|
1671
1671
|
|
|
1672
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1672
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">getCode</a>(codesystem, codeID, { ...params }) -> phenoml.GetCodeResponse</code></summary>
|
|
1673
1673
|
<dl>
|
|
1674
1674
|
<dd>
|
|
1675
1675
|
|
|
@@ -1698,7 +1698,7 @@ Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
|
|
|
1698
1698
|
<dd>
|
|
1699
1699
|
|
|
1700
1700
|
```typescript
|
|
1701
|
-
await client.construe.
|
|
1701
|
+
await client.construe.getCode("ICD-10-CM", "E1165", {
|
|
1702
1702
|
version: "version"
|
|
1703
1703
|
});
|
|
1704
1704
|
|
|
@@ -1735,7 +1735,7 @@ cosmetic dot (use "E1165", not "E11.65").
|
|
|
1735
1735
|
<dl>
|
|
1736
1736
|
<dd>
|
|
1737
1737
|
|
|
1738
|
-
**request:** `phenoml.construe.
|
|
1738
|
+
**request:** `phenoml.construe.GetCodeRequest`
|
|
1739
1739
|
|
|
1740
1740
|
</dd>
|
|
1741
1741
|
</dl>
|
|
@@ -1755,7 +1755,7 @@ cosmetic dot (use "E1165", not "E11.65").
|
|
|
1755
1755
|
</dl>
|
|
1756
1756
|
</details>
|
|
1757
1757
|
|
|
1758
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1758
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">searchSemantic</a>(codesystem, { ...params }) -> phenoml.SemanticSearchResponse</code></summary>
|
|
1759
1759
|
<dl>
|
|
1760
1760
|
<dd>
|
|
1761
1761
|
|
|
@@ -1800,7 +1800,7 @@ Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
|
|
|
1800
1800
|
<dd>
|
|
1801
1801
|
|
|
1802
1802
|
```typescript
|
|
1803
|
-
await client.construe.
|
|
1803
|
+
await client.construe.searchSemantic("ICD-10-CM", {
|
|
1804
1804
|
text: "patient has trouble breathing at night and wakes up gasping",
|
|
1805
1805
|
version: "version",
|
|
1806
1806
|
limit: 1
|
|
@@ -1828,7 +1828,7 @@ await client.construe.semanticSearchEmbeddingBased("ICD-10-CM", {
|
|
|
1828
1828
|
<dl>
|
|
1829
1829
|
<dd>
|
|
1830
1830
|
|
|
1831
|
-
**request:** `phenoml.construe.
|
|
1831
|
+
**request:** `phenoml.construe.SearchSemanticRequest`
|
|
1832
1832
|
|
|
1833
1833
|
</dd>
|
|
1834
1834
|
</dl>
|
|
@@ -1848,7 +1848,7 @@ await client.construe.semanticSearchEmbeddingBased("ICD-10-CM", {
|
|
|
1848
1848
|
</dl>
|
|
1849
1849
|
</details>
|
|
1850
1850
|
|
|
1851
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1851
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">submitFeedback</a>({ ...params }) -> phenoml.FeedbackResponse</code></summary>
|
|
1852
1852
|
<dl>
|
|
1853
1853
|
<dd>
|
|
1854
1854
|
|
|
@@ -1876,7 +1876,7 @@ Feedback includes the full extraction result received and the result the user ex
|
|
|
1876
1876
|
<dd>
|
|
1877
1877
|
|
|
1878
1878
|
```typescript
|
|
1879
|
-
await client.construe.
|
|
1879
|
+
await client.construe.submitFeedback({
|
|
1880
1880
|
text: "Patient has type 2 diabetes with hyperglycemia",
|
|
1881
1881
|
received_result: {
|
|
1882
1882
|
system: {
|
|
@@ -1937,7 +1937,7 @@ await client.construe.submitFeedbackOnExtractionResults({
|
|
|
1937
1937
|
</dl>
|
|
1938
1938
|
</details>
|
|
1939
1939
|
|
|
1940
|
-
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">
|
|
1940
|
+
<details><summary><code>client.construe.<a href="/src/api/resources/construe/client/Client.ts">searchText</a>(codesystem, { ...params }) -> phenoml.TextSearchResponse</code></summary>
|
|
1941
1941
|
<dl>
|
|
1942
1942
|
<dd>
|
|
1943
1943
|
|
|
@@ -1987,7 +1987,7 @@ Usage of CPT is subject to AMA requirements: see PhenoML Terms of Service.
|
|
|
1987
1987
|
<dd>
|
|
1988
1988
|
|
|
1989
1989
|
```typescript
|
|
1990
|
-
await client.construe.
|
|
1990
|
+
await client.construe.searchText("ICD-10-CM", {
|
|
1991
1991
|
q: "E11.65",
|
|
1992
1992
|
version: "version",
|
|
1993
1993
|
limit: 1
|
|
@@ -2015,7 +2015,7 @@ await client.construe.terminologyServerTextSearch("ICD-10-CM", {
|
|
|
2015
2015
|
<dl>
|
|
2016
2016
|
<dd>
|
|
2017
2017
|
|
|
2018
|
-
**request:** `phenoml.construe.
|
|
2018
|
+
**request:** `phenoml.construe.SearchTextRequest`
|
|
2019
2019
|
|
|
2020
2020
|
</dd>
|
|
2021
2021
|
</dl>
|
|
@@ -2036,7 +2036,7 @@ await client.construe.terminologyServerTextSearch("ICD-10-CM", {
|
|
|
2036
2036
|
</details>
|
|
2037
2037
|
|
|
2038
2038
|
## Fhir
|
|
2039
|
-
<details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">search</a>(fhir_provider_id, fhir_path, { ...params }) -> phenoml.
|
|
2039
|
+
<details><summary><code>client.fhir.<a href="/src/api/resources/fhir/client/Client.ts">search</a>(fhir_provider_id, fhir_path, { ...params }) -> phenoml.SearchResponse</code></summary>
|
|
2040
2040
|
<dl>
|
|
2041
2041
|
<dd>
|
|
2042
2042
|
|
|
@@ -2110,7 +2110,7 @@ Examples:
|
|
|
2110
2110
|
<dl>
|
|
2111
2111
|
<dd>
|
|
2112
2112
|
|
|
2113
|
-
**request:** `phenoml.fhir.
|
|
2113
|
+
**request:** `phenoml.fhir.SearchRequest`
|
|
2114
2114
|
|
|
2115
2115
|
</dd>
|
|
2116
2116
|
</dl>
|
|
@@ -2207,7 +2207,7 @@ Examples:
|
|
|
2207
2207
|
<dl>
|
|
2208
2208
|
<dd>
|
|
2209
2209
|
|
|
2210
|
-
**request:** `phenoml.fhir.
|
|
2210
|
+
**request:** `phenoml.fhir.CreateRequest`
|
|
2211
2211
|
|
|
2212
2212
|
</dd>
|
|
2213
2213
|
</dl>
|
|
@@ -2305,7 +2305,7 @@ Examples:
|
|
|
2305
2305
|
<dl>
|
|
2306
2306
|
<dd>
|
|
2307
2307
|
|
|
2308
|
-
**request:** `phenoml.fhir.
|
|
2308
|
+
**request:** `phenoml.fhir.UpsertRequest`
|
|
2309
2309
|
|
|
2310
2310
|
</dd>
|
|
2311
2311
|
</dl>
|
|
@@ -2399,7 +2399,7 @@ Examples:
|
|
|
2399
2399
|
<dl>
|
|
2400
2400
|
<dd>
|
|
2401
2401
|
|
|
2402
|
-
**request:** `phenoml.fhir.
|
|
2402
|
+
**request:** `phenoml.fhir.DeleteRequest`
|
|
2403
2403
|
|
|
2404
2404
|
</dd>
|
|
2405
2405
|
</dl>
|
|
@@ -2503,7 +2503,7 @@ Examples:
|
|
|
2503
2503
|
<dl>
|
|
2504
2504
|
<dd>
|
|
2505
2505
|
|
|
2506
|
-
**request:** `phenoml.fhir.
|
|
2506
|
+
**request:** `phenoml.fhir.PatchRequest`
|
|
2507
2507
|
|
|
2508
2508
|
</dd>
|
|
2509
2509
|
</dl>
|
|
@@ -2617,7 +2617,7 @@ The ID of the FHIR provider to use. Can be either:
|
|
|
2617
2617
|
<dl>
|
|
2618
2618
|
<dd>
|
|
2619
2619
|
|
|
2620
|
-
**request:** `phenoml.fhir.
|
|
2620
|
+
**request:** `phenoml.fhir.ExecuteBundleRequest`
|
|
2621
2621
|
|
|
2622
2622
|
</dd>
|
|
2623
2623
|
</dl>
|
|
@@ -2837,7 +2837,7 @@ await client.fhirProvider.get("fhir_provider_id");
|
|
|
2837
2837
|
</dl>
|
|
2838
2838
|
</details>
|
|
2839
2839
|
|
|
2840
|
-
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">delete</a>(fhir_provider_id) -> phenoml.
|
|
2840
|
+
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">delete</a>(fhir_provider_id) -> phenoml.DeleteResponse</code></summary>
|
|
2841
2841
|
<dl>
|
|
2842
2842
|
<dd>
|
|
2843
2843
|
|
|
@@ -3059,7 +3059,7 @@ await client.fhirProvider.setActiveAuthConfig("1716d214-de93-43a4-aa6b-a878d864e
|
|
|
3059
3059
|
</dl>
|
|
3060
3060
|
</details>
|
|
3061
3061
|
|
|
3062
|
-
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">removeAuthConfig</a>(fhir_provider_id, { ...params }) -> phenoml.
|
|
3062
|
+
<details><summary><code>client.fhirProvider.<a href="/src/api/resources/fhirProvider/client/Client.ts">removeAuthConfig</a>(fhir_provider_id, { ...params }) -> phenoml.RemoveAuthConfigResponse</code></summary>
|
|
3063
3063
|
<dl>
|
|
3064
3064
|
<dd>
|
|
3065
3065
|
|
|
@@ -3347,7 +3347,7 @@ await client.lang2Fhir.search({
|
|
|
3347
3347
|
</dl>
|
|
3348
3348
|
</details>
|
|
3349
3349
|
|
|
3350
|
-
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">uploadProfile</a>({ ...params }) -> phenoml.
|
|
3350
|
+
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">uploadProfile</a>({ ...params }) -> phenoml.UploadProfileResponse</code></summary>
|
|
3351
3351
|
<dl>
|
|
3352
3352
|
<dd>
|
|
3353
3353
|
|
|
@@ -3492,7 +3492,7 @@ await client.lang2Fhir.document({
|
|
|
3492
3492
|
</dl>
|
|
3493
3493
|
</details>
|
|
3494
3494
|
|
|
3495
|
-
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">
|
|
3495
|
+
<details><summary><code>client.lang2Fhir.<a href="/src/api/resources/lang2Fhir/client/Client.ts">documentMulti</a>({ ...params }) -> phenoml.DocumentMultiResponse</code></summary>
|
|
3496
3496
|
<dl>
|
|
3497
3497
|
<dd>
|
|
3498
3498
|
|
|
@@ -3524,7 +3524,7 @@ Resources are linked with proper references (e.g., Conditions reference the Pati
|
|
|
3524
3524
|
<dd>
|
|
3525
3525
|
|
|
3526
3526
|
```typescript
|
|
3527
|
-
await client.lang2Fhir.
|
|
3527
|
+
await client.lang2Fhir.documentMulti({
|
|
3528
3528
|
version: "R4",
|
|
3529
3529
|
content: "JVBERi0xLjQKJeLjz9MK...(base64-encoded PDF or image bytes)",
|
|
3530
3530
|
provider: "medplum"
|
|
@@ -3565,7 +3565,7 @@ await client.lang2Fhir.extractMultipleFhirResourcesFromADocument({
|
|
|
3565
3565
|
</details>
|
|
3566
3566
|
|
|
3567
3567
|
## Summary
|
|
3568
|
-
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">
|
|
3568
|
+
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">create</a>({ ...params }) -> phenoml.CreateSummaryResponse</code></summary>
|
|
3569
3569
|
<dl>
|
|
3570
3570
|
<dd>
|
|
3571
3571
|
|
|
@@ -3577,7 +3577,10 @@ await client.lang2Fhir.extractMultipleFhirResourcesFromADocument({
|
|
|
3577
3577
|
<dl>
|
|
3578
3578
|
<dd>
|
|
3579
3579
|
|
|
3580
|
-
|
|
3580
|
+
Creates a summary from FHIR resources using one of three modes:
|
|
3581
|
+
- **narrative**: Uses a template to substitute FHIR data into placeholders (requires template_id)
|
|
3582
|
+
- **flatten**: Flattens FHIR resources into a searchable format for RAG/search (no template needed)
|
|
3583
|
+
- **ips**: Generates an International Patient Summary (IPS) narrative per ISO 27269/HL7 FHIR IPS IG. Requires a Bundle with exactly one Patient resource (returns 400 error if no Patient or multiple Patients are present). Automatically filters resources to those referencing the patient and generates sections for allergies, medications, problems, immunizations, procedures, and vital signs.
|
|
3581
3584
|
</dd>
|
|
3582
3585
|
</dl>
|
|
3583
3586
|
</dd>
|
|
@@ -3592,7 +3595,40 @@ Retrieves all summary templates for the authenticated user
|
|
|
3592
3595
|
<dd>
|
|
3593
3596
|
|
|
3594
3597
|
```typescript
|
|
3595
|
-
await client.summary.
|
|
3598
|
+
await client.summary.create({
|
|
3599
|
+
mode: "narrative",
|
|
3600
|
+
template_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
3601
|
+
fhir_resources: {
|
|
3602
|
+
"resourceType": "Bundle",
|
|
3603
|
+
"type": "collection",
|
|
3604
|
+
"entry": [
|
|
3605
|
+
{
|
|
3606
|
+
"resource": {
|
|
3607
|
+
"resourceType": "Patient",
|
|
3608
|
+
"name": [
|
|
3609
|
+
{
|
|
3610
|
+
"given": [
|
|
3611
|
+
"John"
|
|
3612
|
+
],
|
|
3613
|
+
"family": "Doe"
|
|
3614
|
+
}
|
|
3615
|
+
],
|
|
3616
|
+
"gender": "male",
|
|
3617
|
+
"birthDate": "1979-03-15"
|
|
3618
|
+
}
|
|
3619
|
+
},
|
|
3620
|
+
{
|
|
3621
|
+
"resource": {
|
|
3622
|
+
"resourceType": "Condition",
|
|
3623
|
+
"code": {
|
|
3624
|
+
"text": "Type 2 Diabetes Mellitus"
|
|
3625
|
+
},
|
|
3626
|
+
"onsetDateTime": "2024-01-15"
|
|
3627
|
+
}
|
|
3628
|
+
}
|
|
3629
|
+
]
|
|
3630
|
+
}
|
|
3631
|
+
});
|
|
3596
3632
|
|
|
3597
3633
|
```
|
|
3598
3634
|
</dd>
|
|
@@ -3608,6 +3644,14 @@ await client.summary.listTemplates();
|
|
|
3608
3644
|
<dl>
|
|
3609
3645
|
<dd>
|
|
3610
3646
|
|
|
3647
|
+
**request:** `phenoml.summary.CreateSummaryRequest`
|
|
3648
|
+
|
|
3649
|
+
</dd>
|
|
3650
|
+
</dl>
|
|
3651
|
+
|
|
3652
|
+
<dl>
|
|
3653
|
+
<dd>
|
|
3654
|
+
|
|
3611
3655
|
**requestOptions:** `SummaryClient.RequestOptions`
|
|
3612
3656
|
|
|
3613
3657
|
</dd>
|
|
@@ -3620,7 +3664,8 @@ await client.summary.listTemplates();
|
|
|
3620
3664
|
</dl>
|
|
3621
3665
|
</details>
|
|
3622
3666
|
|
|
3623
|
-
|
|
3667
|
+
## Summary Templates
|
|
3668
|
+
<details><summary><code>client.summary.templates.<a href="/src/api/resources/summary/resources/templates/client/Client.ts">list</a>() -> phenoml.TemplatesListResponse</code></summary>
|
|
3624
3669
|
<dl>
|
|
3625
3670
|
<dd>
|
|
3626
3671
|
|
|
@@ -3632,7 +3677,7 @@ await client.summary.listTemplates();
|
|
|
3632
3677
|
<dl>
|
|
3633
3678
|
<dd>
|
|
3634
3679
|
|
|
3635
|
-
|
|
3680
|
+
Retrieves all summary templates for the authenticated user
|
|
3636
3681
|
</dd>
|
|
3637
3682
|
</dl>
|
|
3638
3683
|
</dd>
|
|
@@ -3647,12 +3692,7 @@ Creates a summary template from an example using LLM function calling
|
|
|
3647
3692
|
<dd>
|
|
3648
3693
|
|
|
3649
3694
|
```typescript
|
|
3650
|
-
await client.summary.
|
|
3651
|
-
name: "Discharge Summary",
|
|
3652
|
-
example_summary: "Patient John Doe, age 45, was admitted on 2024-01-10 with Type 2 Diabetes. Discharged on 2024-01-15 with Metformin 500mg BID.",
|
|
3653
|
-
target_resources: ["Patient", "Condition", "MedicationRequest"],
|
|
3654
|
-
mode: "narrative"
|
|
3655
|
-
});
|
|
3695
|
+
await client.summary.templates.list();
|
|
3656
3696
|
|
|
3657
3697
|
```
|
|
3658
3698
|
</dd>
|
|
@@ -3668,15 +3708,7 @@ await client.summary.createTemplate({
|
|
|
3668
3708
|
<dl>
|
|
3669
3709
|
<dd>
|
|
3670
3710
|
|
|
3671
|
-
**
|
|
3672
|
-
|
|
3673
|
-
</dd>
|
|
3674
|
-
</dl>
|
|
3675
|
-
|
|
3676
|
-
<dl>
|
|
3677
|
-
<dd>
|
|
3678
|
-
|
|
3679
|
-
**requestOptions:** `SummaryClient.RequestOptions`
|
|
3711
|
+
**requestOptions:** `TemplatesClient.RequestOptions`
|
|
3680
3712
|
|
|
3681
3713
|
</dd>
|
|
3682
3714
|
</dl>
|
|
@@ -3688,7 +3720,7 @@ await client.summary.createTemplate({
|
|
|
3688
3720
|
</dl>
|
|
3689
3721
|
</details>
|
|
3690
3722
|
|
|
3691
|
-
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">
|
|
3723
|
+
<details><summary><code>client.summary.templates.<a href="/src/api/resources/summary/resources/templates/client/Client.ts">create</a>({ ...params }) -> phenoml.CreateSummaryTemplateResponse</code></summary>
|
|
3692
3724
|
<dl>
|
|
3693
3725
|
<dd>
|
|
3694
3726
|
|
|
@@ -3700,7 +3732,7 @@ await client.summary.createTemplate({
|
|
|
3700
3732
|
<dl>
|
|
3701
3733
|
<dd>
|
|
3702
3734
|
|
|
3703
|
-
|
|
3735
|
+
Creates a summary template from an example using LLM function calling
|
|
3704
3736
|
</dd>
|
|
3705
3737
|
</dl>
|
|
3706
3738
|
</dd>
|
|
@@ -3715,7 +3747,12 @@ Retrieves a specific summary template
|
|
|
3715
3747
|
<dd>
|
|
3716
3748
|
|
|
3717
3749
|
```typescript
|
|
3718
|
-
await client.summary.
|
|
3750
|
+
await client.summary.templates.create({
|
|
3751
|
+
name: "Discharge Summary",
|
|
3752
|
+
example_summary: "Patient John Doe, age 45, was admitted on 2024-01-10 with Type 2 Diabetes. Discharged on 2024-01-15 with Metformin 500mg BID.",
|
|
3753
|
+
target_resources: ["Patient", "Condition", "MedicationRequest"],
|
|
3754
|
+
mode: "narrative"
|
|
3755
|
+
});
|
|
3719
3756
|
|
|
3720
3757
|
```
|
|
3721
3758
|
</dd>
|
|
@@ -3731,7 +3768,7 @@ await client.summary.getTemplate("id");
|
|
|
3731
3768
|
<dl>
|
|
3732
3769
|
<dd>
|
|
3733
3770
|
|
|
3734
|
-
**
|
|
3771
|
+
**request:** `phenoml.summary.CreateSummaryTemplateRequest`
|
|
3735
3772
|
|
|
3736
3773
|
</dd>
|
|
3737
3774
|
</dl>
|
|
@@ -3739,7 +3776,7 @@ await client.summary.getTemplate("id");
|
|
|
3739
3776
|
<dl>
|
|
3740
3777
|
<dd>
|
|
3741
3778
|
|
|
3742
|
-
**requestOptions:** `
|
|
3779
|
+
**requestOptions:** `TemplatesClient.RequestOptions`
|
|
3743
3780
|
|
|
3744
3781
|
</dd>
|
|
3745
3782
|
</dl>
|
|
@@ -3751,7 +3788,7 @@ await client.summary.getTemplate("id");
|
|
|
3751
3788
|
</dl>
|
|
3752
3789
|
</details>
|
|
3753
3790
|
|
|
3754
|
-
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">
|
|
3791
|
+
<details><summary><code>client.summary.templates.<a href="/src/api/resources/summary/resources/templates/client/Client.ts">get</a>(id) -> phenoml.TemplatesGetResponse</code></summary>
|
|
3755
3792
|
<dl>
|
|
3756
3793
|
<dd>
|
|
3757
3794
|
|
|
@@ -3763,7 +3800,7 @@ await client.summary.getTemplate("id");
|
|
|
3763
3800
|
<dl>
|
|
3764
3801
|
<dd>
|
|
3765
3802
|
|
|
3766
|
-
|
|
3803
|
+
Retrieves a specific summary template
|
|
3767
3804
|
</dd>
|
|
3768
3805
|
</dl>
|
|
3769
3806
|
</dd>
|
|
@@ -3778,12 +3815,7 @@ Updates an existing summary template
|
|
|
3778
3815
|
<dd>
|
|
3779
3816
|
|
|
3780
3817
|
```typescript
|
|
3781
|
-
await client.summary.
|
|
3782
|
-
name: "Discharge Summary",
|
|
3783
|
-
template: "Patient {{Patient.name[0].text}} was discharged on {{Encounter[0].period.end}} with {{MedicationRequest[0].medicationCodeableConcept.coding[0].display}} {{MedicationRequest[0].dosageInstruction[0].text}}.",
|
|
3784
|
-
target_resources: ["Patient", "Encounter", "MedicationRequest"],
|
|
3785
|
-
mode: "narrative"
|
|
3786
|
-
});
|
|
3818
|
+
await client.summary.templates.get("id");
|
|
3787
3819
|
|
|
3788
3820
|
```
|
|
3789
3821
|
</dd>
|
|
@@ -3807,15 +3839,7 @@ await client.summary.updateTemplate("id", {
|
|
|
3807
3839
|
<dl>
|
|
3808
3840
|
<dd>
|
|
3809
3841
|
|
|
3810
|
-
**
|
|
3811
|
-
|
|
3812
|
-
</dd>
|
|
3813
|
-
</dl>
|
|
3814
|
-
|
|
3815
|
-
<dl>
|
|
3816
|
-
<dd>
|
|
3817
|
-
|
|
3818
|
-
**requestOptions:** `SummaryClient.RequestOptions`
|
|
3842
|
+
**requestOptions:** `TemplatesClient.RequestOptions`
|
|
3819
3843
|
|
|
3820
3844
|
</dd>
|
|
3821
3845
|
</dl>
|
|
@@ -3827,7 +3851,7 @@ await client.summary.updateTemplate("id", {
|
|
|
3827
3851
|
</dl>
|
|
3828
3852
|
</details>
|
|
3829
3853
|
|
|
3830
|
-
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">
|
|
3854
|
+
<details><summary><code>client.summary.templates.<a href="/src/api/resources/summary/resources/templates/client/Client.ts">update</a>(id, { ...params }) -> phenoml.TemplatesUpdateResponse</code></summary>
|
|
3831
3855
|
<dl>
|
|
3832
3856
|
<dd>
|
|
3833
3857
|
|
|
@@ -3839,7 +3863,7 @@ await client.summary.updateTemplate("id", {
|
|
|
3839
3863
|
<dl>
|
|
3840
3864
|
<dd>
|
|
3841
3865
|
|
|
3842
|
-
|
|
3866
|
+
Updates an existing summary template
|
|
3843
3867
|
</dd>
|
|
3844
3868
|
</dl>
|
|
3845
3869
|
</dd>
|
|
@@ -3854,7 +3878,12 @@ Deletes a summary template
|
|
|
3854
3878
|
<dd>
|
|
3855
3879
|
|
|
3856
3880
|
```typescript
|
|
3857
|
-
await client.summary.
|
|
3881
|
+
await client.summary.templates.update("id", {
|
|
3882
|
+
name: "Discharge Summary",
|
|
3883
|
+
template: "Patient {{Patient.name[0].text}} was discharged on {{Encounter[0].period.end}} with {{MedicationRequest[0].medicationCodeableConcept.coding[0].display}} {{MedicationRequest[0].dosageInstruction[0].text}}.",
|
|
3884
|
+
target_resources: ["Patient", "Encounter", "MedicationRequest"],
|
|
3885
|
+
mode: "narrative"
|
|
3886
|
+
});
|
|
3858
3887
|
|
|
3859
3888
|
```
|
|
3860
3889
|
</dd>
|
|
@@ -3878,7 +3907,15 @@ await client.summary.deleteTemplate("id");
|
|
|
3878
3907
|
<dl>
|
|
3879
3908
|
<dd>
|
|
3880
3909
|
|
|
3881
|
-
**
|
|
3910
|
+
**request:** `phenoml.summary.UpdateSummaryTemplateRequest`
|
|
3911
|
+
|
|
3912
|
+
</dd>
|
|
3913
|
+
</dl>
|
|
3914
|
+
|
|
3915
|
+
<dl>
|
|
3916
|
+
<dd>
|
|
3917
|
+
|
|
3918
|
+
**requestOptions:** `TemplatesClient.RequestOptions`
|
|
3882
3919
|
|
|
3883
3920
|
</dd>
|
|
3884
3921
|
</dl>
|
|
@@ -3890,7 +3927,7 @@ await client.summary.deleteTemplate("id");
|
|
|
3890
3927
|
</dl>
|
|
3891
3928
|
</details>
|
|
3892
3929
|
|
|
3893
|
-
<details><summary><code>client.summary.<a href="/src/api/resources/summary/client/Client.ts">
|
|
3930
|
+
<details><summary><code>client.summary.templates.<a href="/src/api/resources/summary/resources/templates/client/Client.ts">delete</a>(id) -> phenoml.TemplatesDeleteResponse</code></summary>
|
|
3894
3931
|
<dl>
|
|
3895
3932
|
<dd>
|
|
3896
3933
|
|
|
@@ -3902,10 +3939,7 @@ await client.summary.deleteTemplate("id");
|
|
|
3902
3939
|
<dl>
|
|
3903
3940
|
<dd>
|
|
3904
3941
|
|
|
3905
|
-
|
|
3906
|
-
- **narrative**: Uses a template to substitute FHIR data into placeholders (requires template_id)
|
|
3907
|
-
- **flatten**: Flattens FHIR resources into a searchable format for RAG/search (no template needed)
|
|
3908
|
-
- **ips**: Generates an International Patient Summary (IPS) narrative per ISO 27269/HL7 FHIR IPS IG. Requires a Bundle with exactly one Patient resource (returns 400 error if no Patient or multiple Patients are present). Automatically filters resources to those referencing the patient and generates sections for allergies, medications, problems, immunizations, procedures, and vital signs.
|
|
3942
|
+
Deletes a summary template
|
|
3909
3943
|
</dd>
|
|
3910
3944
|
</dl>
|
|
3911
3945
|
</dd>
|
|
@@ -3920,40 +3954,7 @@ Creates a summary from FHIR resources using one of three modes:
|
|
|
3920
3954
|
<dd>
|
|
3921
3955
|
|
|
3922
3956
|
```typescript
|
|
3923
|
-
await client.summary.
|
|
3924
|
-
mode: "narrative",
|
|
3925
|
-
template_id: "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
|
|
3926
|
-
fhir_resources: {
|
|
3927
|
-
"resourceType": "Bundle",
|
|
3928
|
-
"type": "collection",
|
|
3929
|
-
"entry": [
|
|
3930
|
-
{
|
|
3931
|
-
"resource": {
|
|
3932
|
-
"resourceType": "Patient",
|
|
3933
|
-
"name": [
|
|
3934
|
-
{
|
|
3935
|
-
"given": [
|
|
3936
|
-
"John"
|
|
3937
|
-
],
|
|
3938
|
-
"family": "Doe"
|
|
3939
|
-
}
|
|
3940
|
-
],
|
|
3941
|
-
"gender": "male",
|
|
3942
|
-
"birthDate": "1979-03-15"
|
|
3943
|
-
}
|
|
3944
|
-
},
|
|
3945
|
-
{
|
|
3946
|
-
"resource": {
|
|
3947
|
-
"resourceType": "Condition",
|
|
3948
|
-
"code": {
|
|
3949
|
-
"text": "Type 2 Diabetes Mellitus"
|
|
3950
|
-
},
|
|
3951
|
-
"onsetDateTime": "2024-01-15"
|
|
3952
|
-
}
|
|
3953
|
-
}
|
|
3954
|
-
]
|
|
3955
|
-
}
|
|
3956
|
-
});
|
|
3957
|
+
await client.summary.templates.delete("id");
|
|
3957
3958
|
|
|
3958
3959
|
```
|
|
3959
3960
|
</dd>
|
|
@@ -3969,7 +3970,7 @@ await client.summary.create({
|
|
|
3969
3970
|
<dl>
|
|
3970
3971
|
<dd>
|
|
3971
3972
|
|
|
3972
|
-
**
|
|
3973
|
+
**id:** `string` — Template ID
|
|
3973
3974
|
|
|
3974
3975
|
</dd>
|
|
3975
3976
|
</dl>
|
|
@@ -3977,7 +3978,7 @@ await client.summary.create({
|
|
|
3977
3978
|
<dl>
|
|
3978
3979
|
<dd>
|
|
3979
3980
|
|
|
3980
|
-
**requestOptions:** `
|
|
3981
|
+
**requestOptions:** `TemplatesClient.RequestOptions`
|
|
3981
3982
|
|
|
3982
3983
|
</dd>
|
|
3983
3984
|
</dl>
|
|
@@ -4703,81 +4704,6 @@ await client.tools.mcpServer.tools.delete("mcp_server_tool_id");
|
|
|
4703
4704
|
</dl>
|
|
4704
4705
|
|
|
4705
4706
|
|
|
4706
|
-
</dd>
|
|
4707
|
-
</dl>
|
|
4708
|
-
</details>
|
|
4709
|
-
|
|
4710
|
-
<details><summary><code>client.tools.mcpServer.tools.<a href="/src/api/resources/tools/resources/mcpServer/resources/tools/client/Client.ts">call</a>(mcp_server_tool_id, { ...params }) -> phenoml.McpServerToolCallResponse</code></summary>
|
|
4711
|
-
<dl>
|
|
4712
|
-
<dd>
|
|
4713
|
-
|
|
4714
|
-
#### 📝 Description
|
|
4715
|
-
|
|
4716
|
-
<dl>
|
|
4717
|
-
<dd>
|
|
4718
|
-
|
|
4719
|
-
<dl>
|
|
4720
|
-
<dd>
|
|
4721
|
-
|
|
4722
|
-
Calls a MCP server tool
|
|
4723
|
-
</dd>
|
|
4724
|
-
</dl>
|
|
4725
|
-
</dd>
|
|
4726
|
-
</dl>
|
|
4727
|
-
|
|
4728
|
-
#### 🔌 Usage
|
|
4729
|
-
|
|
4730
|
-
<dl>
|
|
4731
|
-
<dd>
|
|
4732
|
-
|
|
4733
|
-
<dl>
|
|
4734
|
-
<dd>
|
|
4735
|
-
|
|
4736
|
-
```typescript
|
|
4737
|
-
await client.tools.mcpServer.tools.call("mcp_server_tool_id", {
|
|
4738
|
-
arguments: {
|
|
4739
|
-
"title": "PhenoML Agent API"
|
|
4740
|
-
}
|
|
4741
|
-
});
|
|
4742
|
-
|
|
4743
|
-
```
|
|
4744
|
-
</dd>
|
|
4745
|
-
</dl>
|
|
4746
|
-
</dd>
|
|
4747
|
-
</dl>
|
|
4748
|
-
|
|
4749
|
-
#### ⚙️ Parameters
|
|
4750
|
-
|
|
4751
|
-
<dl>
|
|
4752
|
-
<dd>
|
|
4753
|
-
|
|
4754
|
-
<dl>
|
|
4755
|
-
<dd>
|
|
4756
|
-
|
|
4757
|
-
**mcp_server_tool_id:** `string` — ID of the MCP server tool to call
|
|
4758
|
-
|
|
4759
|
-
</dd>
|
|
4760
|
-
</dl>
|
|
4761
|
-
|
|
4762
|
-
<dl>
|
|
4763
|
-
<dd>
|
|
4764
|
-
|
|
4765
|
-
**request:** `phenoml.tools.mcpServer.McpServerToolCallRequest`
|
|
4766
|
-
|
|
4767
|
-
</dd>
|
|
4768
|
-
</dl>
|
|
4769
|
-
|
|
4770
|
-
<dl>
|
|
4771
|
-
<dd>
|
|
4772
|
-
|
|
4773
|
-
**requestOptions:** `ToolsClient.RequestOptions`
|
|
4774
|
-
|
|
4775
|
-
</dd>
|
|
4776
|
-
</dl>
|
|
4777
|
-
</dd>
|
|
4778
|
-
</dl>
|
|
4779
|
-
|
|
4780
|
-
|
|
4781
4707
|
</dd>
|
|
4782
4708
|
</dl>
|
|
4783
4709
|
</details>
|
|
@@ -4828,7 +4754,7 @@ await client.workflows.list({
|
|
|
4828
4754
|
<dl>
|
|
4829
4755
|
<dd>
|
|
4830
4756
|
|
|
4831
|
-
**request:** `phenoml.workflows.
|
|
4757
|
+
**request:** `phenoml.workflows.ListRequest`
|
|
4832
4758
|
|
|
4833
4759
|
</dd>
|
|
4834
4760
|
</dl>
|
|
@@ -4922,7 +4848,7 @@ await client.workflows.create({
|
|
|
4922
4848
|
</dl>
|
|
4923
4849
|
</details>
|
|
4924
4850
|
|
|
4925
|
-
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">get</a>(id, { ...params }) -> phenoml.
|
|
4851
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">get</a>(id, { ...params }) -> phenoml.GetResponse</code></summary>
|
|
4926
4852
|
<dl>
|
|
4927
4853
|
<dd>
|
|
4928
4854
|
|
|
@@ -4975,7 +4901,7 @@ await client.workflows.get("id", {
|
|
|
4975
4901
|
<dl>
|
|
4976
4902
|
<dd>
|
|
4977
4903
|
|
|
4978
|
-
**request:** `phenoml.workflows.
|
|
4904
|
+
**request:** `phenoml.workflows.GetRequest`
|
|
4979
4905
|
|
|
4980
4906
|
</dd>
|
|
4981
4907
|
</dl>
|
|
@@ -4995,7 +4921,7 @@ await client.workflows.get("id", {
|
|
|
4995
4921
|
</dl>
|
|
4996
4922
|
</details>
|
|
4997
4923
|
|
|
4998
|
-
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">update</a>(id, { ...params }) -> phenoml.
|
|
4924
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">update</a>(id, { ...params }) -> phenoml.UpdateResponse</code></summary>
|
|
4999
4925
|
<dl>
|
|
5000
4926
|
<dd>
|
|
5001
4927
|
|
|
@@ -5077,7 +5003,7 @@ await client.workflows.update("id", {
|
|
|
5077
5003
|
</dl>
|
|
5078
5004
|
</details>
|
|
5079
5005
|
|
|
5080
|
-
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">delete</a>(id) -> phenoml.
|
|
5006
|
+
<details><summary><code>client.workflows.<a href="/src/api/resources/workflows/client/Client.ts">delete</a>(id) -> phenoml.DeleteResponse</code></summary>
|
|
5081
5007
|
<dl>
|
|
5082
5008
|
<dd>
|
|
5083
5009
|
|