> ## Documentation Index
> Fetch the complete documentation index at: /developers/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Em Level



## OpenAPI

````yaml /openapi.json get /v2/scribe/open-api/sessions/{session_id}/clinical-codes/em-level
openapi: 3.1.0
info:
  title: Cortexa Scribe Open API
  description: >-
    Authorized EHR access to Cortexa Scribe. All clinical resources are scoped
    to a partner grant.
  version: 2.0.0
servers:
  - url: https://sandbox.api.cortexanote.com
security: []
paths:
  /v2/scribe/open-api/sessions/{session_id}/clinical-codes/em-level:
    get:
      tags:
        - Scribe Open API
      summary: Get Em Level
      operationId: scribe_api_em_level_get
      parameters:
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
        - name: patient_type
          in: query
          required: true
          schema:
            type: string
            enum:
              - new_patient
              - established_patient
            title: Patient Type
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmRead'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '403':
          description: Forbidden
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '404':
          description: Not Found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '409':
          description: Conflict
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '422':
          description: Business rule violation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '429':
          description: Too Many Requests
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '500':
          description: Internal Server Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
        '503':
          description: Service Unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiErrorResponse'
      security:
        - ScribeApiJWT: []
components:
  schemas:
    EmRead:
      properties:
        patient_type:
          type: string
          enum:
            - new_patient
            - established_patient
          title: Patient Type
        document_id:
          type: string
          title: Document Id
        document_version:
          type: integer
          title: Document Version
        status:
          type: string
          enum:
            - suggested
            - insufficient_documentation
          title: Status
        code:
          anyOf:
            - type: string
            - type: 'null'
          title: Code
        level:
          anyOf:
            - type: string
              enum:
                - straightforward
                - low
                - moderate
                - high
            - type: 'null'
          title: Level
        mdm:
          $ref: '#/components/schemas/MdmAssessment'
        requires_review:
          type: boolean
          title: Requires Review
          default: true
      type: object
      required:
        - patient_type
        - document_id
        - document_version
        - status
        - code
        - level
        - mdm
      title: EmRead
    ApiErrorResponse:
      type: object
      properties:
        message:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ApiErrorDetail'
        context:
          type: object
          additionalProperties:
            type: string
          description: Explicitly public context for handling business errors.
      required:
        - message
        - errors
    MdmAssessment:
      properties:
        problems_addressed:
          $ref: '#/components/schemas/MdmElement'
        data_reviewed:
          $ref: '#/components/schemas/MdmElement'
        risk_of_management:
          $ref: '#/components/schemas/MdmElement'
        summary:
          type: string
          title: Summary
      type: object
      required:
        - problems_addressed
        - data_reviewed
        - risk_of_management
        - summary
      title: MdmAssessment
    ApiErrorDetail:
      type: object
      properties:
        field:
          type: string
        code:
          type: string
      required:
        - code
    MdmElement:
      properties:
        level:
          anyOf:
            - type: string
              enum:
                - straightforward
                - low
                - moderate
                - high
            - type: 'null'
          title: Level
        classification:
          type: string
          title: Classification
        supporting_evidence:
          items:
            type: string
          type: array
          title: Supporting Evidence
      type: object
      required:
        - classification
      title: MdmElement
  securitySchemes:
    ScribeApiJWT:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.