Merged in feature/textExtractionsPart2 (pull request #193)

Continue finishing the parts of the text extraction plan

* add missing fields
This commit is contained in:
Jay Brown
2025-12-02 19:13:08 +00:00
parent c45e1dd427
commit 3bdc27f4de
21 changed files with 2392 additions and 215 deletions
+279
View File
@@ -73,6 +73,34 @@ paths:
"500":
$ref: "#/components/responses/InternalError"
/clients:
get:
operationId: listClients
tags:
- ClientService
summary: List all clients
description: Returns a list of all clients in the system.
security:
- jwtAuth: []
responses:
"200":
description: List of clients retrieved successfully.
headers:
RateLimit:
$ref: "#/components/headers/RateLimit"
content:
application/json:
schema:
$ref: "#/components/schemas/ClientListResponse"
"400":
$ref: "#/components/responses/InvalidRequest"
"401":
$ref: "#/components/responses/Unauthorized"
"429":
$ref: "#/components/responses/TooManyRequests"
"500":
$ref: "#/components/responses/InternalError"
/client/{id}:
parameters:
- $ref: "#/components/parameters/ClientID"
@@ -1108,6 +1136,54 @@ paths:
"500":
$ref: "#/components/responses/InternalError"
/field-extractions/version:
get:
operationId: getFieldExtractionByVersion
tags:
- FieldExtractionService
summary: Get field extraction by version
description: Retrieves a specific version of field extraction for a document.
security:
- jwtAuth: []
parameters:
- name: documentId
in: query
required: true
description: The document ID
schema:
type: string
format: uuid
maxLength: 50
- name: version
in: query
required: true
description: The version number to retrieve
schema:
type: integer
format: int64
minimum: 1
maximum: 9223372036854775807
responses:
"200":
description: Field extraction for the specified version.
headers:
RateLimit:
$ref: "#/components/headers/RateLimit"
content:
application/json:
schema:
$ref: "#/components/schemas/FieldExtractionResponse"
"400":
$ref: "#/components/responses/InvalidRequest"
"401":
$ref: "#/components/responses/Unauthorized"
"404":
$ref: "#/components/responses/NotFound"
"429":
$ref: "#/components/responses/TooManyRequests"
"500":
$ref: "#/components/responses/InternalError"
/field-extractions/history:
get:
operationId: getFieldExtractionHistory
@@ -2248,6 +2324,26 @@ components:
required:
- id
ClientListResponse:
description: Response containing a list of all clients.
type: object
properties:
clients:
type: array
description: List of clients in the system.
maxItems: 10000
items:
$ref: "#/components/schemas/DocClient"
totalCount:
type: integer
format: int32
description: Total number of clients.
minimum: 0
maximum: 2147483647
required:
- clients
- totalCount
ListDocuments:
type: array
description: The documents in the client.
@@ -3362,6 +3458,189 @@ components:
format: double
minimum: 0
maximum: 9999999999.99
# Grouper Extended Fields
aareteDerivedGrouperVersion:
type: string
maxLength: 200
grouperAlternativeLevelOfCare:
type: string
maxLength: 200
grouperSeverityInd:
type: boolean
grouperSeverity:
type: string
maxLength: 100
grouperRiskOfMortalitySubclass:
type: string
maxLength: 100
grouperTransferInd:
type: boolean
grouperReadmissionsInd:
type: boolean
grouperHacInd:
type: boolean
# Outlier Fields
outlierTerm:
type: string
maxLength: 500
outlierFirstDollarInd:
type: boolean
rangeNbrDays:
type: string
maxLength: 100
outlierFixedLossNbrDaysThreshold:
type: number
format: double
minimum: 0
maximum: 99999999.99
outlierFixedLossThreshold:
type: number
format: double
minimum: 0
maximum: 9999999999.99
outlierMaximum:
type: number
format: double
minimum: 0
maximum: 9999999999.99
outlierMaximumFrequency:
type: number
format: double
minimum: 0
maximum: 99999999.99
outlierPctRate:
type: number
format: double
minimum: 0
maximum: 999.9999
outlierExclusionCd:
type: string
maxLength: 100
outlierExclusionCdDesc:
type: string
maxLength: 500
# Facility Adjustment Fields
facilityAdjustmentTerm:
type: string
maxLength: 500
dshInd:
type: boolean
dshPctRate:
type: number
format: double
minimum: 0
maximum: 999.9999
dshFeeRate:
type: number
format: double
minimum: 0
maximum: 9999999999.99
imeInd:
type: boolean
imePctRate:
type: number
format: double
minimum: 0
maximum: 999.9999
imeFeeRate:
type: number
format: double
minimum: 0
maximum: 9999999999.99
ntapInd:
type: boolean
ntapPctRate:
type: number
format: double
minimum: 0
maximum: 999.9999
ntapFeeRate:
type: number
format: double
minimum: 0
maximum: 9999999999.99
ucInd:
type: boolean
ucPctRate:
type: number
format: double
minimum: 0
maximum: 999.9999
ucFeeRate:
type: number
format: double
minimum: 0
maximum: 9999999999.99
gmeInd:
type: boolean
gmePctRate:
type: number
format: double
minimum: 0
maximum: 999.9999
gmeFeeRate:
type: number
format: double
minimum: 0
maximum: 9999999999.99
# Rate Escalator Fields
rateEscalatorInd:
type: boolean
rateEscalatorDesc:
type: string
maxLength: 500
rateEscalatorMaxRateIncPct:
type: number
format: double
minimum: 0
maximum: 999.9999
rateEscalatorRateChangeTimeline:
type: number
format: double
minimum: 0
maximum: 99999999.99
# Stop Loss Fields
stopLossTerm:
type: string
maxLength: 500
stopLossFirstDollarInd:
type: boolean
stopLossRangeNbrDays:
type: number
format: double
minimum: 0
maximum: 99999999.99
stopLossFixedLossThreshold:
type: number
format: double
minimum: 0
maximum: 9999999999.99
stopLossMaximum:
type: number
format: double
minimum: 0
maximum: 9999999999.99
stopLossMaximumFrequency:
type: number
format: double
minimum: 0
maximum: 99999999.99
stopLossDailyMaxRate:
type: number
format: double
minimum: 0
maximum: 9999999999.99
stopLossPctRateOnExcessCharges:
type: number
format: double
minimum: 0
maximum: 999.9999
stopLossExclusionCd:
type: string
maxLength: 100
stopLossExclusionDesc:
type: string
maxLength: 500
FieldExtractionResponse:
description: Field extraction with version information