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

# Get Intake Data

> Returns FHIR intake data for a specific prior authorization including patient, practitioners, diagnoses, and medication requests

## Path Parameters

<ParamField path="prior_auth_id" type="string" required>
  Unique identifier of the prior authorization (UUID format)
</ParamField>

## Response

<ResponseField name="fhir" type="object">
  FHIR bundle containing all intake data

  <Expandable title="fhir object">
    <ResponseField name="patient" type="object">
      FHIR Patient resource containing patient demographics and information
    </ResponseField>

    <ResponseField name="practitioners" type="array">
      Array of FHIR Practitioner resources containing healthcare provider information
    </ResponseField>

    <ResponseField name="diagnoses" type="array">
      Array of FHIR Condition resources containing diagnosis information
    </ResponseField>

    <ResponseField name="medication_requests" type="array">
      Array of FHIR MedicationRequest resources containing prescribed medication information
    </ResponseField>
  </Expandable>
</ResponseField>

<RequestExample>
  ```bash cURL theme={null}
  curl --location --request GET 'https://app.casehealth.com/api/v1/prior_auths/550e8400-e29b-41d4-a716-446655440000/intake' \
  --header 'X-API-Key: YOUR_API_KEY'
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
      "fhir": {
          "patient": {
              "resourceType": "Patient",
              "id": "ZzG8MUQbkFhCZLZ3XmfA7UyL",
              "active": true,
              "name": [
                  {
                      "use": "official",
                      "given": [
                          "Jackie"
                      ],
                      "family": "McDonald"
                  }
              ],
              "gender": "f",
              "birthDate": "2012-10-24"
          },
          "practitioners": [
              {
                  "resourceType": "Practitioner",
                  "id": "SAT34oczEqXVqwpswyL6iSQe",
                  "active": true,
                  "identifier": [
                      {
                          "use": "official",
                          "type": {
                              "coding": [
                                  {
                                      "system": "http://terminology.hl7.org/CodeSystem/v2-0203",
                                      "code": "NPI",
                                      "display": "National Provider Identifier"
                                  }
                              ]
                          },
                          "system": "http://hl7.org/fhir/sid/us-npi",
                          "value": "1548517105"
                      }
                  ],
                  "name": [
                      {
                          "use": "official",
                          "given": [
                              "STACY",
                              ""
                          ],
                          "family": "CHANCE",
                          "prefix": [
                              "DR."
                          ]
                      }
                  ],
                  "telecom": [
                      {
                          "system": "phone",
                          "value": "(541) 746 6816",
                          "use": "work"
                      }
                  ],
                  "address": [
                      {
                          "use": "work",
                          "type": "physical",
                          "country": ""
                      }
                  ],
                  "qualification": [
                      {
                          "code": {
                              "text": "PEDIATRICS"
                          }
                      }
                  ]
              }
          ],
          "diagnoses": [
              {
                  "resourceType": "Condition",
                  "id": "fBvqxiqYiaDPpeU6Np8kuvAn",
                  "clinicalStatus": {
                      "coding": [
                          {
                              "system": "http://terminology.hl7.org/CodeSystem/condition-clinical",
                              "code": "active",
                              "display": "Active"
                          }
                      ]
                  },
                  "verificationStatus": {
                      "coding": [
                          {
                              "system": "http://terminology.hl7.org/CodeSystem/condition-ver-status",
                              "code": "confirmed",
                              "display": "Confirmed"
                          }
                      ]
                  },
                  "code": {
                      "coding": [
                          {
                              "system": "http://hl7.org/fhir/sid/icd-10-cm",
                              "code": "F90.2",
                              "display": "Attention-deficit hyperactivity disorder, combined type"
                          }
                      ],
                      "text": "Attention-deficit hyperactivity disorder, combined type"
                  },
                  "note": [
                      {
                          "text": "ADHD"
                      }
                  ],
                  "extension": [
                      {
                          "url": "http://example.org/fhir/StructureDefinition/ai-summary",
                          "valueString": "The primary diagnosis for the medication request is ADHD, with the ICD-10 code F90.2, indicating Attention-deficit hyperactivity disorder, combined type. There are no secondary diagnoses listed."
                      }
                  ],
                  "meta": {
                      "tag": [
                          {
                              "system": "http://example.org/fhir/CodeSystem/metadata",
                              "code": "description",
                              "display": ""
                          },
                          {
                              "system": "http://example.org/fhir/CodeSystem/metadata",
                              "code": "diagnosis_name",
                              "display": "ADHD"
                          },
                          {
                              "system": "http://example.org/fhir/CodeSystem/metadata",
                              "code": "diagnosis_codes",
                              "display": "[\"F90.2\"]"
                          }
                      ]
                  }
              }
          ],
          "medication_requests": [
              {
                  "resourceType": "MedicationRequest",
                  "id": "TkWtTQ579msjFzzAgtBEW66W",
                  "status": "active",
                  "intent": "order",
                  "medicationCodeableConcept": {
                      "display": "ADZENYS XR OPT",
                      "coding": [
                          {
                              "system": "http://hl7.org/fhir/sid/ndc",
                              "code": "70165-005",
                              "display": "ADZENYS XR OPT"
                          }
                      ]
                  },
                  "dosageInstruction": [
                      {
                          "text": "Take 1 tab Po Daily",
                          "route": {
                              "text": "Po"
                          },
                          "doseAndRate": [
                              {
                                  "doseQuantity": {
                                      "value": "6.3 mg",
                                      "unit": "dose"
                                  }
                              }
                          ]
                      }
                  ],
                  "reasonCode": [
                      {
                          "text": "ADHD"
                      }
                  ],
                  "extension": [
                      {
                          "url": "http://example.org/fhir/StructureDefinition/total-units-requested",
                          "valueDecimal": 30
                      },
                      {
                          "url": "http://example.org/fhir/StructureDefinition/ai-summary",
                          "valueString": "The medication requested is ADZENYS XR OPT with a strength of 6.3 mg. The patient is instructed to take 1 tablet orally daily, with a total quantity of 30 tablets per month. The medication is self-administered. The diagnosis for use is ADHD, with an ICD-10 code of F90.2. The request is for a new medication, not a continuation of therapy. The patient has a history of failure with the medication Strattera, but no contraindications or intolerances were noted. The patient is not currently hospitalized, pregnant, or recently discharged. The urgency level is not specified."
                      }
                  ]
              }
          ]
      }
  }
  ```
</ResponseExample>
