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

# KVÅ

> Klassifikation av vårdåtgärder. The national classification for procedure coding in Sweden

KVÅ (Klassifikation av vårdåtgärder) is the Swedish national classification of healthcare interventions, maintained by Socialstyrelsen (the National Board of Health and Welfare). It is used alongside [ICD-10-SE](/coding/icd-10-se) for diagnosis coding. KVÅ encompasses two sub-classifications: KKÅ (surgical procedures, 3 letters + 2 digits, e.g. `AAA00`) and KMÅ (medical procedures, 2 letters + 3 digits, e.g. `UA001`).

## Quick start

System identifier: `kvaa`

<CodeGroup>
  ```python title="Python" theme={null}
  import requests

  # Replace these with your values
  ENVIRONMENT = "<eu-or-us>"
  TENANT = "<your-tenant-name>"
  TOKEN = "<your-access-token>"

  response = requests.post(
      f"https://api.{ENVIRONMENT}.corti.app/v2/tools/coding/",
      headers={
          "Authorization": f"Bearer {TOKEN}",
          "Tenant-Name": TENANT,
          "Content-Type": "application/json",
      },
      json={
          "system": ["kvaa"],
          "context": [{"type": "text", "text": "Patient genomgick laparoskopisk appendektomi för akut appendicit."}],
      },
  )
  response.raise_for_status()
  print(response.json())
  ```

  ```bash title="cURL" theme={null}
  # Replace these with your values
  ENVIRONMENT="<eu-or-us>"
  TENANT="<your-tenant-name>"
  TOKEN="<your-access-token>"

  curl -X POST "https://api.${ENVIRONMENT}.corti.app/v2/tools/coding/" \
    -H "Authorization: Bearer ${TOKEN}" \
    -H "Tenant-Name: ${TENANT}" \
    -H "Content-Type: application/json" \
    -d '{
      "system": ["kvaa"],
      "context": [{"type": "text", "text": "Patient genomgick laparoskopisk appendektomi för akut appendicit."}]
    }'
  ```
</CodeGroup>

<Note>JavaScript and .NET SDK support for KVÅ will be available once <code>kvaa</code> is added to the <code>CommonCodingSystemEnum</code>. Use the REST API directly in the meantime.</Note>

[API reference →](/api-reference/codes/predict-codes)

## Filter by sub-classification

In addition to filtering by `code` (see [Code filtering](/coding/code-filtering)), KVÅ codes can be filtered by `klassifikation` to restrict predictions to one sub-classification. Use `op: "in"` to specify which sub-classifications to include:

```json theme={null}
"filter": {
  "include": [
    { "property": "klassifikation", "op": "in", "value": ["KVÅ-kirurgiska åtgärder (KKÅ)"] }
  ]
}
```

Filtering supports the following `klassifikation` values:

* `KVÅ-kirurgiska åtgärder (KKÅ)` (surgical procedures: 3 letters + 2 digits)
* `KVÅ-medicinska åtgärder (KMÅ)` (medical procedures: 2 letters + 3 digits)


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