---
title: "Post Initial Tier Compute"
method: POST
path: "/api/triage/initial-tier/compute"
tags: ["initial-tier"]
---

# Post Initial Tier Compute

`POST /api/triage/initial-tier/compute`

## Request

- Base URL: `https://app.archangelhealth.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.archangelhealth.ai/api/triage/initial-tier/compute`
- Auth: none declared

Stateless preview — no persistence, no events. Pass-4 PRD §3.1
treats `compute` as a clinical write surface (the surgeon's workflow
decision tool), so NP/PA is blocked even though it's read-only at the
storage layer.

## Headers

- `authorization` string, nullable

## Request body

- InitialTierInput: The full input the algorithm consumes — six categories per PRD §4.
  - `procedure` ProcedureInput, required
    - `cpt_code` string, required
    - `anchor_procedure_family` 'LEJR' | 'CABG' | 'SPINAL_FUSION' | 'HIP_FEMUR_FRACTURE' | 'MAJOR_BOWEL', required
    - `scheduled_date` string, required
    - `is_emergency` boolean
    - `bilateral` boolean, nullable
    - `laterality` 'LEFT' | 'RIGHT' | 'BILATERAL' | 'N_A', nullable
    - `approach` 'OPEN' | 'MIS' | 'ROBOTIC' | 'UNKNOWN', nullable
    - `notes` string, nullable
  - `active_problems` ActiveProblemsInput
    - `problems` ActiveProblem[]
      - `icd10` string, required
      - `description` string
      - `status` 'ACTIVE' | 'RESOLVED' | 'CHRONIC'
      - `onset_date` string, nullable
      - `severity_note` string, nullable
    - `functional_status` 'INDEPENDENT' | 'PARTIALLY_DEPENDENT' | 'TOTALLY_DEPENDENT' | 'UNKNOWN'
    - `bmi` number, nullable
    - `asa_class_if_documented` 1 | 2 | 3 | 4 | 5, nullable
  - `medications` MedicationsInput
    - `medications` Medication[]
      - `rxnorm_code` string, nullable
      - `name` string, required
      - `dose` string, nullable
      - `route` string, nullable
      - `frequency` string, nullable
      - `start_date` string, nullable
      - `indication` string, nullable
  - `allergies` AllergiesInput
    - `allergies` Allergy[]
      - `substance` string, required
      - `reaction_type` 'ANAPHYLAXIS' | 'RASH' | 'GI' | 'ANGIOEDEMA' | 'OTHER' | 'UNKNOWN'
      - `severity` 'MILD' | 'MODERATE' | 'SEVERE', nullable
      - `notes` string, nullable
  - `social_history` SocialHistoryInput
    - `smoking_status` 'NEVER' | 'FORMER' | 'CURRENT' | 'UNKNOWN'
    - `pack_years` number, nullable
    - `alcohol_use` 'NONE' | 'OCCASIONAL' | 'MODERATE' | 'HEAVY' | 'AT_RISK_OR_AUDIT_POSITIVE' | 'UNKNOWN'
    - `substance_use` SubstanceUse[]
      - `substance` 'OPIOIDS' | 'STIMULANTS' | 'CANNABIS' | 'OTHER', required
      - `status` 'ACTIVE' | 'IN_RECOVERY' | 'PRIOR' | 'UNKNOWN'
    - `lives_alone` boolean, nullable
    - `has_reliable_caregiver` boolean, nullable
    - `housing_status` 'STABLE' | 'UNSTABLE' | 'HOMELESS' | 'UNKNOWN'
    - `food_security` 'SECURE' | 'INSECURE' | 'UNKNOWN'
    - `transportation_barrier` boolean, nullable
    - `employment_status` 'EMPLOYED' | 'UNEMPLOYED' | 'RETIRED' | 'DISABLED' | 'UNKNOWN', nullable
    - `primary_language` string, nullable
    - `needs_interpreter` boolean, nullable
    - `age` integer
  - `recent_labs` RecentLabsInput
    - `labs` TriageTypesLabResult[]
      - `loinc` string, nullable
      - `name` string, required
      - `value` number, required
      - `unit` string
      - `drawn_at` string
      - `reference_range` string, nullable
      - `is_abnormal` boolean, nullable
    - `studies` StudyResult[]
      - `type` 'ECHO' | 'ECG' | 'PFT' | 'CXR' | 'STRESS_TEST' | 'CARDIAC_CATH' | 'OTHER'
      - `performed_at` string
      - `summary` string
      - `ejection_fraction` number, nullable
      - `significant_findings` string[]

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform.md) - [All operations](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform/revisions/3514f4e119da?raw)
