POST
/
validate
curl --request POST \
  --url https://dev.api.slingshotml.com/v2/validate \
  --header 'Content-Type: application/json' \
  --header 'SLINGSHOT_KEY: <api-key>' \
  --data '{
  "claim": {
    "admitting_diagnosis": {
      "code": "J18. 9",
      "present_on_admission": true
    },
    "billing_provider_npi": 1457450116,
    "date_of_service_end": "2023-12-20",
    "date_of_service_start": "2023-12-10",
    "discharge_status": 1,
    "plan_id": "1234AB56789",
    "principal_diagnosis": {
      "code": "A40.9",
      "present_on_admission": true
    },
    "procedures": [],
    "secondary_diagnosis": [
      {
        "code": "J18. 9",
        "present_on_admission": "Y"
      }
    ]
  },
  "discharge_summary": {
    "text": "Patient Name: John Doe Patient ID: 123456 Date of Birth: 01/01/1980 Date of Admission: 12/10/2023 Date of Discharge: 12/20/2023 Attending Physician: Dr. Jane Smith\nAdmission Diagnosis:\nPneumonia\nSurgical Procedure: None  Hospital Course: Mr. John Doe, a 40-year-old male, was admitted to the hospital with symptoms of high fever, cough, shortness of breath, and chest pain. Based on clinical examination and chest X-ray findings, he was diagnosed with bacterial pneumonia..."
  }
}'
{
  "claim_id": "e4eaaaf2-d142-11e1-b3e4-080027620cdd",
  "validation": [
    {
      "determination": {
        "confidence": 0.88,
        "evidence": [
          {
            "criteria": "Renal Dysfunction",
            "evaluation": "Rejects",
            "source": {
              "end_index": 1362,
              "start_index": 1319,
              "text": "CKD baseline 1.3 elevated to 2.1 creatinine"
            }
          }
        ],
        "reasoning": "Diagnosis not supported as the SOFA score threshold was not met when account for baseline creatinine",
        "result": "Unsupported"
      },
      "diagnosis": {
        "code": "A40.9",
        "present_on_admission": "Y"
      }
    }
  ]
}

Authorizations

SLINGSHOT_KEY
string
headerrequired

Body

application/json
claim
object
discharge_summary
object

Response

200 - application/json
claim_id
string

Unique Identifier

validation
object[]