# Returns an PatientProcedure graph data by PatientProcedureID.

Returns the graph for one procedure. `procedureId` must exist; optional `responseFields` trims fields (or use `ALL`).
**MCP (first successful call):** set path `procedureId` to a real patient procedure ID from your org (see
`GET /v1/patientprocedures` or the patient chart). Example `procedureId` values are large integers, not `1`.

Endpoint: GET /v1/patientprocedures/{procedureId}/graph
Version: 193.0.0
Security: bearerAuth, oAuthSandbox

## Security:

  - `bearerAuth` (unknown)
    http bearer JWT

  - `oAuthSandbox` (unknown)
    oauth2

## Path parameters:

  - `procedureId` (integer, required)
    ID of the procedure to retrieve

## Query parameters:

  - `responseFields` (string)
    A URL-encoded, comma-delimited list of field names to include in the response data. Additionally, the following values are also supported:

ALL - Returns all field names.

## Header parameters:

  - `Organization-ID` (string, required)
    Organization context for the request. Must match the organization authorized by the access token.

## Response 200:

  - `200` (unknown)
    The request was successful

## Response 200 fields (application/json):

  - `data` (object)
    Example: {"id":12445,"amount":153.25}

  - `data.id` (integer)

  - `data.amount` (number)
    Example: 153.25

  - `data.entryDate` (string)
    Example: 2021-09-29T00:00:00.000Z

  - `data.serviceDate` (string)
    Example: 2021-09-29T00:00:00.000Z

  - `data.entryDateTime` (string)
    Example: 2018-07-09T19:00:00.000Z

  - `data.serviceDateTime` (string)
    Example: 2018-07-09T19:00:00.000Z

  - `data.status` (string)
    Enum: "COMPLETED", "EXISTING", "TREATMENT_PLAN"

  - `data.state` (string)
    Enum: "ACTIVE", "CANCELLED", "INVALIDATED"

  - `data.billToInsurance` (boolean)
    Example: true

  - `data.lastModified` (string)
    Example: 2018-07-09T19:00:00.000Z

  - `data.procedureTeeth` (array)

  - `data.procedureTeeth.tooth` (integer)
    toothIndex
    Example: 0

  - `data.procedureTeeth.toothId` (integer)
    global tooth ID

  - `data.procedureTeeth.universalCode` (string)
    Example: string

  - `data.procedureTeeth.surfaces` (string)
    Can be empty or null if treatmentArea is not SURFACE
    Example: string

  - `data.practiceProcedure` (object)

  - `data.practiceProcedure.id` (integer)

  - `data.practiceProcedure.adaCode` (string)
    Example: string

  - `data.practiceProcedure.description` (string)
    Example: string

  - `data.practiceProcedure.abbreviatedDescription` (string)
    Example: string

  - `data.practiceProcedure.category` (string)
    Enum: "DIAGNOSTIC", "PREVENTIVE", "RESTORATIVE", "ENDODONTICS", "PERIODONTICS", "PROSTHREMOV", "MAXILLOPROSTH", "IMPLANTSERV", "PROSTHOFIXED", "ORALSURGERY", "ORTHODONTICS", "ADJUNCTSERV", "MULTICODES", "PRODUCTS", "SLEEPAPNEASERV"

  - `data.practiceProcedure.treatmentArea` (string)
    Value stored on the patient procedure when a PatientProcedureAttribute row exists. Procedures without an attribute row fall back to the organization procedure's current treatment area until backfilled.
    Enum: "TOOTH", "MOUTH", "SURFACE", "QUADRANT", "ROOT", "MULTICODES", "ARCH", "RANGE", "SEXTANT"

  - `data.provider` (object)

  - `data.provider.id` (integer)

  - `data.provider.npi` (string)
    Example: string

  - `data.provider.firstName` (string)
    Example: string

  - `data.provider.lastName` (string)
    Example: string

  - `data.provider.specialty` (string)
    Enum: "DENTALPUBLICHEALTH", "DENTALSPECIALTY", "DENTIST", "DENTAL", "ENDODONTICS", "FEDERALLYQUALIFIEDHEALTHCENTER", "GENERALPRACTICE", "HYGIENIST", "MULTISPECIALTY", "ORTHODONTICS", "ORALMAXILLOFACIALPATHOLOGY", "ORALMAXILLOFACIALRADIOLOGY", "ORALMAXILLOFACIALSURGERY", "PEDIATRICDENTISTRY", "PERIODONTICS", "PROSTHODONTICS", "SINGLESPECIALTY"

  - `data.patient` (object)

  - `data.patient.id` (integer)

  - `data.patient.firstName` (string)
    Example: string

  - `data.patient.lastName` (string)
    Example: string

  - `data.location` (object)

  - `data.location.id` (integer)

  - `data.location.name` (string)
    Example: string

  - `data.txCase` (object)

  - `data.txCase.id` (integer)

  - `data.txCase.name` (string)
    Example: string

  - `data.txCase.note` (string)
    Example: string

  - `data.txCase.status` (string)
    Enum: "NEW", "PRESENTED", "ACCEPTED", "REJECTED"

  - `warnings` (array)

  - `warnings.code` (string)

  - `warnings.title` (string)

  - `warnings.description` (string)

  - `warnings.source` (string)

  - `errors` (array)

## Response 400:

  - `400` (unknown)
    The request was invalid or cannot be processed

## Response 401:

  - `401` (unknown)
    Authentication is required and has failed or has not been provided

## Response 403:

  - `403` (unknown)
    The request is understood, but it has been refused or access is not allowed

## Response 404:

  - `404` (unknown)
    The requested resource is either missing or does not exist

## Response 408:

  - `408` (unknown)
    The server timed out while processing the request

## Response 429:

  - `429` (unknown)
    Rate limit exceeded

## Response 500:

  - `500` (unknown)
    An unexpected error occurred

## Response 200 examples:

  - `default` (unknown)

