phenoml 17.7.0 → 17.9.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.d.ts +12 -0
- package/dist/cjs/BaseClient.js +2 -2
- package/dist/cjs/Client.d.ts +6 -0
- package/dist/cjs/Client.js +20 -10
- package/dist/cjs/api/resources/agent/client/Client.js +4 -3
- package/dist/cjs/api/resources/agent/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/ConflictError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/agent/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/agent/resources/chat/client/Client.js +3 -2
- package/dist/cjs/api/resources/agent/resources/prompts/client/Client.js +4 -3
- package/dist/cjs/api/resources/authtoken/client/Client.js +2 -1
- package/dist/cjs/api/resources/authtoken/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/authtoken/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/authtoken/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/cohort/client/Client.js +2 -1
- package/dist/cjs/api/resources/cohort/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/cohort/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/cohort/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/construe/client/Client.js +2 -1
- package/dist/cjs/api/resources/construe/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/ConflictError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/FailedDependencyError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/NotImplementedError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/ServiceUnavailableError.js +1 -1
- package/dist/cjs/api/resources/construe/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/Client.js +2 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/requests/DeleteRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/requests/ExportRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codeSystems/client/requests/FindRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/Client.d.ts +47 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/Client.js +97 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/CodesListRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/ExtractRequest.d.ts +12 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/LookupRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/PhenoCrRequest.d.ts +16 -0
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/SearchSemanticRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/SearchTextRequest.d.ts +1 -1
- package/dist/cjs/api/resources/construe/resources/codes/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/construe/types/ExtractRequestSystem.d.ts +11 -8
- package/dist/cjs/api/resources/construe/types/PhenocrExtractRequestSystem.d.ts +6 -0
- package/dist/cjs/api/resources/construe/types/PhenocrExtractRequestSystem.js +3 -0
- package/dist/cjs/api/resources/construe/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/construe/types/index.js +1 -0
- package/dist/cjs/api/resources/fhir/client/Client.js +5 -4
- package/dist/cjs/api/resources/fhir2Omop/client/Client.js +2 -1
- package/dist/cjs/api/resources/fhir2Omop/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/fhir2Omop/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/fhir2Omop/errors/ServiceUnavailableError.js +1 -1
- package/dist/cjs/api/resources/fhir2Omop/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/fhir2Omop/types/CareSiteRow.d.ts +8 -0
- package/dist/cjs/api/resources/fhir2Omop/types/CareSiteRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ConditionOccurrenceRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/DeathRow.d.ts +9 -0
- package/dist/cjs/api/resources/fhir2Omop/types/DeathRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/DrugExposureRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/LocationRow.d.ts +14 -0
- package/dist/cjs/api/resources/fhir2Omop/types/LocationRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/MeasurementRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ObservationPeriodRow.d.ts +7 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ObservationPeriodRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ObservationRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/OmopTables.d.ts +5 -0
- package/dist/cjs/api/resources/fhir2Omop/types/PersonRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ProcedureOccurrenceRow.d.ts +1 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ProviderRow.d.ts +15 -0
- package/dist/cjs/api/resources/fhir2Omop/types/ProviderRow.js +3 -0
- package/dist/cjs/api/resources/fhir2Omop/types/VisitOccurrenceRow.d.ts +2 -0
- package/dist/cjs/api/resources/fhir2Omop/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/fhir2Omop/types/index.js +5 -0
- package/dist/cjs/api/resources/fhirProvider/client/Client.js +2 -1
- package/dist/cjs/api/resources/fhirProvider/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/fhirProvider/resources/authConfig/client/Client.js +4 -3
- package/dist/cjs/api/resources/implementationGuides/client/Client.d.ts +12 -0
- package/dist/cjs/api/resources/implementationGuides/client/Client.js +16 -0
- package/dist/cjs/api/resources/implementationGuides/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/implementationGuides/client/index.js +2 -0
- package/dist/cjs/api/resources/implementationGuides/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/ForbiddenError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/NotFoundError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/resources/implementationGuides/errors/index.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/errors/index.js +21 -0
- package/dist/cjs/api/resources/implementationGuides/exports.d.ts +3 -0
- package/dist/cjs/api/resources/implementationGuides/exports.js +22 -0
- package/dist/cjs/api/resources/implementationGuides/index.d.ts +4 -0
- package/dist/cjs/api/resources/implementationGuides/index.js +20 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/Client.d.ts +91 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/Client.js +316 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/index.js +17 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/requests/UpdateImplementationGuideRequest.d.ts +8 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/requests/UpdateImplementationGuideRequest.js +3 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/exports.d.ts +2 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/exports.js +21 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/index.d.ts +1 -0
- package/dist/cjs/api/resources/implementationGuides/resources/implementationGuides/index.js +17 -0
- package/dist/cjs/api/resources/implementationGuides/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/implementationGuides/resources/index.js +41 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideDetail.d.ts +5 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideDetail.js +3 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideListResponse.d.ts +4 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideListResponse.js +3 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideSummary.d.ts +15 -0
- package/dist/cjs/api/resources/implementationGuides/types/ImplementationGuideSummary.js +3 -0
- package/dist/cjs/api/resources/implementationGuides/types/index.d.ts +3 -0
- package/dist/cjs/api/resources/implementationGuides/types/index.js +19 -0
- package/dist/cjs/api/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/index.js +3 -1
- package/dist/cjs/api/resources/lang2Fhir/client/Client.d.ts +8 -0
- package/dist/cjs/api/resources/lang2Fhir/client/Client.js +15 -6
- package/dist/cjs/api/resources/lang2Fhir/client/requests/index.d.ts +0 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/ClientClosedRequestError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/errors/UnprocessableEntityError.js +1 -1
- package/dist/cjs/api/resources/lang2Fhir/types/CreateMultiResponse.d.ts +2 -0
- package/dist/cjs/api/resources/lang2Fhir/{client/requests → types}/ProfileUploadRequest.d.ts +2 -10
- package/dist/cjs/api/resources/lang2Fhir/types/ProfileUploadRequest.js +3 -0
- package/dist/cjs/api/resources/lang2Fhir/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/lang2Fhir/types/index.js +1 -0
- package/dist/cjs/api/resources/profiles/client/Client.d.ts +12 -0
- package/dist/cjs/api/resources/profiles/client/Client.js +16 -0
- package/dist/cjs/api/resources/profiles/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/client/index.js +2 -0
- package/dist/cjs/api/resources/profiles/errors/BadRequestError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/BadRequestError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/ForbiddenError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/ForbiddenError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/InternalServerError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/InternalServerError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/NotFoundError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/NotFoundError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/UnauthorizedError.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/UnauthorizedError.js +54 -0
- package/dist/cjs/api/resources/profiles/errors/index.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/errors/index.js +21 -0
- package/dist/cjs/api/resources/profiles/exports.d.ts +3 -0
- package/dist/cjs/api/resources/profiles/exports.js +22 -0
- package/dist/cjs/api/resources/profiles/index.d.ts +4 -0
- package/dist/cjs/api/resources/profiles/index.js +20 -0
- package/dist/cjs/api/resources/profiles/resources/index.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/resources/index.js +41 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/Client.d.ts +127 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/Client.js +397 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/index.js +17 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/requests/ListRequest.d.ts +10 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/requests/ListRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/requests/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/client/requests/index.js +2 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/exports.d.ts +2 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/exports.js +21 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/index.d.ts +1 -0
- package/dist/cjs/api/resources/profiles/resources/profiles/index.js +17 -0
- package/dist/cjs/api/resources/profiles/types/FhirResource.d.ts +4 -0
- package/dist/cjs/api/resources/profiles/types/FhirResource.js +3 -0
- package/dist/cjs/api/resources/profiles/types/ProfileGetResponse.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/types/ProfileGetResponse.js +3 -0
- package/dist/cjs/api/resources/profiles/types/ProfileListResponse.d.ts +4 -0
- package/dist/cjs/api/resources/profiles/types/ProfileListResponse.js +3 -0
- package/dist/cjs/api/resources/profiles/types/ProfileSummary.d.ts +26 -0
- package/dist/cjs/api/resources/profiles/types/ProfileSummary.js +12 -0
- package/dist/cjs/api/resources/profiles/types/ProfileUploadRequest.d.ts +7 -0
- package/dist/cjs/api/resources/profiles/types/ProfileUploadRequest.js +3 -0
- package/dist/cjs/api/resources/profiles/types/index.d.ts +5 -0
- package/dist/cjs/api/resources/profiles/types/index.js +21 -0
- package/dist/cjs/api/resources/summary/client/Client.js +2 -1
- package/dist/cjs/api/resources/summary/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/summary/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/summary/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/summary/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/summary/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/summary/resources/templates/client/Client.js +3 -2
- package/dist/cjs/api/resources/tools/client/Client.js +5 -4
- package/dist/cjs/api/resources/tools/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/tools/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/tools/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/tools/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/tools/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/tools/resources/mcpServers/client/Client.js +2 -1
- package/dist/cjs/api/resources/voice/errors/BadGatewayError.js +1 -1
- package/dist/cjs/api/resources/voice/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/voice/errors/ContentTooLargeError.js +1 -1
- package/dist/cjs/api/resources/voice/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/voice/errors/PaymentRequiredError.js +1 -1
- package/dist/cjs/api/resources/voice/errors/ServiceUnavailableError.js +1 -1
- package/dist/cjs/api/resources/voice/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/api/resources/workflows/client/Client.js +4 -3
- package/dist/cjs/api/resources/workflows/errors/BadRequestError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/ForbiddenError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/GatewayTimeoutError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/InternalServerError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/NotFoundError.js +1 -1
- package/dist/cjs/api/resources/workflows/errors/UnauthorizedError.js +1 -1
- package/dist/cjs/core/file/file.js +3 -0
- package/dist/cjs/core/requestBody.d.ts +12 -0
- package/dist/cjs/core/requestBody.js +26 -0
- package/dist/cjs/core/stream/Stream.d.ts +45 -1
- package/dist/cjs/core/stream/Stream.js +323 -84
- package/dist/cjs/core/stream/index.d.ts +1 -0
- package/dist/cjs/core/url/qs.js +2 -2
- package/dist/cjs/errors/phenomlError.d.ts +1 -0
- package/dist/cjs/errors/phenomlError.js +5 -1
- package/dist/cjs/errors/phenomlTimeoutError.d.ts +2 -2
- package/dist/cjs/errors/phenomlTimeoutError.js +40 -6
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +12 -0
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/Client.d.mts +6 -0
- package/dist/esm/Client.mjs +10 -0
- package/dist/esm/api/resources/agent/client/Client.mjs +4 -3
- package/dist/esm/api/resources/agent/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/ConflictError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/agent/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/agent/resources/chat/client/Client.mjs +3 -2
- package/dist/esm/api/resources/agent/resources/prompts/client/Client.mjs +4 -3
- package/dist/esm/api/resources/authtoken/client/Client.mjs +2 -1
- package/dist/esm/api/resources/authtoken/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/authtoken/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/authtoken/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/cohort/client/Client.mjs +2 -1
- package/dist/esm/api/resources/cohort/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/cohort/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/cohort/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/construe/client/Client.mjs +2 -1
- package/dist/esm/api/resources/construe/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/ConflictError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/FailedDependencyError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/NotImplementedError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/ServiceUnavailableError.mjs +1 -1
- package/dist/esm/api/resources/construe/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/Client.mjs +2 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/requests/DeleteRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/requests/ExportRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codeSystems/client/requests/FindRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/Client.d.mts +47 -0
- package/dist/esm/api/resources/construe/resources/codes/client/Client.mjs +97 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/CodesListRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/ExtractRequest.d.mts +12 -0
- package/dist/esm/api/resources/construe/resources/codes/client/requests/LookupRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/PhenoCrRequest.d.mts +16 -0
- package/dist/esm/api/resources/construe/resources/codes/client/requests/SearchSemanticRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/SearchTextRequest.d.mts +1 -1
- package/dist/esm/api/resources/construe/resources/codes/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/construe/types/ExtractRequestSystem.d.mts +11 -8
- package/dist/esm/api/resources/construe/types/PhenocrExtractRequestSystem.d.mts +6 -0
- package/dist/esm/api/resources/construe/types/PhenocrExtractRequestSystem.mjs +2 -0
- package/dist/esm/api/resources/construe/types/index.d.mts +1 -0
- package/dist/esm/api/resources/construe/types/index.mjs +1 -0
- package/dist/esm/api/resources/fhir/client/Client.mjs +5 -4
- package/dist/esm/api/resources/fhir2Omop/client/Client.mjs +2 -1
- package/dist/esm/api/resources/fhir2Omop/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/fhir2Omop/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/fhir2Omop/errors/ServiceUnavailableError.mjs +1 -1
- package/dist/esm/api/resources/fhir2Omop/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/fhir2Omop/types/CareSiteRow.d.mts +8 -0
- package/dist/esm/api/resources/fhir2Omop/types/CareSiteRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/ConditionOccurrenceRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/DeathRow.d.mts +9 -0
- package/dist/esm/api/resources/fhir2Omop/types/DeathRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/DrugExposureRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/LocationRow.d.mts +14 -0
- package/dist/esm/api/resources/fhir2Omop/types/LocationRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/MeasurementRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/ObservationPeriodRow.d.mts +7 -0
- package/dist/esm/api/resources/fhir2Omop/types/ObservationPeriodRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/ObservationRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/OmopTables.d.mts +5 -0
- package/dist/esm/api/resources/fhir2Omop/types/PersonRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/ProcedureOccurrenceRow.d.mts +1 -0
- package/dist/esm/api/resources/fhir2Omop/types/ProviderRow.d.mts +15 -0
- package/dist/esm/api/resources/fhir2Omop/types/ProviderRow.mjs +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/VisitOccurrenceRow.d.mts +2 -0
- package/dist/esm/api/resources/fhir2Omop/types/index.d.mts +5 -0
- package/dist/esm/api/resources/fhir2Omop/types/index.mjs +5 -0
- package/dist/esm/api/resources/fhirProvider/client/Client.mjs +2 -1
- package/dist/esm/api/resources/fhirProvider/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/fhirProvider/resources/authConfig/client/Client.mjs +4 -3
- package/dist/esm/api/resources/implementationGuides/client/Client.d.mts +12 -0
- package/dist/esm/api/resources/implementationGuides/client/Client.mjs +12 -0
- package/dist/esm/api/resources/implementationGuides/client/index.d.mts +1 -0
- package/dist/esm/api/resources/implementationGuides/client/index.mjs +1 -0
- package/dist/esm/api/resources/implementationGuides/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/ForbiddenError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/NotFoundError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/resources/implementationGuides/errors/index.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/errors/index.mjs +5 -0
- package/dist/esm/api/resources/implementationGuides/exports.d.mts +3 -0
- package/dist/esm/api/resources/implementationGuides/exports.mjs +4 -0
- package/dist/esm/api/resources/implementationGuides/index.d.mts +4 -0
- package/dist/esm/api/resources/implementationGuides/index.mjs +4 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/Client.d.mts +91 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/Client.mjs +279 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/index.d.mts +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/index.mjs +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/requests/UpdateImplementationGuideRequest.d.mts +8 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/requests/UpdateImplementationGuideRequest.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/exports.d.mts +2 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/exports.mjs +3 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/index.d.mts +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/implementationGuides/index.mjs +1 -0
- package/dist/esm/api/resources/implementationGuides/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/implementationGuides/resources/index.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideDetail.d.mts +5 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideDetail.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideListResponse.d.mts +4 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideListResponse.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideSummary.d.mts +15 -0
- package/dist/esm/api/resources/implementationGuides/types/ImplementationGuideSummary.mjs +2 -0
- package/dist/esm/api/resources/implementationGuides/types/index.d.mts +3 -0
- package/dist/esm/api/resources/implementationGuides/types/index.mjs +3 -0
- package/dist/esm/api/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/index.mjs +2 -0
- package/dist/esm/api/resources/lang2Fhir/client/Client.d.mts +8 -0
- package/dist/esm/api/resources/lang2Fhir/client/Client.mjs +15 -6
- package/dist/esm/api/resources/lang2Fhir/client/requests/index.d.mts +0 -1
- package/dist/esm/api/resources/lang2Fhir/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ClientClosedRequestError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/errors/UnprocessableEntityError.mjs +1 -1
- package/dist/esm/api/resources/lang2Fhir/types/CreateMultiResponse.d.mts +2 -0
- package/dist/esm/api/resources/lang2Fhir/{client/requests → types}/ProfileUploadRequest.d.mts +2 -10
- package/dist/esm/api/resources/lang2Fhir/types/ProfileUploadRequest.mjs +2 -0
- package/dist/esm/api/resources/lang2Fhir/types/index.d.mts +1 -0
- package/dist/esm/api/resources/lang2Fhir/types/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/client/Client.d.mts +12 -0
- package/dist/esm/api/resources/profiles/client/Client.mjs +12 -0
- package/dist/esm/api/resources/profiles/client/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/client/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/errors/BadRequestError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/BadRequestError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/ForbiddenError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/ForbiddenError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/InternalServerError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/InternalServerError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/NotFoundError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/NotFoundError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/UnauthorizedError.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/UnauthorizedError.mjs +17 -0
- package/dist/esm/api/resources/profiles/errors/index.d.mts +5 -0
- package/dist/esm/api/resources/profiles/errors/index.mjs +5 -0
- package/dist/esm/api/resources/profiles/exports.d.mts +3 -0
- package/dist/esm/api/resources/profiles/exports.mjs +4 -0
- package/dist/esm/api/resources/profiles/index.d.mts +4 -0
- package/dist/esm/api/resources/profiles/index.mjs +4 -0
- package/dist/esm/api/resources/profiles/resources/index.d.mts +2 -0
- package/dist/esm/api/resources/profiles/resources/index.mjs +2 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/Client.d.mts +127 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/Client.mjs +360 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/requests/ListRequest.d.mts +10 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/requests/ListRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/requests/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/client/requests/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/exports.d.mts +2 -0
- package/dist/esm/api/resources/profiles/resources/profiles/exports.mjs +3 -0
- package/dist/esm/api/resources/profiles/resources/profiles/index.d.mts +1 -0
- package/dist/esm/api/resources/profiles/resources/profiles/index.mjs +1 -0
- package/dist/esm/api/resources/profiles/types/FhirResource.d.mts +4 -0
- package/dist/esm/api/resources/profiles/types/FhirResource.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/ProfileGetResponse.d.mts +5 -0
- package/dist/esm/api/resources/profiles/types/ProfileGetResponse.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/ProfileListResponse.d.mts +4 -0
- package/dist/esm/api/resources/profiles/types/ProfileListResponse.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/ProfileSummary.d.mts +26 -0
- package/dist/esm/api/resources/profiles/types/ProfileSummary.mjs +9 -0
- package/dist/esm/api/resources/profiles/types/ProfileUploadRequest.d.mts +7 -0
- package/dist/esm/api/resources/profiles/types/ProfileUploadRequest.mjs +2 -0
- package/dist/esm/api/resources/profiles/types/index.d.mts +5 -0
- package/dist/esm/api/resources/profiles/types/index.mjs +5 -0
- package/dist/esm/api/resources/summary/client/Client.mjs +2 -1
- package/dist/esm/api/resources/summary/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/summary/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/summary/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/summary/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/summary/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/summary/resources/templates/client/Client.mjs +3 -2
- package/dist/esm/api/resources/tools/client/Client.mjs +5 -4
- package/dist/esm/api/resources/tools/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/tools/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/tools/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/tools/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/tools/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/tools/resources/mcpServers/client/Client.mjs +2 -1
- package/dist/esm/api/resources/voice/errors/BadGatewayError.mjs +1 -1
- package/dist/esm/api/resources/voice/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/voice/errors/ContentTooLargeError.mjs +1 -1
- package/dist/esm/api/resources/voice/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/voice/errors/PaymentRequiredError.mjs +1 -1
- package/dist/esm/api/resources/voice/errors/ServiceUnavailableError.mjs +1 -1
- package/dist/esm/api/resources/voice/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/api/resources/workflows/client/Client.mjs +4 -3
- package/dist/esm/api/resources/workflows/errors/BadRequestError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/ForbiddenError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/GatewayTimeoutError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/InternalServerError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/NotFoundError.mjs +1 -1
- package/dist/esm/api/resources/workflows/errors/UnauthorizedError.mjs +1 -1
- package/dist/esm/core/file/file.mjs +3 -0
- package/dist/esm/core/requestBody.d.mts +12 -0
- package/dist/esm/core/requestBody.mjs +23 -0
- package/dist/esm/core/stream/Stream.d.mts +45 -1
- package/dist/esm/core/stream/Stream.mjs +323 -84
- package/dist/esm/core/stream/index.d.mts +1 -0
- package/dist/esm/core/url/qs.mjs +2 -2
- package/dist/esm/errors/phenomlError.d.mts +1 -0
- package/dist/esm/errors/phenomlError.mjs +5 -1
- package/dist/esm/errors/phenomlTimeoutError.d.mts +2 -2
- package/dist/esm/errors/phenomlTimeoutError.mjs +7 -6
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/openapi/openapi.json +1224 -150
- package/package.json +23 -1
- package/reference.md +772 -71
- /package/dist/cjs/api/resources/{lang2Fhir/client/requests/ProfileUploadRequest.js → construe/resources/codes/client/requests/PhenoCrRequest.js} +0 -0
- /package/dist/esm/api/resources/{lang2Fhir/client/requests/ProfileUploadRequest.mjs → construe/resources/codes/client/requests/PhenoCrRequest.mjs} +0 -0
package/openapi/openapi.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"openapi": "3.0.3",
|
|
3
3
|
"info": {
|
|
4
4
|
"title": "Phenoml API",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "8633a870276a5ebdc514a6711e2c401cb45d26b4"
|
|
6
6
|
},
|
|
7
7
|
"x-services": [
|
|
8
8
|
{
|
|
@@ -19,6 +19,13 @@
|
|
|
19
19
|
"iconHint": "lang2fhir",
|
|
20
20
|
"status": "ga"
|
|
21
21
|
},
|
|
22
|
+
{
|
|
23
|
+
"id": "fhir_artifacts",
|
|
24
|
+
"name": "FHIR Artifacts",
|
|
25
|
+
"description": "Manage custom FHIR artifacts on a dedicated instance \u2014 StructureDefinition profiles and the implementation guides that group them \u2014 used by Lang2FHIR extraction and other FHIR capabilities.",
|
|
26
|
+
"iconHint": "profiles",
|
|
27
|
+
"status": "alpha"
|
|
28
|
+
},
|
|
22
29
|
{
|
|
23
30
|
"id": "summary",
|
|
24
31
|
"name": "Summary",
|
|
@@ -1678,7 +1685,7 @@
|
|
|
1678
1685
|
],
|
|
1679
1686
|
"operationId": "construe_extract",
|
|
1680
1687
|
"summary": "Extract medical codes from text",
|
|
1681
|
-
"description": "Converts natural language text into structured medical codes.\n\nUsage of CPT is subject to AMA requirements: see PhenoML Terms of Service.\n",
|
|
1688
|
+
"description": "Converts natural language text into structured medical codes.\n\nPass `system.version` to select a specific code system version, for example\n`umls-2026aa` for UMLS 2026AA-backed systems.\n\nUsage of CPT is subject to AMA requirements: see PhenoML Terms of Service.\n",
|
|
1682
1689
|
"requestBody": {
|
|
1683
1690
|
"required": true,
|
|
1684
1691
|
"content": {
|
|
@@ -1698,6 +1705,20 @@
|
|
|
1698
1705
|
}
|
|
1699
1706
|
}
|
|
1700
1707
|
},
|
|
1708
|
+
"icd10cm_umls_2026aa": {
|
|
1709
|
+
"summary": "ICD-10-CM UMLS 2026AA",
|
|
1710
|
+
"description": "Select a specific code system version by passing its version ID.",
|
|
1711
|
+
"value": {
|
|
1712
|
+
"text": "Patient has type 2 diabetes mellitus with diabetic chronic kidney disease.",
|
|
1713
|
+
"system": {
|
|
1714
|
+
"name": "ICD-10-CM",
|
|
1715
|
+
"version": "umls-2026aa"
|
|
1716
|
+
},
|
|
1717
|
+
"config": {
|
|
1718
|
+
"validation_method": "simple"
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
},
|
|
1701
1722
|
"with_source_citations": {
|
|
1702
1723
|
"summary": "With Source Citations",
|
|
1703
1724
|
"description": "Enable include_citations and include_rationale to see exactly where each code was found. Notice the highlighted spans in the input text.",
|
|
@@ -2012,6 +2033,75 @@
|
|
|
2012
2033
|
"x-service": "construe"
|
|
2013
2034
|
}
|
|
2014
2035
|
},
|
|
2036
|
+
"/construe/phenocr": {
|
|
2037
|
+
"post": {
|
|
2038
|
+
"tags": [
|
|
2039
|
+
"Construe / Codes"
|
|
2040
|
+
],
|
|
2041
|
+
"operationId": "construe_phenocr",
|
|
2042
|
+
"summary": "[Alpha] Extract medical codes with phenocr",
|
|
2043
|
+
"description": "**Alpha:** phenocr is an alpha feature. The API contract \u2014 request\nparameters and response shape \u2014 may change as its internals evolve, and\nresults may vary between releases. Do not depend on it for production\nworkloads yet.\n\nExtracts medical codes from natural language clinical text using phenocr.\n\nSupported code systems: HPO, ICD-10-CM, and SNOMED_CT_US. The code\nsystem name and version are both required.\n",
|
|
2044
|
+
"requestBody": {
|
|
2045
|
+
"required": true,
|
|
2046
|
+
"content": {
|
|
2047
|
+
"application/json": {
|
|
2048
|
+
"schema": {
|
|
2049
|
+
"$ref": "#/components/schemas/construe_PhenoCRRequest"
|
|
2050
|
+
},
|
|
2051
|
+
"examples": {
|
|
2052
|
+
"hpo_phenotype_extraction": {
|
|
2053
|
+
"summary": "HPO Phenotype Extraction",
|
|
2054
|
+
"description": "Extract HPO phenotype terms from a clinical note.",
|
|
2055
|
+
"value": {
|
|
2056
|
+
"text": "5-year-old male with seizures, severe intellectual disability, microcephaly, and hypotonia.",
|
|
2057
|
+
"system": {
|
|
2058
|
+
"name": "HPO",
|
|
2059
|
+
"version": "umls-2026AA"
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
}
|
|
2063
|
+
}
|
|
2064
|
+
}
|
|
2065
|
+
}
|
|
2066
|
+
},
|
|
2067
|
+
"responses": {
|
|
2068
|
+
"200": {
|
|
2069
|
+
"description": "Successfully extracted codes",
|
|
2070
|
+
"content": {
|
|
2071
|
+
"application/json": {
|
|
2072
|
+
"schema": {
|
|
2073
|
+
"$ref": "#/components/schemas/construe_ExtractCodesResult"
|
|
2074
|
+
}
|
|
2075
|
+
}
|
|
2076
|
+
}
|
|
2077
|
+
},
|
|
2078
|
+
"400": {
|
|
2079
|
+
"description": "Invalid request"
|
|
2080
|
+
},
|
|
2081
|
+
"401": {
|
|
2082
|
+
"description": "Unauthorized"
|
|
2083
|
+
},
|
|
2084
|
+
"404": {
|
|
2085
|
+
"description": "Code system not found"
|
|
2086
|
+
},
|
|
2087
|
+
"500": {
|
|
2088
|
+
"description": "Server error"
|
|
2089
|
+
},
|
|
2090
|
+
"503": {
|
|
2091
|
+
"description": "Service temporarily unavailable"
|
|
2092
|
+
},
|
|
2093
|
+
"504": {
|
|
2094
|
+
"description": "Request timed out"
|
|
2095
|
+
}
|
|
2096
|
+
},
|
|
2097
|
+
"security": [
|
|
2098
|
+
{
|
|
2099
|
+
"bearerAuth": []
|
|
2100
|
+
}
|
|
2101
|
+
],
|
|
2102
|
+
"x-service": "construe"
|
|
2103
|
+
}
|
|
2104
|
+
},
|
|
2015
2105
|
"/construe/codes/systems": {
|
|
2016
2106
|
"get": {
|
|
2017
2107
|
"tags": [
|
|
@@ -2031,27 +2121,27 @@
|
|
|
2031
2121
|
"example": {
|
|
2032
2122
|
"systems": [
|
|
2033
2123
|
{
|
|
2034
|
-
"name": "
|
|
2035
|
-
"version": "
|
|
2036
|
-
"code_count":
|
|
2124
|
+
"name": "CPT",
|
|
2125
|
+
"version": "umls-2026aa",
|
|
2126
|
+
"code_count": 10298,
|
|
2037
2127
|
"builtin": true
|
|
2038
2128
|
},
|
|
2039
2129
|
{
|
|
2040
|
-
"name": "
|
|
2041
|
-
"version": "
|
|
2042
|
-
"code_count":
|
|
2130
|
+
"name": "CPT",
|
|
2131
|
+
"version": "2025",
|
|
2132
|
+
"code_count": 10192,
|
|
2043
2133
|
"builtin": true
|
|
2044
2134
|
},
|
|
2045
2135
|
{
|
|
2046
|
-
"name": "
|
|
2047
|
-
"version": "
|
|
2048
|
-
"code_count":
|
|
2136
|
+
"name": "HCPCS",
|
|
2137
|
+
"version": "umls-2026aa",
|
|
2138
|
+
"code_count": 7322,
|
|
2049
2139
|
"builtin": true
|
|
2050
2140
|
},
|
|
2051
2141
|
{
|
|
2052
|
-
"name": "
|
|
2053
|
-
"version": "
|
|
2054
|
-
"code_count":
|
|
2142
|
+
"name": "HPO",
|
|
2143
|
+
"version": "umls-2026aa",
|
|
2144
|
+
"code_count": 19698,
|
|
2055
2145
|
"builtin": true
|
|
2056
2146
|
},
|
|
2057
2147
|
{
|
|
@@ -2061,9 +2151,27 @@
|
|
|
2061
2151
|
"builtin": true
|
|
2062
2152
|
},
|
|
2063
2153
|
{
|
|
2064
|
-
"name": "
|
|
2154
|
+
"name": "ICD-10",
|
|
2155
|
+
"version": "umls-2026aa",
|
|
2156
|
+
"code_count": 12292,
|
|
2157
|
+
"builtin": true
|
|
2158
|
+
},
|
|
2159
|
+
{
|
|
2160
|
+
"name": "ICD-10-CM",
|
|
2161
|
+
"version": "umls-2026aa",
|
|
2162
|
+
"code_count": 98506,
|
|
2163
|
+
"builtin": true
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"name": "ICD-10-CM",
|
|
2065
2167
|
"version": "2025",
|
|
2066
|
-
"code_count":
|
|
2168
|
+
"code_count": 97584,
|
|
2169
|
+
"builtin": true
|
|
2170
|
+
},
|
|
2171
|
+
{
|
|
2172
|
+
"name": "ICD-10-PCS",
|
|
2173
|
+
"version": "umls-2026aa",
|
|
2174
|
+
"code_count": 79232,
|
|
2067
2175
|
"builtin": true
|
|
2068
2176
|
},
|
|
2069
2177
|
{
|
|
@@ -2071,6 +2179,48 @@
|
|
|
2071
2179
|
"version": "2025",
|
|
2072
2180
|
"code_count": 78717,
|
|
2073
2181
|
"builtin": true
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"name": "LOINC",
|
|
2185
|
+
"version": "umls-2026aa",
|
|
2186
|
+
"code_count": 99231,
|
|
2187
|
+
"builtin": true
|
|
2188
|
+
},
|
|
2189
|
+
{
|
|
2190
|
+
"name": "LOINC",
|
|
2191
|
+
"version": "2.78",
|
|
2192
|
+
"code_count": 98123,
|
|
2193
|
+
"builtin": true
|
|
2194
|
+
},
|
|
2195
|
+
{
|
|
2196
|
+
"name": "RXNORM",
|
|
2197
|
+
"version": "umls-2026aa",
|
|
2198
|
+
"code_count": 259884,
|
|
2199
|
+
"builtin": true
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"name": "RXNORM",
|
|
2203
|
+
"version": "11042024",
|
|
2204
|
+
"code_count": 257619,
|
|
2205
|
+
"builtin": true
|
|
2206
|
+
},
|
|
2207
|
+
{
|
|
2208
|
+
"name": "SNOMED_CT_US",
|
|
2209
|
+
"version": "umls-2026aa",
|
|
2210
|
+
"code_count": 386110,
|
|
2211
|
+
"builtin": true
|
|
2212
|
+
},
|
|
2213
|
+
{
|
|
2214
|
+
"name": "SNOMED_CT_US",
|
|
2215
|
+
"version": "20240901",
|
|
2216
|
+
"code_count": 371482,
|
|
2217
|
+
"builtin": true
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"name": "SNOMED_CT_US_LITE",
|
|
2221
|
+
"version": "20240901",
|
|
2222
|
+
"code_count": 102837,
|
|
2223
|
+
"builtin": true
|
|
2074
2224
|
}
|
|
2075
2225
|
]
|
|
2076
2226
|
}
|
|
@@ -2118,7 +2268,7 @@
|
|
|
2118
2268
|
"schema": {
|
|
2119
2269
|
"type": "string"
|
|
2120
2270
|
},
|
|
2121
|
-
"description": "Specific version of the code system
|
|
2271
|
+
"description": "Specific version of the code system, such as `umls-2026aa`.",
|
|
2122
2272
|
"example": "2025"
|
|
2123
2273
|
}
|
|
2124
2274
|
],
|
|
@@ -2143,7 +2293,7 @@
|
|
|
2143
2293
|
}
|
|
2144
2294
|
},
|
|
2145
2295
|
"400": {
|
|
2146
|
-
"description": "Invalid parameters
|
|
2296
|
+
"description": "Invalid parameters"
|
|
2147
2297
|
},
|
|
2148
2298
|
"401": {
|
|
2149
2299
|
"description": "Unauthorized"
|
|
@@ -2187,7 +2337,7 @@
|
|
|
2187
2337
|
"schema": {
|
|
2188
2338
|
"type": "string"
|
|
2189
2339
|
},
|
|
2190
|
-
"description": "Specific version of the code system.
|
|
2340
|
+
"description": "Specific version of the custom code system."
|
|
2191
2341
|
}
|
|
2192
2342
|
],
|
|
2193
2343
|
"responses": {
|
|
@@ -2205,7 +2355,7 @@
|
|
|
2205
2355
|
}
|
|
2206
2356
|
},
|
|
2207
2357
|
"400": {
|
|
2208
|
-
"description": "Invalid parameters
|
|
2358
|
+
"description": "Invalid parameters"
|
|
2209
2359
|
},
|
|
2210
2360
|
"401": {
|
|
2211
2361
|
"description": "Unauthorized"
|
|
@@ -2254,7 +2404,7 @@
|
|
|
2254
2404
|
"schema": {
|
|
2255
2405
|
"type": "string"
|
|
2256
2406
|
},
|
|
2257
|
-
"description": "Specific version of the code system.
|
|
2407
|
+
"description": "Specific version of the custom code system."
|
|
2258
2408
|
}
|
|
2259
2409
|
],
|
|
2260
2410
|
"responses": {
|
|
@@ -2292,7 +2442,7 @@
|
|
|
2292
2442
|
}
|
|
2293
2443
|
},
|
|
2294
2444
|
"400": {
|
|
2295
|
-
"description": "Invalid parameters
|
|
2445
|
+
"description": "Invalid parameters"
|
|
2296
2446
|
},
|
|
2297
2447
|
"401": {
|
|
2298
2448
|
"description": "Unauthorized"
|
|
@@ -2356,7 +2506,7 @@
|
|
|
2356
2506
|
"schema": {
|
|
2357
2507
|
"type": "string"
|
|
2358
2508
|
},
|
|
2359
|
-
"description": "Specific version of the code system
|
|
2509
|
+
"description": "Specific version of the code system, such as `umls-2026aa`.",
|
|
2360
2510
|
"examples": {
|
|
2361
2511
|
"browse_icd10cm": {
|
|
2362
2512
|
"summary": "Browse ICD-10-CM",
|
|
@@ -2480,7 +2630,7 @@
|
|
|
2480
2630
|
}
|
|
2481
2631
|
},
|
|
2482
2632
|
"400": {
|
|
2483
|
-
"description": "Invalid parameters
|
|
2633
|
+
"description": "Invalid parameters"
|
|
2484
2634
|
},
|
|
2485
2635
|
"401": {
|
|
2486
2636
|
"description": "Unauthorized"
|
|
@@ -2554,7 +2704,7 @@
|
|
|
2554
2704
|
"schema": {
|
|
2555
2705
|
"type": "string"
|
|
2556
2706
|
},
|
|
2557
|
-
"description": "Specific version of the code system"
|
|
2707
|
+
"description": "Specific version of the code system, such as `umls-2026aa`."
|
|
2558
2708
|
}
|
|
2559
2709
|
],
|
|
2560
2710
|
"responses": {
|
|
@@ -2670,7 +2820,7 @@
|
|
|
2670
2820
|
"schema": {
|
|
2671
2821
|
"type": "string"
|
|
2672
2822
|
},
|
|
2673
|
-
"description": "Specific version of the code system"
|
|
2823
|
+
"description": "Specific version of the code system, such as `umls-2026aa`."
|
|
2674
2824
|
},
|
|
2675
2825
|
{
|
|
2676
2826
|
"name": "limit",
|
|
@@ -2919,7 +3069,7 @@
|
|
|
2919
3069
|
"schema": {
|
|
2920
3070
|
"type": "string"
|
|
2921
3071
|
},
|
|
2922
|
-
"description": "Specific version of the code system"
|
|
3072
|
+
"description": "Specific version of the code system, such as `umls-2026aa`."
|
|
2923
3073
|
},
|
|
2924
3074
|
{
|
|
2925
3075
|
"name": "limit",
|
|
@@ -4746,8 +4896,9 @@
|
|
|
4746
4896
|
"/lang2fhir/profile/upload": {
|
|
4747
4897
|
"post": {
|
|
4748
4898
|
"operationId": "lang2fhir_uploadProfile",
|
|
4749
|
-
"
|
|
4750
|
-
"
|
|
4899
|
+
"deprecated": true,
|
|
4900
|
+
"summary": "Upload custom FHIR profile (deprecated)",
|
|
4901
|
+
"description": "**Deprecated \u2014 use `POST /fhir/profiles` instead.** This route continues to work\nand operates on the same custom profiles, so no migration is required; it\nwill be removed in a future release. Note that `POST /fhir/profiles` does not\naccept `profile_context`; set implementation-guide context with\n`PUT /fhir/implementation-guides/{name}`.\n\nUpload a custom FHIR StructureDefinition profile for use with the lang2fhir service.\n\nAll metadata is derived from the StructureDefinition JSON itself. The lowercase `id` field\nfrom the StructureDefinition is used as the profile's unique identifier and lookup key.\nTo use the uploaded profile with `/lang2fhir/create`, pass this id as the `resource` parameter.\n\nUploads will be rejected if:\n- A built-in US Core or R4 base profile already exists with the same id\n- A custom profile with the same id has already been uploaded\n- A custom profile with the same url has already been uploaded\n",
|
|
4751
4902
|
"requestBody": {
|
|
4752
4903
|
"required": true,
|
|
4753
4904
|
"content": {
|
|
@@ -4994,19 +5145,28 @@
|
|
|
4994
5145
|
"tempId": "urn:uuid:patient-001",
|
|
4995
5146
|
"resourceType": "Patient",
|
|
4996
5147
|
"description": "John Doe, born 1979-03-15",
|
|
4997
|
-
"originalText": "John Doe, DOB 1979-03-15"
|
|
5148
|
+
"originalText": "John Doe, DOB 1979-03-15",
|
|
5149
|
+
"sourcePages": [
|
|
5150
|
+
1
|
|
5151
|
+
]
|
|
4998
5152
|
},
|
|
4999
5153
|
{
|
|
5000
5154
|
"tempId": "urn:uuid:condition-001",
|
|
5001
5155
|
"resourceType": "Condition",
|
|
5002
5156
|
"description": "Type 2 Diabetes Mellitus diagnosis",
|
|
5003
|
-
"originalText": "diagnosed with Type 2 Diabetes"
|
|
5157
|
+
"originalText": "diagnosed with Type 2 Diabetes",
|
|
5158
|
+
"sourcePages": [
|
|
5159
|
+
1
|
|
5160
|
+
]
|
|
5004
5161
|
},
|
|
5005
5162
|
{
|
|
5006
5163
|
"tempId": "urn:uuid:medication-001",
|
|
5007
5164
|
"resourceType": "MedicationRequest",
|
|
5008
5165
|
"description": "Metformin 500mg prescription",
|
|
5009
|
-
"originalText": "Prescribed Metformin 500mg"
|
|
5166
|
+
"originalText": "Prescribed Metformin 500mg",
|
|
5167
|
+
"sourcePages": [
|
|
5168
|
+
2
|
|
5169
|
+
]
|
|
5010
5170
|
}
|
|
5011
5171
|
]
|
|
5012
5172
|
}
|
|
@@ -5581,101 +5741,85 @@
|
|
|
5581
5741
|
"x-service": "summary"
|
|
5582
5742
|
}
|
|
5583
5743
|
},
|
|
5584
|
-
"/
|
|
5585
|
-
"
|
|
5586
|
-
"operationId": "
|
|
5587
|
-
"
|
|
5588
|
-
|
|
5589
|
-
"parameters": [
|
|
5590
|
-
{
|
|
5591
|
-
"$ref": "#/components/parameters/tools_OnBehalfOfHeader"
|
|
5592
|
-
},
|
|
5593
|
-
{
|
|
5594
|
-
"$ref": "#/components/parameters/tools_FhirProviderHeader"
|
|
5595
|
-
}
|
|
5744
|
+
"/fhir/implementation-guides": {
|
|
5745
|
+
"get": {
|
|
5746
|
+
"operationId": "implementation-guides_list",
|
|
5747
|
+
"tags": [
|
|
5748
|
+
"FHIR Artifacts / Implementation Guides"
|
|
5596
5749
|
],
|
|
5597
|
-
"
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
"provider": "550e8400-e29b-41d4-a716-446655440000"
|
|
5750
|
+
"summary": "List implementation guides",
|
|
5751
|
+
"description": "Returns every implementation guide on this instance \u2014 both guides that\nhave stored metadata (a profile_context) and guides referenced by at\nleast one custom profile \u2014 with the number of profiles in each.\n",
|
|
5752
|
+
"responses": {
|
|
5753
|
+
"200": {
|
|
5754
|
+
"description": "List of implementation guides",
|
|
5755
|
+
"content": {
|
|
5756
|
+
"application/json": {
|
|
5757
|
+
"schema": {
|
|
5758
|
+
"$ref": "#/components/schemas/implementation-guides_ImplementationGuideListResponse"
|
|
5759
|
+
}
|
|
5608
5760
|
}
|
|
5609
5761
|
}
|
|
5762
|
+
},
|
|
5763
|
+
"401": {
|
|
5764
|
+
"description": "Unauthorized"
|
|
5765
|
+
},
|
|
5766
|
+
"403": {
|
|
5767
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
5768
|
+
},
|
|
5769
|
+
"500": {
|
|
5770
|
+
"description": "Server error"
|
|
5610
5771
|
}
|
|
5611
5772
|
},
|
|
5773
|
+
"security": [
|
|
5774
|
+
{
|
|
5775
|
+
"bearerAuth": []
|
|
5776
|
+
}
|
|
5777
|
+
],
|
|
5778
|
+
"x-service": "fhir_artifacts"
|
|
5779
|
+
}
|
|
5780
|
+
},
|
|
5781
|
+
"/fhir/implementation-guides/{name}": {
|
|
5782
|
+
"parameters": [
|
|
5783
|
+
{
|
|
5784
|
+
"name": "name",
|
|
5785
|
+
"in": "path",
|
|
5786
|
+
"required": true,
|
|
5787
|
+
"description": "The implementation guide name.",
|
|
5788
|
+
"schema": {
|
|
5789
|
+
"type": "string"
|
|
5790
|
+
},
|
|
5791
|
+
"example": "acme-cardiology"
|
|
5792
|
+
}
|
|
5793
|
+
],
|
|
5794
|
+
"get": {
|
|
5795
|
+
"operationId": "implementation-guides_get",
|
|
5796
|
+
"tags": [
|
|
5797
|
+
"FHIR Artifacts / Implementation Guides"
|
|
5798
|
+
],
|
|
5799
|
+
"summary": "Get an implementation guide",
|
|
5800
|
+
"description": "Returns a single implementation guide, including its profile_context and\nthe ids of the profiles that belong to it.\n",
|
|
5612
5801
|
"responses": {
|
|
5613
5802
|
"200": {
|
|
5614
|
-
"description": "
|
|
5803
|
+
"description": "The requested implementation guide",
|
|
5615
5804
|
"content": {
|
|
5616
5805
|
"application/json": {
|
|
5617
5806
|
"schema": {
|
|
5618
|
-
"$ref": "#/components/schemas/
|
|
5619
|
-
},
|
|
5620
|
-
"example": {
|
|
5621
|
-
"success": true,
|
|
5622
|
-
"message": "FHIR resource created successfully",
|
|
5623
|
-
"fhir_id": "condition-123",
|
|
5624
|
-
"fhir_resource": {
|
|
5625
|
-
"resourceType": "Condition",
|
|
5626
|
-
"id": "condition-123",
|
|
5627
|
-
"clinicalStatus": {
|
|
5628
|
-
"coding": [
|
|
5629
|
-
{
|
|
5630
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
|
|
5631
|
-
"code": "active"
|
|
5632
|
-
}
|
|
5633
|
-
]
|
|
5634
|
-
},
|
|
5635
|
-
"verificationStatus": {
|
|
5636
|
-
"coding": [
|
|
5637
|
-
{
|
|
5638
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
|
|
5639
|
-
"code": "confirmed"
|
|
5640
|
-
}
|
|
5641
|
-
]
|
|
5642
|
-
},
|
|
5643
|
-
"category": [
|
|
5644
|
-
{
|
|
5645
|
-
"coding": [
|
|
5646
|
-
{
|
|
5647
|
-
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
|
|
5648
|
-
"code": "encounter-diagnosis"
|
|
5649
|
-
}
|
|
5650
|
-
]
|
|
5651
|
-
}
|
|
5652
|
-
],
|
|
5653
|
-
"code": {
|
|
5654
|
-
"coding": [
|
|
5655
|
-
{
|
|
5656
|
-
"system": "http://snomed.info/sct",
|
|
5657
|
-
"code": "195967001",
|
|
5658
|
-
"display": "Asthma"
|
|
5659
|
-
}
|
|
5660
|
-
],
|
|
5661
|
-
"text": "Severe persistent asthma with acute exacerbation"
|
|
5662
|
-
},
|
|
5663
|
-
"subject": {
|
|
5664
|
-
"reference": "Patient/patient-123"
|
|
5665
|
-
}
|
|
5666
|
-
}
|
|
5807
|
+
"$ref": "#/components/schemas/implementation-guides_ImplementationGuideDetail"
|
|
5667
5808
|
}
|
|
5668
5809
|
}
|
|
5669
5810
|
}
|
|
5670
5811
|
},
|
|
5671
5812
|
"400": {
|
|
5672
|
-
"description": "
|
|
5813
|
+
"description": "The name is reserved or malformed"
|
|
5673
5814
|
},
|
|
5674
5815
|
"401": {
|
|
5675
5816
|
"description": "Unauthorized"
|
|
5676
5817
|
},
|
|
5677
5818
|
"403": {
|
|
5678
|
-
"description": "Forbidden -
|
|
5819
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
5820
|
+
},
|
|
5821
|
+
"404": {
|
|
5822
|
+
"description": "Implementation guide not found"
|
|
5679
5823
|
},
|
|
5680
5824
|
"500": {
|
|
5681
5825
|
"description": "Server error"
|
|
@@ -5686,13 +5830,440 @@
|
|
|
5686
5830
|
"bearerAuth": []
|
|
5687
5831
|
}
|
|
5688
5832
|
],
|
|
5689
|
-
"x-service": "
|
|
5690
|
-
}
|
|
5691
|
-
|
|
5692
|
-
|
|
5693
|
-
|
|
5694
|
-
|
|
5695
|
-
|
|
5833
|
+
"x-service": "fhir_artifacts"
|
|
5834
|
+
},
|
|
5835
|
+
"put": {
|
|
5836
|
+
"operationId": "implementation-guides_update",
|
|
5837
|
+
"tags": [
|
|
5838
|
+
"FHIR Artifacts / Implementation Guides"
|
|
5839
|
+
],
|
|
5840
|
+
"summary": "Set an implementation guide's profile context",
|
|
5841
|
+
"description": "Sets (or clears, with an empty value) the natural-language profile_context\nfor an implementation guide. The context is injected into the LLM during\nresource detection to help select the right profiles from this guide.\nIt applies to every profile in the guide.\n",
|
|
5842
|
+
"requestBody": {
|
|
5843
|
+
"required": true,
|
|
5844
|
+
"content": {
|
|
5845
|
+
"application/json": {
|
|
5846
|
+
"schema": {
|
|
5847
|
+
"$ref": "#/components/schemas/implementation-guides_UpdateImplementationGuideRequest"
|
|
5848
|
+
}
|
|
5849
|
+
}
|
|
5850
|
+
}
|
|
5851
|
+
},
|
|
5852
|
+
"responses": {
|
|
5853
|
+
"200": {
|
|
5854
|
+
"description": "Implementation guide successfully updated",
|
|
5855
|
+
"content": {
|
|
5856
|
+
"application/json": {
|
|
5857
|
+
"schema": {
|
|
5858
|
+
"$ref": "#/components/schemas/implementation-guides_ImplementationGuideSummary"
|
|
5859
|
+
}
|
|
5860
|
+
}
|
|
5861
|
+
}
|
|
5862
|
+
},
|
|
5863
|
+
"400": {
|
|
5864
|
+
"description": "Invalid implementation guide name or profile_context too long"
|
|
5865
|
+
},
|
|
5866
|
+
"401": {
|
|
5867
|
+
"description": "Unauthorized"
|
|
5868
|
+
},
|
|
5869
|
+
"403": {
|
|
5870
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
5871
|
+
},
|
|
5872
|
+
"500": {
|
|
5873
|
+
"description": "Server error"
|
|
5874
|
+
}
|
|
5875
|
+
},
|
|
5876
|
+
"security": [
|
|
5877
|
+
{
|
|
5878
|
+
"bearerAuth": []
|
|
5879
|
+
}
|
|
5880
|
+
],
|
|
5881
|
+
"x-service": "fhir_artifacts"
|
|
5882
|
+
},
|
|
5883
|
+
"delete": {
|
|
5884
|
+
"operationId": "implementation-guides_delete",
|
|
5885
|
+
"tags": [
|
|
5886
|
+
"FHIR Artifacts / Implementation Guides"
|
|
5887
|
+
],
|
|
5888
|
+
"summary": "Delete an implementation guide's metadata",
|
|
5889
|
+
"description": "Deletes the stored metadata for an implementation guide \u2014 its\nprofile_context and timestamps. Member profiles keep their\nimplementation_guide assignment, so a guide still referenced by at least\none profile continues to appear in listings, just without context or\ntimestamps.\n",
|
|
5890
|
+
"responses": {
|
|
5891
|
+
"204": {
|
|
5892
|
+
"description": "Implementation guide metadata successfully deleted"
|
|
5893
|
+
},
|
|
5894
|
+
"400": {
|
|
5895
|
+
"description": "The name is reserved or malformed"
|
|
5896
|
+
},
|
|
5897
|
+
"401": {
|
|
5898
|
+
"description": "Unauthorized"
|
|
5899
|
+
},
|
|
5900
|
+
"403": {
|
|
5901
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
5902
|
+
},
|
|
5903
|
+
"404": {
|
|
5904
|
+
"description": "No implementation guide metadata exists for this name"
|
|
5905
|
+
},
|
|
5906
|
+
"500": {
|
|
5907
|
+
"description": "Server error"
|
|
5908
|
+
}
|
|
5909
|
+
},
|
|
5910
|
+
"security": [
|
|
5911
|
+
{
|
|
5912
|
+
"bearerAuth": []
|
|
5913
|
+
}
|
|
5914
|
+
],
|
|
5915
|
+
"x-service": "fhir_artifacts"
|
|
5916
|
+
}
|
|
5917
|
+
},
|
|
5918
|
+
"/fhir/profiles": {
|
|
5919
|
+
"get": {
|
|
5920
|
+
"operationId": "profiles_list",
|
|
5921
|
+
"tags": [
|
|
5922
|
+
"FHIR Artifacts / Profiles"
|
|
5923
|
+
],
|
|
5924
|
+
"summary": "List custom FHIR profiles",
|
|
5925
|
+
"description": "Returns metadata for every custom (uploaded) FHIR profile on this\ninstance, across all implementation guides. The full StructureDefinition\nJSON is omitted from each entry; fetch a single profile by id to retrieve it.\n\nThe `url` query parameter filters by canonical URL. The canonical URL is the\nstable key other platform features use to reference a profile (FHIR's\n`meta.profile`, `baseDefinition`), since StructureDefinition ids are only\nunique within a package. A non-matching filter returns an empty list, not a 404.\n",
|
|
5926
|
+
"parameters": [
|
|
5927
|
+
{
|
|
5928
|
+
"name": "url",
|
|
5929
|
+
"in": "query",
|
|
5930
|
+
"required": false,
|
|
5931
|
+
"description": "Filter by canonical URL. Accepts the FHIR pinned form `url|version` (split on the last `|`); the bare form matches the current version.\n",
|
|
5932
|
+
"schema": {
|
|
5933
|
+
"type": "string"
|
|
5934
|
+
},
|
|
5935
|
+
"example": "http://phenoml.com/fhir/StructureDefinition/custom-patient|1.0.0"
|
|
5936
|
+
}
|
|
5937
|
+
],
|
|
5938
|
+
"responses": {
|
|
5939
|
+
"200": {
|
|
5940
|
+
"description": "List of uploaded profiles",
|
|
5941
|
+
"content": {
|
|
5942
|
+
"application/json": {
|
|
5943
|
+
"schema": {
|
|
5944
|
+
"$ref": "#/components/schemas/profiles_ProfileListResponse"
|
|
5945
|
+
}
|
|
5946
|
+
}
|
|
5947
|
+
}
|
|
5948
|
+
},
|
|
5949
|
+
"401": {
|
|
5950
|
+
"description": "Unauthorized"
|
|
5951
|
+
},
|
|
5952
|
+
"403": {
|
|
5953
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
5954
|
+
},
|
|
5955
|
+
"500": {
|
|
5956
|
+
"description": "Server error"
|
|
5957
|
+
}
|
|
5958
|
+
},
|
|
5959
|
+
"security": [
|
|
5960
|
+
{
|
|
5961
|
+
"bearerAuth": []
|
|
5962
|
+
}
|
|
5963
|
+
],
|
|
5964
|
+
"x-service": "fhir_artifacts"
|
|
5965
|
+
},
|
|
5966
|
+
"post": {
|
|
5967
|
+
"operationId": "profiles_create",
|
|
5968
|
+
"tags": [
|
|
5969
|
+
"FHIR Artifacts / Profiles"
|
|
5970
|
+
],
|
|
5971
|
+
"summary": "Upload a custom FHIR profile",
|
|
5972
|
+
"description": "Creates a custom profile from a FHIR StructureDefinition supplied as a JSON\nobject. All metadata (version, resource type, id, url) is derived from the\nStructureDefinition; the lowercase StructureDefinition id becomes the\nprofile's lookup key. Code system configuration is auto-extracted from the\nsnapshot. Optionally group the profile under a named implementation guide.\n",
|
|
5973
|
+
"requestBody": {
|
|
5974
|
+
"required": true,
|
|
5975
|
+
"content": {
|
|
5976
|
+
"application/json": {
|
|
5977
|
+
"schema": {
|
|
5978
|
+
"$ref": "#/components/schemas/profiles_ProfileUploadRequest"
|
|
5979
|
+
}
|
|
5980
|
+
}
|
|
5981
|
+
}
|
|
5982
|
+
},
|
|
5983
|
+
"responses": {
|
|
5984
|
+
"201": {
|
|
5985
|
+
"description": "Profile successfully created",
|
|
5986
|
+
"content": {
|
|
5987
|
+
"application/json": {
|
|
5988
|
+
"schema": {
|
|
5989
|
+
"$ref": "#/components/schemas/profiles_ProfileSummary"
|
|
5990
|
+
}
|
|
5991
|
+
}
|
|
5992
|
+
}
|
|
5993
|
+
},
|
|
5994
|
+
"400": {
|
|
5995
|
+
"description": "Invalid request or profile validation failed. Possible reasons:\n- Missing or invalid StructureDefinition JSON\n- The id collides with a built-in US Core or R4 base profile\n- A custom profile with the same id or url already exists\n"
|
|
5996
|
+
},
|
|
5997
|
+
"401": {
|
|
5998
|
+
"description": "Unauthorized"
|
|
5999
|
+
},
|
|
6000
|
+
"403": {
|
|
6001
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
6002
|
+
},
|
|
6003
|
+
"500": {
|
|
6004
|
+
"description": "Server error"
|
|
6005
|
+
}
|
|
6006
|
+
},
|
|
6007
|
+
"security": [
|
|
6008
|
+
{
|
|
6009
|
+
"bearerAuth": []
|
|
6010
|
+
}
|
|
6011
|
+
],
|
|
6012
|
+
"x-service": "fhir_artifacts"
|
|
6013
|
+
}
|
|
6014
|
+
},
|
|
6015
|
+
"/fhir/profiles/{id}": {
|
|
6016
|
+
"parameters": [
|
|
6017
|
+
{
|
|
6018
|
+
"name": "id",
|
|
6019
|
+
"in": "path",
|
|
6020
|
+
"required": true,
|
|
6021
|
+
"description": "The lowercase StructureDefinition id of the custom profile.",
|
|
6022
|
+
"schema": {
|
|
6023
|
+
"type": "string"
|
|
6024
|
+
},
|
|
6025
|
+
"example": "custom-patient"
|
|
6026
|
+
}
|
|
6027
|
+
],
|
|
6028
|
+
"get": {
|
|
6029
|
+
"operationId": "profiles_get",
|
|
6030
|
+
"tags": [
|
|
6031
|
+
"FHIR Artifacts / Profiles"
|
|
6032
|
+
],
|
|
6033
|
+
"summary": "Get a custom FHIR profile",
|
|
6034
|
+
"description": "Returns a single custom profile by id, including its full StructureDefinition JSON.\n",
|
|
6035
|
+
"responses": {
|
|
6036
|
+
"200": {
|
|
6037
|
+
"description": "The requested profile",
|
|
6038
|
+
"content": {
|
|
6039
|
+
"application/json": {
|
|
6040
|
+
"schema": {
|
|
6041
|
+
"$ref": "#/components/schemas/profiles_ProfileGetResponse"
|
|
6042
|
+
}
|
|
6043
|
+
}
|
|
6044
|
+
}
|
|
6045
|
+
},
|
|
6046
|
+
"400": {
|
|
6047
|
+
"description": "The id is not a valid profile id"
|
|
6048
|
+
},
|
|
6049
|
+
"401": {
|
|
6050
|
+
"description": "Unauthorized"
|
|
6051
|
+
},
|
|
6052
|
+
"403": {
|
|
6053
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
6054
|
+
},
|
|
6055
|
+
"404": {
|
|
6056
|
+
"description": "Profile not found"
|
|
6057
|
+
},
|
|
6058
|
+
"500": {
|
|
6059
|
+
"description": "Server error"
|
|
6060
|
+
}
|
|
6061
|
+
},
|
|
6062
|
+
"security": [
|
|
6063
|
+
{
|
|
6064
|
+
"bearerAuth": []
|
|
6065
|
+
}
|
|
6066
|
+
],
|
|
6067
|
+
"x-service": "fhir_artifacts"
|
|
6068
|
+
},
|
|
6069
|
+
"put": {
|
|
6070
|
+
"operationId": "profiles_update",
|
|
6071
|
+
"tags": [
|
|
6072
|
+
"FHIR Artifacts / Profiles"
|
|
6073
|
+
],
|
|
6074
|
+
"summary": "Update a custom FHIR profile",
|
|
6075
|
+
"description": "Replaces an existing custom profile with a new StructureDefinition. The\n`id` path parameter is authoritative: if the StructureDefinition includes\nan `id` it must match the path parameter, and if it omits one the path\nparameter is used. The FHIR resource type of the profile cannot change.\nCode system configuration is\nre-derived from the new StructureDefinition. When `implementation_guide` is\nomitted, the profile keeps its existing implementation guide. The instance\nstores a single version per canonical URL, so this replaces it in place.\n",
|
|
6076
|
+
"requestBody": {
|
|
6077
|
+
"required": true,
|
|
6078
|
+
"content": {
|
|
6079
|
+
"application/json": {
|
|
6080
|
+
"schema": {
|
|
6081
|
+
"$ref": "#/components/schemas/profiles_ProfileUploadRequest"
|
|
6082
|
+
}
|
|
6083
|
+
}
|
|
6084
|
+
}
|
|
6085
|
+
},
|
|
6086
|
+
"responses": {
|
|
6087
|
+
"200": {
|
|
6088
|
+
"description": "Profile successfully updated",
|
|
6089
|
+
"content": {
|
|
6090
|
+
"application/json": {
|
|
6091
|
+
"schema": {
|
|
6092
|
+
"$ref": "#/components/schemas/profiles_ProfileSummary"
|
|
6093
|
+
}
|
|
6094
|
+
}
|
|
6095
|
+
}
|
|
6096
|
+
},
|
|
6097
|
+
"400": {
|
|
6098
|
+
"description": "Invalid request or profile validation failed. Possible reasons:\n- Missing or invalid StructureDefinition JSON\n- The StructureDefinition id does not match the id path parameter\n- The resource type differs from the existing profile\n- The url collides with a built-in profile or another custom profile\n"
|
|
6099
|
+
},
|
|
6100
|
+
"401": {
|
|
6101
|
+
"description": "Unauthorized"
|
|
6102
|
+
},
|
|
6103
|
+
"403": {
|
|
6104
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
6105
|
+
},
|
|
6106
|
+
"404": {
|
|
6107
|
+
"description": "Profile not found"
|
|
6108
|
+
},
|
|
6109
|
+
"500": {
|
|
6110
|
+
"description": "Server error"
|
|
6111
|
+
}
|
|
6112
|
+
},
|
|
6113
|
+
"security": [
|
|
6114
|
+
{
|
|
6115
|
+
"bearerAuth": []
|
|
6116
|
+
}
|
|
6117
|
+
],
|
|
6118
|
+
"x-service": "fhir_artifacts"
|
|
6119
|
+
},
|
|
6120
|
+
"delete": {
|
|
6121
|
+
"operationId": "profiles_delete",
|
|
6122
|
+
"tags": [
|
|
6123
|
+
"FHIR Artifacts / Profiles"
|
|
6124
|
+
],
|
|
6125
|
+
"summary": "Delete a custom FHIR profile",
|
|
6126
|
+
"description": "Permanently deletes a custom profile by id.\n",
|
|
6127
|
+
"responses": {
|
|
6128
|
+
"204": {
|
|
6129
|
+
"description": "Profile successfully deleted"
|
|
6130
|
+
},
|
|
6131
|
+
"400": {
|
|
6132
|
+
"description": "The id is not a valid profile id"
|
|
6133
|
+
},
|
|
6134
|
+
"401": {
|
|
6135
|
+
"description": "Unauthorized"
|
|
6136
|
+
},
|
|
6137
|
+
"403": {
|
|
6138
|
+
"description": "Forbidden - custom profiles are only available on dedicated instances"
|
|
6139
|
+
},
|
|
6140
|
+
"404": {
|
|
6141
|
+
"description": "Profile not found"
|
|
6142
|
+
},
|
|
6143
|
+
"500": {
|
|
6144
|
+
"description": "Server error"
|
|
6145
|
+
}
|
|
6146
|
+
},
|
|
6147
|
+
"security": [
|
|
6148
|
+
{
|
|
6149
|
+
"bearerAuth": []
|
|
6150
|
+
}
|
|
6151
|
+
],
|
|
6152
|
+
"x-service": "fhir_artifacts"
|
|
6153
|
+
}
|
|
6154
|
+
},
|
|
6155
|
+
"/tools/lang2fhir-and-create": {
|
|
6156
|
+
"post": {
|
|
6157
|
+
"operationId": "tools_createFhirResource",
|
|
6158
|
+
"summary": "Create FHIR resource from text and store it",
|
|
6159
|
+
"description": "Converts natural language to FHIR resource and optionally stores it in a FHIR server",
|
|
6160
|
+
"parameters": [
|
|
6161
|
+
{
|
|
6162
|
+
"$ref": "#/components/parameters/tools_OnBehalfOfHeader"
|
|
6163
|
+
},
|
|
6164
|
+
{
|
|
6165
|
+
"$ref": "#/components/parameters/tools_FhirProviderHeader"
|
|
6166
|
+
}
|
|
6167
|
+
],
|
|
6168
|
+
"requestBody": {
|
|
6169
|
+
"required": true,
|
|
6170
|
+
"content": {
|
|
6171
|
+
"application/json": {
|
|
6172
|
+
"schema": {
|
|
6173
|
+
"$ref": "#/components/schemas/tools_Lang2FhirAndCreateRequest"
|
|
6174
|
+
},
|
|
6175
|
+
"example": {
|
|
6176
|
+
"resource": "condition-encounter-diagnosis",
|
|
6177
|
+
"text": "Patient has severe persistent asthma with acute exacerbation",
|
|
6178
|
+
"provider": "550e8400-e29b-41d4-a716-446655440000"
|
|
6179
|
+
}
|
|
6180
|
+
}
|
|
6181
|
+
}
|
|
6182
|
+
},
|
|
6183
|
+
"responses": {
|
|
6184
|
+
"200": {
|
|
6185
|
+
"description": "Successfully created FHIR resource",
|
|
6186
|
+
"content": {
|
|
6187
|
+
"application/json": {
|
|
6188
|
+
"schema": {
|
|
6189
|
+
"$ref": "#/components/schemas/tools_Lang2FhirAndCreateResponse"
|
|
6190
|
+
},
|
|
6191
|
+
"example": {
|
|
6192
|
+
"success": true,
|
|
6193
|
+
"message": "FHIR resource created successfully",
|
|
6194
|
+
"fhir_id": "condition-123",
|
|
6195
|
+
"fhir_resource": {
|
|
6196
|
+
"resourceType": "Condition",
|
|
6197
|
+
"id": "condition-123",
|
|
6198
|
+
"clinicalStatus": {
|
|
6199
|
+
"coding": [
|
|
6200
|
+
{
|
|
6201
|
+
"system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
|
|
6202
|
+
"code": "active"
|
|
6203
|
+
}
|
|
6204
|
+
]
|
|
6205
|
+
},
|
|
6206
|
+
"verificationStatus": {
|
|
6207
|
+
"coding": [
|
|
6208
|
+
{
|
|
6209
|
+
"system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
|
|
6210
|
+
"code": "confirmed"
|
|
6211
|
+
}
|
|
6212
|
+
]
|
|
6213
|
+
},
|
|
6214
|
+
"category": [
|
|
6215
|
+
{
|
|
6216
|
+
"coding": [
|
|
6217
|
+
{
|
|
6218
|
+
"system": "http://terminology.hl7.org/CodeSystem/condition-category",
|
|
6219
|
+
"code": "encounter-diagnosis"
|
|
6220
|
+
}
|
|
6221
|
+
]
|
|
6222
|
+
}
|
|
6223
|
+
],
|
|
6224
|
+
"code": {
|
|
6225
|
+
"coding": [
|
|
6226
|
+
{
|
|
6227
|
+
"system": "http://snomed.info/sct",
|
|
6228
|
+
"code": "195967001",
|
|
6229
|
+
"display": "Asthma"
|
|
6230
|
+
}
|
|
6231
|
+
],
|
|
6232
|
+
"text": "Severe persistent asthma with acute exacerbation"
|
|
6233
|
+
},
|
|
6234
|
+
"subject": {
|
|
6235
|
+
"reference": "Patient/patient-123"
|
|
6236
|
+
}
|
|
6237
|
+
}
|
|
6238
|
+
}
|
|
6239
|
+
}
|
|
6240
|
+
}
|
|
6241
|
+
},
|
|
6242
|
+
"400": {
|
|
6243
|
+
"description": "Invalid request"
|
|
6244
|
+
},
|
|
6245
|
+
"401": {
|
|
6246
|
+
"description": "Unauthorized"
|
|
6247
|
+
},
|
|
6248
|
+
"403": {
|
|
6249
|
+
"description": "Forbidden - access denied to the requested resource"
|
|
6250
|
+
},
|
|
6251
|
+
"500": {
|
|
6252
|
+
"description": "Server error"
|
|
6253
|
+
}
|
|
6254
|
+
},
|
|
6255
|
+
"security": [
|
|
6256
|
+
{
|
|
6257
|
+
"bearerAuth": []
|
|
6258
|
+
}
|
|
6259
|
+
],
|
|
6260
|
+
"x-service": "tools"
|
|
6261
|
+
}
|
|
6262
|
+
},
|
|
6263
|
+
"/tools/lang2fhir-and-create-multi": {
|
|
6264
|
+
"post": {
|
|
6265
|
+
"operationId": "tools_createFhirResourcesMulti",
|
|
6266
|
+
"summary": "Extract and store multiple FHIR resources",
|
|
5696
6267
|
"description": "Extracts multiple FHIR resources from natural language text and stores them in a FHIR server.\nAutomatically detects Patient, Condition, MedicationRequest, Observation, and other resource types.\nResources are linked with proper references and submitted as a transaction bundle.\nFor FHIR servers that don't auto-resolve urn:uuid references, this endpoint will automatically\nresolve them via PUT requests after the initial bundle creation.\n",
|
|
5697
6268
|
"parameters": [
|
|
5698
6269
|
{
|
|
@@ -7966,18 +8537,54 @@
|
|
|
7966
8537
|
}
|
|
7967
8538
|
}
|
|
7968
8539
|
},
|
|
8540
|
+
"construe_PhenoCRRequest": {
|
|
8541
|
+
"type": "object",
|
|
8542
|
+
"required": [
|
|
8543
|
+
"text",
|
|
8544
|
+
"system"
|
|
8545
|
+
],
|
|
8546
|
+
"properties": {
|
|
8547
|
+
"text": {
|
|
8548
|
+
"type": "string",
|
|
8549
|
+
"description": "Natural language text to extract codes from",
|
|
8550
|
+
"example": "5-year-old male with seizures, severe intellectual disability, microcephaly, and hypotonia."
|
|
8551
|
+
},
|
|
8552
|
+
"system": {
|
|
8553
|
+
"$ref": "#/components/schemas/construe_PhenocrExtractRequestSystem"
|
|
8554
|
+
}
|
|
8555
|
+
}
|
|
8556
|
+
},
|
|
8557
|
+
"construe_PhenocrExtractRequestSystem": {
|
|
8558
|
+
"type": "object",
|
|
8559
|
+
"required": [
|
|
8560
|
+
"name",
|
|
8561
|
+
"version"
|
|
8562
|
+
],
|
|
8563
|
+
"properties": {
|
|
8564
|
+
"name": {
|
|
8565
|
+
"type": "string",
|
|
8566
|
+
"description": "Code system name. Supported by phenocr: HPO, ICD-10-CM, SNOMED_CT_US.\n",
|
|
8567
|
+
"example": "HPO"
|
|
8568
|
+
},
|
|
8569
|
+
"version": {
|
|
8570
|
+
"type": "string",
|
|
8571
|
+
"description": "Code system version to run against.",
|
|
8572
|
+
"example": "umls-2026AA"
|
|
8573
|
+
}
|
|
8574
|
+
}
|
|
8575
|
+
},
|
|
7969
8576
|
"construe_ExtractRequestSystem": {
|
|
7970
8577
|
"type": "object",
|
|
7971
8578
|
"properties": {
|
|
7972
8579
|
"name": {
|
|
7973
8580
|
"type": "string",
|
|
7974
|
-
"description": "Code system name. Can be a built-in system or a custom system name.\n\nBuilt-in systems:\n*
|
|
8581
|
+
"description": "Code system name. Can be a built-in system or a custom system name.\n\nBuilt-in systems:\n* CPT\n* HCPCS\n* HPO\n* ICD-10\n* ICD-10-CM\n* ICD-10-PCS\n* LOINC\n* RXNORM\n* SNOMED_CT_US\n* SNOMED_CT_US_LITE\n\nCustom systems:\n* Any valid system name uploaded via /construe/upload. Requires a paid plan.\n\nUsage of CPT is subject to AMA requirements: see PhenoML Terms of Service.\n",
|
|
7975
8582
|
"example": "SNOMED_CT_US_LITE"
|
|
7976
8583
|
},
|
|
7977
8584
|
"version": {
|
|
7978
8585
|
"type": "string",
|
|
7979
|
-
"description": "
|
|
7980
|
-
"example": "
|
|
8586
|
+
"description": "Specific code system version.",
|
|
8587
|
+
"example": "umls-2026aa"
|
|
7981
8588
|
}
|
|
7982
8589
|
}
|
|
7983
8590
|
},
|
|
@@ -8208,7 +8815,7 @@
|
|
|
8208
8815
|
"version": {
|
|
8209
8816
|
"type": "string",
|
|
8210
8817
|
"description": "Code system version",
|
|
8211
|
-
"example": "
|
|
8818
|
+
"example": "umls-2026aa"
|
|
8212
8819
|
}
|
|
8213
8820
|
}
|
|
8214
8821
|
},
|
|
@@ -8229,7 +8836,7 @@
|
|
|
8229
8836
|
"version": {
|
|
8230
8837
|
"type": "string",
|
|
8231
8838
|
"description": "Code system version",
|
|
8232
|
-
"example": "
|
|
8839
|
+
"example": "umls-2026aa"
|
|
8233
8840
|
},
|
|
8234
8841
|
"code_count": {
|
|
8235
8842
|
"type": "integer",
|
|
@@ -8501,7 +9108,7 @@
|
|
|
8501
9108
|
"version": {
|
|
8502
9109
|
"type": "string",
|
|
8503
9110
|
"description": "Code system version",
|
|
8504
|
-
"example": "
|
|
9111
|
+
"example": "umls-2026aa"
|
|
8505
9112
|
},
|
|
8506
9113
|
"code_count": {
|
|
8507
9114
|
"type": "integer",
|
|
@@ -8674,47 +9281,198 @@
|
|
|
8674
9281
|
"type": "object",
|
|
8675
9282
|
"description": "OMOP CDM v5.4 rows grouped by destination table.",
|
|
8676
9283
|
"properties": {
|
|
9284
|
+
"location": {
|
|
9285
|
+
"type": "array",
|
|
9286
|
+
"items": {
|
|
9287
|
+
"$ref": "#/components/schemas/fhir2omop_LocationRow"
|
|
9288
|
+
}
|
|
9289
|
+
},
|
|
9290
|
+
"care_site": {
|
|
9291
|
+
"type": "array",
|
|
9292
|
+
"items": {
|
|
9293
|
+
"$ref": "#/components/schemas/fhir2omop_CareSiteRow"
|
|
9294
|
+
}
|
|
9295
|
+
},
|
|
9296
|
+
"provider": {
|
|
9297
|
+
"type": "array",
|
|
9298
|
+
"items": {
|
|
9299
|
+
"$ref": "#/components/schemas/fhir2omop_ProviderRow"
|
|
9300
|
+
}
|
|
9301
|
+
},
|
|
8677
9302
|
"person": {
|
|
8678
9303
|
"type": "array",
|
|
8679
9304
|
"items": {
|
|
8680
9305
|
"$ref": "#/components/schemas/fhir2omop_PersonRow"
|
|
8681
9306
|
}
|
|
8682
9307
|
},
|
|
8683
|
-
"
|
|
8684
|
-
"type": "array",
|
|
8685
|
-
"items": {
|
|
8686
|
-
"$ref": "#/components/schemas/
|
|
8687
|
-
}
|
|
9308
|
+
"death": {
|
|
9309
|
+
"type": "array",
|
|
9310
|
+
"items": {
|
|
9311
|
+
"$ref": "#/components/schemas/fhir2omop_DeathRow"
|
|
9312
|
+
}
|
|
9313
|
+
},
|
|
9314
|
+
"observation_period": {
|
|
9315
|
+
"type": "array",
|
|
9316
|
+
"items": {
|
|
9317
|
+
"$ref": "#/components/schemas/fhir2omop_ObservationPeriodRow"
|
|
9318
|
+
}
|
|
9319
|
+
},
|
|
9320
|
+
"visit_occurrence": {
|
|
9321
|
+
"type": "array",
|
|
9322
|
+
"items": {
|
|
9323
|
+
"$ref": "#/components/schemas/fhir2omop_VisitOccurrenceRow"
|
|
9324
|
+
}
|
|
9325
|
+
},
|
|
9326
|
+
"condition_occurrence": {
|
|
9327
|
+
"type": "array",
|
|
9328
|
+
"items": {
|
|
9329
|
+
"$ref": "#/components/schemas/fhir2omop_ConditionOccurrenceRow"
|
|
9330
|
+
}
|
|
9331
|
+
},
|
|
9332
|
+
"drug_exposure": {
|
|
9333
|
+
"type": "array",
|
|
9334
|
+
"items": {
|
|
9335
|
+
"$ref": "#/components/schemas/fhir2omop_DrugExposureRow"
|
|
9336
|
+
}
|
|
9337
|
+
},
|
|
9338
|
+
"procedure_occurrence": {
|
|
9339
|
+
"type": "array",
|
|
9340
|
+
"items": {
|
|
9341
|
+
"$ref": "#/components/schemas/fhir2omop_ProcedureOccurrenceRow"
|
|
9342
|
+
}
|
|
9343
|
+
},
|
|
9344
|
+
"measurement": {
|
|
9345
|
+
"type": "array",
|
|
9346
|
+
"items": {
|
|
9347
|
+
"$ref": "#/components/schemas/fhir2omop_MeasurementRow"
|
|
9348
|
+
}
|
|
9349
|
+
},
|
|
9350
|
+
"observation": {
|
|
9351
|
+
"type": "array",
|
|
9352
|
+
"items": {
|
|
9353
|
+
"$ref": "#/components/schemas/fhir2omop_ObservationRow"
|
|
9354
|
+
}
|
|
9355
|
+
}
|
|
9356
|
+
}
|
|
9357
|
+
},
|
|
9358
|
+
"fhir2omop_LocationRow": {
|
|
9359
|
+
"type": "object",
|
|
9360
|
+
"properties": {
|
|
9361
|
+
"location_id": {
|
|
9362
|
+
"type": "integer",
|
|
9363
|
+
"format": "int64"
|
|
9364
|
+
},
|
|
9365
|
+
"address_1": {
|
|
9366
|
+
"type": "string"
|
|
9367
|
+
},
|
|
9368
|
+
"address_2": {
|
|
9369
|
+
"type": "string"
|
|
9370
|
+
},
|
|
9371
|
+
"city": {
|
|
9372
|
+
"type": "string"
|
|
9373
|
+
},
|
|
9374
|
+
"state": {
|
|
9375
|
+
"type": "string"
|
|
9376
|
+
},
|
|
9377
|
+
"zip": {
|
|
9378
|
+
"type": "string"
|
|
9379
|
+
},
|
|
9380
|
+
"county": {
|
|
9381
|
+
"type": "string"
|
|
9382
|
+
},
|
|
9383
|
+
"location_source_value": {
|
|
9384
|
+
"type": "string"
|
|
9385
|
+
},
|
|
9386
|
+
"country_concept_id": {
|
|
9387
|
+
"type": "integer",
|
|
9388
|
+
"format": "int64"
|
|
9389
|
+
},
|
|
9390
|
+
"country_source_value": {
|
|
9391
|
+
"type": "string"
|
|
9392
|
+
},
|
|
9393
|
+
"latitude": {
|
|
9394
|
+
"type": "number",
|
|
9395
|
+
"format": "double"
|
|
9396
|
+
},
|
|
9397
|
+
"longitude": {
|
|
9398
|
+
"type": "number",
|
|
9399
|
+
"format": "double"
|
|
9400
|
+
}
|
|
9401
|
+
}
|
|
9402
|
+
},
|
|
9403
|
+
"fhir2omop_CareSiteRow": {
|
|
9404
|
+
"type": "object",
|
|
9405
|
+
"properties": {
|
|
9406
|
+
"care_site_id": {
|
|
9407
|
+
"type": "integer",
|
|
9408
|
+
"format": "int64"
|
|
9409
|
+
},
|
|
9410
|
+
"care_site_name": {
|
|
9411
|
+
"type": "string"
|
|
9412
|
+
},
|
|
9413
|
+
"place_of_service_concept_id": {
|
|
9414
|
+
"type": "integer",
|
|
9415
|
+
"format": "int64"
|
|
9416
|
+
},
|
|
9417
|
+
"location_id": {
|
|
9418
|
+
"type": "integer",
|
|
9419
|
+
"format": "int64"
|
|
9420
|
+
},
|
|
9421
|
+
"care_site_source_value": {
|
|
9422
|
+
"type": "string"
|
|
9423
|
+
},
|
|
9424
|
+
"place_of_service_source_value": {
|
|
9425
|
+
"type": "string"
|
|
9426
|
+
}
|
|
9427
|
+
}
|
|
9428
|
+
},
|
|
9429
|
+
"fhir2omop_ProviderRow": {
|
|
9430
|
+
"type": "object",
|
|
9431
|
+
"properties": {
|
|
9432
|
+
"provider_id": {
|
|
9433
|
+
"type": "integer",
|
|
9434
|
+
"format": "int64"
|
|
9435
|
+
},
|
|
9436
|
+
"provider_name": {
|
|
9437
|
+
"type": "string"
|
|
9438
|
+
},
|
|
9439
|
+
"npi": {
|
|
9440
|
+
"type": "string"
|
|
9441
|
+
},
|
|
9442
|
+
"dea": {
|
|
9443
|
+
"type": "string"
|
|
9444
|
+
},
|
|
9445
|
+
"specialty_concept_id": {
|
|
9446
|
+
"type": "integer",
|
|
9447
|
+
"format": "int64"
|
|
9448
|
+
},
|
|
9449
|
+
"care_site_id": {
|
|
9450
|
+
"type": "integer",
|
|
9451
|
+
"format": "int64"
|
|
9452
|
+
},
|
|
9453
|
+
"year_of_birth": {
|
|
9454
|
+
"type": "integer"
|
|
9455
|
+
},
|
|
9456
|
+
"gender_concept_id": {
|
|
9457
|
+
"type": "integer",
|
|
9458
|
+
"format": "int64"
|
|
8688
9459
|
},
|
|
8689
|
-
"
|
|
8690
|
-
"type": "
|
|
8691
|
-
"items": {
|
|
8692
|
-
"$ref": "#/components/schemas/fhir2omop_ConditionOccurrenceRow"
|
|
8693
|
-
}
|
|
9460
|
+
"provider_source_value": {
|
|
9461
|
+
"type": "string"
|
|
8694
9462
|
},
|
|
8695
|
-
"
|
|
8696
|
-
"type": "
|
|
8697
|
-
"items": {
|
|
8698
|
-
"$ref": "#/components/schemas/fhir2omop_DrugExposureRow"
|
|
8699
|
-
}
|
|
9463
|
+
"specialty_source_value": {
|
|
9464
|
+
"type": "string"
|
|
8700
9465
|
},
|
|
8701
|
-
"
|
|
8702
|
-
"type": "
|
|
8703
|
-
"
|
|
8704
|
-
"$ref": "#/components/schemas/fhir2omop_ProcedureOccurrenceRow"
|
|
8705
|
-
}
|
|
9466
|
+
"specialty_source_concept_id": {
|
|
9467
|
+
"type": "integer",
|
|
9468
|
+
"format": "int64"
|
|
8706
9469
|
},
|
|
8707
|
-
"
|
|
8708
|
-
"type": "
|
|
8709
|
-
"items": {
|
|
8710
|
-
"$ref": "#/components/schemas/fhir2omop_MeasurementRow"
|
|
8711
|
-
}
|
|
9470
|
+
"gender_source_value": {
|
|
9471
|
+
"type": "string"
|
|
8712
9472
|
},
|
|
8713
|
-
"
|
|
8714
|
-
"type": "
|
|
8715
|
-
"
|
|
8716
|
-
"$ref": "#/components/schemas/fhir2omop_ObservationRow"
|
|
8717
|
-
}
|
|
9473
|
+
"gender_source_concept_id": {
|
|
9474
|
+
"type": "integer",
|
|
9475
|
+
"format": "int64"
|
|
8718
9476
|
}
|
|
8719
9477
|
}
|
|
8720
9478
|
},
|
|
@@ -8749,6 +9507,10 @@
|
|
|
8749
9507
|
"type": "integer",
|
|
8750
9508
|
"format": "int64"
|
|
8751
9509
|
},
|
|
9510
|
+
"location_id": {
|
|
9511
|
+
"type": "integer",
|
|
9512
|
+
"format": "int64"
|
|
9513
|
+
},
|
|
8752
9514
|
"person_source_value": {
|
|
8753
9515
|
"type": "string"
|
|
8754
9516
|
},
|
|
@@ -8763,6 +9525,59 @@
|
|
|
8763
9525
|
}
|
|
8764
9526
|
}
|
|
8765
9527
|
},
|
|
9528
|
+
"fhir2omop_DeathRow": {
|
|
9529
|
+
"type": "object",
|
|
9530
|
+
"properties": {
|
|
9531
|
+
"person_id": {
|
|
9532
|
+
"type": "integer",
|
|
9533
|
+
"format": "int64"
|
|
9534
|
+
},
|
|
9535
|
+
"death_date": {
|
|
9536
|
+
"type": "string"
|
|
9537
|
+
},
|
|
9538
|
+
"death_datetime": {
|
|
9539
|
+
"type": "string"
|
|
9540
|
+
},
|
|
9541
|
+
"death_type_concept_id": {
|
|
9542
|
+
"type": "integer",
|
|
9543
|
+
"format": "int64"
|
|
9544
|
+
},
|
|
9545
|
+
"cause_concept_id": {
|
|
9546
|
+
"type": "integer",
|
|
9547
|
+
"format": "int64"
|
|
9548
|
+
},
|
|
9549
|
+
"cause_source_value": {
|
|
9550
|
+
"type": "string"
|
|
9551
|
+
},
|
|
9552
|
+
"cause_source_concept_id": {
|
|
9553
|
+
"type": "integer",
|
|
9554
|
+
"format": "int64"
|
|
9555
|
+
}
|
|
9556
|
+
}
|
|
9557
|
+
},
|
|
9558
|
+
"fhir2omop_ObservationPeriodRow": {
|
|
9559
|
+
"type": "object",
|
|
9560
|
+
"properties": {
|
|
9561
|
+
"observation_period_id": {
|
|
9562
|
+
"type": "integer",
|
|
9563
|
+
"format": "int64"
|
|
9564
|
+
},
|
|
9565
|
+
"person_id": {
|
|
9566
|
+
"type": "integer",
|
|
9567
|
+
"format": "int64"
|
|
9568
|
+
},
|
|
9569
|
+
"observation_period_start_date": {
|
|
9570
|
+
"type": "string"
|
|
9571
|
+
},
|
|
9572
|
+
"observation_period_end_date": {
|
|
9573
|
+
"type": "string"
|
|
9574
|
+
},
|
|
9575
|
+
"period_type_concept_id": {
|
|
9576
|
+
"type": "integer",
|
|
9577
|
+
"format": "int64"
|
|
9578
|
+
}
|
|
9579
|
+
}
|
|
9580
|
+
},
|
|
8766
9581
|
"fhir2omop_VisitOccurrenceRow": {
|
|
8767
9582
|
"type": "object",
|
|
8768
9583
|
"properties": {
|
|
@@ -8794,6 +9609,14 @@
|
|
|
8794
9609
|
"type": "integer",
|
|
8795
9610
|
"format": "int64"
|
|
8796
9611
|
},
|
|
9612
|
+
"provider_id": {
|
|
9613
|
+
"type": "integer",
|
|
9614
|
+
"format": "int64"
|
|
9615
|
+
},
|
|
9616
|
+
"care_site_id": {
|
|
9617
|
+
"type": "integer",
|
|
9618
|
+
"format": "int64"
|
|
9619
|
+
},
|
|
8797
9620
|
"visit_source_value": {
|
|
8798
9621
|
"type": "string"
|
|
8799
9622
|
}
|
|
@@ -8831,6 +9654,10 @@
|
|
|
8831
9654
|
"type": "integer",
|
|
8832
9655
|
"format": "int64"
|
|
8833
9656
|
},
|
|
9657
|
+
"provider_id": {
|
|
9658
|
+
"type": "integer",
|
|
9659
|
+
"format": "int64"
|
|
9660
|
+
},
|
|
8834
9661
|
"condition_source_value": {
|
|
8835
9662
|
"type": "string"
|
|
8836
9663
|
},
|
|
@@ -8881,6 +9708,10 @@
|
|
|
8881
9708
|
"type": "integer",
|
|
8882
9709
|
"format": "int64"
|
|
8883
9710
|
},
|
|
9711
|
+
"provider_id": {
|
|
9712
|
+
"type": "integer",
|
|
9713
|
+
"format": "int64"
|
|
9714
|
+
},
|
|
8884
9715
|
"drug_source_value": {
|
|
8885
9716
|
"type": "string"
|
|
8886
9717
|
},
|
|
@@ -8919,6 +9750,10 @@
|
|
|
8919
9750
|
"type": "integer",
|
|
8920
9751
|
"format": "int64"
|
|
8921
9752
|
},
|
|
9753
|
+
"provider_id": {
|
|
9754
|
+
"type": "integer",
|
|
9755
|
+
"format": "int64"
|
|
9756
|
+
},
|
|
8922
9757
|
"procedure_source_value": {
|
|
8923
9758
|
"type": "string"
|
|
8924
9759
|
},
|
|
@@ -8982,6 +9817,10 @@
|
|
|
8982
9817
|
"type": "integer",
|
|
8983
9818
|
"format": "int64"
|
|
8984
9819
|
},
|
|
9820
|
+
"provider_id": {
|
|
9821
|
+
"type": "integer",
|
|
9822
|
+
"format": "int64"
|
|
9823
|
+
},
|
|
8985
9824
|
"measurement_source_value": {
|
|
8986
9825
|
"type": "string"
|
|
8987
9826
|
},
|
|
@@ -9041,6 +9880,10 @@
|
|
|
9041
9880
|
"type": "integer",
|
|
9042
9881
|
"format": "int64"
|
|
9043
9882
|
},
|
|
9883
|
+
"provider_id": {
|
|
9884
|
+
"type": "integer",
|
|
9885
|
+
"format": "int64"
|
|
9886
|
+
},
|
|
9044
9887
|
"observation_source_value": {
|
|
9045
9888
|
"type": "string"
|
|
9046
9889
|
},
|
|
@@ -10220,6 +11063,16 @@
|
|
|
10220
11063
|
"type": "string",
|
|
10221
11064
|
"description": "Verbatim text excerpt from the original clinical document",
|
|
10222
11065
|
"example": "diagnosed with Type 2 Diabetes"
|
|
11066
|
+
},
|
|
11067
|
+
"sourcePages": {
|
|
11068
|
+
"type": "array",
|
|
11069
|
+
"items": {
|
|
11070
|
+
"type": "integer"
|
|
11071
|
+
},
|
|
11072
|
+
"description": "1-indexed source document page number(s) this resource was extracted from. Populated only by the /lang2fhir/document/multi endpoint; omitted when the source page could not be determined (e.g. raw-text create/multi, or a resource with no verbatim source text).\n",
|
|
11073
|
+
"example": [
|
|
11074
|
+
2
|
|
11075
|
+
]
|
|
10223
11076
|
}
|
|
10224
11077
|
}
|
|
10225
11078
|
}
|
|
@@ -10638,6 +11491,219 @@
|
|
|
10638
11491
|
}
|
|
10639
11492
|
}
|
|
10640
11493
|
},
|
|
11494
|
+
"implementation-guides_ImplementationGuideSummary": {
|
|
11495
|
+
"type": "object",
|
|
11496
|
+
"description": "Metadata for an implementation guide. This is an instance-local grouping record, not a complete FHIR ImplementationGuide resource.\n",
|
|
11497
|
+
"properties": {
|
|
11498
|
+
"name": {
|
|
11499
|
+
"type": "string",
|
|
11500
|
+
"description": "The instance-local implementation guide name (the stable key).",
|
|
11501
|
+
"example": "acme-cardiology"
|
|
11502
|
+
},
|
|
11503
|
+
"profile_context": {
|
|
11504
|
+
"type": "string",
|
|
11505
|
+
"description": "Natural-language context injected into the LLM during resource detection.",
|
|
11506
|
+
"example": "When the text mentions phenotypic features, prefer the hpo-observation profile over Condition."
|
|
11507
|
+
},
|
|
11508
|
+
"profile_count": {
|
|
11509
|
+
"type": "integer",
|
|
11510
|
+
"description": "The number of custom profiles in this implementation guide.",
|
|
11511
|
+
"example": 3
|
|
11512
|
+
},
|
|
11513
|
+
"created_at": {
|
|
11514
|
+
"type": "string",
|
|
11515
|
+
"format": "date-time",
|
|
11516
|
+
"description": "Present only for guides that have stored metadata (a profile_context has been set). Omitted for guides that exist solely because a profile references them.\n"
|
|
11517
|
+
},
|
|
11518
|
+
"updated_at": {
|
|
11519
|
+
"type": "string",
|
|
11520
|
+
"format": "date-time",
|
|
11521
|
+
"description": "Present only for guides that have stored metadata. Omitted for guides that exist solely because a profile references them.\n"
|
|
11522
|
+
}
|
|
11523
|
+
}
|
|
11524
|
+
},
|
|
11525
|
+
"implementation-guides_ImplementationGuideListResponse": {
|
|
11526
|
+
"type": "object",
|
|
11527
|
+
"properties": {
|
|
11528
|
+
"implementation_guides": {
|
|
11529
|
+
"type": "array",
|
|
11530
|
+
"items": {
|
|
11531
|
+
"$ref": "#/components/schemas/implementation-guides_ImplementationGuideSummary"
|
|
11532
|
+
}
|
|
11533
|
+
}
|
|
11534
|
+
}
|
|
11535
|
+
},
|
|
11536
|
+
"implementation-guides_ImplementationGuideDetail": {
|
|
11537
|
+
"allOf": [
|
|
11538
|
+
{
|
|
11539
|
+
"$ref": "#/components/schemas/implementation-guides_ImplementationGuideSummary"
|
|
11540
|
+
},
|
|
11541
|
+
{
|
|
11542
|
+
"type": "object",
|
|
11543
|
+
"properties": {
|
|
11544
|
+
"profiles": {
|
|
11545
|
+
"type": "array",
|
|
11546
|
+
"description": "The ids of the profiles that belong to this implementation guide.",
|
|
11547
|
+
"items": {
|
|
11548
|
+
"type": "string"
|
|
11549
|
+
},
|
|
11550
|
+
"example": [
|
|
11551
|
+
"custom-patient",
|
|
11552
|
+
"acme-vital-signs"
|
|
11553
|
+
]
|
|
11554
|
+
}
|
|
11555
|
+
}
|
|
11556
|
+
}
|
|
11557
|
+
]
|
|
11558
|
+
},
|
|
11559
|
+
"implementation-guides_UpdateImplementationGuideRequest": {
|
|
11560
|
+
"type": "object",
|
|
11561
|
+
"properties": {
|
|
11562
|
+
"profile_context": {
|
|
11563
|
+
"type": "string",
|
|
11564
|
+
"maxLength": 2000,
|
|
11565
|
+
"description": "Natural-language context that helps the LLM select the right profiles from this implementation guide during resource detection. An empty value clears the context. Max 2000 characters.\n",
|
|
11566
|
+
"example": "When clinical text describes phenotypic features, use the hpo-phenotype-observation profile instead of Condition."
|
|
11567
|
+
}
|
|
11568
|
+
}
|
|
11569
|
+
},
|
|
11570
|
+
"profiles_ProfileUploadRequest": {
|
|
11571
|
+
"type": "object",
|
|
11572
|
+
"required": [
|
|
11573
|
+
"structure_definition"
|
|
11574
|
+
],
|
|
11575
|
+
"properties": {
|
|
11576
|
+
"structure_definition": {
|
|
11577
|
+
"allOf": [
|
|
11578
|
+
{
|
|
11579
|
+
"$ref": "#/components/schemas/profiles_FHIRResource"
|
|
11580
|
+
}
|
|
11581
|
+
],
|
|
11582
|
+
"description": "A FHIR StructureDefinition as a JSON object. Must include url, type, and a snapshot with elements. All metadata (version, resource type, id) is derived from the StructureDefinition itself. The lowercase id becomes the profile's lookup key; when omitted, it is derived from the final path segment of the canonical url.\n",
|
|
11583
|
+
"example": {
|
|
11584
|
+
"resourceType": "StructureDefinition",
|
|
11585
|
+
"id": "custom-patient",
|
|
11586
|
+
"url": "http://phenoml.com/fhir/StructureDefinition/custom-patient",
|
|
11587
|
+
"name": "CustomPatient",
|
|
11588
|
+
"status": "active",
|
|
11589
|
+
"fhirVersion": "4.0.1",
|
|
11590
|
+
"kind": "resource",
|
|
11591
|
+
"abstract": false,
|
|
11592
|
+
"type": "Patient",
|
|
11593
|
+
"baseDefinition": "http://hl7.org/fhir/StructureDefinition/Patient",
|
|
11594
|
+
"derivation": "constraint",
|
|
11595
|
+
"snapshot": {
|
|
11596
|
+
"element": [
|
|
11597
|
+
{
|
|
11598
|
+
"id": "Patient",
|
|
11599
|
+
"path": "Patient",
|
|
11600
|
+
"min": 0,
|
|
11601
|
+
"max": "*"
|
|
11602
|
+
},
|
|
11603
|
+
{
|
|
11604
|
+
"id": "Patient.name",
|
|
11605
|
+
"path": "Patient.name",
|
|
11606
|
+
"min": 1,
|
|
11607
|
+
"max": "*"
|
|
11608
|
+
}
|
|
11609
|
+
]
|
|
11610
|
+
}
|
|
11611
|
+
}
|
|
11612
|
+
},
|
|
11613
|
+
"implementation_guide": {
|
|
11614
|
+
"type": "string",
|
|
11615
|
+
"description": "Implementation Guide name to group this profile under. On create, defaults to \"custom\" if omitted; on update, omitting it preserves the profile's current guide. Cannot be \"us_core\" (reserved). Use this to organize custom profiles into named IGs that can be referenced when calling create/multi or document/multi endpoints.\n",
|
|
11616
|
+
"example": "acme-cardiology"
|
|
11617
|
+
}
|
|
11618
|
+
}
|
|
11619
|
+
},
|
|
11620
|
+
"profiles_ProfileSummary": {
|
|
11621
|
+
"type": "object",
|
|
11622
|
+
"properties": {
|
|
11623
|
+
"id": {
|
|
11624
|
+
"type": "string",
|
|
11625
|
+
"description": "The lowercase StructureDefinition id, used as the profile's lookup key.",
|
|
11626
|
+
"example": "custom-patient"
|
|
11627
|
+
},
|
|
11628
|
+
"source": {
|
|
11629
|
+
"type": "string",
|
|
11630
|
+
"enum": [
|
|
11631
|
+
"custom",
|
|
11632
|
+
"builtin"
|
|
11633
|
+
],
|
|
11634
|
+
"description": "The profile's origin. Listings currently return only custom (uploaded) profiles, so this is always \"custom\" today; built-in (US Core / R4 base) profiles would be surfaced via an opt-in parameter in a future release, not by changing the default behavior.\n",
|
|
11635
|
+
"example": "custom"
|
|
11636
|
+
},
|
|
11637
|
+
"resource_type": {
|
|
11638
|
+
"type": "string",
|
|
11639
|
+
"description": "The FHIR resource type from the StructureDefinition.",
|
|
11640
|
+
"example": "Patient"
|
|
11641
|
+
},
|
|
11642
|
+
"url": {
|
|
11643
|
+
"type": "string",
|
|
11644
|
+
"description": "The canonical URL from the StructureDefinition.",
|
|
11645
|
+
"example": "http://phenoml.com/fhir/StructureDefinition/custom-patient"
|
|
11646
|
+
},
|
|
11647
|
+
"version": {
|
|
11648
|
+
"type": "string",
|
|
11649
|
+
"description": "The version from the StructureDefinition.version field.",
|
|
11650
|
+
"example": "1.0.0"
|
|
11651
|
+
},
|
|
11652
|
+
"fhir_version": {
|
|
11653
|
+
"type": "string",
|
|
11654
|
+
"description": "The base FHIR version the StructureDefinition targets.",
|
|
11655
|
+
"example": "4.0.1"
|
|
11656
|
+
},
|
|
11657
|
+
"implementation_guide": {
|
|
11658
|
+
"type": "string",
|
|
11659
|
+
"description": "The implementation guide the profile belongs to.",
|
|
11660
|
+
"example": "acme-cardiology"
|
|
11661
|
+
},
|
|
11662
|
+
"created_at": {
|
|
11663
|
+
"type": "string",
|
|
11664
|
+
"format": "date-time"
|
|
11665
|
+
},
|
|
11666
|
+
"updated_at": {
|
|
11667
|
+
"type": "string",
|
|
11668
|
+
"format": "date-time"
|
|
11669
|
+
}
|
|
11670
|
+
}
|
|
11671
|
+
},
|
|
11672
|
+
"profiles_ProfileListResponse": {
|
|
11673
|
+
"type": "object",
|
|
11674
|
+
"properties": {
|
|
11675
|
+
"profiles": {
|
|
11676
|
+
"type": "array",
|
|
11677
|
+
"items": {
|
|
11678
|
+
"$ref": "#/components/schemas/profiles_ProfileSummary"
|
|
11679
|
+
}
|
|
11680
|
+
}
|
|
11681
|
+
}
|
|
11682
|
+
},
|
|
11683
|
+
"profiles_ProfileGetResponse": {
|
|
11684
|
+
"allOf": [
|
|
11685
|
+
{
|
|
11686
|
+
"$ref": "#/components/schemas/profiles_ProfileSummary"
|
|
11687
|
+
},
|
|
11688
|
+
{
|
|
11689
|
+
"type": "object",
|
|
11690
|
+
"properties": {
|
|
11691
|
+
"structure_definition": {
|
|
11692
|
+
"allOf": [
|
|
11693
|
+
{
|
|
11694
|
+
"$ref": "#/components/schemas/profiles_FHIRResource"
|
|
11695
|
+
}
|
|
11696
|
+
],
|
|
11697
|
+
"description": "The full FHIR StructureDefinition JSON."
|
|
11698
|
+
}
|
|
11699
|
+
}
|
|
11700
|
+
}
|
|
11701
|
+
]
|
|
11702
|
+
},
|
|
11703
|
+
"profiles_FHIRResource": {
|
|
11704
|
+
"type": "object",
|
|
11705
|
+
"description": "A FHIR resource (schema depends on resource type)"
|
|
11706
|
+
},
|
|
10641
11707
|
"tools_Lang2FhirAndCreateRequest": {
|
|
10642
11708
|
"type": "object",
|
|
10643
11709
|
"required": [
|
|
@@ -11918,6 +12984,14 @@
|
|
|
11918
12984
|
"name": "Summary / Templates",
|
|
11919
12985
|
"description": "Reusable summary templates that drive FHIR-to-text generation."
|
|
11920
12986
|
},
|
|
12987
|
+
{
|
|
12988
|
+
"name": "FHIR Artifacts / Implementation Guides",
|
|
12989
|
+
"description": "Manage implementation guides that group custom FHIR profiles."
|
|
12990
|
+
},
|
|
12991
|
+
{
|
|
12992
|
+
"name": "FHIR Artifacts / Profiles",
|
|
12993
|
+
"description": "Manage custom FHIR profiles (StructureDefinitions) as instance-level FHIR artifacts."
|
|
12994
|
+
},
|
|
11921
12995
|
{
|
|
11922
12996
|
"name": "Tools / MCP Servers",
|
|
11923
12997
|
"description": "Register and manage MCP servers exposed as agent tools."
|