openapi: 3.2.0 info: title: Optum Consumer Code Manager API version: v1.0 contact: name: Ken Kracker email: ken.kracker@optum.com description: 'Operations tagged Consumer Code Manager API across 2 of this provider''s published API definitions: optum-optum-common-facility-openapi.yml, optum-optum-common-physician-openapi.yml. Each path carries the servers of the definition it was published in.' servers: - url: /v1/optumcommonms tags: - name: Consumer Code Manager API paths: /api/optum/common/{codetype}/{code}/ccm: get: tags: - Consumer Code Manager API summary: Fetches the ConsumerInfo based on the codetype and code operationId: consumerInfo parameters: - name: codetype in: path required: true schema: type: string enum: - cpt - hcpcs - i10_cm - i10_pcs - name: code in: path required: true schema: type: string example: 99213 - name: yyyy-MM-dd in: header description: Date for which historical data is required required: false schema: type: string format: yyyy-MM-dd responses: '200': description: Fetch consumer info for given code and codetype content: application/json: example: ccmFull: Physician office visit. The amount of time with the physician is determined by a person's condition and treatment needs. ccmShort: Doctor's office visit ccmSpanish: Visita al consultorio médico '400': description: 'Bad Request: Some parameters were invalid' content: application/json: schema: $ref: '#/components/schemas/Notification' example: error: - The code provided '992133' in this web service request is not a valid 'cpt' code. warning: null info: null '500': description: Internal server error content: application/json: example: timestamp: '2022-07-06T07:22:01.017+00:00' path: /api/coding/code/i10_cm/D68.2/ccm status: 500 error: Internal Server Error requestId: a4796cc7-1 security: - bearerAuth: [] servers: - url: /v1/optumcommonms components: schemas: Notification: type: object properties: error: type: array items: type: string warning: type: array items: type: string info: type: array items: type: string securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT x-refined-from: - optum-optum-common-facility-openapi.yml - optum-optum-common-physician-openapi.yml x-readme: explorer-enabled: true proxy-enabled: true